html {
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

:root {
    /* Light Mode (Default) */
    --primary-color: #00B2FF;
    --secondary-color: #FF8600;
    --accent-color: #FF8600; /* Orange accent for play buttons */
    --background-color: #FFFFFF;
    --background-alt-color: #F5F5F5;
    --text-color: #333333;
    --text-light-color: #6c757d;
    --success-color: #28a745;
    --error-color: #dc3545;
    --border-color: #eee;

    --heading-font: 'Montserrat', sans-serif;
    --body-font: 'Open Sans', sans-serif;
    
    --border-radius: 8px;
    
    --spacing-small: 0.5rem;
    --spacing-medium: 1rem;
    --spacing-large: 2rem;
    
    --shadow-small: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-medium: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-large: 0 8px 16px rgba(0,0,0,0.1);
}

[data-theme="dark"] {
    --primary-color: #00B2FF;
    --secondary-color: #FF8600;
    --accent-color: #FF8600;
    --background-color: #22272E; /* Dark background */
    --background-alt-color: #2D333B; /* Slightly lighter dark */
    --text-color: #C9D1D9; /* Light text */
    --text-light-color: #8B949E; /* Lighter secondary text */
    --success-color: #3FB950;
    --error-color: #F85149;
    --border-color: #444c56;
    
    /* Adjust shadows if needed, often reduced in dark mode */
    --shadow-small: 0 2px 4px rgba(0,0,0,0.2);
    --shadow-medium: 0 4px 8px rgba(0,0,0,0.3);
    --shadow-large: 0 8px 16px rgba(0,0,0,0.4);
}

/* Base Styles */
body {
    font-family: var(--body-font);
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-size: 18px; /* Added for better legibility */
}

/* Apply base heading styles */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 800; /* Ensure ExtraBold weight */
    color: var(--text-color); /* Default heading color */
    margin-top: var(--spacing-medium);
    margin-bottom: var(--spacing-medium);
}

/* Header and Navigation */
header {
    background-color: var(--background-color);
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    position: sticky; /* Make header sticky */
    top: 0; /* Stick to the top */
    z-index: 1000; /* Ensure it stays above other content */
    transition: padding 0.3s ease, background-color 0.3s ease; /* Smooth transition */
    width: 100%; /* Ensure header doesn't exceed viewport width */
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

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

.logo-container {
    margin-right: 10px;
}

.logo-img {
    height: 40px; /* Adjust as needed */
    width: auto;
    transition: height 0.3s ease; /* Smooth transition for logo size */
}

.logo-text {
    font-family: var(--heading-font);
    font-weight: 800;
    font-size: 1.5em;
    color: var(--primary-color);
    transition: font-size 0.3s ease; /* Smooth transition for text size */
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Main Content */
main {
    margin-top: 0px; /* Account for fixed header */
    padding: 0 0 var(--spacing-large); /* Adjusted padding-top to 0 */
    flex: 1;
    width: 100%;
    box-sizing: border-box;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Sections */
section {
    width: 100%;
    margin: 0 auto;
    padding: var(--spacing-large) 0;
}

/* Hero Section */
.hero {
    text-align: center;
    padding-top: var(--spacing-large);
    padding-bottom: var(--spacing-large);
    background-color: var(--background-alt-color);
    margin-bottom: var(--spacing-large);
    position: relative; /* Ensures an offset parent for absolute positioning & stacking context */
    overflow: hidden;   /* Prevents content from spilling out if it exceeds dimensions */
    background-image: linear-gradient(135deg, var(--primary-color) 0%, rgba(0, 178, 255, 0.7) 40%, rgba(255, 134, 0, 0.4) 100%);
    color: white;
    /* box-shadow: var(--shadow-large); Removed for full-bleed effect */
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;

    /* Full-bleed breakout */
    width: 100vw;
    left: 50%;
    margin-left: -50vw;
    box-sizing: border-box; /* Include padding/border in the element's total width/height */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='rgba(255,255,255,.075)' fill-rule='evenodd'/%3E%3C/svg%3E");
    background-size: 20px;
    opacity: 0.6;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    padding: var(--spacing-large);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-medium);
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-medium);
    line-height: 1.2;
    color: white;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3); /* Adjusted for better contrast */
}

.hero .subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-large);
    max-width: 600px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2); /* Added for contrast */
}

#buyNowBtn {
    margin-top: var(--spacing-medium);
    background-color: var(--secondary-color);
    font-size: 1.3rem;
    padding: 1rem 2.5rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

#buyNowBtn:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.25);
}

