* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background: #0f172a;
    color: white;
    overflow-x: hidden;
}

/* NAVBAR */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    position: fixed;
    width: 100%;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    z-index: 1000;
}

.logo {
    font-weight: 700;
    font-size: 20px;
}

.nav-links {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: white;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #38bdf8;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* BUTTON */
.btn {
    padding: 10px 22px;
    border-radius: 30px;
    background: linear-gradient(90deg, #38bdf8, #6366f1);
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.btn:hover {
    transform: scale(1.05);
}

.btn-outline {
    border: 1px solid #38bdf8;
    padding: 8px 20px;
    border-radius: 30px;
}

/* HERO */
.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 8%;
    background: radial-gradient(circle at top right, #1e293b, #0f172a);
    position: relative;
    overflow: hidden;
    perspective: 1000px;
}

.hero-text {
    position: relative;
    z-index: 10;
}

.hero h2 {
    font-size: 52px;
    margin-bottom: 20px;
}

.hero p {
    color: #cbd5e1;
    margin-bottom: 30px;
}

/* ============================================
   FLOATING 3D CRYPTO COINS (Uniswap-style)
   ============================================ */

.floating-coin {
    position: absolute;
    border-radius: 50%;
    z-index: 5;
    pointer-events: auto;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.4));
    transition: transform 0.4s ease, filter 0.4s ease;
    will-change: transform;
}

.floating-coin:hover {
    transform: scale(1.25) rotateY(15deg) !important;
    filter: drop-shadow(0 12px 40px rgba(99, 102, 241, 0.7));
    z-index: 20;
}

/* --- Bitcoin (top-left, large) --- */
.coin-1 {
    width: 110px;
    height: 110px;
    top: 10%;
    left: 5%;
    animation:
        float-1 6s ease-in-out infinite,
        spin3d-1 12s linear infinite;
    opacity: 0.9;
}

/* --- Ethereum (top-right) --- */
.coin-2 {
    width: 90px;
    height: 90px;
    top: 12%;
    right: 8%;
    animation:
        float-2 7s ease-in-out infinite,
        spin3d-2 15s linear infinite;
    opacity: 0.85;
}

/* --- Solana (bottom-left) --- */
.coin-3 {
    width: 70px;
    height: 70px;
    bottom: 18%;
    left: 12%;
    animation:
        float-3 5.5s ease-in-out infinite,
        spin3d-1 10s linear infinite;
    opacity: 0.8;
}

/* --- BNB (bottom-right, large) --- */
.coin-4 {
    width: 85px;
    height: 85px;
    bottom: 15%;
    right: 6%;
    animation:
        float-1 8s ease-in-out infinite 0.5s,
        spin3d-2 14s linear infinite;
    opacity: 0.85;
}

/* --- XRP (center-right, small) --- */
.coin-5 {
    width: 55px;
    height: 55px;
    top: 55%;
    right: 20%;
    animation:
        float-2 6.5s ease-in-out infinite 1s,
        spin3d-1 18s linear infinite;
    opacity: 0.7;
}

/* Float animations — bobbing up/down with slight horizontal drift */
@keyframes float-1 {

    0%,
    100% {
        transform: translateY(0px) translateX(0px) rotateZ(0deg);
    }

    25% {
        transform: translateY(-25px) translateX(8px) rotateZ(3deg);
    }

    50% {
        transform: translateY(-15px) translateX(-5px) rotateZ(-2deg);
    }

    75% {
        transform: translateY(-30px) translateX(3px) rotateZ(4deg);
    }
}

@keyframes float-2 {

    0%,
    100% {
        transform: translateY(0px) translateX(0px) rotateZ(0deg);
    }

    30% {
        transform: translateY(-20px) translateX(-10px) rotateZ(-3deg);
    }

    60% {
        transform: translateY(-35px) translateX(6px) rotateZ(2deg);
    }
}

@keyframes float-3 {

    0%,
    100% {
        transform: translateY(0px) translateX(0px);
    }

    33% {
        transform: translateY(-18px) translateX(12px);
    }

    66% {
        transform: translateY(-28px) translateX(-8px);
    }
}

/* 3D spin — subtle rotation in Y axis for depth */
@keyframes spin3d-1 {
    0% {
        transform: rotateY(0deg);
    }

    100% {
        transform: rotateY(360deg);
    }
}

@keyframes spin3d-2 {
    0% {
        transform: rotateY(360deg);
    }

    100% {
        transform: rotateY(0deg);
    }
}

/* ============================================
   GLOW ORBS (colored blurred circles)
   ============================================ */

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    pointer-events: none;
    opacity: 0.3;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: #6366f1;
    top: 5%;
    left: -5%;
    animation: pulse-orb 8s ease-in-out infinite;
}

