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

:root {
    /* ColorHunt Palette */
    --main-bg: #F5F5F5;          /* Light Gray / Off-White */
    --accent-bg: #F8E7F6;        /* Soft Pink */
    --highlight: #DD88CF;         /* Pastel Purple */
    --key-elements: #4B164C;     /* Deep Plum */
    
    /* Typography Colors */
    --text-primary: #4B164C;     /* Deep Plum - default font color */
    --text-secondary: #333333;    /* Dark Gray - softer alternative for body text */
    --text-white: #FFFFFF;       /* White - only over dark elements */
    
    /* Background Colors */
    --bg-primary: var(--main-bg);
    --bg-secondary: var(--accent-bg);
    --bg-dark: var(--key-elements);
    
    /* Border and Shadow */
    --border-color: #E5E7EB;
    --shadow: 0 4px 6px -1px rgba(75, 22, 76, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(75, 22, 76, 0.15);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    font-size: 16px;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid var(--highlight);
    outline-offset: 2px;
}

/* Skip to main content link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--key-elements);
    color: var(--text-white);
    padding: 8px;
    text-decoration: none;
    z-index: 1000;
}

.skip-link:focus {
    top: 6px;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header and Navigation */
.header {
    background: var(--bg-primary);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.top-bar {
    height: 4px;
    background: var(--text-secondary);
    width: 100%;
}

.navbar {
    padding: 1.5rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.site-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--text-primary);
}

.nav-link.active {
    color: var(--text-primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--highlight);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link:focus::after {
    width: 100%;
}

.nav-auth {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 16px;
    line-height: 1.5;
}

.btn-primary {
    background: var(--highlight);
    color: var(--text-white);
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--key-elements);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--key-elements);
    color: var(--text-white);
}

.btn-secondary:hover,
.btn-secondary:focus {
    background: #3A1240;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-login {
    background: var(--key-elements);
    color: var(--text-white);
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-login:hover,
.btn-login:focus {
    background: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-register {
    background: var(--key-elements);
    color: var(--text-white);
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-register:hover,
.btn-register:focus {
    background: var(--key-elements);
    transform: translateY(-2px);
}

.btn-play {
    background: var(--highlight);
    color: var(--text-white);
    padding: 8px 16px;
    font-size: 14px;
}

.btn-play:hover,
.btn-play:focus {
    background: var(--key-elements);
}

.btn-footer {
    background: transparent;
    color: var(--text-white);
    border: 1px solid var(--text-white);
    padding: 8px 16px;
    font-size: 14px;
}

.btn-footer:hover,
.btn-footer:focus {
    background: var(--text-white);
    color: var(--text-primary);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* Main Content */
.main {
    min-height: calc(100vh - 200px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--key-elements) 0%, var(--highlight) 100%);
    color: var(--text-white);
    padding: 4rem 0;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.section-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: var(--bg-secondary);
}

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

.feature-card {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--highlight);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

/* Games Section */
.games {
    padding: 5rem 0;
}

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

.game-card {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

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

.game-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--highlight);
}

.game-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

/* Game Interfaces Section */
.game-interfaces {
    padding: 5rem 0;
    background: var(--bg-secondary);
}

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

.interface-card {
    background: var(--bg-primary);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.interface-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.game-emoji {
    font-size: 4rem;
    text-align: center;
    padding: 2rem 0;
    background: linear-gradient(135deg, var(--accent-bg) 0%, var(--bg-primary) 100%);
    border-radius: 12px 12px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    transition: var(--transition);
}

.interface-card:hover .game-emoji {
    transform: scale(1.05);
    background: linear-gradient(135deg, var(--highlight) 0%, var(--accent-bg) 100%);
}

.interface-info {
    padding: 1.5rem;
    text-align: center;
}

.interface-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.price {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--highlight);
    margin-bottom: 1rem;
}

/* Login and Registration Sections */
.login-section,
.registration-section {
    padding: 5rem 0;
}

.login-description,
.registration-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.benefits-list {
    list-style: none;
    margin: 2rem 0;
    padding-left: 0;
}

.benefits-list li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
}

.benefits-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--highlight);
    font-weight: bold;
}

.registration-steps {
    margin: 2rem 0;
    padding-left: 2rem;
}

