@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&family=Poppins:wght@300;400;600;700&display=swap');

:root {
    --bitcoin-gold: #f5b301;
    --orange-glow: #ff9900;
    --metallic-black: #0b0b0d;
    --deep-dark: #111827;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --soft-white: #ffffff;
    --text-muted: #94a3b8;
    --luxury-gold-gradient: linear-gradient(135deg, #f5b301 0%, #ff9900 100%);
}

.text-muted {
    color: #cbd5e1 !important; /* Much lighter for better visibility */
}

body {
    background-color: var(--metallic-black);
    color: var(--soft-white);
    font-family: 'Inter', sans-serif;
    margin: 0;
    overflow-x: hidden;
}

h1, h2, h3, .luxury-font {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

/* Background Cinematic Effects */
.cinematic-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 50% 50%, #111827 0%, #0b0b0d 100%);
    overflow: hidden;
}

.bitcoin-watermark {
    position: absolute;
    top: 10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: url('https://upload.wikimedia.org/wikipedia/commons/4/46/Bitcoin.svg') no-repeat center;
    background-size: contain;
    opacity: 0.03;
    filter: blur(2px);
    animation: float 20s infinite linear;
}

@keyframes float {
    0% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-20px, 20px) rotate(5deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

.glow-particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--bitcoin-gold);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--orange-glow);
    animation: move-particle 15s infinite linear;
}

@keyframes move-particle {
    from { transform: translateY(100vh) translateX(0); opacity: 0; }
    to { transform: translateY(-10vh) translateX(100px); opacity: 0.8; }
}

/* Glassmorphism Components */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.glass-card:hover {
    border-color: var(--bitcoin-gold);
    box-shadow: 0 0 30px rgba(245, 179, 1, 0.1);
    transform: translateY(-5px);
}