/* Admin Console */
.admin-console {
    display: none;
    background-color: var(--background-color);
    padding: var(--spacing-large);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    padding-top: 20px; /* Add some padding if needed */
    scroll-margin-top: 100px; /* Adjust value based on actual sticky header height */
}

.admin-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: var(--spacing-large);
    background-color: var(--background-alt-color);
    padding: var(--spacing-medium) var(--spacing-large);
    border-radius: var(--border-radius);
}

.user-info {
    display: flex;
    align-items: center;
    gap: var(--spacing-medium);
}

.dashboard-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: var(--spacing-large);
}

.action-buttons {
    display: flex;
    gap: var(--spacing-medium);
    margin-right: var(--spacing-medium); /* keep some breathing room */
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-large);
    margin-bottom: var(--spacing-large);
}

.stat-card {
    background-color: var(--background-alt-color);
    padding: var(--spacing-large);
    border-radius: var(--border-radius);
    text-align: center;
}

.stat-card h3 {
    margin-bottom: var(--spacing-medium);
    color: var(--text-color);
    font-size: 0.9rem; /* Reduced size */
    font-weight: 600; /* Slightly less bold */
}

.stat-card span {
    font-size: 1.5rem; /* Reduced size */
    font-weight: bold;
    color: var(--primary-color);
}

.games-section {
    margin-bottom: var(--spacing-large);
}

.games-list {
    display: grid;
    gap: var(--spacing-large);
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.no-games-message {
    grid-column: 1 / -1;  /* Span all columns */
    text-align: center;
    padding: var(--spacing-large);
    background-color: var(--background-alt-color);
    border-radius: var(--border-radius);
    margin: var(--spacing-large) 0;
    box-shadow: var(--shadow-medium);
}

.message-content {
    max-width: 800px;
    margin: 0 auto;
}

.message-content h4 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: var(--spacing-large);
    font-family: var(--heading-font);
    font-weight: 800;
}

.quick-start-guide {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-medium);
    margin: var(--spacing-large) 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Adjust header padding for smaller screens */
    header {
        padding: 10px 15px;
    }

    header nav {
        display: flex;
        flex-wrap: wrap; /* Allow items to wrap */
        justify-content: space-between; /* Logo on left, nav-items group on right */
        align-items: center; /* Align items nicely on their respective lines */
    }

    header .logo {
        order: 1; /* Logo first */
        /* flex-grow: 1; Removed to prevent logo from taking all space if nav-links is short */
        margin-right: auto; /* Pushes nav-links to the right if space allows before wrapping */
        margin-bottom: 5px; /* Space if Play button wraps below */
    }

    header .nav-links { /* This is the container for Play/Signup OR Logout/Buy */
        order: 2; /* After logo on the same line if space permits, or wraps */
        display: flex;
        align-items: center;
        gap: 10px;
    }

    /* Default button styling for mobile header */
    header #playSignupBtn,
    header #stickyBuyBtn,
    header #logoutBtn {
        padding: 8px 12px;
        font-size: 0.9rem;
        white-space: nowrap; /* Prevent text wrapping inside buttons */
        flex-shrink: 0; /* Prevent buttons from shrinking too much */
    }
    
    /* Styles for when the user is logged IN */
    .user-info.auth-required { /* This is the container for the logout button */
        /* It's inside .nav-links, so it will be part of that flex group on the right */
        /* No specific order needed here if it's the only primary item in .nav-links besides stickyBuyBtn (as Play) */
    }

    /* Specifically the Play button when logged in */
    #stickyBuyBtn.play-mode {
        order: 3; /* Ensure it's last in the main nav flow, forcing it to wrap */
        width: 100%; /* Make it full width */
        margin-top: 10px; /* Space above it when it wraps */
        text-align: center;
        display: block; /* Ensure it takes full width and respects margin-top */
        box-sizing: border-box;
    }

    main {
        margin-top: -15px; /* Adjust based on typical wrapped header height */
        padding: 15px;
    }
}

/* Ensure default nav-links for desktop are not affected */
@media (min-width: 769px) {
    header .nav-links {
        display: flex;
        flex-wrap: nowrap;
        flex-basis: auto;
        order: 0; /* Reset order */
        width: auto; /* Reset width */
        flex-direction: row; /* Reset direction */
        align-items: center; /* Reset alignment */
        justify-content: flex-end;
        gap: 15px; /* Restore desktop gap */
        margin-top: 0;
    }
    header .nav-links #playSignupBtn,
    header .nav-links #stickyBuyBtn {
        flex-basis: auto;
        order: 0;
        width: auto;
        margin-top: 0;
        padding-top: 0.6rem; /* Restore default padding */
        padding-bottom: 0.6rem;
    }
     header .nav-links .user-info {
         width: auto;
         order: 0;
     }
}

