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

:root {
    --primary-purple: #9A52FF;
    --secondary-purple: #5343FF;
    --light-purple: #a78bfa;
    --dark-purple: #5b21b6;
    --gradient-start: #8b5cf6;
    --gradient-end: #a78bfa;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #fff;
    --white: #ffffff;
    --radius: 16px;
    --site-max-width: 1300px;
    --footer--primary-start: #9A52FF;
    --footer--primary-end: #5343FF;
    --footer--text-muted: #d1c4ff;
    --footer--white: #ffffff;
    --footer--dark-text: #1a1a1a;
    --footer--gray-muted: #6b7280;
    --footer--bg-light: #f8fafc;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
}

.container {
    max-width: var(--site-max-width);
    margin: 0 auto;
    padding: 0 24px;
}
.bg-addon {
    z-index: 0;
    position: absolute;
    left: 0;
    width: 600px;
    height: 600px;
    background-size: contain;
}
.bg-addon.right {
    left: initial;
    right: 0;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.00);

    z-index: 1000;
    padding: 20px 0;

    /* Smooth transition for the shadow and padding */
    transition: box-shadow 0.3s ease, background 0.3s ease, padding 0.3s ease;

    /* Initial state: no shadow */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0);
}




.header.scrolled {
    background: rgba(255, 255, 255, 0.8); /* Optional: make it slightly more solid */
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 13px 0; /* Optional: "shrink" the header slightly for a premium feel */
}
.header.scrolled .nav-menu a {
    color: var(--text-dark);
}

.header.scrolled .nav-menu a:hover {
    color: var(--primary-purple);
    text-decoration: none;
}

.nav-container {
    max-width: var(--site-max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-purple);
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-weight: 400;
    font-size: 16px;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--white);
    text-decoration: underline;
}

.btn-signin {
    background: var(--white);
    color: var(--primary-purple);
    border: 2px solid var(--white);
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 16px;
}

.btn-signin:hover {
    background: var(--white);
    color: var(--primary-purple);
    border-color:var(--white);
}
.header.scrolled .btn-signin {
    background: var(--primary-purple);
    color: var(--white);
    border-color: var(--primary-purple);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-purple);
    border-radius: 2px;
    transition: all 0.3s;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
    overflow: hidden;
    background: url("gfx/home_hero_pattern.png") no-repeat;

}

.blob {
    position: absolute;

}

.blob-1 {
    width: 1250px;
    height: 1250px;
    background: url("gfx/rectangle.svg") no-repeat right top;
    background-size: contain;
    right: 0;
    top: 0;
    z-index: -10;
}
.blob-1 {
    position: absolute;
    top: -520px;
    left: 48%;
    /* Keeps the blob at the edge, but stops moving after 1920px width */
    right: -200px;
    z-index: -1;
}
.hero-image__image {
    z-index: 10;
    width: 100%;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-50px, 50px) scale(1.1); }
}

.hero-content {
    display: grid;
    grid-template-columns: 47% 53%;
    gap: 0px;
    align-items: center;
}

.hero-text h1 {
    font-size: 56px;
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.hero-text p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.6;
}

