/* --- General Setup & Variables --- */
:root {
    --bg-dark: #0D0D1A;
    --bg-medium: #121224;
    --bg-light: #1A1A2E;
    --primary-color: #3D52D5;
    --secondary-color: #8A2BE2;
    --text-color: #E0E0E0;
    --text-muted: #A0A0B9;
    --font-family: 'Poppins', sans-serif;
    --border-radius: 12px;
    --transition-speed: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-dark);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- Reusable Components --- */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 50px;
    margin-top: 50px;
}

.gradient-text {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-emphasis-color: transparent;
}

.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 400;
    transition: all var(--transition-speed);
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(57, 65, 179, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-color);
    border: 2px solid var(--bg-light);
}

.btn-secondary:hover {
    background-color: var(--bg-light);
    color: #fff;
    transform: translateY(-3px);
}

.btn-large {
    padding: 14px 32px;
    font-size: 1rem;
}

/* --- Header & Navbar --- */
.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: background-color var(--transition-speed), padding var(--transition-speed);
}

.header.scrolled {
    background-color: rgba(13, 13, 26, 0.85);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    border-bottom: 1px solid var(--bg-medium);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.6rem;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-speed);
}

.nav-menu a:hover {
    color: #fff;
}

.section-subtitle {
    text-align: center;
    max-width: 750px;
    margin: -30px auto 50px; /* Negative top margin pulls it closer to the title */
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}
/* --- Hero Section --- */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    overflow: hidden;
}
#hero h1 {
    font-size: 3.6rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    
    /* Set the default text color to the solid blue from the image */
    color: #7B8CFF;
    
    min-height: 150px; 
    display: block; 
}

/* This new class will be applied to the word "Profits." */
#typing-headline .gradient-purple-text {
    background: linear-gradient(90deg, #8A2BE2, #D98FFF);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600; /* Make it slightly bolder */
}

/* Blinking cursor effect (only when typing) */
#typing-headline.typing::after {
    content: '|';
    animation: blink 1s step-end infinite;
    font-weight: 300;
    color: var(--secondary-color);
}

/* Solid cursor effect (when paused) */
#typing-headline::after {
    content: '|';
    color: var(--secondary-color);
}

@keyframes blink {
    from, to {
        color: transparent;
    }
    50% {
        color: var(--secondary-color);
    }
}
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    z-index: -2;
    object-fit: cover;
    pointer-events: none;
}

#hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(13, 13, 26, 0.75);
    z-index: -1;
}

.hero-background-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(57, 65, 179, 0.15) 0%, rgba(13, 13, 26, 0) 70%);
    transform: translate(-50%, -50%);
    animation: pulse 8s infinite alternate;
    z-index: 0;
}

@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.7; }
    100% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}

#hero h1 {
    font-size: 3.6rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    
    /* MODIFIED: Remove fixed height and flex properties */
    /* This allows the h1 to size itself naturally */
    height: auto; 
    min-height: 150px; /* Use min-height to prevent layout collapse */
    display: block; /* Ensure it's not flex */
}

.subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 0 40px 0;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
}


/* --- Main Content Gradient Background --- */
.main-content {
    background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(61, 82, 213, 0.08) 50%, var(--bg-dark) 100%);
}
.main-content > section {
    background-color: transparent;
}
#social-proof-section, #contact, .ticker-section {
    background-color: transparent !important;
}


/* --- Ticker / Marquee Section --- */
.ticker-section {
    padding: 30px 0;
    background-image: linear-gradient(rgba(13, 13, 26, 0.6), rgba(13, 13, 26, 0.6)), url('https://images.unsplash.com/photo-1634712282287-14ED57b9cc89?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1932&q=80');
    background-position: center center;
    background-size: cover;
}

.ticker-wrap {
    width: 100%;
    overflow: hidden;
    background-color: var(--secondary-color);
    padding: 15px 0;
    white-space: nowrap;
}

.ticker-move {
    display: inline-block;
    animation: ticker 35s linear infinite;
}

.ticker-item {
    display: inline-block;
    color: #fff;
    font-size: 1rem;
    font-weight: 400;
    padding: 0 4rem;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}


/* --- Social Proof Section --- */
#social-proof-section {
    position: relative;
    background-image: linear-gradient(rgba(13, 13, 26, 0.92), rgba(13, 13, 26, 0.92)), url('https://images.unsplash.com/photo-1634712282287-14ED57b9cc89?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1932&q=80');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.payout-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

/* --- Hero Section Updates for Payout Cards --- */
.hero-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    width: 100%;
}

