/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}

body {
    font-family: 'Montserrat', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #1A1728;
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 24px,
            rgba(151, 147, 218, 0.03) 24px,
            rgba(151, 147, 218, 0.03) 25px,
            transparent 25px,
            transparent 50px
        ),
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 24px,
            rgba(151, 147, 218, 0.03) 24px,
            rgba(151, 147, 218, 0.03) 25px,
            transparent 25px,
            transparent 50px
        );
    min-height: 100vh;
    color: #ffffff;
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
}

/* Single-page landing behavior (Qureka-style) */
.lp-section {
    position: relative;
    min-height: 100vh;
    overflow: hidden; /* keep absolute-positioned art inside each section */
}

/* Horizontal slider mode: no scrollbar, swipe/trackpad pages */
.landing-single-html,
.landing-single-html body {
    height: 100%;
    overflow: hidden;
}

.landing-single .lp-slider {
    height: calc(100dvh - var(--lp-header-h, 0px));
    width: 100vw;
    overflow: hidden;
    position: relative;
}

.landing-single .lp-track {
    height: calc(100dvh - var(--lp-header-h, 0px));
    width: 100%;
    display: flex;
    flex-direction: row;
    will-change: transform;
    transition: transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
}

.landing-single .lp-slider::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.landing-single .lp-slider {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge legacy */
}

.landing-single .lp-section {
    flex: 0 0 100vw;
    width: 100vw;
    height: calc(100dvh - var(--lp-header-h, 0px));
}

/* Mobile: vertical paging (no visible scrollbar), sections one after another */
@media (max-width: 768px) {
    .landing-single .lp-slider {
        overflow-x: hidden;
        overflow-y: auto;
        /* mobile uses native scroll (no transform slider) */
        transform: none !important;
        transition: none !important;
        -webkit-overflow-scrolling: touch;
    }

    .landing-single .lp-track {
        height: auto;
        display: block;
        transform: none !important;
        transition: none !important;
    }

    .landing-single .lp-section {
        flex: 0 0 auto;
        width: 100vw;
        height: auto;
        min-height: 100vh;
        /* allow tall sections (like Contact) to show fully */
        overflow: visible;
    }

    /* Dots: lift a bit so it doesn't clash with mobile browser UI */
    .landing-single .lp-dots {
        bottom: 14px;
    }
}

/* Bottom pagination dots (like Qureka's side dots, but bottom centered) */
.landing-single .lp-dots {
    position: fixed;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    pointer-events: auto;
}

/* Landing legal full pages */
.lp-legal {
    padding: 2.5rem 0 4rem;
}

.lp-legal .container {
    max-width: 980px;
}

.lp-legal-card {
    background: rgba(64, 63, 103, 0.35);
    border-radius: 18px;
    padding: 1.75rem 1.5rem;
    border: 2px solid rgba(40, 53, 94, 0.75);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.lp-legal-title {
    font-family: 'League Spartan', sans-serif;
    font-size: 2.4rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: #fff;
}

.lp-legal-meta {
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 1.25rem;
}

.lp-legal-text {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.65;
    font-size: 0.95rem;
}

.lp-legal-text h3 {
    margin-top: 1.25rem;
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
    color: #fff;
}

.lp-legal-text h4 {
    margin-top: 0.9rem;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.92);
}

.lp-legal-text a {
    color: #a5b4fc;
    text-decoration: underline;
}

.lp-legal-text ul {
    padding-left: 1.25rem;
}

.lp-legal-text li {
    margin-bottom: 0.5rem;
}

/* Legal tabs */
.legal-tabs {
    display: flex;
    gap: 0.75rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.12);
}

.legal-tab {
    background: transparent;
    border: none;
    padding: 0.75rem 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 700;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.legal-tab.active {
    color: #ffffff;
    border-color: rgba(159, 136, 255, 0.95);
}

.legal-tab-panel {
    display: none;
}

.legal-tab-panel.active {
    display: block;
}

.landing-single .lp-dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    border: 2px solid rgba(255, 215, 0, 0.95);
    background: transparent;
    padding: 0;
    cursor: pointer;
    transition: transform 180ms ease, background-color 180ms ease, opacity 180ms ease;
    opacity: 0.9;
}

.landing-single .lp-dot:hover {
    transform: scale(1.08);
    opacity: 1;
}

.landing-single .lp-dot.is-active {
    background: rgba(255, 215, 0, 0.95);
    transform: scale(1.12);
    opacity: 1;
}

.landing-single .lp-dot:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.9);
    outline-offset: 3px;
}

/* Landing Contact (reuse /contact backend, match landing look) */
.landing-single .lp-contact {
    padding: 6rem 0 4rem;
}