.btn-primary {
    background: linear-gradient(0deg, #5343FF, #9A52FF);
    color: var(--white);
    border: none;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
}

/* Dashboard Card */
.dashboard-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    animation: slideInRight 0.8s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.card-header {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-item .label {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 4px;
}

.stat-item .value {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
}

.chart {
    margin: 24px 0;
    height: 120px;
}

.chart-bars {
    display: flex;
    gap: 12px;
    height: 100%;
    align-items: flex-end;
}

.bar {
    flex: 1;
    background: linear-gradient(180deg, var(--primary-purple), var(--light-purple));
    border-radius: 4px;
    animation: growUp 1s ease-out;
}

@keyframes growUp {
    from { height: 0; }
}

.table-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.table-row {
    display: flex;
    justify-content: space-between;
    padding: 12px;
    background: #f9fafb;
    border-radius: 8px;
    font-size: 14px;
}

.table-row span:first-child {
    color: var(--text-light);
}

.table-row span:last-child {
    font-weight: 600;
    color: var(--text-dark);
}

/* Content Sections */
.poker-section,
.casino-section,
.ewallets-section {
    padding: 50px 0;
}

.content-card {
    display: grid;
    grid-template-columns: 55% 45%;
    gap: 0px;
    align-items: center;
}

.content-card.reverse {
    grid-template-columns: 45% 55%;
}

.card-content h2 {
    font-size: 36px;
    font-weight: 500;
    margin-bottom: 16px;
    color: var(--text-dark);

}

.card-content p {
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.8;
    font-size: 16px;
}

.sub-text {
    font-size: 16px;
    margin-bottom: 24px;
}

.card-note {
    padding: 0px;
}

.card-note strong {
    display: block;
    color: #d97706;
    margin-bottom: 8px;
    font-size: 14px;
}

.card-note p {
    font-size: 13px;
    color: #78350f;
    margin-bottom: 8px;
}

.card-note a {
    color: #7c3aed;
    word-break: break-all;
    text-decoration: none;
}

.card-note a:hover {
    text-decoration: underline;
}

/* Brands Section */
.brands-section {
    padding: 30px 0;
}

.brands-circle {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 0 auto 60px;
}

.brand-logo {
    position: absolute;
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    font-weight: 700;
    font-size: 14px;
    animation: pulse 3s ease-in-out infinite;
}

.brand-1 { top: 0; left: 50%; transform: translateX(-50%); }
.brand-2 { top: 25%; left: 0; }
.brand-3 { bottom: 25%; left: 0; }
.brand-4 { bottom: 0; left: 50%; transform: translateX(-50%); }
.brand-5 { top: 25%; right: 0; }

.center-circle {
    position: absolute;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-purple), var(--light-purple));
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.stake-logo {
    color: var(--primary-purple);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.sportsbook-card {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.sportsbook-card h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.sportsbook-card p {
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.8;
}

/* CTA Banner */
.cta-banner {

    background: linear-gradient(135deg, var(--primary-purple), var(--secondary-purple));
    margin: 80px 0;
    border-radius: var(--radius);
    position: relative;
}
.hero-image__topleft {
    position: absolute;
    top:0;
    left:0;
    z-index: 0;
}
.hero-image__bottomright {
    position: absolute;
    bottom:0;
    right:0;
    z-index: 0;
}
.cta-grid {
    background: url("gfx/grid.png") no-repeat center center fixed;
    width: 100%;
    height: 100%;
    z-index: 0;
    padding: 40px 0;
}
.cta-content {
    text-align: center;
    z-index: 10;
    position: relative;
}

.cta-content h2 {
    color: var(--white);
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 32px;
    line-height: 1.2;
}

.btn-white {
    background: var(--white);
    color: var(--primary-purple);
    border: none;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

/* Stats Section */
.stats-section {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-purple), var(--secondary-purple));
    color: var(--white);
    margin: 80px 0;
    border-radius: var(--radius);
    overflow: hidden;
}

.dotted-pattern {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
}

.stats-content {
    position: relative;
    z-index: 1;
}

.stats-content h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 24px;
}

.stats-intro {
    font-size: 18px;
    margin-bottom: 16px;
    opacity: 0.9;
}

.stats-desc {
    font-size: 16px;
    margin-bottom: 48px;
    opacity: 0.8;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.stat-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 32px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.stat-box h3 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 12px;
}

.stat-box p {
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.6;
}

/* Testimonials Section */
.testimonials-section {
    height: 100vh;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.testimonials-section h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 60px;
}

.testimonials-avatars {
    position: relative;
    height: 300px;
    margin-bottom: 40px;
}

.avatar {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e0e7ff, #c7d2fe);
    border: 3px solid var(--white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.avatar-main {
    width: 120px;
    height: 120px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, var(--light-purple), var(--primary-purple));
}

.verified-badge {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 28px;
    height: 28px;
    background: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 14px;
    border: 3px solid var(--white);
}

.avatar-1 { top: 20%; left: 15%; }
.avatar-2 { top: 10%; left: 35%; }
.avatar-3 { top: 20%; right: 15%; }
.avatar-4 { bottom: 30%; left: 20%; }
.avatar-5 { bottom: 30%; right: 20%; }
.avatar-6 { top: 50%; left: 10%; }
.avatar-7 { top: 50%; right: 10%; }

.testimonial-content {
    max-width: 700px;
    margin: 0 auto;
}

.testimonial-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
}

.testimonial-content .role {
    color: var(--text-light);
    margin-bottom: 24px;
    font-size: 14px;
}

.testimonial-text {
    color: var(--text-light);
    line-height: 1.8;
}

/* Final CTA */
.final-cta {
    padding: 80px 0;
}

.cta-box {
    position: relative;
    background: linear-gradient(135deg, #ede9fe, #ddd6fe);
    border-radius: var(--radius);
    padding: 48px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 32px;
    overflow: hidden;
}

.cta-item {
    text-align: center;
}

.cta-item .icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.cta-item h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-dark);
}