.hero-content {
    flex-basis: 55%;
    text-align: left;
}

.hero-cards {
    flex-basis: 40%;
    position: relative;
    animation: float 6s ease-in-out infinite;
    /* Adding height to give the second card room to be pushed down */
    min-height: 500px;
}

@keyframes float {
	0% { transform: translateY(0px); }
	50% { transform: translateY(-20px); }
	100% { transform: translateY(0px); }
}


/* --- The Glassmorphism Card Style with Shiny Hover Effect --- */
.payout-card {
    background: rgba(22, 22, 42, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 20px;
    width: 100%;
    max-width: 380px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.payout-card:hover {
    transform: translateY(-5px) scale(1.03);
}

.payout-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 60%;
    height: 100%;
    background: linear-gradient( to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0) 100% );
    filter: blur(15px);
    transform: skewX(-25deg);
    transition: none;
}

.payout-card:hover::before {
    left: 150%;
    transition: left 0.9s ease-in;
}

/* We reset the second card style here for when it's used in the grid */
.payout-card.card-2 {
    position: static;
    transform: none;
    opacity: 1;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 15px;
}

.card-header img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    object-fit: cover;
}

.user-info h3 {
    font-size: 1.2rem;
    font-weight: 400;
    margin: 0;
    color: #fff;
}

.user-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

.user-info .uid {
    margin-left: 10px;
    font-family: monospace;
}

.card-divider {
    border: none;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    margin: 15px 0;
}

.card-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px 10px;
}

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

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

.stat-item .value {
    font-size: 1.1rem;
    font-weight: 400;
    color: #fff;
}

.stat-item .value.profit {
    color: #28a745;
}

.stat-item .value.return {
    color: #b764e4;
}

.card-payout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    color: var(--text-muted);
}

.payout-amount {
    font-size: 1.4rem;
    font-weight: 600;
    background: linear-gradient(90deg, #be65e6, #8e49e8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

/* --- Platform Preview Section --- */

#platform-preview {
    position: relative; /* Crucial for positioning the pseudo-elements */
    overflow: hidden;   /* Keeps the comets from spilling outside the section */

    /* A very faint grid so it doesn't overpower the comets */
    background-image: 
        repeating-linear-gradient(
            to right, 
            rgba(61, 82, 213, 0.08) 0, 
            rgba(61, 82, 213, 0.08) 1px, 
            transparent 1px, 
            transparent 80px
        ),
        repeating-linear-gradient(
            to bottom, 
            rgba(61, 82, 213, 0.08) 0, 
            rgba(61, 82, 213, 0.08) 1px, 
            transparent 1px, 
            transparent 80px
        );
}

/* Horizontal Comet */
#platform-preview::before {
    content: '';
    position: absolute;
    width: 1px;
    height: 100%;
    background: linear-gradient(to top, transparent, var(--secondary-color), transparent);
    filter: drop-shadow(0 0 8px var(--secondary-color)) 
            drop-shadow(0 0 16px var(--secondary-color)) 
            brightness(1.5);
    box-shadow: 0 0 10px var(--secondary-color);
    animation: move-comet-x 15s linear infinite;
    animation-delay: -2s;
    z-index: 1;
}

/* Horizontal Comet Line */
#platform-preview::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(to left, transparent, var(--primary-color), transparent);
    filter: drop-shadow(0 0 8px var(--primary-color)) 
            drop-shadow(0 0 16px var(--primary-color)) 
            brightness(1.5);
    box-shadow: 0 0 10px var(--primary-color);
    animation: move-comet-y 11s linear infinite;
    animation-delay: -2s;
    z-index: 1;
}

@keyframes move-comet-x {
    from {
        left: 25%; /* Follows a vertical grid line */
        transform: translateY(-100%);
    }
    to {
        left: 25%;
        transform: translateY(100%);
    }
}

@keyframes move-comet-y {
    from {
        top: 60%; /* Follows a horizontal grid line */
        transform: translateX(-100%);
    }
    to {
        top: 60%;
        transform: translateX(100%);
    }
}


@keyframes slow-float {
	0% { transform: translateY(0px); }
	50% { transform: translateY(-15px); }
	100% { transform: translateY(0px); }
}

#platform-preview .section-title {
    margin-bottom: 60px;
}

.preview-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative; /* Ensures this content stays on top of the new background */
    z-index: 3;
}

.preview-image {
    flex: 1.2;
    animation: slow-float 8s ease-in-out infinite;
}

.preview-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