/* Features Section */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-large);
    margin-top: var(--spacing-large);
}

.feature-card {
    background-color: var(--background-color);
    padding: var(--spacing-large);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-small);
    text-align: center;
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-medium);
}

/* Language Selector */
.language-selector {
    margin-left: var(--spacing-medium);
}

.language-selector select {
    padding: var(--spacing-small);
    border: 1px solid var(--primary-color);
    border-radius: var(--border-radius);
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: var(--body-font);
    cursor: pointer;
}

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 12px 24px; /* Increased padding */
    min-height: 48px; /* Ensure min height */
    box-sizing: border-box; /* Include padding in height */
    border: none;
    border-radius: var(--border-radius);
    font-family: var(--body-font);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.1s ease;
    vertical-align: middle; /* Align button text vertically */
}

.btn-primary:hover,
.btn-secondary:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background-color: var(--accent-color);
    color: #fff;
    font-size: 1.15rem;
    padding: 16px 36px;
    min-width: 160px;
    min-height: 56px;
    box-shadow: 0 2px 8px rgba(255,134,0,0.10);
    border: none;
}

.btn-primary:hover {
    background-color: #e67300;
    color: #fff;
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    font-size: 1rem;
    padding: 12px 24px;
    min-width: 120px;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-large {
    padding: 15px 30px; /* Larger padding for hero button */
    font-size: 1.2rem;
    min-height: 56px; /* Ensure min height */
}

/* Main Content Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-medium);
    width: 100%;
    box-sizing: border-box;
}

.game-card {
    background-color: var(--background-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    padding: var(--spacing-large);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-medium);
    transition: transform 0.2s, box-shadow 0.2s;
}

.game-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-large);
}

.game-card-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-medium);
}

.game-icon {
    font-size: 2rem;
}

.game-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--text-color);
    margin: 0;
}

.game-status {
    padding: var(--spacing-small) var(--spacing-medium);
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    font-weight: 600;
}

.game-status.active {
    background-color: var(--success-color);
    color: white;
}

.game-status.completed {
    background-color: var(--text-light-color);
    color: white;
}

.game-actions {
    display: flex;
    gap: var(--spacing-medium);
    margin-top: auto;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: var(--spacing-large);
    background-color: var(--background-alt-color);
    border-radius: var(--border-radius);
    margin: var(--spacing-large) 0;
}

.empty-state-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-medium);
    color: var(--primary-color);
}

.empty-state-title {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-medium);
    color: var(--text-color);
}

.empty-state-description {
    color: var(--text-light-color);
    margin-bottom: var(--spacing-large);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Getting Started Section */
.getting-started {
    background-color: var(--background-alt-color);
    padding: var(--spacing-large);
    border-radius: var(--border-radius);
    margin: var(--spacing-large) auto;
    max-width: 1200px;
    box-shadow: var(--shadow-medium);
}

.getting-started h2 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-large);
    font-size: 2.2rem;
    font-family: var(--heading-font);
    font-weight: 800;
    text-align: center;
}

.steps {
    display: flex;
    justify-content: flex-start;
    gap: var(--spacing-large);
    margin: var(--spacing-large) 0;
    padding: 0 var(--spacing-medium);
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .steps {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .step {
        width: 100%;
    }
}

.step {
    background-color: var(--background-color);
    padding: var(--spacing-large);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-small);
    display: flex;
    align-items: center;
    gap: var(--spacing-medium);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex: 0 1 calc(33.333% - var(--spacing-large));
    min-width: 250px;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-large);
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step p {
    color: var(--text-color);
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.4;
}

.game-includes {
    text-align: left;
    padding: var(--spacing-medium) var(--spacing-large);
    background-color: var(--background-color);
    border-radius: var(--border-radius);
    margin-top: var(--spacing-large);
    box-shadow: var(--shadow-small);
}

.game-includes h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-medium);
    font-size: 1.3rem;
    font-family: var(--heading-font);
    font-weight: 600;
}

.game-includes ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-medium);
}

@media (max-width: 600px) {
    .game-includes ul {
        grid-template-columns: 1fr;
    }
}

.game-includes li {
    display: flex;
    align-items: center;
    gap: var(--spacing-small);
    font-size: 1.1rem;
    padding: var(--spacing-small) 0;
    color: var(--text-color);
}

.game-includes li::before {
    content: '✓';
    color: var(--success-color);
    font-weight: bold;
    font-size: 1.2rem;
    min-width: 24px;
}