.cta-item p {
    font-size: 14px;
    color: var(--text-light);
}

.rocket-graphic {
    position: absolute;
    right: 40px;
    bottom: -20px;
}

.rocket {
    font-size: 120px;
    transform: rotate(45deg);
    animation: rocketFloat 3s ease-in-out infinite;
}

@keyframes rocketFloat {
    0%, 100% { transform: rotate(45deg) translateY(0); }
    50% { transform: rotate(45deg) translateY(-20px); }
}

.final-cta-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
}

/* --- Footer Wrapper --- */
.footer--wrapper {
    position: relative;
    background: linear-gradient(-180deg, var(--footer--primary-start) 0%, var(--footer--primary-end) 100%);
    color: var(--footer--white);
    padding-top: 140px;
    padding-bottom: 40px;
    margin-top: 100px;
}

.footer--container {
    max-width: 1152px;
    margin: 0 auto;
    padding: 0 24px;
    margin-top:50px;
}

/* --- Floating CTA Card --- */
.footer--cta-card {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 32px);
    max-width: 1152px;
    background: var(--footer--white);
    border-radius: 30px;
    padding: 40px 60px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 10;
}

.footer--cta-content {
    flex: 1;
}

.footer--cta-title {
    color: var(--footer--dark-text);
    font-size: 32px;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 35px;
    max-width: 550px;
    letter-spacing: -0.02em;
}

.footer--cta-channels {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.footer--channel {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;

}
.footer--channel:hover .footer--channel-icon  {
    transform: translateY(-3px);
}
.footer--channel-icon {
    width: 48px;
    height: 48px;
    background: #f0f4ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--footer--primary-end);
    flex-shrink: 0;
    transition: all 0.2s ease-in-out;
}

.footer--channel-label {
    font-weight: 600;
    color: var(--footer--dark-text);
    display: block;
    font-size: 18px;
}

.footer--channel-desc {
    font-size: 16px;
    color: var(--footer--gray-muted);
}

/* --- Rocket Illustration --- */
.footer--rocket-container {
    display: none;
    width: 30%;
    position: relative;
}

@media (min-width: 1024px) {
    .footer--rocket-container {
        display: block;
    }
}

@keyframes footer--float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(-1deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

.footer--rocket-svg {
    animation: footer--float 5s ease-in-out infinite;
    position: absolute;
    right: 0;
    top: -170px;
}

/* The "Rocket Launch" Animation */
@keyframes rocketLaunch {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    20% {
        transform: translateY(10px); /* Slight dip before take-off */
    }
    100% {
        transform: translateY(-150vh); /* Fly way off the top of the screen */
        opacity: 0;
    }
}

.rocket-fly {
    animation: rocketLaunch 1.5s cubic-bezier(0.6, -0.28, 0.735, 0.045) forwards;
}

/* Ensure the lottie container doesn't have overflow hidden
   that might clip the launch mid-way */
.footer-lottie-container {
    overflow: visible !important;
}
/* --- Footer Grid --- */
.footer--grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    margin-bottom: 30px;
}

@media (min-width: 640px) {
    .footer--grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .footer--grid {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
        gap: 32px;
    }
}

.footer--logo {
    font-size: 32px;
    font-weight: 900;
    letter-spacing: 0.05em;
    margin-bottom: 30px;
}

.footer--contact-info {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 17px;
    font-weight: 500;
    margin-bottom: 35px;
    color: var(--footer--white);
}

.footer--contact-icon {
    width: 36px;
    height: 36px;
    background: white;
    color: var(--footer--primary-end);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.footer--socials {
    display: flex;
    gap: 15px;
}

.footer--social-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.2s;
}

.footer--social-icon:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

.footer--column-title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 24px;
}

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

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