.registration-steps li {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.login-actions,
.registration-actions {
    text-align: center;
    margin: 2rem 0;
}

.register-prompt,
.login-prompt {
    margin-top: 1rem;
    color: var(--text-secondary);
}

.register-prompt a,
.login-prompt a {
    color: var(--highlight);
    text-decoration: none;
    font-weight: 600;
}

.register-prompt a:hover,
.login-prompt a:focus {
    text-decoration: underline;
}

.registration-images {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.registration-images img {
    border-radius: 8px;
    box-shadow: var(--shadow);
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: var(--text-white);
    padding: 3rem 0 1rem;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--text-white);
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #d1d5db;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover,
.footer-section a:focus {
    color: var(--text-white);
}

.footer-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-primary);
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow);
    }

    .nav-menu.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .section-title {
        font-size: 2rem;
    }

    .features-grid,
    .games-grid,
    .interfaces-grid {
        grid-template-columns: 1fr;
    }

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

    .registration-images {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 2rem 0;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .features,
    .games,
    .game-interfaces,
    .login-section,
    .registration-section {
        padding: 3rem 0;
    }
}

/* Loading and Performance Optimizations */
.lazy-load {
    opacity: 0;
    transition: opacity 0.3s ease-in;
}

.lazy-load.loaded {
    opacity: 1;
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .nav-auth,
    .hero-buttons,
    .btn {
        display: none;
    }

    body {
        font-size: 12pt;
        line-height: 1.4;
    }

    .hero {
        background: white !important;
        color: black !important;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    :root {
        --text-primary: #000000;
        --text-secondary: #000000;
        --border-color: #000000;
    }

    .btn {
        border: 2px solid var(--text-primary);
    }
}

/* Page Header Styles */
.page-header {
    background: linear-gradient(135deg, var(--key-elements) 0%, var(--highlight) 100%);
    color: var(--text-white);
    padding: 4rem 0;
    text-align: center;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.page-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.page-date {
    font-size: 1rem;
    opacity: 0.8;
}

.page-description {
    font-size: 1.125rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

/* About Us Page Styles */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.mission, .vision {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 12px;
}

.mission h3, .vision h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.values-section {
    margin-bottom: 3rem;
}

.values-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

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

.value-card {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--highlight);
}

.value-card h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.achievements-section {
    margin-bottom: 3rem;
}

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

.achievement-item {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.achievement-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.team-section {
    text-align: center;
    margin-bottom: 3rem;
}

.team-section h2 {
    margin-bottom: 1.5rem;
}

.team-section p {
    margin-bottom: 1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section {
    text-align: center;
    background: var(--bg-secondary);
    padding: 3rem;
    border-radius: 12px;
    margin-bottom: 3rem;
}

.cta-section h2 {
    margin-bottom: 1rem;
}

.cta-section p {
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* FAQ Page Styles */
.faq-intro {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.faq-intro p {
    margin-bottom: 1rem;
}

.faq-categories {
    margin-bottom: 3rem;
}

.faq-category {
    margin-bottom: 3rem;
}

.faq-category h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
    border-bottom: 2px solid var(--highlight);
    padding-bottom: 0.5rem;
}

.faq-item {
    background: var(--bg-primary);
    margin-bottom: 1rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-item h3 {
    background: var(--bg-secondary);
    padding: 1.5rem;
    margin: 0;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-primary);
}

.faq-item h3:hover {
    background: var(--highlight);
    color: var(--text-white);
}

.faq-answer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.faq-answer p {
    margin-bottom: 1rem;
}

.faq-answer ul, .faq-answer ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.faq-cta {
    text-align: center;
    background: var(--bg-secondary);
    padding: 3rem;
    border-radius: 12px;
    margin-bottom: 3rem;
}

.faq-cta h2 {
    margin-bottom: 1rem;
}

.faq-cta p {
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.faq-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Privacy Policy & Terms Pages Styles */
.privacy-intro, .terms-intro {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.privacy-sections, .terms-sections {
    margin-bottom: 3rem;
}

.privacy-section, .terms-section {
    margin-bottom: 3rem;
}

.privacy-section h2, .terms-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    border-bottom: 2px solid var(--highlight);
    padding-bottom: 0.5rem;
}

.privacy-section h3, .terms-section h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem 0;
    color: var(--text-primary);
}

.privacy-section p, .terms-section p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.privacy-section ul, .terms-section ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.privacy-section li, .terms-section li {
    margin-bottom: 0.5rem;
}

.contact-info {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.privacy-cta, .terms-cta {
    text-align: center;
    background: var(--bg-secondary);
    padding: 3rem;
    border-radius: 12px;
    margin-bottom: 3rem;
}

.privacy-cta h2, .terms-cta h2 {
    margin-bottom: 1rem;
}

.privacy-cta p, .terms-cta p {
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.privacy-cta-buttons, .terms-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Disclaimer Page Styles */
.disclaimer-intro {
    margin-bottom: 3rem;
}

.warning-box {
    background: var(--accent-bg);
    border: 2px solid var(--highlight);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.warning-box h2 {
    color: var(--key-elements);
    margin-bottom: 1rem;
}

.disclaimer-sections {
    margin-bottom: 3rem;
}

.disclaimer-section {
    margin-bottom: 3rem;
}

.disclaimer-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    border-bottom: 2px solid var(--highlight);
    padding-bottom: 0.5rem;
}

.disclaimer-section h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem 0;
    color: var(--text-primary);
}

.disclaimer-section p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.disclaimer-section ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.disclaimer-section li {
    margin-bottom: 0.5rem;
}

.disclaimer-acknowledgment {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
}

.disclaimer-acknowledgment h2 {
    margin-bottom: 1rem;
}

.disclaimer-acknowledgment ul {
    margin-left: 2rem;
}

.disclaimer-acknowledgment li {
    margin-bottom: 0.5rem;
}

.disclaimer-cta {
    text-align: center;
    background: var(--bg-secondary);
    padding: 3rem;
    border-radius: 12px;
    margin-bottom: 3rem;
}

.disclaimer-cta h2 {
    margin-bottom: 1rem;
}

.disclaimer-cta p {
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.disclaimer-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Contact Us Page Styles */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.contact-info-section h2 {
    margin-bottom: 1rem;
}

.contact-info-section p {
    margin-bottom: 2rem;
}

.contact-methods {
    margin-bottom: 2rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 8px;
}

.contact-icon {
    font-size: 2rem;
    flex-shrink: 0;
    color: var(--highlight);
}

.contact-details h3 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.contact-details p {
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.support-hours {
    background: var(--bg-primary);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.support-hours h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.support-hours p {
    margin-bottom: 0.5rem;
}

.contact-form-section h2 {
    margin-bottom: 1rem;
}

.contact-form-section p {
    margin-bottom: 2rem;
}

.contact-form {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--highlight);
    box-shadow: 0 0 0 3px rgba(221, 136, 207, 0.1);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
}

.checkbox-label a {
    color: var(--highlight);
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.contact-additional {
    margin-bottom: 3rem;
}

.faq-preview {
    text-align: center;
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.faq-preview h2 {
    margin-bottom: 1rem;
}

.faq-preview p {
    margin-bottom: 1.5rem;
}

.support-categories h2 {
    text-align: center;
    margin-bottom: 2rem;
}

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

.support-category {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.support-category h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.support-category ul {
    margin-left: 1.5rem;
}

.support-category li {
    margin-bottom: 0.5rem;
}

.contact-cta {
    text-align: center;
    background: var(--bg-secondary);
    padding: 3rem;
    border-radius: 12px;
    margin-bottom: 3rem;
}

.contact-cta h2 {
    margin-bottom: 1rem;
}

.contact-cta p {
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* 404 Error Page Styles */
.error-page {
    padding: 4rem 0;
    text-align: center;
}

.error-content {
    margin-bottom: 3rem;
}

.error-icon {
    font-size: 5rem;
    margin-bottom: 1rem;
    color: var(--highlight);
}

.error-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.error-message {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.error-description {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.helpful-links {
    margin-bottom: 3rem;
}

.helpful-links h2 {
    margin-bottom: 2rem;
    color: var(--text-primary);
}

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

.link-card {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    text-align: center;
}

.link-card h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.link-card p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.btn-outline {
    background: transparent;
    color: var(--highlight);
    border: 2px solid var(--highlight);
}

.btn-outline:hover,
.btn-outline:focus {
    background: var(--highlight);
    color: var(--text-white);
}

.search-suggestion {
    text-align: center;
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 12px;
}

.search-suggestion h2 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.search-suggestion p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.search-categories {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.category-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--highlight);
    color: var(--text-white);
    text-decoration: none;
    border-radius: 6px;
    transition: var(--transition);
}

.category-link:hover,
.category-link:focus {
    background: var(--key-elements);
    transform: translateY(-2px);
}

/* Responsive Design for New Pages */
@media (max-width: 768px) {
    .about-grid,
    .mission-vision,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1.25rem;
    }
    
    .cta-buttons,
    .faq-cta-buttons,
    .privacy-cta-buttons,
    .terms-cta-buttons,
    .disclaimer-cta-buttons,
    .contact-cta-buttons,
    .error-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .search-categories {
        flex-direction: column;
        align-items: center;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Login and Register Sections - New Styles */
.login-section,
.register-section {
    padding: 5rem 0;
}

.login-section {
    background: var(--bg-primary);
}

.register-section {
    background: var(--bg-secondary);
}

.login-content,
.register-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    grid-template-areas: "content images";
}

.login-content > div:first-child,
.register-content > div:first-child {
    grid-area: content;
    justify-self: start;
}

.login-content > div:last-child,
.register-content > div:last-child {
    grid-area: images;
    justify-self: end;
}

.login-content h2,
.register-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    line-height: 1.2;
}

.login-content p,
.register-content p {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.login-content h3,
.register-content h3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

/* Benefits List Styling */
.login-content ul {
    list-style: none;
    margin: 1.5rem 0 2rem 0;
    padding-left: 0;
}

.login-content li {
    padding: 0.75rem 0;
    padding-left: 2.5rem;
    position: relative;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.login-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0.75rem;
    width: 20px;
    height: 20px;
    background: var(--highlight);
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: bold;
}

/* Registration Steps Styling */
.register-content ol {
    margin: 1.5rem 0 2rem 0;
    padding-left: 0;
    counter-reset: step-counter;
}

.register-content li {
    counter-increment: step-counter;
    padding: 1rem 0;
    padding-left: 4rem;
    position: relative;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.register-content li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 1rem;
    width: 32px;
    height: 32px;
    background: var(--key-elements);
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    box-shadow: var(--shadow);
}

/* Bold Keywords in Steps */
.register-content li strong {
    color: var(--text-primary);
    font-weight: 700;
}

/* Action Buttons */
.login-content .btn,
.register-content .btn {
    margin: 1.5rem 0;
    font-size: 1.1rem;
    padding: 14px 28px;
    min-width: 200px;
}

/* Notes and Links */
.login-note,
.register-note {
    margin-top: 1.5rem;
    font-size: 1rem;
    color: var(--text-secondary);
}

.login-note a,
.register-note a {
    color: var(--highlight);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.login-note a:hover,
.register-note a:focus {
    text-decoration: underline;
    color: var(--key-elements);
}

/* Hero Images */
.hero-image-login,
.hero-image {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Ensure content stays on the left */
.login-content > div:first-child,
.register-content > div:first-child {
    text-align: left;
    padding-right: 1rem;
}

/* Ensure images stay on the right */
.hero-image-login,
.hero-image {
    padding-left: 1rem;
}

.hero-image-login img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.hero-image-login img:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(75, 22, 76, 0.2);
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.hero-image img:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(75, 22, 76, 0.2);
}

/* Step Icons for Registration */
.register-content li::after {
    content: '';
    position: absolute;
    left: 3.5rem;
    top: 1.25rem;
    width: 24px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.7;
}

/* Step 1: Click/Register Icon */
.register-content li:nth-child(1)::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23DD88CF' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
}

/* Step 2: Form/Details Icon */
.register-content li:nth-child(2)::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23DD88CF' viewBox='0 0 24 24'%3E%3Cpath d='M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z'/%3E%3C/svg%3E");
}

/* Step 3: Email/Verify Icon */
.register-content li:nth-child(3)::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23DD88CF' viewBox='0 0 24 24'%3E%3Cpath d='M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E");
}

/* Step 4: Complete/Start Icon */
.register-content li:nth-child(4)::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23DD88CF' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E");
}

/* Responsive Design */
@media (max-width: 1024px) {
    .login-content,
    .register-content {
        gap: 2rem;
    }
    
    .login-content h2,
    .register-content h2 {
        font-size: 2.25rem;
    }
}

@media (max-width: 768px) {
    .login-content,
    .register-content {
        grid-template-columns: 1fr;
        grid-template-areas: "content" "images";
        gap: 2rem;
        text-align: center;
    }
    
    .login-content > div:first-child,
    .register-content > div:first-child {
        text-align: center;
        padding-right: 0;
    }
    
    .hero-image-login,
    .hero-image {
        padding-left: 0;
    }
    
    .login-content h2,
    .register-content h2 {
        font-size: 2rem;
    }
    
    .login-content h3,
    .register-content h3 {
        font-size: 1.5rem;
    }
    
    .login-content li,
    .register-content li {
        text-align: left;
        padding-left: 3rem;
    }
    
    .register-content li {
        padding-left: 3.5rem;
    }
    
    .register-content li::after {
        left: 3rem;
    }
    
    .hero-image-login img,
    .hero-image img {
        max-width: 100%;
    }
    
    .login-content .btn,
    .register-content .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .login-section,
    .register-section {
        padding: 3rem 0;
    }
    
    .login-content h2,
    .register-content h2 {
        font-size: 1.75rem;
    }
    
    .login-content h3,
    .register-content h3 {
        font-size: 1.25rem;
    }
    
    .login-content p,
    .register-content p {
        font-size: 1rem;
    }
    
    .login-content li,
    .register-content li {
        font-size: 1rem;
        padding-left: 2.5rem;
    }
    
    .register-content li {
        padding-left: 3rem;
    }
    
    .register-content li::before {
        width: 28px;
        height: 28px;
        font-size: 0.875rem;
    }
    
    .register-content li::after {
        width: 20px;
        height: 20px;
        left: 2.5rem;
    }
}

/* Animation for Steps */
@keyframes stepFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.register-content li {
    animation: stepFadeIn 0.6s ease-out forwards;
}

.register-content li:nth-child(1) { animation-delay: 0.1s; }
.register-content li:nth-child(2) { animation-delay: 0.2s; }
.register-content li:nth-child(3) { animation-delay: 0.3s; }
.register-content li:nth-child(4) { animation-delay: 0.4s; }

/* Hover Effects for Interactive Elements */
.login-content li:hover::before,
.register-content li:hover::before {
    transform: scale(1.1);
    transition: transform 0.2s ease;
}

.hero-image-login img:hover,
.hero-image img:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 30px -5px rgba(75, 22, 76, 0.25);
}

/* Focus States for Accessibility */
.login-content .btn:focus,
.register-content .btn:focus {
    outline: 3px solid var(--highlight);
    outline-offset: 2px;
}

.login-note a:focus,
.register-note a:focus {
    outline: 2px solid var(--highlight);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Games Slider Section - New Styles */
.games-slider-section {
    padding: 5rem 0;
    background: var(--bg-secondary);
    overflow: hidden;
}

.mobile-slider-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}

.slider-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--accent-bg) 0%, var(--bg-primary) 100%);
    padding: 3rem 0;
}

.slider-track {
    position: relative;
    height: 600px;
    width: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 50%;
    width: 280px;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mobile-interface {
    position: relative;
    max-width: 280px;
    width: 100%;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-lg);
}

/* Single focus slider with overlapping side previews - NO GAPS */
.slide {
    position: absolute;
    left: 50%;
    transform: translateX(-50%) scale(0.6);
    filter: blur(3px);
    opacity: 0.3;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide.active {
    transform: translateX(-50%) scale(1);
    filter: blur(0);
    opacity: 1;
    z-index: 10;
}

.slide.prev {
    transform: translateX(-85%) scale(0.75) rotateY(15deg);
    filter: blur(2px);
    opacity: 0.7;
    z-index: 5;
}

.slide.next {
    transform: translateX(-15%) scale(0.75) rotateY(-15deg);
    filter: blur(2px);
    opacity: 0.7;
    z-index: 5;
}

.slide:not(.active):not(.prev):not(.next) {
    transform: translateX(-50%) scale(0.4);
    filter: blur(4px);
    opacity: 0.1;
    z-index: 1;
}

.main-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 3px solid var(--bg-primary);
}

.mobile-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(75, 22, 76, 0.9));
    color: var(--text-white);
    padding: 1rem;
    border-radius: 0 0 17px 17px;
    text-align: center;
}

.game-info h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.game-info .price {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--highlight);
}

/* Navigation Arrows */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--highlight);
    color: var(--text-white);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: var(--shadow);
}

.slider-nav:hover {
    background: var(--key-elements);
    transform: translateY(-50%) scale(1.1);
    box-shadow: var(--shadow-lg);
}

.slider-nav:focus {
    outline: 3px solid var(--highlight);
    outline-offset: 2px;
}

.slider-nav.prev {
    left: 0;
}

.slider-nav.next {
    right: 0;
}

.slider-nav svg {
    width: 20px;
    height: 20px;
}

/* Thumbnail Navigation */
.thumbnail-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.thumbnail {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 12px;
    background: var(--bg-primary);
    border: 2px solid transparent;
    min-width: 80px;
}

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

.thumbnail.active {
    border-color: var(--highlight);
    background: var(--accent-bg);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.thumb-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    border: 2px solid var(--border-color);
}

.thumb-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
}