/* FAQ Section */
.faq {
    padding: 40px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.faq h2 {
    text-align: center;
    margin-bottom: 30px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2rem 0;
}

.faq-item {
    background: var(--background-alt-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-small);
    padding: 1.5rem 2rem;
    text-align: left;
}

.faq-question {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.faq-answer {
    color: var(--text-light-color);
    font-size: 1rem;
    line-height: 1.6;
}

@media (max-width: 600px) {
    .faq-item {
        padding: 1rem 1rem;
    }
    .faq-list {
        gap: 1rem;
    }
}

/* Testimonials */
.testimonials {
    padding: 40px 20px;
    background-color: var(--light-background-color);
}

.testimonial-list {
    display: flex;
    gap: var(--spacing-large);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--spacing-large);
}

.testimonial {
    background: var(--background-color);
    padding: var(--spacing-medium) var(--spacing-large);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-small);
    max-width: 300px;
    font-style: italic;
    color: var(--text-color);
}

.testimonial footer {
    margin-top: var(--spacing-small);
    font-style: normal;
    font-weight: 600;
    color: var(--primary-color);
}

.success-page {
    text-align: center;
    padding: var(--spacing-large);
    max-width: 1200px;
    padding-left: 40px;
    padding-right: 40px;
    margin: var(--spacing-large) auto;
    margin-top: -20px;
}

.success-page h1 {
    color: var(--success-color);
    margin-bottom: var(--spacing-medium);
}

.success-page .receipt-info {
    color: var(--text-light-color);
    margin-bottom: var(--spacing-large);
}

.share-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    width: 100%;
    margin-bottom: var(--spacing-large);
}

.share-section {
    flex: 2 1 0;
    min-width: 260px;
    max-width: 420px;
}

.share-section label {
    display: block;
    margin-bottom: var(--spacing-small);
    font-weight: 600;
}

.share-section input {
    width: 100%;
    padding: var(--spacing-medium);
    border: 1px solid #ccc;
    border-radius: var(--border-radius);
    margin-bottom: var(--spacing-medium);
    box-sizing: border-box;
}

.success-page .actions {
    display: flex;
    gap: var(--spacing-medium);
    justify-content: center;
    margin-top: var(--spacing-large);
}

#qrcodeCanvas {
    flex: 1 1 0;
    background: #fff;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 300px;
    min-width: 300px;
    min-height: 300px;
    margin-bottom: 30px;
}

#qrcodeCanvas img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (max-width: 900px) {
    .share-row {
        flex-direction: column;
        gap: 1.5rem;
        align-items: stretch;
    }
    #qrcodeCanvas {
        max-width: 100%;
        min-width: 180px;
        min-height: 180px;
        padding: 24px;
    }
}

/* Demo Video Section */
.demo-video {
    text-align: center;
    padding: 40px 20px;
    background-color: #f9f9f9; /* Light background to separate it */
}

.demo-video h2 {
    margin-bottom: 20px;
}

.video-container {
    margin: 0 auto;
    max-width: 700px; /* Adjust as needed */
}

/* Objections Section */
.objections {
    padding: 40px 20px;
}

.objections h2 {
    text-align: center;
    margin-bottom: 30px;
}

.objection-item {
    max-width: 800px;
    margin: 0 auto 25px auto;
    padding: 15px;
    background-color: #f9f9f9;
    border-left: 4px solid var(--accent-color);
    border-radius: 4px;
}

.objection-item h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.objection-item p {
    margin-bottom: 0;
    line-height: 1.6;
}

/* Form Error Messages */
.form-error {
    background-color: var(--error-color);
    color: white;
    padding: var(--spacing-medium);
    border-radius: var(--border-radius);
    margin-bottom: var(--spacing-medium);
    font-size: 0.9rem;
    display: none;
    animation: fadeIn 0.3s ease-out;
}

.form-error.show {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #333;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    z-index: 1000;
    gap: 12px;
    flex-wrap: wrap;
}

.cookie-banner a {
    color: #00B2FF;
    text-decoration: underline;
}

.cookie-banner .banner-actions {
    display: flex;
    gap: 8px;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.trust-badges .badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 12px;
    border-radius: 6px;
    color: #fff;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tagline {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #fff;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    opacity: 0.9;
}

.usp-list {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: #fff;
    font-size: 1rem;
}

.how-it-works {
    text-align: center;
    padding: var(--spacing-large) 0;
}

.how-graphic {
    display: flex;
    gap: var(--spacing-large);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--spacing-large);
}

.how-step {
    background: var(--background-alt-color);
    padding: var(--spacing-large);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-small);
    width: 200px;
}

