/* Navbar Styles */

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(135deg, rgba(2, 6, 23, 0.98) 0%, rgba(15, 23, 42, 0.98) 100%);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

/* Navbar */
.navbar {
    padding: 10px 0;
    width: 100%;
    height: 90px;
    overflow: visible;
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(59, 130, 246, 0.15);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 48px;
    width: 100%;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0;
}

.logo-img-large {
    height: 100px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
    margin: -15px 0;
    margin-left: 0;
}

.logo:hover {
    transform: scale(1.05);
}

/* Navigation Links */
.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
    margin: 0 15px;
    color: #e2e8f0;
    font-weight: 500;
    transition: all 0.2s ease;
    text-decoration: none;
}

.nav-links a:hover {
    color: #6366f1;
    text-decoration: none;
}

.nav-links a.active {
    color: #6366f1;
    position: relative;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    border-radius: 2px;
}

/* Auth Buttons */
.auth-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.auth-buttons .btn {
    margin-left: 0;
    padding: 6px 16px;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #e2e8f0;
    transition: color 0.2s ease;
}

.mobile-menu-btn:hover {
    color: #06b6d4;
}

/* Mobile Sign In Button - Hidden by default */
.mobile-signin-btn,
.mobile-startnow-btn {
    display: none !important;
}

/* Navbar Right Section */
.navbar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Coin Carousel Section */
.coin-carousel-section {
    background: transparent;
    padding: 20px 0;
    overflow: hidden;
    position: relative;
    margin-top: 0;
    width: 100%;
}

.coin-ticker-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
}

/* Responsive Navbar */
@media screen and (max-width: 768px) {
    header {
        border-bottom: 1px solid rgba(99, 102, 241, 0.12);
    }

    .navbar {
        height: 68px;
        padding: 0;
    }

    .navbar .container {
        justify-content: space-between;
        padding: 0 16px;
    }

    .logo-img-large {
        height: 64px;
        margin: 0;
    }

    .nav-links,
    .auth-buttons {
        display: none;
    }

    .navbar-right {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    /* Override global .btn padding specifically for mobile sign in */
    a.mobile-signin-btn,
    a.mobile-signin-btn.btn,
    a.mobile-signin-btn.btn-outline {
        display: inline-flex !important;
        align-items: center;
        font-size: 0.78rem !important;
        font-weight: 500 !important;
        padding: 4px 12px !important;
        border-radius: 6px !important;
        color: #94a3b8 !important;
        text-decoration: none !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        background: transparent !important;
        transition: all 0.2s ease;
        white-space: nowrap;
        line-height: 1.6;
    }

    a.mobile-signin-btn:hover {
        color: #e2e8f0 !important;
        border-color: rgba(99, 102, 241, 0.4) !important;
    }

    /* Start Now button — small primary pill */
    a.mobile-startnow-btn,
    a.mobile-startnow-btn.btn,
    a.mobile-startnow-btn.btn-primary {
        display: inline-flex !important;
        align-items: center;
        font-size: 0.78rem !important;
        font-weight: 600 !important;
        padding: 4px 12px !important;
        border-radius: 6px !important;
        color: #fff !important;
        text-decoration: none !important;
        border: none !important;
        background: linear-gradient(135deg, #6366f1, #8b5cf6) !important;
        box-shadow: 0 2px 10px rgba(99, 102, 241, 0.35);
        transition: all 0.2s ease;
        white-space: nowrap;
        line-height: 1.6;
    }

    a.mobile-startnow-btn:hover {
        box-shadow: 0 4px 16px rgba(99, 102, 241, 0.5) !important;
        transform: translateY(-1px);
    }

    /* Bare hamburger icon */
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 28px;
        height: 28px;
        font-size: 0.95rem;
        color: #64748b;
        cursor: pointer;
        background: none;
        border: none;
        padding: 0;
        transition: color 0.2s ease;
    }

    .mobile-menu-btn:hover {
        color: #e2e8f0;
    }
}