.footer--link {
    color: var(--footer--text-muted);
    text-decoration: none;
    font-size: 16px;
    transition: color 0.2s;
}

.footer--link:hover {
    color: var(--footer--white);
}

/* --- Bottom Bar --- */
.footer--bottom-bar {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

/* --- Language Selector --- */
.footer--lang-wrapper {
    position: relative;
}

.footer--lang-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 500;
    padding: 8px 0;
    transition: opacity 0.2s;
}

.footer--lang-btn:hover {
    opacity: 0.8;
}

.footer--lang-dropdown {
    position: absolute;
    bottom: 100%;
    left: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.15);
    min-width: 140px;
    padding: 8px;
    display: none;
    flex-direction: column;
    z-index: 100;
    margin-bottom: 10px;
}

.footer--lang-dropdown.is-open {
    display: flex;
}

.footer--lang-option {
    padding: 10px 16px;
    color: var(--footer--dark-text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    transition: background 0.2s;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    width: 100%;
}

.footer--lang-option:hover {
    background: #f3f0ff;
    color: var(--footer--primary-end);
}

.footer--copyright {
    font-size: 14px;
    color: var(--footer--white);
    opacity: 0.9;
}
.growing-network {
    margin-top:50px;
    margin-bottom: 80px;
}
@media (max-width: 640px) {
    .footer--bottom-bar {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    .footer--lang-dropdown {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-menu {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-content,
    .content-card,
    .content-card.reverse {
        grid-template-columns: 1fr;
    }
    .hero-content {
        gap: 60px;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .cta-box {
        grid-template-columns: 1fr;
    }

    .hero-text h1 {
        font-size: 40px;
    }

    .brands-circle {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 640px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .hero-text h1 {
        font-size: 32px;
    }
}



/* Background Cloud - Spaced out to avoid center */
.avatar-cloud {
    position: absolute;
    top: 0;
    left: 50%;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    max-width: var(--site-max-width);
    margin:0 auto;
    transform: translate(-50%, 0%);
}

.cloud-avatar {
    position: absolute;
    border-radius: 50%;
    object-fit: cover;
    opacity: 0.65;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    transition: transform 1.5s cubic-bezier(0.2, 0, 0.2, 1);
}

@keyframes floatEffect {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(8px, -12px); }
    66% { transform: translate(-8px, 8px); }
}

.float-anim {
    animation: floatEffect 9s ease-in-out infinite;
}

/* Main Container */
.slider-container {
    position: relative;
    width: 100%;
    max-width: var(--site-max-width);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
}

/* Active Stage - Locked to center */
.active-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.main-avatar-wrapper {
    position: relative;
    width: 210px;
    height: 210px;
    margin-bottom: 25px;
    transition: all 0.5s ease;
}

.avatar-border {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    padding: 8px;
    border: 4px solid var(--primary-purple);
    background: white;
    box-shadow: 0 25px 50px -10px rgba(123, 70, 255, 0.2);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

#mainAvatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.quote-icon {
    position: absolute;
    top: 35px;
    left: -8px;
    background: var(--primary-purple);
    color: white;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: bold;
    box-shadow: 0 6px 15px rgba(123, 70, 255, 0.35);
    z-index: 5;
}

/* Member Info - Directly under Avatar */
.member-info {
    transition: all 0.5s ease;
}

.member-info h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 4px;
    letter-spacing: -0.5px;
}

.member-info .role {
    color: var(--text-muted);
    font-size: 17px;
    font-weight: 500;
    margin-bottom: 28px;
    display: block;
}

.member-bio {
    line-height: 1.7;
    color: #4b5563;
    font-size: 17px;
    max-width: 680px;
    margin: 0 auto;
}

/* Navigation Arrows */
.slider-nav {
    margin-top: 45px;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.nav-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    transition: all 0.2s ease;
    outline: none;
}


.nav-btn:hover { transform: scale(1.1); }
.nav-btn:active { transform: scale(0.9); }

/* Consistent Arrow Styling */
.nav-btn svg { width: 40px; height: 24px; }
.arrow-path { stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.3s ease; }
.arrow-path { stroke: #cbd5e1; }
#prevBtn:hover .arrow-path { stroke: var(--primary-purple);}
#nextBtn:hover .arrow-path { stroke: var(--primary-purple); }
.nav-btn:hover .arrow-path { stroke: var(--primary-purple); }

.highlight {
    background-image: linear-gradient(
            to top,
            transparent 15%,             /* Moves the bottom edge UP */
            rgba(224, 224, 255, 0.8) 15%, /* Color starts here */
            rgba(224, 224, 255, 0.8) 45%, /* Color ends here */
            transparent 45%               /* Top remains clear */
    );
    display: inline;
}
/* Responsive Fixes */
.global-box-card-container {
    position: relative;
    width: 100%;
    background: linear-gradient(135deg, #9333ea 0%, #6333ff 100%);
    border-radius: 24px;
    overflow: hidden; /* Important for pinning the image to edges */
    color: white;
    padding: 60px;
    box-shadow: 0 25px 50px -12px rgba(99, 51, 255, 0.25);
}

/* Earth Image Holder - Pinned to Top Right */
.global-box-earth-holder {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%; /* Adjust based on how much of the earth should show */
    height: 100%;
    pointer-events: none;
    z-index: 1;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}

.global-box-earth-image {
    width: 110%; /* Slightly larger to allow for overflow/cropping effect */
    height: 90%;
    object-fit: contain;
    object-position: top right;
    opacity: 0.6; /* Adjust visibility of the globe */
    filter: drop-shadow(-20px 20px 50px rgba(0,0,0,0.2));
}

.global-box-content-layer {
    position: relative;
    z-index: 10;
    max-width: 580px;
}

.global-box-stat-border {
    border-left: 2px solid rgba(255, 255, 255, 0.3);
    padding-left: 24px;
    transition: border-color 0.3s ease;
}

.global-box-stat-border:hover {
    border-left-color: rgba(255, 255, 255, 0.8);
}

.global-box-headline {
    font-size: 32px;
    line-height: 1.2;
    font-weight: 500;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}
.testimonials-header {
    margin-top:60px;
}

.global-box-description {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    font-weight: 300;
}
.global-box-stat-item {
    font-weight: 300;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
}
.global-box-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px 32px;
    margin-top: 3rem;
}
#animation-container svg {
    object-fit: cover; /* Works if the container has a set height/width */
    height: 100% !important;
    width: 100% !important;
}


.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s ease-out;
}

/* Animation Visible State */
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

#globalArea {
    width: 100%;
    height: 750px; /* Increased height */
    background: transparent !important;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    overflow: visible; /* CRITICAL: allows globe to bleed out to the right */
}

#cobe {
    width: 1000px !important; /* Larger visual width */
    height: 1000px !important; /* Larger visual height */
    max-width: none !important;
    background-color: transparent !important;
    /* Pushes the globe further right and slightly down to match Image 2 */
    margin-right: -250px;
    margin-top: 50px;

}
#cobe {
    background-color: transparent !important;
    filter: none !important; /* Ensure no 'invert' or 'grayscale' filters are active */
    opacity: 1;
    image-rendering: -webkit-optimize-contrast;
    filter: none !important;
}
@media (max-width: 1024px) {
    .global-box-earth-holder {
        width: 45%;
        opacity: 0.4;
    }
}