.orb-2 {
    width: 250px;
    height: 250px;
    background: #ec4899;
    bottom: 10%;
    right: -3%;
    animation: pulse-orb 10s ease-in-out infinite 2s;
}

.orb-3 {
    width: 200px;
    height: 200px;
    background: #38bdf8;
    top: 40%;
    left: 50%;
    transform: translateX(-50%);
    animation: pulse-orb 7s ease-in-out infinite 1s;
}

@keyframes pulse-orb {

    0%,
    100% {
        opacity: 0.2;
        transform: scale(1);
    }

    50% {
        opacity: 0.45;
        transform: scale(1.15);
    }
}

/* FEATURES */
.features {
    padding: 100px 8%;
    text-align: center;
}

.feature-box {
    display: flex;
    gap: 30px;
    margin-top: 50px;
}

.feature {
    flex: 1;
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(15px);
    padding: 40px;
    border-radius: 20px;
    transition: 0.4s;
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 40px rgba(99, 102, 241, 0.4);
}

/* ============================================
   3D HOVER CARDS (Phantom-style)
   ============================================ */

.showcase-section {
    padding: 100px 8%;
    text-align: center;
}

.showcase-section h3 {
    font-size: 32px;
    margin-bottom: 50px;
    background: linear-gradient(90deg, #c4b5fd, #38bdf8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    perspective: 1200px;
}

.tilt-card {
    background: var(--card-bg, #c4b5fd);
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.15s ease-out, box-shadow 0.3s ease;
    cursor: pointer;
    will-change: transform;
}

.tilt-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.25) 0%,
            rgba(255, 255, 255, 0) 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
    pointer-events: none;
    border-radius: 24px;
}

.tilt-card:hover::before {
    opacity: 1;
}

.tilt-card:hover {
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(99, 102, 241, 0.15);
}

.tilt-card-inner {
    padding: 32px 28px 0;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 380px;
    transform: translateZ(20px);
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    text-align: left;
    color: #1e293b;
    margin-bottom: 24px;
}

.card-title.dark-card {
    color: #e2e8f0;
}

.card-image {
    flex: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
}

.card-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
    transition: transform 0.5s ease;
    transform: translateY(8px);
}

.tilt-card:hover .card-image img {
    transform: translateY(0px) scale(1.03);
}

/* RESPONSIVE for 3D cards */
@media(max-width: 900px) {
    .showcase-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .tilt-card-inner {
        min-height: 320px;
    }
}

/* STATS */
.stats {
    display: flex;
    justify-content: space-around;
    padding: 80px 8%;
    background: #1e293b;
    text-align: center;
}