.thumbnail.active .thumb-label {
    color: var(--key-elements);
}

/* Responsive Design for Slider */
@media (max-width: 1024px) {
    .mobile-slider-container {
        padding: 0 40px;
        max-width: 1000px;
    }
    
    .slide {
        min-height: 500px;
        flex: 0 0 280px;
    }
    
    .mobile-interface {
        max-width: 250px;
    }
    
    .slider-track {
        gap: 1.5rem;
        padding: 0 1.5rem;
    }
}

@media (max-width: 768px) {
    .games-slider-section {
        padding: 3rem 0;
    }
    
    .mobile-slider-container {
        padding: 0 20px;
        max-width: 100%;
    }
    
    .slider-wrapper {
        padding: 1rem 0;
    }
    
    .slide {
        min-height: 400px;
        flex: 0 0 260px;
    }
    
    .mobile-interface {
        max-width: 220px;
    }
    
    .slider-track {
        gap: 1rem;
        padding: 0 1rem;
    }
}
    
    .slider-nav {
        width: 40px;
        height: 40px;
    }
    
    .slider-nav svg {
        width: 16px;
        height: 16px;
    }
    
    .thumbnail-nav {
        gap: 0.75rem;
        margin-top: 1.5rem;
    }
    
    .thumbnail {
        min-width: 70px;
        padding: 0.4rem;
    }
    
    .thumb-image {
        width: 50px;
        height: 50px;
    }
    
    .thumb-label {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .mobile-slider-container {
        padding: 0 15px;
    }
    
    .slide {
        min-height: 350px;
    }
    
    .mobile-interface {
        max-width: 220px;
    }
    
    .slider-nav {
        width: 36px;
        height: 36px;
    }
    
    .slider-nav svg {
        width: 14px;
        height: 14px;
    }
    
    .thumbnail-nav {
        gap: 0.5rem;
        margin-top: 1rem;
    }
    
    .thumbnail {
        min-width: 60px;
        padding: 0.3rem;
    }
    
    .thumb-image {
        width: 40px;
        height: 40px;
    }
    
    .thumb-label {
        font-size: 0.75rem;
    }
}

