:root {
    /* Premium Color System */
    --navy: #081623;
    --royal-blue: #1DB32F;
    --royal-blue-glow: rgba(29, 179, 47, 0.42);
    --gold: #02B534;
    --gold-glow: rgba(2, 181, 52, 0.32);
    --bg-white: #FFFFFF;
    --bg-light: #F8FAFC;
    --text-dark: #1E293B;
    --text-muted: #64748B;
    --border: #E2E8F0;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;
    
    /* Spacing */
    --container-max: 1280px;
    
    /* Animations */
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-white);
    color: var(--text-dark);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--navy);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

h1 {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.05;
}

h2 {
    font-size: 22px;
}

h3 {
    font-size: 20px;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

/* Header & Navigation */
.header {
    background: rgba(255, 255, 255, 0.94);
    color: var(--navy);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(8, 22, 35, 0.08);
    box-shadow: 0 14px 30px rgba(8, 22, 35, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    min-height: 60px;
    position: relative;
    max-width: var(--container-max);
}

.logo {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.logo img,
.nav-logo-img {
    height: 48px;
    width: auto;
    display: block;
    object-fit: contain;
}

.nav-wrapper {
    display: flex;
    justify-content: center;
    flex: 1 1 auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    padding: 6px 8px;
    border: 1px solid rgba(8, 22, 35, 0.08);
    border-radius: 999px;
    background: rgba(248, 250, 252, 0.82);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.nav-links a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 16px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
    color: rgba(8, 22, 35, 0.72);
    position: relative;
    transition: all 0.25s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--navy);
    background: rgba(29, 179, 47, 0.1);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: var(--gold);
    border-radius: 4px;
}

/* ─── Crypto Launches Nav Dropdown ─── */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    cursor: pointer;
    user-select: none;
}

.nav-dropdown-toggle i {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-dropdown.open .nav-dropdown-toggle i {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 220px;
    list-style: none;
    padding: 10px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(8, 22, 35, 0.08);
    box-shadow: 0 24px 48px rgba(8, 22, 35, 0.16), 0 0 0 1px rgba(255, 255, 255, 0.7) inset;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), visibility 0.3s;
}

.nav-dropdown.open .nav-dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid rgba(8, 22, 35, 0.08);
    border-left: 1px solid rgba(8, 22, 35, 0.08);
}

.nav-dropdown-menu li {
    margin-bottom: 2px;
}

.nav-dropdown-menu li:last-child {
    margin-bottom: 0;
}

.nav-dropdown-menu li a {
    display: flex !important;
    align-items: center;
    width: 100%;
    padding: 12px 16px !important;
    border-radius: 10px;
    font-size: 0.9rem !important;
    font-weight: 500;
    color: rgba(8, 22, 35, 0.76);
    white-space: nowrap;
    transition: all 0.2s ease;
}

.nav-dropdown-menu li a:hover {
    background: rgba(29, 179, 47, 0.1);
    color: var(--navy);
    transform: translateX(4px);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
}