.landing-single .lp-contact .container {
    /* tighter than the global 1600px container so spacing matches the reference */
    max-width: 1320px;
    padding-left: 2rem;
    padding-right: 2rem;
}

.landing-single .lp-contact-title {
    font-family: 'League Spartan', sans-serif;
    font-size: 4.2rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    color: #ffffff;
}

.landing-single .lp-contact-subtitle {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.88);
    margin: 0 0 1.5rem 0;
    max-width: 520px;
}

.landing-single .lp-contact-card,
.landing-single .lp-contact-form-card {
    background: rgba(64, 63, 103, 0.35);
    border-radius: 18px;
    padding: 1.25rem 1.25rem;
    border: 2px solid rgba(40, 53, 94, 0.75);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.landing-single .lp-contact-form-card {
    /* keep the form card from getting too wide on large screens */
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.landing-single .lp-contact-card + .lp-contact-card {
    margin-top: 1rem;
}

.landing-single .lp-contact-card-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: #F4D03F;
    margin-bottom: 0.5rem;
}

.landing-single .lp-contact-link {
    color: #FFEB3B;
    text-decoration: none;
    font-weight: 600;
}

.landing-single .lp-contact-link:hover {
    color: #FFD700;
    text-decoration: underline;
}

.landing-single .lp-contact-muted {
    margin-top: 0.5rem;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.9rem;
    line-height: 1.35;
}

.landing-single .lp-contact-form-title {
    margin: 0 0 1rem 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.92);
}

.landing-single .lp-form-label {
    color: rgba(255, 255, 255, 0.75);
    font-weight: 600;
    font-size: 0.9rem;
}

.landing-single .lp-form-control {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    padding: 0.65rem 0.8rem;
    border-radius: 12px;
}

.landing-single .lp-form-control:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(139, 111, 249, 0.9);
    box-shadow: 0 0 0 0.2rem rgba(139, 111, 249, 0.2);
    color: #fff;
}

.landing-single .lp-contact-submit {
    background: linear-gradient(180deg, #9F88FF 0%, #7F64F2 100%);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 15px;
    color: #fff;
    font-weight: 700;
    padding: 0.85rem 1rem;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
}

.landing-single .lp-contact-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

@media (max-width: 992px) {
    .landing-single .lp-contact {
        padding-top: 4rem;
    }
    .landing-single .lp-contact-title {
        font-size: 3rem;
    }
    .landing-single .lp-contact .container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
}

/* Scroll-triggered reveal */
.lp-section .main-content {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 450ms ease, transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

/* Active slide reveal (desktop transform slider + mobile scroll reveal both use is-visible) */
.lp-section.is-visible .main-content {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .lp-section .main-content {
        transition: none;
        transform: none;
        opacity: 1;
    }
}

/* Top Bar Styles */
.top-bar {
    background: #4D4D4D;
    padding: 0.5rem 2rem;
    position: relative;
}

.top-bar-text {
    color: #A0A0A0;
    font-size: 0.875rem;
    text-transform: lowercase;
}

/* Header Styles */
.main-header {
    /* background: #27233E; */
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(0, 0, 0, 0.2); */
}

.main-header .navbar {
    padding: 1rem 0;
    /* background: #27233E; */
}

.main-header .container-fluid {
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Keep header content centered (so logo + hamburger aren't stuck to screen edges) */
.main-header .container-fluid {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

/* Header alignment tweaks (logo left like Qureka) */
.main-header .navbar-brand.logo {
    margin-right: 1.25rem;
}

.main-header .nav-links {
    flex: 1;
    justify-content: center;
}

/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    padding: 0;
    margin: 0;
}

.logo-q {
    font-size: 2.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FFD700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
    filter: drop-shadow(0 2px 4px rgba(255, 215, 0, 0.3));
}

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

/* Navigation Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
}

.nav-links .nav-link {
    color: #ffffff !important;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links .nav-link:hover {
    color: #ffffff !important;
    opacity: 0.8;
}

.nav-links .nav-link.active {
    color: #ffffff !important;
    font-weight: 500;
}

.nav-links .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: calc(-1rem - 1px);
    left: 0;
    width: 100%;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
}


/* Hamburger Menu Toggle */
.menu-toggle {
    background: #2B253F;
    border: 1px solid #6B5BFF;
    border-radius: 15px;
    padding: 0.5rem 0.75rem;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 8px rgba(107, 91, 255, 0.4);
}

/* Bootstrap hides .navbar-toggler on desktop for navbar-expand-lg; we want it visible (Qureka-like) */
.main-header .navbar-expand-lg .menu-toggle {
    display: flex !important;
}

/* Drawer menu (hamburger) */
.lp-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 2500;
}

.lp-drawer {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(420px, 86vw);
    background: #ffffff;
    color: #2b2b2b;
    z-index: 2600;
    transform: translateX(105%);
    transition: transform 280ms ease;
    padding: 2rem 1.75rem;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.lp-drawer.is-open {
    transform: translateX(0);
}

.lp-drawer-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 42px;
    height: 42px;
    border: none;
    background: transparent;
    font-size: 2rem;
    line-height: 1;
    color: #666;
    cursor: pointer;
}

.lp-drawer-links {
    margin-top: 3.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}

.lp-drawer-links a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 1.6rem;
    color: #777;
    text-decoration: none;
}

.lp-drawer-links a:hover {
    color: #444;
}

.lp-drawer-social {
    margin-top: 2.25rem;
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.lp-drawer-social a.lp-social-icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #3b3b3b;
    text-decoration: none;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.06);
    transition: background-color 180ms ease, transform 180ms ease, color 180ms ease;
}

.lp-drawer-social a.lp-social-icon:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.lp-drawer-social a.lp-social-icon:focus-visible {
    outline: 2px solid rgba(120, 100, 200, 0.8);
    outline-offset: 3px;
}

.menu-toggle:hover {
    background: #2B253F;
    border-color: #6B5BFF;
    box-shadow: 0 0 12px rgba(107, 91, 255, 0.6);
}

.menu-toggle:focus {
    box-shadow: none;
    outline: none;
}

.menu-icon {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 20px;
}

.menu-icon span {
    display: block;
    width: 100%;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .main-header .container-fluid {
        padding: 0 1.5rem;
    }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #2B253F;
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
        display: none;
    }
    
    .nav-links.show {
        display: flex;
    }
    
    .nav-links .nav-link {
        padding: 1rem 2rem;
        width: 100%;
        text-align: left;
    }
    
    .nav-links .nav-link.active::after {
        left: 2rem;
        width: calc(100% - 4rem);
    }
}