.stat h2 {
    font-size: 42px;
    background: linear-gradient(90deg, #38bdf8, #6366f1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* FOOTER */
footer {
    padding: 40px;
    text-align: center;
    color: #94a3b8;
}

/* SCROLL REVEAL */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE */
@media(max-width: 900px) {
    .feature-box {
        flex-direction: column;
    }

    .stats {
        flex-direction: column;
        gap: 30px;
    }

    .nav-links {
        position: absolute;
        top: 70px;
        right: -100%;
        flex-direction: column;
        background: #1e293b;
        width: 200px;
        padding: 20px;
        transition: 0.3s;
    }

    .nav-links.active {
        right: 20px;
    }

    .menu-toggle {
        display: block;
    }

    .floating-coin {
        transform: scale(0.6);
    }

    .coin-1 {
        width: 70px;
        height: 70px;
    }

    .coin-2 {
        width: 60px;
        height: 60px;
    }

    .coin-3 {
        width: 50px;
        height: 50px;
    }

    .coin-4 {
        width: 55px;
        height: 55px;
    }

    .coin-5 {
        width: 40px;
        height: 40px;
    }

    .glow-orb {
        filter: blur(60px);
        opacity: 0.15;
    }

    .hero h2 {
        font-size: 32px;
    }
}

.auth-container {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.auth-box {
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(15px);
    padding: 40px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 300px;
}

.auth-box input {
    padding: 10px;
    border-radius: 10px;
    border: none;
}

/* ============================================
   CRYPTO TICKER MARQUEE
   ============================================ */

.ticker-bar {
    background: linear-gradient(90deg, #1e293b, #0f172a);
    border-bottom: 1px solid rgba(56, 189, 248, 0.15);
    padding: 8px 0;
    overflow: hidden;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
    height: 36px;
}

.ticker-track {
    display: flex;
    gap: 40px;
    animation: scroll-ticker 30s linear infinite;
    white-space: nowrap;
    width: max-content;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #94a3b8;
}

.ticker-item img {
    width: 16px;
    height: 16px;
    border-radius: 50%;
}

.ticker-item .ticker-name {
    font-weight: 600;
    color: #e2e8f0;
}

.ticker-item .ticker-price {
    color: #cbd5e1;
}

.ticker-item .ticker-change {
    font-weight: 600;
    font-size: 11px;
}

.ticker-change.up {
    color: #22c55e;
}

.ticker-change.down {
    color: #ef4444;
}

.ticker-loading {
    color: #475569;
    font-size: 12px;
    padding: 0 20px;
}

@keyframes scroll-ticker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Push nav below ticker */
nav {
    top: 36px;
}

/* ============================================
   PARTNER / BRAND LOGOS
   ============================================ */

.partners-section {
    padding: 80px 8%;
    text-align: center;
    overflow: hidden;
}

.partners-section h3 {
    font-size: 28px;
    margin-bottom: 50px;
    color: #94a3b8;
    font-weight: 400;
}

.partners-marquee {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.partners-track {
    display: flex;
    gap: 60px;
    animation: slide-partners 25s linear infinite;
    width: max-content;
    align-items: center;
}

.partner-item {
    flex-shrink: 0;
}

.partner-item img {
    height: 36px;
    width: auto;
    filter: brightness(0) invert(0.6);
    opacity: 0.5;
    transition: all 0.4s ease;
}

.partner-item img:hover {
    filter: brightness(0) invert(1);
    opacity: 1;
    transform: scale(1.1);
}

@keyframes slide-partners {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ============================================
   FAQ ACCORDION
   ============================================ */

.faq-section {
    padding: 100px 8%;
    max-width: 800px;
    margin: 0 auto;
}

.faq-section h3 {
    font-size: 32px;
    text-align: center;
    margin-bottom: 50px;
    background: linear-gradient(90deg, #38bdf8, #6366f1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    border: 1px solid rgba(56, 189, 248, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(99, 102, 241, 0.3);
}

.faq-item.active {
    border-color: rgba(56, 189, 248, 0.3);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.1);
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: rgba(30, 41, 59, 0.5);
    border: none;
    color: #e2e8f0;
    font-size: 16px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Inter', sans-serif;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(30, 41, 59, 0.8);
}

.faq-icon {
    font-size: 24px;
    font-weight: 300;
    color: #38bdf8;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background: rgba(15, 23, 42, 0.5);
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 24px 20px;
}

.faq-answer p {
    color: #94a3b8;
    font-size: 15px;
    line-height: 1.7;
    padding-top: 8px;
}

/* ============================================
   CTA BANNER
   ============================================ */

.cta-section {
    text-align: center;
    padding: 100px 8%;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(56, 189, 248, 0.1));
    border-top: 1px solid rgba(99, 102, 241, 0.2);
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
}

.cta-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.3), transparent 70%);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(60px);
    pointer-events: none;
    animation: cta-pulse 4s ease-in-out infinite;
}

@keyframes cta-pulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.8;
    }
}

.cta-section h2 {
    font-size: 40px;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    background: linear-gradient(90deg, #ffffff, #c4b5fd);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-section p {
    color: #94a3b8;
    font-size: 18px;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btn {
    padding: 16px 40px;
    font-size: 18px;
    font-weight: 600;
    position: relative;
    z-index: 2;
    border: none;
    cursor: pointer;
    display: inline-block;
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.6);
}

/* ============================================
   RESPONSIVE ADDITIONS
   ============================================ */

@media(max-width: 900px) {
    .ticker-bar {
        height: 32px;
    }

    nav {
        top: 32px;
    }

    .cta-section h2 {
        font-size: 28px;
    }

    .cta-section p {
        font-size: 15px;
    }

    .cta-btn {
        padding: 14px 30px;
        font-size: 16px;
    }

    .faq-question {
        font-size: 14px;
        padding: 16px 20px;
    }

    .faq-answer p {
        font-size: 13px;
    }

    .partners-section h3 {
        font-size: 22px;
    }

    .partner-item img {
        height: 28px;
    }
}