@media (max-width: 768px) {
    .main-avatar-wrapper { width: 170px; height: 170px; }
    .member-info h2 { font-size: 24px; }
    .cloud-avatar { opacity: 0.3; }
    .bg-addon {
        z-index: 0;
        position: absolute;
        left: 0;
        width: 300px;
        height: 300px;
        background-size: contain;
    }
    .hero-section {
        padding-bottom: 10px;
    }
    .cta-content h2 {
        font-size: 24px;
    }
    .testimonials-section {
        padding-bottom: 50px;
    }
    .cta-banner {
        margin: 40px 0;
    }
}
@media (min-width: 768px) {
    .hero-text {
        padding-right: 20px;
    }
    .brands-section .card-content, .ewallets-section .card-content{
        padding-left: 30px;
    }
    .poker-section .card-content {
        padding-right:30px;
    }
    .ewallets-section .card-note {
        padding-right:50px;
    }
}
@media (max-width: 991px) {


    /* Ensure header stays at top */
    .header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
    }

    .nav-menu {
        display: none; /* Controlled by jQuery slideToggle */
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(255,255,255,0.8); /* Use a solid dark color from your palette */
        z-index: 999;
        backdrop-filter: blur(10px);
        /* Centering the links */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 0;
        margin: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .nav-menu a {
        font-size: 1.5rem; /* Larger links for mobile overlay */
        color: #000 !important;
    }
    .header .btn-signin {
        color: var(--white);
        background: var(--primary-purple);
        border: 2px solid var(--primary-purple);
        padding: 10px 34px;
        border-radius: 8px;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.3s;
        font-size: 1.5rem;
    }

    /* Keep the toggle button above the menu */
    .mobile-menu-toggle {
        display: flex;
        z-index: 1001;
        position: relative;
    }

    .logo {
        z-index: 1001;
        position: relative;
    }
    .mobile-menu-toggle span {
        display: block;
        width: 30px;
        height: 2px;
        background-color: var(--white);
        margin: 2px 0;
        transition: all 0.3s ease;
        /* Add this line below */
        transform-origin: center;
    }
    .mobile-menu-toggle.active span {
        background-color: #000;
    }
    header.scrolled .mobile-menu-toggle span {
        background-color: #000;
    }
}

@media (max-width: 1268px) {

    .blob-1 {
        left:42%
    }
}

@media (max-width: 768px) {
    .global-box-card-container {
        padding: 40px 30px;
    }
    .global-box-stats-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .global-box-earth-holder {
        display: none; /* Hide on mobile to keep text legible */
    }
    .ewallets-section .card-content , .brands-section .card-content {
        order:1;
    }
    .ewallets-section .card-note, .brands-section .card-note {
        order:2;
    }
    .content-card {gap: 30px}
    .poker-section, .casino-section, .ewallets-section {
        padding: 30px 0;
    }
    .blob-1 {
        width: 400px;
        height: 400px;
        background: url("gfx/rectangle.svg") no-repeat right top;
        background-size: contain;
        left: 45%;
        right: -200px;
        top: -200px;
        z-index: -10;
    }
    .header.menu-open {
        background: transparent !important;
        backdrop-filter: none !important;
        box-shadow: none !important;
    }
}