.preview-content {
    flex: 1;
}

.preview-content h3 {
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 25px;
    color: #fff;
}

.preview-content p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 35px;
}

.learn-more-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all var(--transition-speed);
}

.learn-more-link:hover {
    color: #fff;
    transform: translateX(5px);
}

.learn-more-link i {
    transition: transform var(--transition-speed);
}

.learn-more-link:hover i {
    transform: translateX(3px);
}

/* --- Responsive for Platform Preview --- */
@media (max-width: 992px) {
    .preview-wrapper {
        flex-direction: column;
        text-align: center;
    }
    .preview-image {
        margin-bottom: 40px;
        animation: none;
    }
    /* Disable comet animations on mobile for performance */
    #platform-preview::before,
    #platform-preview::after {
        animation: none;
        display: none;
    }
}
/* --- How It Works Section --- */

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    align-items: stretch; 
    margin-top: 180px;
}

.step-card {
    background-color: var(--bg-medium);
    border-radius: var(--border-radius);
    border: 1px solid var(--bg-light);
    text-align: center;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    position: relative;
    overflow: visible; 
    /* padding-top: 80px; */
}

/* REMOVED the ::before pseudo-element and its keyframe */

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.step-card .step-content {
    position: relative;
    z-index: 2; /* Still needed to be under the image */
    background: linear-gradient(180deg, #3d51d517, #892be26e);
    border-radius: 5px 5px var(--border-radius) var(--border-radius);
}

.step-image-container {
    position: absolute;
    z-index: 3;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 180px;
}

.step-image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.3));
    transition: transform 0.4s ease;
}

.step-card:hover .step-image-container img {
    transform: scale(1.1) translateY(-10px);
}

.step-content {
    padding: 25px;
    padding-top: 85px;
    flex-grow: 1;
    height: 289px;
}

.step-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    opacity: 0.8;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    -webkit-text-fill-color: unset;
    color: rgba(255, 255, 255, 0.8);
}

.step-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #fff;
    font-weight: 400;
}

.step-card p {
    color: rgba(255, 255, 255, 0.7);
}
/* --- Features Section --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.feature-item {
    background-color: var(--bg-medium);
    padding: 25px;
    border-radius: var(--border-radius);
    border: 1px solid var(--bg-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform var(--transition-speed);
}

.feature-item:hover {
     transform: translateY(-5px);
}

.feature-item i {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.feature-item h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.feature-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
}


/* --- New Pricing Table UI --- */
.trading-plan-container {
    background-color: var(--bg-medium);
    border: 1px solid var(--bg-light);
    border-radius: 20px;
    padding: 25px;
    max-width: 900px;
    margin: 50px auto 0;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.plan-tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.plan-tab {
    flex: 1;
    padding: 12px;
    border: 1px solid var(--bg-light);
    border-radius: var(--border-radius);
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-speed);
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.plan-tab:hover {
    background-color: var(--bg-light);
}

.plan-tab.active {
    background-color: #431f77;
    border-color: #6a3ab2;
    transform: scale(1.05);
}

.plan-tab-title {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.plan-tab-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
}

.plan-tab.active .plan-tab-title {
    color: #c9b8e4;
}

.plan-details {
    width: 100%;
}

.plan-details:hover .plan-row {
    opacity: 0.6;
}
.plan-details:hover .plan-row:hover {
    opacity: 1;
    background-color: var(--bg-light);
    transform: scale(1.02);
}
.plan-details:hover .plan-row:hover i {
    transform: scale(1.2);
    color: var(--secondary-color);
}

.plan-header, .plan-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    align-items: center;
    text-align: left;
    padding: 16px 10px;
    transition: all 0.3s ease-in-out;
}

.plan-header {
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.plan-header div:not(:first-child) {
    color: var(--secondary-color);
    font-weight: 600;
}

.plan-row {
    border-top: 1px solid var(--bg-light);
    font-size: 0.95rem;
    cursor: default;
}

.plan-row div:first-child {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-color);
    font-weight: 400;
}

.plan-row i {
    color: var(--primary-color);
    font-size: 1rem;
    width: 20px;
    text-align: center;
    transition: transform 0.3s ease, color 0.3s ease;
}

.plan-row div:not(:first-child) {
    color: var(--text-muted);
    font-weight: 400;
}

.plan-cta {
    text-align: center;
    padding: 30px 0;
    margin-top: 10px;
    border-top: 2px dotted rgba(61, 82, 213, 0.2);
}

.cta-note {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-style: italic;
    margin-bottom: 20px;
}