@media (max-width: 768px) {
    .logo-q {
        font-size: 2rem;
    }
    
    .logo-img {
        height: 40px;
    }
    
    .nav-links {
        gap: 0;
    }
}

@media (max-width: 576px) {
    .main-header .container-fluid {
        padding: 0 1rem;
    }
    
    .top-bar {
        padding: 0.5rem 1rem;
    }
    
    .btn-sign-in {
        padding: 0.4rem 1rem;
        font-size: 0.85rem;
        margin-left: 0.5rem;
    }
    
    .sign-in-text {
        display: none;
    }
    
    .sign-in-icon {
        font-size: 1.1rem;
    }
    
    .logo-q {
        font-size: 1.75rem;
    }
    
    .logo-img {
        height: 35px;
    }
    
    .menu-toggle {
        width: 40px;
        height: 40px;
        padding: 0.4rem 0.6rem;
    }
}

/* Main Content */
.main-content {
    padding: 3rem 0;
    position: relative;
    z-index: 1;
}

/* Page Transition Animations */
.main-content {
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

.page-enter {
    animation: slideInFromRight 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes slideInFromRight {
    0% {
        opacity: 0;
        transform: translateX(80px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Bootstrap-style fade animation */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* About-us only: shift content up */
.page-about-us .main-content {
    margin-top: -4rem;
}

/* How-to-play only: shift content up */
.page-how-to-play .main-content {
    margin-top: -5rem;
}

/* How To Play (first section) */
.howto-hero {
    position: relative;
    min-height: calc(100vh - 80px);
}

.howto-title {
    position: absolute;
    width: 525px;
    height: 92px;
    top: 168px;
    left: 698px;
    transform: rotate(0deg);
    opacity: 1;
    margin: 0;
    font-family: 'League Spartan', sans-serif;
    font-weight: 700;
    font-size: 100px;
    line-height: 1;
    letter-spacing: 0;
    text-align: center;
    color: #FFFFFF;
    /* Prevent unexpected wrapping (can happen if fonts load differently / widths vary) */
    white-space: nowrap;
}

.howto-play-wrap {
    position: relative;
    display: inline-block;
}

.howto-quziko-tag {
    position: absolute;
    right: 0.05em;
    top: -0.55em;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.28em;
    color: #8B6FF9;
    letter-spacing: 0.2px;
    text-shadow: 0 2px 10px rgba(139, 111, 249, 0.35);
    white-space: nowrap;
}

.howto-subtitle {
    position: absolute;
    width: 1101px;
    height: auto;
    top: 278px;
    left: 410px;
    transform: rotate(0deg);
    opacity: 1;
    margin: 0;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: 0;
    text-align: center;
    color: #FFFFFF;
}

/* How To Play steps section (Figma box) */
.howto-steps {
    position: absolute;
    width: 1215px;
    height: 492px;
    top: 420px;
    left: 353px;
    transform: rotate(0deg);
    opacity: 1;
}

.howto-step {
    position: absolute;
    width: 584px;
    height: 130px;
    border-radius: 18px;
    background: linear-gradient(90deg, rgba(54, 70, 121, 0.22) 0%, rgba(31, 44, 82, 0.22) 100%);
    border: 2px solid rgba(40, 53, 94, 0.95);
    box-shadow:
        0 14px 40px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    overflow: visible;
    padding: 18px 22px 18px 96px; /* space for number badge */
}

.howto-step-number {
    position: absolute;
    left: -28px;   /* push outside card */
    top: 22px;
    width: 95px;
    height: 55px;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(159, 136, 255, 0.95) 0%, rgba(127, 100, 242, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #FFFFFF;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 12px;
    box-shadow:
        0 10px 24px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.howto-step-body {
    width: 100%;
}

.howto-step-title {
    margin: 0 0 6px 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #F4D03F;
}

.howto-step-desc {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 13px;
    line-height: 1.25;
    color: rgba(255, 255, 255, 0.92);
}

/* layout positions inside 1215x492 */
.howto-step-1 { left: 0; top: 0; }
.howto-step-2 { right: 0; top: 0; }
.howto-step-3 { left: 0; top: 170px; }
.howto-step-4 { right: 0; top: 170px; }
.howto-step-5 {
    left: 50%;
    transform: translateX(-50%);
    top: 340px;
    width: 610px;
}

/* How To Play responsive (only) */
@media (max-width: 992px) {
    .howto-hero {
        min-height: auto;
        padding: 3.25rem 1.5rem 2.5rem;
        text-align: center;
    }

    .howto-title,
    .howto-subtitle {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        height: auto;
        transform: none;
    }

    .howto-title {
        font-size: 3.25rem;
        margin-bottom: 1rem;
    }

    .howto-quziko-tag {
        top: -0.7em;
        font-size: 0.32em;
    }

    .howto-subtitle {
        max-width: 900px;
        margin: 0 auto;
        font-size: 1.05rem;
        line-height: 1.35;
    }

    /* steps responsive: stack */
    .howto-steps {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        height: auto;
        margin: 2rem auto 0;
        padding: 0 1.5rem;
    }

    .howto-step,
    .howto-step-5 {
        position: relative;
        left: auto;
        right: auto;
        top: auto;
        transform: none;
        width: 100%;
        height: auto;
        max-width: 760px;
        margin: 0 auto 1rem;
    }

    .howto-step-number {
        position: relative;
        left: 0;
        top: 0;
        width: 80px;
        height: 54px;
        font-size: 22px;
        margin-bottom: 10px;
    }

    .howto-step-title {
        font-size: 16px;
    }

    .howto-step-desc {
        font-size: 13px;
        line-height: 1.35;
    }
}

@media (max-width: 576px) {
    .howto-title {
        font-size: 2.5rem;
    }
    .howto-subtitle {
        font-size: 1rem;
    }

    .howto-quziko-tag {
        top: -0.8em;
        font-size: 0.34em;
    }
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 4rem;
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 0;
    margin-top: -2rem;
    margin-bottom: 4rem;
}

.hero-title {
    font-family: 'League Spartan', sans-serif;
    font-size: 12rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 2rem;
    letter-spacing: -2px;
    line-height: 1.1;
}

.hero-description {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.75rem;
    color: #FFFFFF;
    line-height: 1.9;
    max-width: 1187px;
    margin: 0 auto;
    font-weight: 400;
    position: relative;
    padding-bottom: 2rem;
}

.hero-description::before {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 400px;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    z-index: 2;
}

.hero-description::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 600px;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 1;
}

.hero-subtext {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(0.95rem, 1.7vw, 1.2rem);
    color: rgba(255, 255, 255, 0.85);
    margin-top: 1rem;
    max-width: min(780px, 85vw);
    margin-left: auto;
    margin-right: auto;
}

.highlight-purple {
    color: #8B6FF9;
    font-weight: 500;
}

.highlight-gold {
    color: #FFD700;
    font-weight: 500;
    text-shadow: 0 0 12px rgba(255, 215, 0, 0.7);
}

.coin-text {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #FFFFFF;
}

.coin-icon {
    font-size: 1.2em;
}

/* Publisher Section */
.publisher-section {
    text-align: center;
    padding-top: 0rem;
    padding-bottom: 0;
    margin-top: -2rem;
    margin-bottom: 0;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.publisher-heading {
    font-family: 'League Spartan', sans-serif;
    font-size: 2.75rem;
    color: #8B6FF9;
    margin-bottom: 3rem;
    font-weight: 600;
    line-height: 1.3;
}

.publisher-content-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 5rem;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

.publisher-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.35rem;
    color: #FFFFFF;
  
    font-weight: 400;
    text-align: left;
}

.publisher-subtext {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(0.95rem, 1.8vw, 1.15rem);
    color: rgba(255, 255, 255, 0.9);
    margin-top: 1rem;
    line-height: 1.6;
    max-width: 520px;
}

.seo-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: clamp(2.5rem, 4vw, 4rem) clamp(1.5rem, 3vw, 3rem);
}

.seo-section h2 {
    font-family: 'League Spartan', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    color: #F4D03F;
    margin-bottom: 1rem;
    text-align: center;
}

.seo-section p {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.6;
    text-align: center;
    max-width: 960px;
    margin: 0 auto;
}

.promotional-content {
    flex: 1;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding-top: 4rem;
    /* max-width: 500px; */
}

.btn-know-more {
    background: linear-gradient(90deg, #8B6FF9 0%, #7350BB 100%);
    color: #FFFFFF;
    border: none;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 111, 249, 0.3);

    align-self: flex-start;
}

.btn-know-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(160, 116, 228, 0.4);
}

.contact-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.35rem;
    color: #FFFFFF;
    margin-top: 1.5rem;
    text-align: left;
}

.email-link {
    color: #FFEB3B;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.email-link:hover {
    color: #FFD700;
    text-decoration: underline;
}

/* Wallet Card */
.wallet-card-wrapper {
    flex: 0 0 auto;
    display: flex;
    align-items: flex-start;
}

.wallet-section {
    padding: 2rem 0;
}

.wallet-card {
    background: rgba(64, 63, 103, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 1.5rem 2rem;
    width: 100%;
    max-width: 600px;
    min-width: 550px;
    border-top: 3px solid rgba(74, 82, 126, 0.5);
    border-left: 3px solid rgba(74, 82, 126, 0.5);
    border-right: 3px solid rgba(74, 82, 126, 0.5);
    border-bottom: none;
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.6),
        0 5px 20px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(91, 98, 151, 0.3),
        inset 0 0 15px rgba(91, 98, 151, 0.1);
    position: relative;
    overflow: hidden;
}

.wallet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    gap: 0.5rem;
    flex-wrap: nowrap;
}

.wallet-search-icon {
    margin: 0 auto;
    flex-shrink: 0;
    flex: 1;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wallet-logo-img {
    width: 35px;
    height: 35px;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
}

.wallet-menu-toggle {
    background: #2B264E;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0.6rem;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
}

.wallet-menu-toggle span {
    width: 18px;
    height: 2px;
    background: #FFFFFF;
    border-radius: 2px;
}

.wallet-user {
    color: #FFFFFF;
    font-size: 1.1rem;
    font-weight: 500;
    flex: 0 0 auto;
    margin-left: 0.75rem;
}

.wallet-logo {
    display: none;
}

.logo-q-small {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FFD700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-get-coins {
    background: rgba(141, 118, 231, 0.3);
    border: 1px solid rgba(141, 118, 231, 0.5);
    padding: 0.6rem 1.2rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
    white-space: nowrap;
    box-shadow: 0 0 15px rgba(141, 118, 231, 0.4), 0 0 8px rgba(141, 118, 231, 0.3);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.btn-get-coins-text {
    color: #FFD700;
    font-weight: 500;
}

/* Diagonal Coin Stack Design */
.coin-stack-diagonal {
    position: relative;
    display: inline-block;
    margin-right: 0.5rem;
}

.coin-image-small {
    width: 25px;
    height: auto;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(255, 215, 0, 0.5));
}

.coin-diagonal {
    display: none;
}

/* Large Diagonal Coin Stack for Wallet */
.coin-stack-diagonal-large {
    position: relative;
    display: inline-block;
}

.coin-image-large {
    width: 60px;
    height: auto;
    display: block;
    filter: drop-shadow(0 3px 6px rgba(255, 215, 0, 0.5));
}

.coin-diagonal-large {
    display: none;
}

.coin-icon-small {
    display: none;
}

.btn-get-coins:hover {
    background: rgba(141, 118, 231, 0.4);
    border-color: rgba(141, 118, 231, 0.7);
    transform: translateY(-1px);
    box-shadow: 0 0 20px rgba(141, 118, 231, 0.5), 0 0 10px rgba(141, 118, 231, 0.4);
}

.btn-get-coins:hover .btn-get-coins-text {
    color: #FFD700;
}

.coin-icon-small {
    font-size: 1em;
}

.wallet-body {
    text-align: center;
    padding: 1rem 0;
}

.wallet-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #FFFFFF;
    margin-bottom: 1rem;
    font-weight: 600;
    text-align: center;
}

.wallet-amount {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.coin-icon-large {
    display: none;
}

.amount-value {
    font-size: 3rem;
    font-weight: 700;
    color: #FFFFFF;
}

.wallet-tabs {
    display: flex;
    gap: 10rem;
    border-top: none;
    justify-content: center;
}

.wallet-tab {
    flex: 0 0 auto;
    background: transparent;
    border: none;
    color: #FFFFFF;
    font-size: 1rem;
    padding: 0.75rem 0;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}

.wallet-tab.active {
    color: #FFFFFF;
    font-weight: 500;
}

.wallet-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    height: 5px;
    background: #FFFFFF;
    border-radius: 3px;
    width: calc(100% + 150px);
}

.wallet-tab:not(.active)::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    height: 5px;
    background: #808080;
    border-radius: 2px;
    width: calc(100% + 150px);
}

.wallet-tab:hover {
    opacity: 0.8;
}

/* Responsive Styles for Main Content */
@media (max-width: 1400px) {
    .container {
        max-width: 1400px;
        padding: 0 3rem;
    }
    
    .hero-description {
        max-width: 1000px;
    }
}

@media (max-width: 1200px) {
    .container {
        max-width: 1200px;
        padding: 0 2rem;
    }
    
    .hero-description {
        max-width: 900px;
    }
}

@media (max-width: 1200px) {
    .hero-title {
        font-size: 8rem;
    }
    
    .hero-description {
        font-size: 1.5rem;
    }
    
    .publisher-heading {
        font-size: 2.5rem;
    }
    
    .publisher-content-wrapper {
        gap: 3rem;
    }
}

@media (max-width: 992px) {
    .publisher-content-wrapper {
        flex-direction: column;
        gap: 3rem;
        align-items: center;
        padding: 0 1rem;
    }
    
    .wallet-card {
        max-width: 100%;
        min-width: auto;
    }
    
    .promotional-content {
        text-align: center;
        align-items: center;
        max-width: 100%;
    }
    
    .publisher-text {
        text-align: center;
    }
    
    .contact-text {
        text-align: center;
    }
    
    .btn-know-more {
        align-self: center;
    }
    
    .wallet-body {
        text-align: center;
    }
    
    .wallet-amount {
        justify-content: center;
    }
    
    .wallet-title {
        text-align: center;
    }
    
    .wallet-tabs {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .hero-title {
        font-size: 5rem;
    }
    
    .hero-description {
        font-size: 1.2rem;
        max-width: 100%;
    }
    
    .publisher-heading {
        font-size: 2rem;
    }
    
    .publisher-content-wrapper {
        flex-direction: column;
        gap: 3rem;
        align-items: center;
    }
    
    .promotional-content {
        text-align: center;
        align-items: center;
    }
    
    .publisher-text {
        font-size: 1.15rem;
        text-align: center;
    }
    
    .publisher-section {
        max-width: 100%;
    }
    
    .wallet-card {
        padding: 1.5rem;
        max-width: 100%;
    }
    
    .btn-know-more {
        align-self: center;
    }
    
    .contact-text {
        text-align: center;
    }
    
    .amount-value {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .publisher-heading {
        font-size: 1.75rem;
    }
    
    .publisher-text {
        font-size: 1rem;
    }
    
    .btn-know-more {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
    
    .wallet-header {
        flex-wrap: wrap;
    }
    
    .btn-get-coins {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Refer & Earn Section */
.refer-earn-section {
    padding: 4rem 2rem 2rem 2rem;
    position: relative;
    min-height: auto;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.refer-title-container {
    width: 824px;
    max-width: 100%;
    height: auto;
    transform: rotate(0deg);
    opacity: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    margin: 0 auto;
}

.refer-earn-title {
    font-family: 'League Spartan', sans-serif;
    font-size: 9rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.refer-text {
    color: #FFFFFF;
}

.earn-text {
    color: #FFFFFF;
    position: relative;
    top: 0.2em;
    z-index: 1;
}

.refer-ampersand {
    background: linear-gradient(135deg, #8A87FF 0%, #6773FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 8.5rem;
    font-weight: 700;
    position: relative;
    top: -0.3em;
    z-index: 2;
    filter: drop-shadow(0 4px 8px rgba(138, 135, 255, 0.4));
    margin: 0 -0.4em;
}

.refer-earn-subtitle {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: #F4D03F;
    text-align: center;
    margin: 0;
    line-height: 1.4;
}

/* Refer CTA Section */
.refer-cta-section {
    position: absolute;
    width: 449px;
    height: 114px;
    top: 439px;
    left: 318px;
    transform: rotate(0deg);
    opacity: 1;
    background: linear-gradient(90deg, rgba(54, 70, 121, 0.3) 0%, rgba(31, 44, 82, 0.3) 100%);
    border: 3px solid #28355E;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 2rem;
}

.refer-cta-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    font-weight: 500;
    color: #FFFFFF;
    text-align: center;
    margin: 0;
}

/* Refer Illustration Section */
.refer-illustration-section {
    position: absolute;
    width: 702px;
    height: 468px;
    top: 432px;
    left: 609px;
    transform: rotate(0deg);
    opacity: 1;
}

.refer-illustration-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Refer CTA Section 2 */
.refer-cta-section-2 {
    position: absolute;
    width: 449px;
    height: 114px;
    top: 746px;
    left: 1158px;
    transform: rotate(0deg);
    opacity: 1;
    background: linear-gradient(90deg, rgba(54, 70, 121, 0.3) 0%, rgba(31, 44, 82, 0.3) 100%);
    border: 3px solid #28355E;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 2rem;
}

.refer-cta-text-2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    font-weight: 500;
    color: #FFFFFF;
    text-align: center;
    margin: 0;
}

/* About Us Page */
.about-us-section {
    position: relative;
    min-height: calc(100vh - 80px);
}

.about-us-title {
    position: absolute;
    width: 528px;
    height: 120px;
    top: 153px;
    left: 696px;
    transform: rotate(0deg);
    opacity: 1;
    margin: 0;
    font-family: 'League Spartan', sans-serif;
    font-weight: 700;
    font-size: 130px;
    line-height: 1;
    letter-spacing: 0;
    text-align: center;
    color: #FFFFFF;
    /* Prevent unexpected wrapping that breaks absolute-position layout */
    white-space: nowrap;
}

.about-us-image-wrap {
    position: absolute;
    width: 418px;
    height: 418px;
    top: 344px;
    left: 316px;
    transform: rotate(0deg);
    opacity: 1;
}

.about-us-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.about-us-content {
    position: absolute;
    width: 753px;
    top: 341px;
    left: 782px;
    transform: rotate(0deg);
    opacity: 1;
}

.about-us-text {
    width: 753px;
    height: 423px;
    color: #FFFFFF;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 22px;
    line-height: 1;
    letter-spacing: 0;
}

.about-us-text p {
    margin: 0 0 1.2rem 0;
}

.about-us-btn {
    position: absolute;
    width: 278px;
    height: 61px;
    /* button is inside .about-us-content (top:341px, left:782px) */
    /* so convert Figma page coords (top:778, left:782) to local coords */
    top: 437px; /* 778 - 341 */
    left: 0;    /* 782 - 782 */
    transform: rotate(0deg);
    opacity: 1;
    background: linear-gradient(180deg, #9F88FF 0%, #7F64F2 100%);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 15px;
    color: #FFFFFF;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.2px;
    cursor: pointer;
    box-shadow:
        0 10px 26px rgba(0, 0, 0, 0.35),
        0 0 0 3px rgba(139, 111, 249, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: transform 200ms ease, box-shadow 200ms ease, filter 200ms ease;
}

.about-us-btn:hover {
    transform: translateY(-1px);
    box-shadow:
        0 14px 34px rgba(0, 0, 0, 0.42),
        0 0 0 3px rgba(139, 111, 249, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
    filter: brightness(1.03);
}

/* About Us responsive (only) */
@media (max-width: 992px) {
    .about-us-section {
        min-height: auto;
        padding: 3rem 1.5rem;
    }

    .about-us-title,
    .about-us-image-wrap,
    .about-us-content,
    .about-us-btn {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        height: auto;
        transform: none;
    }

    .about-us-title {
        font-size: 4rem;
        margin-bottom: 1.5rem;
    }

    .about-us-image-wrap {
        width: min(418px, 80vw);
        height: auto;
        margin: 0 auto 1.5rem auto;
    }

    .about-us-image {
        width: 100%;
        height: auto;
    }

    .about-us-content {
        width: 100%;
        max-width: 753px;
        margin: 0 auto;
        text-align: left;
    }

    .about-us-text {
        width: 100%;
        height: auto;
        font-size: 1.05rem;
        line-height: 1.4;
    }

    .about-us-btn {
        width: min(278px, 80vw);
        height: 54px;
        margin: 1.5rem auto 0 auto;
        display: block;
    }
}

@media (max-width: 576px) {
    .about-us-title {
        font-size: 3rem;
    }

    .about-us-text {
        font-size: 1rem;
    }
}

.refer-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    margin-top: 450px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
}

.refer-illustration-wrapper {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    order: 2;
}

.refer-illustration {
    max-width: 500px;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.refer-cta-card {
    flex: 0 0 auto;
    width: 449px;
    height: 114px;
    background: #2B3A5C;
    border: 3px solid #28355E;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.refer-cta-left {
    order: 1;
}

.refer-cta-right {
    order: 3;
}

.refer-cta-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(139, 111, 249, 0.3);
}

.refer-cta-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    font-weight: 500;
    color: #D0D0D0;
    text-align: center;
    margin: 0;
}

/* Responsive Styles for Refer & Earn */
@media (max-width: 1600px) {
    .refer-title-container {
        left: 50%;
        transform: translateX(-50%);
        top: 100px;
    }

}

@media (max-width: 1400px) {
    .refer-content-wrapper {
        gap: 2rem;
    }
    
    .refer-cta-card {
        width: 380px;
    }
    
    .refer-illustration {
        max-width: 400px;
    }
}

@media (max-width: 992px) {
    .refer-title-container {
        position: relative;
        width: 100%;
        max-width: 824px;
        height: auto;
        top: auto;
        left: auto;
        transform: none;
        margin: 2rem auto;
        padding: 0 2rem;
    }
    
    .refer-content-wrapper {
        flex-direction: column;
        margin-top: 2rem;
        gap: 2rem;
    }
    
    .refer-illustration-wrapper {
        order: 1;
    }
    
    .refer-cta-left {
        order: 2;
    }
    
    .refer-cta-right {
        order: 3;
    }
    
    .refer-earn-title {
        font-size: 4rem;
    }
    
    .refer-ampersand {
        font-size: 3rem;
    }
    
    .refer-earn-subtitle {
        font-size: 1.25rem;
    }
    
    .refer-cta-card {
        width: 100%;
        max-width: 449px;
    }

    /* Responsive overrides for absolute-position sections (Refer page) */
    .refer-cta-section,
    .refer-illustration-section,
    .refer-cta-section-2 {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin-left: auto;
        margin-right: auto;
    }

    .refer-illustration-section {
        width: min(702px, 92vw);
        height: auto;
        margin-top: 1.5rem;
    }

    .refer-illustration-img {
        width: 100%;
        height: auto;
    }

    .refer-cta-section,
    .refer-cta-section-2 {
        width: min(449px, 92vw);
        height: auto;
        min-height: 114px;
        padding: 1.25rem 1.5rem;
        margin-top: 1.25rem;
    }

    .refer-cta-text,
    .refer-cta-text-2 {
        font-size: 1.1rem;
        line-height: 1.3;
    }
}

@media (max-width: 768px) {
    .refer-title-container {
        position: relative;
        width: 100%;
        max-width: 824px;
        height: auto;
        top: auto;
        left: auto;
        transform: none;
        margin: 2rem auto;
        padding: 0 1.5rem;
    }
    
    .refer-earn-section {
        padding: 3rem 1.5rem;
    }
    
    .refer-content-wrapper {
        margin-top: 1rem;
    }
    
    .refer-earn-title {
        font-size: 3rem;
        gap: 0.5rem;
    }
    
    .refer-ampersand {
        font-size: 2.5rem;
    }
    
    .refer-earn-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .refer-illustration {
        max-width: 100%;
    }
    
    .refer-cta-card {
        height: auto;
        min-height: 100px;
        width: 100%;
    }
    
    .refer-cta-text {
        font-size: 1.1rem;
    }

    /* Keep Refer absolute items inside screen on mobile */
    .refer-illustration-section {
        width: min(702px, 94vw);
        margin-top: 1.25rem;
    }

    .refer-cta-section,
    .refer-cta-section-2 {
        width: min(449px, 94vw);
        margin-top: 1rem;
    }
}

@media (max-width: 576px) {
    .refer-title-container {
        padding: 0 1rem;
    }
    
    .refer-earn-title {
        font-size: 2.5rem;
    }
    
    .refer-ampersand {
        font-size: 2rem;
    }

    .refer-cta-section,
    .refer-cta-section-2 {
        padding: 1rem 1.1rem;
    }

    .refer-cta-text,
    .refer-cta-text-2 {
        font-size: 1rem;
    }
    
    .refer-earn-subtitle {
        font-size: 1rem;
    }
    
    .refer-cta-card {
        min-width: 100%;
        padding: 1.25rem 1.5rem;
    }
    
    .refer-cta-text {
        font-size: 1rem;
    }
}