/* Navbar Style */
.navbar-premium {
    background: rgba(11, 11, 13, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar-premium.sticky-top {
    border-bottom: 1px solid rgba(245, 179, 1, 0.2);
}

.nav-link {
    color: rgba(255,255,255,0.75) !important;
    font-weight: 500;
    margin: 0 12px;
    position: relative;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    padding-bottom: 4px !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 2px;
    border-radius: 99px;
    background: linear-gradient(90deg, transparent, var(--bitcoin-gold), transparent);
    box-shadow: 0 0 8px var(--bitcoin-gold), 0 0 16px rgba(245,179,1,0.5);
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.3s ease;
    opacity: 0;
}

.nav-link:hover {
    color: var(--bitcoin-gold) !important;
    text-shadow: 0 0 12px rgba(245,179,1,0.8), 0 0 24px rgba(245,179,1,0.4);
}

.nav-link:hover::after {
    transform: translateX(-50%) scaleX(1);
    opacity: 1;
}

/* Buttons */
.btn-gold {
    background: var(--luxury-gold-gradient);
    color: #000;
    font-weight: 600;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(245, 179, 1, 0.3);
}

.btn-gold:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px var(--orange-glow);
    color: #000;
}

.btn-outline-gold {
    background: transparent;
    border: 2px solid var(--bitcoin-gold);
    color: var(--bitcoin-gold);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-outline-gold:hover {
    background: var(--bitcoin-gold);
    color: #000;
}

/* Hero Section */
.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
    background: linear-gradient(180deg, #fff 0%, #aaa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #94a3b8;
    margin-bottom: 40px;
}

/* Feature Badge */
.feature-badge {
    background: rgba(245, 179, 1, 0.08);
    color: var(--bitcoin-gold);
    border: 1px solid rgba(245, 179, 1, 0.4);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    display: inline-block;
    margin: 5px;
    box-shadow: 0 0 10px rgba(245,179,1,0.15), inset 0 0 8px rgba(245,179,1,0.05);
    animation: badge-glow 2.5s ease-in-out infinite;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.feature-badge:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 0 22px rgba(245,179,1,0.55), inset 0 0 12px rgba(245,179,1,0.1);
    border-color: var(--bitcoin-gold);
}

@keyframes badge-glow {
    0%, 100% {
        box-shadow: 0 0 8px rgba(245,179,1,0.2), inset 0 0 6px rgba(245,179,1,0.04);
        border-color: rgba(245,179,1,0.35);
    }
    50% {
        box-shadow: 0 0 20px rgba(245,179,1,0.5), inset 0 0 12px rgba(245,179,1,0.1);
        border-color: rgba(245,179,1,0.75);
    }
}

/* 3D Payment Mockup */
.payment-mockup {
    position: relative;
    z-index: 1;
}

.payment-mockup::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 130%;
    height: 130%;
    background: radial-gradient(ellipse at center, rgba(25,135,84,0.18) 0%, rgba(245,179,1,0.08) 50%, transparent 75%);
    transform: translate(-50%, -50%);
    z-index: -1;
    animation: mockup-aura 4s ease-in-out infinite;
}

@keyframes mockup-aura {
    0%, 100% { opacity: 0.6; transform: translate(-50%,-50%) scale(1); }
    50%       { opacity: 1;   transform: translate(-50%,-50%) scale(1.06); }
}

/* Live Transactions */
.ticker-card {
    border-left: 3px solid #22c55e;
    margin-bottom: 15px;
}

.terminal-text {
    font-family: 'Courier New', Courier, monospace;
    color: #22c55e;
}

/* Footer */
footer a {
    color: #cbd5e1 !important;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--bitcoin-gold) !important;
}

.hover-gold:hover {
    color: var(--bitcoin-gold) !important;
    transition: color 0.3s ease;
}

/* ── Professional Mobile Menu ── */
@media (max-width: 991.98px) {
    .navbar-collapse {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(11, 11, 13, 0.98);
        backdrop-filter: blur(20px);
        z-index: 1050;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
        opacity: 0;
        visibility: hidden;
        transform: scale(0.95);
        padding: 40px;
    }

    .navbar-collapse.show {
        opacity: 1;
        visibility: visible;
        transform: scale(1);
    }

    .navbar-nav {
        text-align: center;
        width: 100%;
        margin-bottom: 30px;
    }

    .nav-item {
        margin: 15px 0;
        opacity: 0;
        transform: translateY(30px);
        transition: all 0.5s ease;
    }

    .navbar-collapse.show .nav-item {
        opacity: 1;
        transform: translateY(0);
    }

    /* Staggered animation for links */
    .navbar-collapse.show .nav-item:nth-child(1) { transition-delay: 0.1s; }
    .navbar-collapse.show .nav-item:nth-child(2) { transition-delay: 0.15s; }
    .navbar-collapse.show .nav-item:nth-child(3) { transition-delay: 0.2s; }
    .navbar-collapse.show .nav-item:nth-child(4) { transition-delay: 0.25s; }
    .navbar-collapse.show .nav-item:nth-child(5) { transition-delay: 0.3s; }

    .nav-link {
        font-size: 1.8rem !important;
        font-weight: 700 !important;
        text-transform: uppercase;
        letter-spacing: 3px;
        color: #fff !important;
        padding: 10px 0 !important;
    }

    .nav-link:hover {
        color: var(--bitcoin-gold) !important;
        text-shadow: 0 0 20px var(--bitcoin-gold);
    }

    /* Auth Buttons in Mobile */
    .navbar-collapse .d-flex {
        flex-direction: column;
        width: 100%;
        gap: 15px !important;
    }

    .navbar-collapse .btn {
        width: 100%;
        padding: 15px !important;
        font-size: 1.1rem;
    }

    /* Close Button */
    .btn-close-menu {
        position: absolute;
        top: 30px;
        right: 30px;
        background: rgba(255,255,255,0.05);
        border: 1px solid rgba(255,255,255,0.1);
        color: #fff;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        cursor: pointer;
        transition: all 0.3s ease;
        z-index: 1060;
    }

    .btn-close-menu:hover {
        background: rgba(255,255,255,0.1);
        transform: rotate(90deg);
        color: var(--bitcoin-gold);
    }
}