.btn-challenge {
    display: inline-block;
    background-color: var(--secondary-color);
    color: #fff;
    padding: 16px 40px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(138, 43, 226, 0.3);
}

.btn-challenge:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(138, 43, 226, 0.4);
}


/* --- FAQ Section --- */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--bg-medium);
    border: 1px solid var(--bg-light);
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    padding: 18px 20px;
}

.faq-item summary {
    font-size: 1.1rem;
    font-weight: 400;
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-right: 30px;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: transform var(--transition-speed);
}

.faq-item[open] summary::after {
    transform: translateY(-50%) rotate(180deg);
}

.faq-item .divFAQAnswerArea {
    margin-top: 15px;
    color: var(--text-muted);
    padding-top: 15px;
    border-top: 1px solid var(--bg-light);
    font-size: 0.95rem;
}

.faq-item .divFAQAnswerArea ul, .faq-item .divFAQAnswerArea ol {
    padding-left: 20px;
}

/* --- Contact Section --- */
#contact {
    /* No longer needs its own background, will use the main gradient */
    position: relative;
}

.contact-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    margin-top: 50px;
}

.contact-form-container {
    flex-basis: 48%;
    background: rgba(13, 13, 26, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.contact-image-column {
    flex-basis: 48%;

    /* === NEW STYLES FOR PARALLAX COLUMN === */
    background-image: url('https://media.discordapp.net/attachments/1305582929665064980/1394029574504845343/aku.png?ex=68789e76&is=68774cf6&hm=bd58ebbdf7d9dfd3653a1993e3d82e64c25bba94b8d13db102335c7edeb6ee5e&=&format=webp&quality=lossless&width=723&height=960');
    background-size: cover;
    background-position: center;
    background-attachment: scroll; /* This creates the parallax effect */
    border-radius: var(--border-radius);
    min-height: 550px; /* Ensures the column has height to show the effect */
    /* NO box-shadow here */
}

/* We no longer need the .contact-image-column img rule */

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group {
    width: 100%;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 14px;
    background-color: rgba(22, 22, 42, 0.7);
    border: 1px solid var(--bg-light);
    border-radius: 8px;
    color: var(--text-color);
    font-family: var(--font-family);
    font-size: 0.95rem;
    transition: border-color var(--transition-speed);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-muted);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.phone-group {
    display: flex;
    gap: 10px;
}
.phone-group select {
    flex-basis: 30%;
}
.phone-group input {
    flex-grow: 1;
}
.contact-form button {
    align-self: flex-start;
    margin-top: 10px;
}




/* --- Footer --- */
.footer {
    background-color: var(--bg-dark);
    padding: 80px 0 30px;
    border-top: 1px solid var(--bg-light);
    color: var(--text-muted);
    position: relative;
    z-index: 5px;
}

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

.footer-column h4 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 25px;
    color: #fff;
}

.footer-about .logo {
    display: inline-block;
    margin-bottom: 20px;
}

.footer-about p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-tagline {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-color);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition-speed);
}

.footer-column ul li a:hover {
    color: #fff;
}

.newsletter-form {
    display: flex;
    margin-bottom: 30px;
}

.newsletter-form input {
    flex-grow: 1;
    padding: 12px 15px;
    border: none;
    background-color: var(--bg-medium);
    color: var(--text-color);
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    outline: none;
    border: 1px solid var(--bg-light);
}

.newsletter-form button {
    padding: 12px 20px;
    border: none;
    background-color: var(--secondary-color);
    color: #fff;
    font-weight: 500;
    cursor: pointer;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    transition: background-color var(--transition-speed);
}

.newsletter-form button:hover {
    background-color: #7624c7;
}

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

.footer-social a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: var(--bg-medium);
    border-radius: 50%;
    color: var(--text-muted);
    font-size: 1rem;
    transition: all var(--transition-speed);
}

.footer-social a:hover {
    background-color: var(--secondary-color);
    color: #fff;
    transform: translateY(-3px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid var(--bg-light);
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: 25px;
}

.footer-bottom-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition-speed);
}

.footer-bottom-links a:hover {
    color: #fff;
}

/* --- Mini Game Section --- */
.game-container {
    max-width: 700px;
    margin: 0 auto;
    /* REMOVED: background, backdrop-filter, border, box-shadow, padding */
    background: transparent;
    border: none;
    box-shadow: none;
    text-align: center;
    overflow: hidden; 
}