/* Touch/Swipe Support */
@media (hover: none) and (pointer: coarse) {
    .slider-nav:hover {
        transform: translateY(-50%);
    }
    
    .thumbnail:hover {
        transform: none;
    }
    
    .thumbnail.active {
        transform: translateY(-3px);
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .mobile-interface {
        border: 3px solid var(--text-primary);
    }
    
    .slider-nav {
        border: 2px solid var(--text-primary);
    }
    
    .thumbnail.active {
        border-color: var(--text-primary);
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .slider-track {
        transition: none;
    }
    
    .mobile-interface {
        transition: none;
    }
    
    .slider-nav:hover {
        transform: translateY(-50%);
    }
    
    .thumbnail:hover {
        transform: none;
    }
}

/* Enhanced Fanned Layout Effects */
.slide {
    backface-visibility: hidden;
    will-change: transform;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mobile-interface {
    backface-visibility: hidden;
    will-change: transform;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Hover effects for side slides */
.slide:not(.active):hover .mobile-interface {
    transform: scale(1.05);
    filter: blur(0.5px);
    opacity: 0.9;
    cursor: pointer;
}

/* Active slide emphasis */
.slide.active .mobile-interface {
    animation: activeSlideGlow 2s ease-in-out infinite alternate;
}

@keyframes activeSlideGlow {
    0% {
        box-shadow: 0 20px 40px rgba(75, 22, 76, 0.3);
    }
    100% {
        box-shadow: 0 25px 50px rgba(75, 22, 76, 0.4);
    }
}

/* Thumbnail hover effects */
.thumbnail:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: var(--shadow-lg);
}

.thumbnail.active {
    transform: translateY(-8px) scale(1.1);
    box-shadow: 0 15px 30px rgba(221, 136, 207, 0.4);
}