.how-step .step-icon {
    font-size: 2rem;
}

.how-step h3 {
    margin: 0.5rem 0;
    color: var(--primary-color);
}

.how-step p {
    color: var(--text-light-color);
    font-size: 0.95rem;
}

.countdown-banner {
    background: var(--secondary-color);
    color: #fff;
    text-align: center;
    padding: 8px 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.testimonials {
    text-align: center;
    padding: var(--spacing-large) 0;
    background: var(--background-alt-color);
}

/* Accessibility Focus Styles */
*:focus {
    /* Basic fallback */
    outline: 2px solid #00B2FF;
    outline-offset: 2px;
}

*:focus:not(:focus-visible) {
    /* Remove default outline for mouse users when :focus-visible is supported */
    outline: none;
}

*:focus-visible {
    /* Modern focus indicator for keyboard users */
    outline: 3px solid #00B2FF; /* Primary color outline */
    outline-offset: 2px;
    box-shadow: 0 0 0 3px rgba(0, 178, 255, 0.3); /* Optional softer glow */
    border-radius: 2px; /* Optional: slightly round the outline corners */
}

/* Ensure specific elements like inputs don't have conflicting focus styles */
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    border-color: #00B2FF; /* Align border color with outline */
    box-shadow: 0 0 0 3px rgba(0, 178, 255, 0.3); /* Keep consistent glow */
}

/* Skeleton Loader Styles */
.skeleton {
    /* Inherit layout from .game-item but override content appearance */
    background-color: #fff; /* Or match game-item background */
    border: 1px solid #eee;
    padding: var(--spacing-large);
    display: flex;
    flex-direction: column;
    gap: 10px; /* Space between skeleton lines */
}

.skeleton .skeleton-line {
    background-color: #e0e0e0; /* Placeholder color */
    border-radius: 4px;
    height: 1.2em; /* Default line height */
    animation: pulse 1.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.skeleton .skeleton-line.title {
    height: 1.5em;
    width: 60%;
}

.skeleton .skeleton-line.text {
    height: 1em;
    width: 90%;
}

.skeleton .skeleton-line.text.short {
    width: 75%;
}

.skeleton .skeleton-line.button {
    height: 40px; /* Match button height */
    width: 100px;
    margin-top: 10px; /* Space above button line */
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Game Item Styles (ensure they override skeleton when populated) */
.game-item {
    background-color: var(--background-color);
    border-radius: var(--border-radius);
}

.theme-toggle {
    /* Basic styling, adjust as needed */
    position: absolute; 
    top: 15px;
    right: 20px;
    padding: 5px 10px;
    font-size: 1.5rem; /* Adjust size for emoji */
    line-height: 1;
    min-width: 48px; /* Ensure touch target size */
    min-height: 48px; /* Ensure touch target size */
    border: 1px solid var(--border-color);
    background-color: var(--background-color);
    color: var(--text-color);
}

/* Style for active game items (optional, could be default) */
.game-item-active {
    border: 1px solid var(--border-color);
    /* Add subtle emphasis if desired */
}

/* Style for completed game items */
.game-item-completed {
    border: 1px solid var(--border-color);
    opacity: 0.75;
    background-color: var(--background-alt-color); /* Slightly different background */
}

.game-item-completed:hover {
    opacity: 0.9; /* Slight hover effect */
}

/* Style for the new Results button */
.results-btn {
    /* Inherits from .btn-secondary, add specific overrides if needed */
    /* Example: maybe slightly smaller padding? */
    padding: 10px 20px; 
}

/* Add other styles or responsive adjustments */

/* Ensure the Play Demo button in the hero has high contrast */
.hero #playDemoBtn {
    color: white;
    border-color: white;
}

.hero #playDemoBtn:hover {
    background-color: rgba(255, 255, 255, 0.15); /* Slight white highlight on hover */
    color: white;
}

#buyNowBtn {
    margin-top: var(--spacing-medium);
    background-color: var(--secondary-color);
    font-size: 1.3rem;
    padding: 1rem 2.5rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

#buyNowBtn:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.25);
}

.success-columns {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 400px;
}

.success-left {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.success-right {
    flex: 1 1 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
}

@media (max-width: 900px) {
    .success-columns {
        flex-direction: column;
        gap: 1.5rem;
        min-height: unset;
    }
    .success-right {
        justify-content: center;
        align-items: center;
        margin-top: 2rem;
    }
}

@media (min-width: 1400px) {
    .success-page,
    .success-columns {
        max-width: 1400px;
    }
} 



.info-section {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.info-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