.result-buttons {
    display: flex;
    flex-wrap: wrap; /* Allows buttons to stack on smaller screens if needed */
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}
#game-ui {
    position: relative; /* This creates the positioning context */
}
.game-info-bar {
    display: flex;
    justify-content: space-between;
    background-color: var(--bg-medium);
    padding: 20px 30px;
    border-bottom: 1px solid var(--bg-light);
}

.info-item {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.info-item span {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.info-item strong {
    font-size: 1.4rem;
    color: #fff;
    font-weight: 600;
    line-height: 1.2;
    background: linear-gradient(90deg, #be65e6, #8e49e8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: glow 1.5s ease-in-out infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 0 5px #be65e6, 0 0 10px #8e49e8; }
    to { text-shadow: 0 0 20px #be65e6, 0 0 30px #8e49e8; }
}

.game-display-area {
    padding: 40px;
    position: relative;
    min-height: 300px; /* Give it some height */
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.game-container h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #fff;
}

.game-container p {
    color: var(--text-muted);
    max-width: 450px;
    margin-bottom: 30px;
    line-height: 1.7;
}

.timer-display {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 20px;
}

#timer {
    color: #fff;
    font-weight: 600;
}

.progress-bar-container {
    position: relative;
    width: 100%;
    height: 30px;
    background-color: var(--bg-dark);
    border-radius: 50px;
    border: 1px solid var(--bg-light);
    margin-bottom: 30px;
    overflow: hidden;
}

.progress-bar-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 50px;
    transition: width 0.1s linear;
    animation: pulse-gradient 2s infinite;
}

@keyframes pulse-gradient {
    0% { filter: brightness(1); }
    50% { filter: brightness(1.3); }
    100% { filter: brightness(1); }
}

.bonus-text {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8rem;
    color: #fff;
    opacity: 0;
    transition: opacity 0.5s;
    font-weight: 500;
}

#fund-button {
    padding: 18px 50px;
    font-size: 1.5rem;
    user-select: none;
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.4);
}
#fund-button:active {
    transform: scale(0.97);
    box-shadow: none;
}

.game-result {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    padding: 40px;
    box-sizing: border-box;
    z-index: 10;
}
.game-result i {
    font-size: 4rem;
    margin-bottom: 20px;
}
.game-result .success-icon {
    color: #28a745;
}
.game-result .failure-icon {
    color: #dc3545;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    .hero-content {
        flex-basis: auto;
    }
    .hero-cards {
        flex-basis: auto;
        margin-top: 60px;
        animation: none;
    }
    #hero h1, .subtitle {
        text-align: center;
    }
    .subtitle {
        margin: 20px auto 40px;
    }
    .hero-buttons {
        justify-content: center;
    }
}
/* --- CORRECTED AND COMBINED MEDIA QUERY --- */
@media (max-width: 992px) {
    /* Rules from the first block */
    .contact-wrapper {
        flex-direction: column-reverse; /* Shows image first on mobile */
    }
    .contact-image-column {
        margin-top: 0;
        margin-bottom: 40px; /* Adds space below the image */
        width: 100%;
        min-height: 300px;
        background-attachment: scroll; /* Disables parallax on mobile for better performance */
    }
    
    /* Rules from the second block */
    .nav-menu { 
        display: none; 
    }
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    .preview-wrapper {
        flex-direction: column;
        text-align: center;
    }
    .preview-image {
        margin-bottom: 40px;
        animation: none;
    }
}

@media (max-width: 768px) {
    #hero h1 { font-size: 2.8rem; }
    .subtitle { font-size: 1rem; }
    .hero-buttons { flex-direction: column; gap: 15px; }
    .section { padding: 60px 0; }
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-about, .footer-column {
        margin-bottom: 20px;
    }
    .newsletter-form {
        justify-content: center;
    }
    .footer-social {
        justify-content: center;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .payout-card {
        max-width: 100%;
    }
    .hero-cards .payout-card.card-2 { /* Changed to be more specific */
        display: none;
    }
    .payout-grid {
        grid-template-columns: 1fr;
    }
}

/* 
  Re-apply absolute positioning for the hero card specifically,
  as the base rule for .payout-card.card-2 resets it for the grid.
*/
.hero-cards .payout-card.card-2 {
    position: absolute;
    /* CHANGED: Increased top offset for more visibility */
    top: 240px; 
    /* CHANGED: Reduced left offset for better alignment */
    left: 50px;  
    z-index: -1;
    /* CHANGED: Slightly more opaque for readability */
    opacity: 0.8; 
    /* CHANGED: Slightly smaller for better depth perception */
    transform: scale(0.95); 
}