.btn-exchange {
    background: linear-gradient(135deg, var(--royal-blue) 0%, var(--gold) 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.88rem;
    box-shadow: 0 4px 14px rgba(29, 179, 47, 0.24), inset 0 1px 1px rgba(255, 255, 255, 0.35);
    white-space: nowrap;
    transition: all 0.3s ease;
    border: 1px solid rgba(29, 179, 47, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.btn-exchange:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(2, 181, 52, 0.32), inset 0 1px 1px rgba(255, 255, 255, 0.8);
    background: linear-gradient(135deg, #078C2A 0%, #1DB32F 100%);
}

.country-dropdown {
    position: relative;
    z-index: 1005;
}

.country-selector {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: white;
    width: 128px;
    min-height: 39px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 650;
    cursor: pointer;
    outline: none;
    font-family: inherit;
}

.country-selector:hover,
.country-selector:focus,
.country-dropdown.active .country-selector {
    background: rgba(255, 255, 255, 0.13);
    border-color: rgba(255, 255, 255, 0.3);
}

.country-selector i {
    font-size: 0.72rem;
    transition: transform 0.2s ease;
}

.country-dropdown.active .country-selector i {
    transform: rotate(180deg);
}

.country-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    display: grid;
    gap: 6px;
    min-width: 158px;
    padding: 8px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(29, 45, 69, 0.98);
    box-shadow: 0 18px 38px rgba(4, 12, 28, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
    z-index: 1010;
}

.country-dropdown.active .country-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.country-option {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 40px;
    padding: 0 12px;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
}

.country-option:hover,
.country-option.active {
    color: #fff;
    background: var(--royal-blue);
}

.country-option i {
    width: 14px;
    color: transparent;
}

.country-option.active i {
    color: currentColor;
}

.mobile-menu-btn {
    display: none;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border-radius: 999px;
    background: rgba(29, 179, 47, 0.1) !important;
    border: 1px solid rgba(29, 179, 47, 0.22) !important;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 18px;
    height: 2px;
    display: block;
    border-radius: 99px;
    background: var(--navy);
}

/* Hero Section - Reduced height and centered */
.hero {
    padding: 40px 0 32px;
    background: radial-gradient(circle at top right, #f1f5f9 0%, #ffffff 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 40%;
    height: 60%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.08) 0%, transparent 70%);
    z-index: 0;
}

.hero-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    color: var(--navy);
    line-height: 1.1;
    margin-bottom: 18px;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.hero-content p {
    font-size: clamp(1.1rem, 2.2vw, 1.4rem);
    color: var(--text-muted);
    margin-bottom: 48px;
    max-width: 750px;
    line-height: 1.6;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
}

.hero-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    width: 100%;
}

.btn-primary {
    background: var(--royal-blue);
    color: white;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
    background: #1d4ed8;
}

.btn-secondary {
    background: white;
    color: var(--navy);
    border: 1px solid var(--border);
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-secondary:hover {
    border-color: var(--navy);
    background: #f8fafc;
    color: var(--navy) !important;
    transform: translateY(-2px);
}

/* Trust Bar / Features Transition */
.trust-bar {
    background: white;
    padding: 30px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    position: relative;
    z-index: 10;
}

.trust-bar-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 40px;
    text-align: center;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    transition: transform 0.3s ease;
}

.trust-item:hover {
    transform: scale(1.05);
}

.trust-icon {
    font-size: 1.5rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.05));
}

.trust-text {
    font-weight: 700;
    font-size: 1rem;
    color: var(--navy);
    letter-spacing: -0.01em;
}

/* Section Common */
section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.2rem;
    color: var(--navy);
    margin-bottom: 10px;
}

.section-title p {
    color: var(--text-muted);
}

/* Card System */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 48px 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 30px 60px -12px rgba(11, 23, 42, 0.12), 0 18px 36px -18px rgba(11, 23, 42, 0.15);
    border-color: var(--royal-blue);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--royal-blue), #02B534);
    opacity: 0;
    transition: var(--transition);
}

.card:hover::before {
    opacity: 1;
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--navy);
}

.card p {
    color: var(--text-muted);
    margin-bottom: 25px;
}

/* Airdrop Specific */
.airdrop-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.airdrop-item {
    border: 1px solid var(--border);
    padding: 20px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.status-active { background: #DCFCE7; color: #166534; }
.status-upcoming { background: #FEF9C3; color: #854D0E; }

/* Exchange Cards */
.exchange-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.exchange-card {
    text-align: center;
    border: 1px solid var(--border);
    padding: 40px 20px;
    border-radius: 20px;
}

.exchange-logo {
    height: 60px;
    margin-bottom: 20px;
}

/* Footer Styling */
.footer {
    background: var(--navy);
    color: white;
    padding: 100px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.footer-title {
    color: white;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: 0.02em;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 14px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--gold);
    transform: translateX(4px);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    flex: 1 1 auto;
}

.footer-follow-us {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 0;
    margin-bottom: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-follow-label {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
}

.footer-follow-us a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-follow-us a + a::before {
    content: '|';
    color: rgba(255, 255, 255, 0.2);
    margin-right: 20px;
    font-weight: 300;
}

.footer-follow-us a:hover {
    color: var(--gold);
}

.footer-legal-links {
    display: flex;
    gap: 24px;
    justify-content: flex-end;
    flex: 1 1 auto;
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    transition: color 0.2s ease;
}

.footer-legal-links a:hover {
    color: white;
}

@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-follow-us {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }
    .footer-follow-label {
        width: 100%;
        text-align: center;
    }
    .footer-bottom-wrapper {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 20px;
    }
    .footer-legal-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 16px;
    }
}

/* Mobile First Adjustments */
@media (max-width: 991px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-content p { margin: 0 auto 30px; }
    .hero-btns { justify-content: center; }
    .nav-links { display: none; }
    .hero-content h1 { font-size: 2.5rem; }
    .header-container { min-height: 58px; }
    .nav-wrapper { flex: initial; }
    .nav-links.active {
        display: flex;
        position: absolute;
        top: calc(100% + 12px);
        left: 20px;
        right: 20px;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 10px;
        border-radius: 16px;
        background: rgba(255, 255, 255, 0.98);
        border: 1px solid rgba(8, 22, 35, 0.08);
        box-shadow: 0 22px 45px rgba(8, 22, 35, 0.16);
    }
    .nav-links.active a {
        display: flex;
        width: 100%;
        justify-content: center;
    }
    .logo img,
    .nav-logo-img {
        height: 39px;
        width: 166px;
        max-width: 166px;
    }
    .logo {
        flex-basis: 166px;
        max-width: 166px;
    }
    .mobile-menu-btn { display: inline-flex; }

    /* Mobile dropdown overrides */
    .nav-dropdown {
        position: static;
    }
    .nav-dropdown-toggle {
        justify-content: center;
    }
    .nav-dropdown-menu {
        position: static !important;
        transform: none !important;
        min-width: 0;
        width: 100%;
        padding: 4px 0 4px 0;
        border-radius: 12px;
        background: rgba(248, 250, 252, 0.88);
        border: 1px solid rgba(8, 22, 35, 0.08);
        box-shadow: none;
        backdrop-filter: none;
        margin-top: 4px;
    }
    .nav-dropdown.open .nav-dropdown-menu {
        transform: none !important;
    }
    .nav-dropdown-menu::before {
        display: none;
    }
    .nav-dropdown-menu li a {
        justify-content: center;
        padding: 8px 14px !important;
        font-size: 0.84rem !important;
    }
}

@media (max-width: 768px) {
    .exchange-grid { grid-template-columns: 1fr; }
    .card-grid { grid-template-columns: 1fr; }
}

/* Section Backgrounds */
.bg-light { background-color: #f8fafc; }

/* Homepage Subscribe Section */
.subscribe-section {
    background: linear-gradient(135deg, #081623 0%, #10233f 100%);
    color: white;
    padding: 72px 0;
}

.subscribe-card {
    align-items: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 28px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
    display: grid;
    gap: 28px;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
    overflow: hidden;
    padding: 42px;
    position: relative;
}

.subscribe-card::before {
    background: radial-gradient(circle, rgba(37, 99, 235, 0.35), transparent 62%);
    content: "";
    height: 280px;
    position: absolute;
    right: -90px;
    top: -120px;
    width: 280px;
}

.subscribe-copy,
.home-subscribe-form,
.subscribe-points {
    position: relative;
    z-index: 1;
}

.subscribe-eyebrow {
    color: #93c5fd;
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.12em;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.subscribe-copy h2 {
    color: white;
    font-size: clamp(2rem, 4vw, 3.4rem);
    letter-spacing: -0.04em;
    margin-bottom: 14px;
    max-width: 760px;
}

.subscribe-copy p {
    color: rgba(255, 255, 255, 0.74);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 650px;
}

.home-subscribe-form {
    background: white;
    border-radius: 20px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
    padding: 12px;
}

.subscribe-input-row {
    display: flex;
    gap: 10px;
}

.home-subscribe-form input {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    color: var(--navy);
    flex: 1;
    font: inherit;
    font-weight: 650;
    min-height: 56px;
    min-width: 0;
    outline: none;
    padding: 0 18px;
    transition: var(--transition);
}

.home-subscribe-form input:focus {
    background: white;
    border-color: var(--royal-blue);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.14);
}

.home-subscribe-form button {
    background: var(--royal-blue);
    border: 0;
    border-radius: 14px;
    color: white;
    cursor: pointer;
    font: inherit;
    font-weight: 900;
    min-height: 56px;
    padding: 0 24px;
    transition: var(--transition);
    white-space: nowrap;
}

.home-subscribe-form button:hover,
.home-subscribe-form button:focus {
    background: #1d4ed8;
    box-shadow: 0 12px 26px rgba(37, 99, 235, 0.28);
    transform: translateY(-1px);
}

.subscribe-message {
    color: var(--text-muted);
    font-size: 0.84rem;
    font-weight: 700;
    margin-top: 10px;
    padding: 0 4px;
}

.subscribe-message.is-success {
    color: #16a34a;
}

.subscribe-points {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    grid-column: 1 / -1;
}

.subscribe-points span {
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.82);
    display: inline-flex;
    font-size: 0.9rem;
    font-weight: 750;
    gap: 8px;
    padding: 10px 14px;
}

.subscribe-points i {
    color: #02B534;
}

@media (max-width: 900px) {
    .subscribe-card {
        grid-template-columns: 1fr;
        padding: 30px;
    }
}

@media (max-width: 640px) {
    .subscribe-section {
        padding: 44px 0;
    }

    .subscribe-card {
        border-radius: 22px;
        padding: 24px;
    }

    .subscribe-input-row {
        flex-direction: column;
    }

    .home-subscribe-form button {
        width: 100%;
    }
}

/* Glassmorphism Classes */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
}

.glass-dark {
    background: rgba(11, 23, 42, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Utilities */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.font-heading { font-family: var(--font-heading); }
.font-body { font-family: var(--font-body); }

/* Directory Hub Premium Components */
.hub-intro-section {
    margin-bottom: 3rem;
}

.hub-intro-heading-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.hub-intro-bar {
    width: 6px;
    height: 3.5rem;
    background-color: var(--royal-blue);
    border-radius: 999px;
    flex-shrink: 0;
}

.hub-intro-heading {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 900;
    color: var(--navy);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hub-intro-description-box {
    background-color: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 2.5rem;
    padding: 2.5rem 3rem;
}

.hub-intro-text {
    font-family: var(--font-body);
    font-size: clamp(1.1rem, 1.8vw, 1.25rem);
    color: #334155;
    line-height: 1.7;
    font-weight: 500;
    max-width: 900px;
}

.dark .hub-intro-description-box {
    background-color: rgba(15, 23, 42, 0.4);
    border-color: rgba(30, 41, 59, 0.5);
}

.dark .hub-intro-text {
    color: #cbd5e1;
}

.dark .hub-intro-heading {
    color: #ffffff;
}

/* Mobile layout polish and overflow guardrails */
html,
body {
    max-width: 100%;
    overflow-x: clip;
}

img,
svg,
video,
canvas {
    max-width: 100%;
}

button,
input,
select,
textarea {
    max-width: 100%;
    font: inherit;
}

.main-content,
.footer {
    max-width: 100%;
    overflow-x: clip;
}

.flex > *,
.grid > *,
.header-container > * {
    min-width: 0;
}

@media (max-width: 640px) {
    body {
        font-size: 0.96rem;
        line-height: 1.65;
    }

    h1 {
        font-weight: 800;
        letter-spacing: -0.025em;
        line-height: 1.08;
    }

    h2,
    h3,
    h4 {
        font-weight: 700;
        letter-spacing: -0.015em;
    }

    .font-black {
        font-weight: 700 !important;
    }

    .font-bold {
        font-weight: 650 !important;
    }

    .uppercase[class*="tracking"],
    [class*="tracking-widest"],
    [class*="tracking-["] {
        letter-spacing: 0.08em !important;
    }

    .container {
        width: 100%;
        max-width: 100%;
        padding-left: 16px;
        padding-right: 16px;
    }

    .header {
        padding: 8px 0;
    }

    .header-container {
        gap: 8px;
        min-height: 50px;
        padding-left: 12px;
        padding-right: 12px;
    }

    .logo {
        flex: 1 1 124px;
        max-width: 124px;
    }

    .logo img,
    .nav-logo-img {
        width: 124px;
        max-width: 124px;
        height: 32px;
    }

    .header-actions {
        flex: 0 1 auto;
        gap: 6px;
        margin-left: auto;
    }

    .header-actions .btn-exchange {
        display: none;
    }

    .country-selector {
        width: 100px;
        min-height: 36px;
        gap: 8px;
        padding: 0 10px;
        font-size: 0.78rem;
    }

    .country-menu {
        min-width: 140px;
        max-width: calc(100vw - 24px);
    }

    .mobile-menu-btn {
        width: 38px;
        height: 38px;
        flex: 0 0 38px;
    }

    .nav-links.active {
        left: 12px;
        right: 12px;
        top: calc(100% + 8px);
        max-height: calc(100vh - 88px);
        overflow-y: auto;
    }

    .hero,
    section {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .hero-content h1,
    .section-title h2 {
        font-size: clamp(2rem, 9vw, 2.5rem);
    }

    .hero-content p,
    .section-title p {
        font-size: 1rem;
        line-height: 1.7;
        font-weight: 400;
    }

    .hero-btns {
        flex-direction: column;
        gap: 10px;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        min-height: 46px;
        padding: 12px 18px;
        border-radius: 12px;
        font-weight: 650;
    }

    .card {
        padding: 24px 20px;
        border-radius: 18px;
    }

    .card:hover {
        transform: none;
    }

    .footer {
        padding: 52px 0 30px;
    }

    .footer-bottom > div {
        justify-content: center !important;
        text-align: center;
    }

    .footer-legal-links {
        justify-content: center;
        flex-wrap: wrap;
    }

    .footer-legal-links a {
        margin-left: 0;
    }

    .bg-navy .absolute.w-96,
    .relative.overflow-hidden .absolute.w-96 {
        width: 14rem !important;
        height: 14rem !important;
        filter: blur(80px) !important;
        opacity: 0.65;
    }
}

@media (max-width: 360px) {
    .container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .header-container {
        padding-left: 10px;
        padding-right: 10px;
        gap: 6px;
    }

    .logo {
        flex-basis: 108px;
        max-width: 108px;
    }

    .logo img,
    .nav-logo-img {
        width: 108px;
        max-width: 108px;
        height: 30px;
    }

    .country-selector {
        width: 92px;
        padding: 0 8px;
        font-size: 0.74rem;
    }

    .mobile-menu-btn {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }
}

@media (max-width: 640px) {
    .airdrop-show-page,
    .airdrops-page,
    .presales-page,
    .launches-page,
    .presale-detail-page,
    .launch-detail-page,
    .crypto-page,
    .betting-page,
    .hub-page {
        max-width: 100%;
        overflow-x: clip;
    }

    .airdrop-show-page .bg-navy,
    .presale-detail-page .bg-navy,
    .launch-detail-page .bg-navy,
    .airdrops-page .bg-navy,
    .presales-page .bg-navy,
    .launches-page .bg-navy,
    .crypto-page .bg-navy,
    .betting-page .bg-navy {
        padding-top: 32px !important;
        padding-bottom: 64px !important;
    }

    .airdrop-show-page .bg-navy .container > .flex,
    .presale-detail-page .bg-navy .container > .flex,
    .launch-detail-page .bg-navy .container > .flex {
        gap: 24px !important;
    }

    .airdrop-show-page nav,
    .presale-detail-page nav,
    .launch-detail-page nav {
        flex-wrap: wrap;
        gap: 6px !important;
        margin-bottom: 24px !important;
        letter-spacing: 0.08em !important;
    }

    .airdrop-show-page h1,
    .presale-detail-page h1,
    .launch-detail-page h1,
    .airdrops-page h1,
    .presales-page h1,
    .launches-page h1,
    .crypto-page h1,
    .betting-page h1 {
        font-size: clamp(1.95rem, 9vw, 2.45rem) !important;
        line-height: 1.08 !important;
        letter-spacing: -0.025em !important;
        overflow-wrap: anywhere;
        margin-bottom: 14px !important;
    }

    .airdrop-show-page .bg-navy p,
    .presale-detail-page .bg-navy p,
    .launch-detail-page .bg-navy p,
    .airdrops-page .bg-navy p,
    .presales-page .bg-navy p,
    .launches-page .bg-navy p,
    .crypto-page .bg-navy p,
    .betting-page .bg-navy p {
        max-width: 100% !important;
        font-size: 1rem !important;
        line-height: 1.68 !important;
        font-weight: 400 !important;
    }

    .presales-page .bg-navy form,
    .launches-page .bg-navy form {
        flex-direction: column !important;
        gap: 8px;
        padding: 8px !important;
        border-radius: 20px !important;
    }

    .presales-page .bg-navy form input,
    .launches-page .bg-navy form input {
        width: 100%;
        min-height: 48px;
        padding: 12px 14px !important;
        font-size: 1rem;
        font-weight: 500 !important;
        text-align: left;
    }

    .presales-page .bg-navy form button,
    .launches-page .bg-navy form button {
        width: 100%;
        min-height: 48px;
        padding: 12px 18px !important;
        border-radius: 14px !important;
    }

    .launches-page .bg-navy .mt-12 {
        gap: 16px !important;
        margin-top: 32px !important;
    }

    .airdrop-show-page .glass-dark,
    .presale-detail-page [class*="backdrop-blur-xl"],
    .launch-detail-page [class*="backdrop-blur-xl"] {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 20rem;
        padding: 20px !important;
        border-radius: 24px !important;
    }

    .airdrop-show-page [class*="-mt-16"],
    .presale-detail-page [class*="-mt-12"],
    .launch-detail-page [class*="-mt-16"] {
        margin-top: -40px !important;
    }

    .airdrop-show-page .grid,
    .airdrops-page .grid,
    .presales-page .grid,
    .launches-page .grid,
    .presale-detail-page .grid,
    .launch-detail-page .grid {
        gap: 20px !important;
    }

    .airdrop-show-page .space-y-12 > :not([hidden]) ~ :not([hidden]),
    .presale-detail-page .space-y-12 > :not([hidden]) ~ :not([hidden]),
    .launch-detail-page .space-y-12 > :not([hidden]) ~ :not([hidden]) {
        margin-top: 24px !important;
    }

    .airdrop-show-page [class*="rounded-[2.5rem]"],
    .airdrop-show-page [class*="rounded-[3rem]"],
    .airdrops-page [class*="rounded-[2.5rem]"],
    .airdrops-page [class*="rounded-[3rem]"],
    .presales-page [class*="rounded-[2.5rem]"],
    .presales-page [class*="rounded-[3rem]"],
    .launches-page [class*="rounded-[2.5rem]"],
    .launches-page [class*="rounded-[3rem]"],
    .presale-detail-page [class*="rounded-[2.5rem]"],
    .presale-detail-page [class*="rounded-[3rem]"],
    .launch-detail-page [class*="rounded-[2.5rem]"],
    .launch-detail-page [class*="rounded-[3rem]"] {
        border-radius: 24px !important;
    }

    .airdrop-show-page .p-12,
    .airdrop-show-page .p-10,
    .airdrop-show-page .p-8,
    .airdrops-page .p-10,
    .airdrops-page .p-8,
    .airdrops-page .p-6,
    .presales-page .p-10,
    .presales-page .p-8,
    .presales-page .p-6,
    .launches-page .p-10,
    .launches-page .p-8,
    .launches-page .p-6,
    .presale-detail-page .p-12,
    .presale-detail-page .p-10,
    .presale-detail-page .p-8,
    .launch-detail-page .p-12,
    .launch-detail-page .p-10,
    .launch-detail-page .p-8 {
        padding: 20px !important;
    }

    .airdrop-show-page .py-24,
    .airdrop-show-page .py-20,
    .airdrop-show-page .py-16,
    .airdrops-page .py-24,
    .airdrops-page .py-20,
    .airdrops-page .py-16,
    .presales-page .py-24,
    .presales-page .py-20,
    .presales-page .py-16,
    .launches-page .py-24,
    .launches-page .py-20,
    .launches-page .py-16,
    .presale-detail-page .py-24,
    .launch-detail-page .py-24 {
        padding-top: 48px !important;
        padding-bottom: 48px !important;
    }

    .airdrop-show-page h2,
    .presale-detail-page h2,
    .launch-detail-page h2,
    .airdrops-page h2,
    .presales-page h2,
    .launches-page h2,
    .crypto-page h2,
    .betting-page h2 {
        font-size: clamp(1.45rem, 7vw, 2rem) !important;
        line-height: 1.18 !important;
        margin-bottom: 20px !important;
    }

    .airdrop-show-page h3,
    .presale-detail-page h3,
    .launch-detail-page h3,
    .airdrops-page h3,
    .presales-page h3,
    .launches-page h3,
    .crypto-page h3,
    .betting-page h3 {
        font-size: clamp(1.15rem, 5vw, 1.5rem) !important;
        line-height: 1.25 !important;
    }

    .airdrop-show-page .flex.items-center.gap-4.mb-8,
    .airdrops-page .flex.items-center.gap-4.mb-10,
    .airdrops-page .flex.items-center.gap-4.mb-8,
    .presale-detail-page h2.flex,
    .launch-detail-page h2.flex {
        align-items: flex-start !important;
        gap: 12px !important;
        margin-bottom: 20px !important;
    }

    .airdrop-show-page .w-12.h-12,
    .airdrops-page .w-12.h-12,
    .presale-detail-page .w-12.h-12,
    .launch-detail-page .w-14.h-14 {
        width: 40px !important;
        height: 40px !important;
        border-radius: 16px !important;
        flex: 0 0 auto;
    }

    .airdrop-show-page .prose,
    .airdrops-page .prose,
    .presale-detail-page .prose,
    .launch-detail-page .prose {
        font-size: 1rem !important;
        line-height: 1.75 !important;
    }

    .airdrop-show-page .prose p,
    .airdrops-page .prose p,
    .presale-detail-page .prose p,
    .launch-detail-page .prose p {
        font-size: 1rem !important;
        line-height: 1.76 !important;
        margin-bottom: 1rem !important;
        font-weight: 400 !important;
    }

    .airdrop-show-page .prose strong,
    .airdrops-page .prose strong,
    .presale-detail-page .prose strong,
    .launch-detail-page .prose strong {
        font-weight: 700 !important;
    }

    .airdrop-show-page .flex.justify-between.items-center.mb-10,
    .airdrops-page .flex.justify-between.items-center,
    .presale-detail-page .flex.justify-between.items-center,
    .launch-detail-page .flex.justify-between.items-center {
        gap: 12px;
    }

    .airdrop-show-page .flex.justify-between.items-center.mb-10 {
        flex-direction: column;
        align-items: stretch !important;
    }

    .airdrop-show-page .flex.justify-between.items-center.mb-10 button {
        width: 100%;
        min-height: 42px;
    }

    .airdrop-show-page .airdrop-steps-timeline {
        padding-left: 24px !important;
    }

    .airdrop-show-page .airdrop-steps-timeline::before {
        left: 10px;
    }

    .airdrop-show-page .airdrop-steps-timeline .prose li::before {
        left: -22px;
    }

    .airdrop-show-page a[class*="btn-primary"],
    .airdrop-show-page button,
    .airdrops-page a[class*="btn-primary"],
    .presale-detail-page button,
    .launch-detail-page button {
        letter-spacing: 0.05em !important;
    }

    .airdrops-page .sticky {
        position: static !important;
    }

    .airdrops-page form {
        align-items: stretch !important;
    }

    .airdrops-page select,
    .presale-detail-page select,
    .launch-detail-page select {
        min-width: 0;
    }

    .airdrops-page .airdrop-card {
        border-radius: 22px;
    }

    .airdrops-page .airdrop-card .flex.items-start {
        gap: 14px !important;
    }

    .airdrops-page .airdrop-card h3 {
        font-size: 1.1rem !important;
    }

    .airdrops-page .airdrop-card .p-6.pt-0 {
        flex-wrap: wrap;
    }

    .airdrops-page .airdrop-card .p-6.pt-0 a {
        min-width: 0;
    }

    .hub-intro-description-box {
        padding: 22px 20px;
        border-radius: 24px;
    }

    .hub-intro-text {
        font-size: 1rem;
        line-height: 1.72;
        font-weight: 400;
    }

    .presales-page .overflow-x-auto {
        overflow-x: visible !important;
    }

    .presales-page table,
    .presales-page thead,
    .presales-page tbody,
    .presales-page tr,
    .presales-page td {
        display: block !important;
        width: 100% !important;
    }

    .presales-page thead {
        display: none !important;
    }

    .presales-page tbody {
        display: grid !important;
        gap: 14px;
        padding: 14px;
    }

    .presales-page tbody tr {
        border: 1px solid #e5e7eb;
        border-radius: 20px;
        background: #fff;
        padding: 16px;
        box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
    }

    .presales-page tbody td {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        padding: 9px 0 !important;
        border: 0 !important;
    }

    .presales-page tbody td:first-child {
        display: block !important;
        padding-top: 0 !important;
        padding-bottom: 14px !important;
        border-bottom: 1px solid #f1f5f9 !important;
    }

    .presales-page tbody td:not(:first-child)::before {
        color: #94a3b8;
        content: "";
        flex: 0 0 auto;
        font-size: 0.68rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .presales-page tbody td:nth-child(2)::before { content: "Chain"; }
    .presales-page tbody td:nth-child(3)::before { content: "Status"; }
    .presales-page tbody td:nth-child(4)::before { content: "Hard Cap"; }
    .presales-page tbody td:nth-child(5)::before { content: "Votes"; }
    .presales-page tbody td:nth-child(6)::before { content: "Details"; }

    .presales-page tbody td:nth-child(6) a {
        width: 42px !important;
        height: 42px !important;
        box-shadow: none !important;
    }

    .presales-page tbody td[colspan] {
        display: block !important;
        text-align: center;
    }

    .presales-page tbody td[colspan]::before {
        content: none !important;
    }

    .crypto-page table,
    .betting-page table {
        table-layout: fixed;
        width: 100% !important;
    }

    .crypto-page th,
    .crypto-page td,
    .betting-page th,
    .betting-page td {
        padding: 12px 14px !important;
        overflow-wrap: anywhere;
        word-break: normal;
    }

    .crypto-page th,
    .betting-page th {
        width: 42% !important;
        letter-spacing: 0.06em !important;
    }
}

/* ─── Global Content Typography System ─── */
/* Standardized blog-level readability for text-heavy content */
.rich-text-content, .global-typography {
    color: #334155;
    font-size: 1.15rem;
    line-height: 1.8;
    overflow-wrap: break-word;
    max-width: 100%;
}

.rich-text-content *, .global-typography * {
    overflow-wrap: break-word;
}

.rich-text-content :where(p, li, blockquote, td, th),
.global-typography :where(p, li, blockquote, td, th) {
    font-size: 1.15rem;
    line-height: 1.8;
    font-weight: 400;
}

.rich-text-content :where(p, blockquote, table),
.global-typography :where(p, blockquote, table) {
    margin-top: 0;
    margin-bottom: 0.72rem;
}

.rich-text-content :where(ul, ol),
.global-typography :where(ul, ol) {
    list-style-position: outside;
    padding-left: 1.5rem;
    margin-top: 0;
    margin-bottom: 0.72rem;
}

.rich-text-content :where(ul),
.global-typography :where(ul) {
    list-style-type: disc;
}

.rich-text-content :where(ol),
.global-typography :where(ol) {
    list-style-type: decimal;
}

.rich-text-content :where(li),
.global-typography :where(li) {
    padding-left: 0.35rem;
    margin-bottom: 0.4rem;
}

/* We specifically exclude headings, buttons, badges, nav links */
.rich-text-content :where(h1, h2, h3, h4, h5, h6),
.global-typography :where(h1, h2, h3, h4, h5, h6) {
    color: var(--navy);
    font-family: 'Outfit', sans-serif;
    line-height: 1.15;
    margin: 1.5rem 0 0.75rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.rich-text-content :where(h1, h2, h3, h4, h5, h6):first-child,
.global-typography :where(h1, h2, h3, h4, h5, h6):first-child {
    margin-top: 0;
}

.rich-text-content :where(h1), .global-typography :where(h1) { font-size: 28px; }
.rich-text-content :where(h2), .global-typography :where(h2) { font-size: 22px; }
.rich-text-content :where(h3), .global-typography :where(h3) { font-size: 20px; }

.rich-text-content :where(a:not(.btn):not(.badge):not(.nav-link):not(.button)),
.global-typography :where(a:not(.btn):not(.badge):not(.nav-link):not(.button)) {
    color: var(--royal-blue);
    font-weight: 650;
    text-decoration: underline;
    text-decoration-color: transparent;
    transition: all 0.2s ease;
}

.rich-text-content :where(a:not(.btn):not(.badge):not(.nav-link):not(.button)):hover,
.global-typography :where(a:not(.btn):not(.badge):not(.nav-link):not(.button)):hover {
    color: var(--navy);
    text-decoration-color: var(--navy);
}

@media (max-width: 768px) {
    .rich-text-content, .global-typography,
    .rich-text-content :where(p, li, blockquote, td, th),
    .global-typography :where(p, li, blockquote, td, th) {
        font-size: 1.05rem;
        line-height: 1.7;
    }
}
