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

:root {
    --primary-color: #000000;
    --secondary-color: #3E432E;
    --accent-color: #616F39;
    --highlight-color: #A7D129;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --dark-gray: #333333;
    --text-color: #333333;
    --border-color: #e0e0e0;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

/* 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-color);
    outline-offset: 2px;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--highlight-color), var(--accent-color));
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(167, 209, 41, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 999;
}

.back-to-top:hover {
    background: linear-gradient(135deg, var(--accent-color), var(--highlight-color));
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(167, 209, 41, 0.4);
}

.back-to-top:focus {
    outline: 2px solid var(--highlight-color);
    outline-offset: 2px;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.back-to-top:hover svg {
    transform: translateY(-2px);
}

/* Mobile responsive back to top */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .back-to-top svg {
        width: 18px;
        height: 18px;
    }
}

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

/* Header and Navigation */
.header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.navbar {
    padding: 1rem 0;
}

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

.nav-logo img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
}

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

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav-link:hover,
.nav-link.active {
    background-color: var(--highlight-color);
    color: var(--primary-color);
}

.nav-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
    min-width: 120px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--highlight-color), var(--accent-color));
    color: var(--primary-color);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(167, 209, 41, 0.3);
}

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

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

.btn-login {
    background: var(--accent-color);
    color: var(--white);
}

.btn-login:hover {
    background: var(--highlight-color);
    color: var(--primary-color);
}

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

.btn-register:hover {
    background: var(--accent-color);
    color: var(--white);
}

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

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    transition: var(--transition);
}

/* Main Content */
main {
    margin-top: 80px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 6rem 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="hero-pattern" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="2" fill="%23A7D129" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23hero-pattern)"/></svg>');
    opacity: 0.3;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, var(--white), transparent);
}

.hero-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--highlight-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.7;
    animation: fadeInUp 1s ease-out 0.2s both;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}

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

/* Section Styles */
.section-title {
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--primary-color);
    position: relative;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 5px;
    background: linear-gradient(135deg, var(--highlight-color), var(--accent-color));
    border-radius: 3px;
    box-shadow: 0 2px 10px rgba(167, 209, 41, 0.3);
}

.section-title::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, var(--highlight-color), var(--accent-color));
    border-radius: 2px;
    opacity: 0.7;
}

/* Features Section */
.features-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--light-gray), var(--white));
    position: relative;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23A7D129" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.feature-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(167, 209, 41, 0.1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--highlight-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--highlight-color);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-icon svg {
    width: 64px;
    height: 64px;
    color: var(--highlight-color);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon svg {
    color: var(--accent-color);
    transform: scale(1.1);
}

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

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

.login-section {
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    color: var(--white);
}

.login-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.login-content {
    text-align: left;
}

.login-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.login-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.login-image {
    text-align: center;
}

.login-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.register-section {
    background: linear-gradient(135deg, var(--highlight-color), var(--accent-color));
    color: var(--primary-color);
    text-align: center;
}

.register-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.register-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section */
.about-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, var(--white), var(--light-gray));
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="about-pattern" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M0 50 Q25 25 50 50 T100 50" stroke="%23A7D129" stroke-width="1" fill="none" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23about-pattern)"/></svg>');
    opacity: 0.2;
}

.about-content {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.about-content h2 {
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-size: 3.5rem;
    position: relative;
    font-weight: 800;
}

.about-content h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 5px;
    background: linear-gradient(135deg, var(--highlight-color), var(--accent-color));
    border-radius: 3px;
    box-shadow: 0 2px 10px rgba(167, 209, 41, 0.3);
}

.about-content p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    line-height: 1.8;
    color: var(--text-color);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Story Grid Layout */
.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.story-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.story-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-color);
    text-align: center;
}

.story-text p:last-child {
    margin-bottom: 0;
}

.story-image {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.story-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.story-image:hover img {
    transform: scale(1.05);
}

.story-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(167, 209, 41, 0.1), rgba(97, 111, 57, 0.1));
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.story-image:hover::before {
    opacity: 1;
}

/* Games Section */
.games-section {
    padding: 5rem 0;
    background: var(--light-gray);
}

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

.game-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.game-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.game-card h3 {
    padding: 1rem;
    color: var(--primary-color);
    margin: 0;
}

.game-card p {
    padding: 0 1rem 1rem;
    color: var(--text-color);
}

/* Benefits Section */
.benefits-section {
    padding: 5rem 0;
    background: var(--white);
}

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

.benefit-item {
    text-align: center;
    padding: 2rem;
}

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

/* Testimonials Section */
.testimonials-section {
    padding: 5rem 0;
    background: var(--light-gray);
}

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

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-size: 4rem;
    color: var(--highlight-color);
    position: absolute;
    top: -10px;
    left: 20px;
    font-family: serif;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1rem;
    padding-top: 1rem;
}

.testimonial-author {
    font-weight: 600;
    color: var(--accent-color);
}

/* Stats Section */
.stats-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23A7D129" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.5;
}

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

.stats-section .section-title {
    color: var(--white);
    margin-bottom: 3rem;
    font-size: 2.5rem;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(167, 209, 41, 0.1), rgba(97, 111, 57, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--highlight-color);
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-item h3 {
    font-size: 3.5rem;
    color: var(--highlight-color);
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.stat-item p {
    font-size: 1.2rem;
    opacity: 0.95;
    position: relative;
    z-index: 1;
    font-weight: 500;
}

/* CTA Section */
.cta-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, var(--highlight-color), var(--accent-color));
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="cta-pattern" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="3" fill="%23ffffff" opacity="0.1"/><circle cx="80" cy="80" r="2" fill="%23ffffff" opacity="0.1"/><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23cta-pattern)"/></svg>');
    opacity: 0.3;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    color: var(--primary-color);
    font-size: 3.5rem;
    margin-bottom: 2rem;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cta-content p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    color: var(--primary-color);
    font-weight: 500;
}

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

.cta-buttons .btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cta-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--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(--highlight-color);
}

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

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

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

.footer-section a:hover {
    color: var(--highlight-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: inline-block;
    padding: 0.5rem;
    background: var(--accent-color);
    border-radius: 5px;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--highlight-color);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--accent-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--primary-color);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: var(--transition);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-buttons {
        flex-direction: column;
        gap: 0.5rem;
        margin-top: 2rem;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero-section .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .hero-buttons {
        justify-content: center;
    }

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

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

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

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

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

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

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth scrolling for older browsers */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Additional Styles for New Elements */

/* Story Grid */
.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.story-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

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

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

.team-member {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.team-member img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
}

.team-member h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.team-member .position {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Policy Sections */
.policy-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.policy-section h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.policy-section ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

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

/* Contact Form */
.contact-form-container {
    max-width: 600px;
    margin: 0 auto;
}

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

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

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

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

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

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

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

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

.support-category {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

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

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

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

/* FAQ Styles */
.faq-categories {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
    position: relative;
}

.faq-categories::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(135deg, var(--highlight-color), var(--accent-color));
    border-radius: 2px;
}

.faq-category-btn {
    padding: 1rem 2rem;
    background: var(--white);
    border: 2px solid var(--accent-color);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.faq-category-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(167, 209, 41, 0.2), transparent);
    transition: left 0.5s ease;
}

.faq-category-btn:hover::before {
    left: 100%;
}

.faq-category-btn.active,
.faq-category-btn:hover {
    background: linear-gradient(135deg, var(--highlight-color), var(--accent-color));
    color: var(--white);
    border-color: var(--highlight-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(167, 209, 41, 0.3);
}

.faq-category {
    display: none;
    animation: fadeInUp 0.5s ease-out;
}

.faq-category.active {
    display: block;
}

.faq-category h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    font-weight: 800;
}

.faq-category h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--highlight-color), var(--accent-color));
    border-radius: 2px;
}

.faq-item {
    background: var(--white);
    margin-bottom: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid rgba(167, 209, 41, 0.1);
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--highlight-color);
}

.faq-item h3 {
    padding: 2rem;
    margin: 0;
    background: linear-gradient(135deg, var(--light-gray), var(--white));
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 700;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.faq-item h3::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--accent-color);
    transition: transform 0.3s ease;
}

.faq-item.active h3::after {
    transform: rotate(45deg);
}

.faq-item h3:hover {
    background: linear-gradient(135deg, var(--highlight-color), var(--accent-color));
    color: var(--white);
}

.faq-item h3:hover::after {
    color: var(--white);
}

.faq-answer {
    padding: 0 2rem 2rem;
    background: var(--white);
    line-height: 1.7;
}

.faq-answer p {
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-size: 1.1rem;
}

.faq-answer ul,
.faq-answer ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
    color: var(--text-color);
}

.faq-answer li {
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.faq-item-preview {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.faq-link {
    text-align: center;
}

/* Privacy Policy Page Styles */
.privacy-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.policy-section {
    background: var(--white);
    margin-bottom: 3rem;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(167, 209, 41, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.policy-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--highlight-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.policy-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--highlight-color);
}

.policy-section:hover::before {
    transform: scaleX(1);
}

.policy-section h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    position: relative;
    padding-left: 1rem;
}

.policy-section h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 30px;
    background: linear-gradient(135deg, var(--highlight-color), var(--accent-color));
    border-radius: 2px;
}

.policy-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.policy-section ul {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.policy-section li {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 0.8rem;
    color: var(--text-color);
    position: relative;
    padding-left: 1rem;
}

.policy-section li::before {
    content: '•';
    color: var(--highlight-color);
    font-weight: bold;
    position: absolute;
    left: -1rem;
}

.policy-section strong {
    color: var(--primary-color);
    font-weight: 700;
}

/* Privacy Policy Hero Enhancement */
.privacy-content .hero-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    position: relative;
    overflow: hidden;
}

.privacy-content .hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="privacy-pattern" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="2" fill="%23A7D129" opacity="0.1"/><circle cx="80" cy="80" r="2" fill="%23A7D129" opacity="0.1"/><circle cx="50" cy="50" r="1" fill="%23A7D129" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23privacy-pattern)"/></svg>');
    opacity: 0.3;
}

/* Error Page Styles */
.error-content {
    text-align: center;
}

.error-number {
    font-size: 8rem;
    font-weight: 700;
    color: var(--highlight-color);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

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

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

.quick-nav-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.quick-nav-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.quick-nav-item ul {
    list-style: none;
    padding: 0;
}

.quick-nav-item li {
    margin-bottom: 0.5rem;
}

/* Game Features */
.game-features {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.game-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.game-features li:last-child {
    border-bottom: none;
}

.game-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(167, 209, 41, 0.1), rgba(97, 111, 57, 0.1));
    border-radius: 12px;
    border: 1px solid rgba(167, 209, 41, 0.2);
    transition: all 0.3s ease;
}

.game-card:hover .game-stats {
    background: linear-gradient(135deg, rgba(167, 209, 41, 0.15), rgba(97, 111, 57, 0.15));
    border-color: var(--highlight-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(167, 209, 41, 0.2);
}

.rtp,
.volatility {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--highlight-color);
    padding: 0.5rem 1rem;
    background: rgba(167, 209, 41, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(167, 209, 41, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.rtp::before,
.volatility::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(167, 209, 41, 0.2), transparent);
    transition: left 0.5s ease;
}

.game-card:hover .rtp::before,
.game-card:hover .volatility::before {
    left: 100%;
}

.rtp {
    color: var(--highlight-color);
}

.volatility {
    color: var(--accent-color);
}

/* Games Slider Section */
.games-slider-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    position: relative;
    overflow: visible;
}

.slider-header {
    text-align: center;
    margin-bottom: 3rem;
}

.slider-header .section-title {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.slider-header .emoji {
    font-size: 2.5rem;
}

.language-badge {
    background: var(--highlight-color);
    color: var(--primary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    display: inline-block;
    margin-top: 1rem;
}

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

.mobile-slider-container {
    overflow: visible;
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 600px;
    perspective: 1000px;
}

.mobile-slide {
    position: absolute;
    width: 300px;
    text-align: center;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center center;
}

/* Fanned out positioning for 5 slides */
.mobile-slide[data-slide="0"] {
    transform: translateX(-600px) rotateY(-25deg) scale(0.7);
    opacity: 0.4;
    z-index: 1;
}

.mobile-slide[data-slide="1"] {
    transform: translateX(-300px) rotateY(-15deg) scale(0.8);
    opacity: 0.6;
    z-index: 2;
}

.mobile-slide[data-slide="2"] {
    transform: translateX(0) rotateY(0deg) scale(1);
    opacity: 1;
    z-index: 5;
}

.mobile-slide[data-slide="3"] {
    transform: translateX(300px) rotateY(15deg) scale(0.8);
    opacity: 0.6;
    z-index: 2;
}

.mobile-slide[data-slide="4"] {
    transform: translateX(600px) rotateY(25deg) scale(0.7);
    opacity: 0.4;
    z-index: 1;
}

.mobile-screen {
    position: relative;
    margin-bottom: 1rem;
    border-radius: 20px;
    overflow: hidden;
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

.game-screenshot {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

.game-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.game-icon {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
    border: 3px solid var(--highlight-color);
}

.game-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--white);
}

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

.slider-nav:hover {
    background: var(--accent-color);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.slider-nav.prev {
    left: 20px;
}

.slider-nav.next {
    right: 20px;
}

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

/* Game Thumbnails */
.game-thumbnails {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.thumbnail-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.thumbnail-item.active,
.thumbnail-item:hover {
    opacity: 1;
    background: rgba(167, 209, 41, 0.1);
}

.thumbnail-icon {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.thumbnail-item.active .thumbnail-icon {
    border-color: var(--highlight-color);
}

.thumbnail-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--highlight-color);
    text-align: center;
}

.slider-slogan {
    text-align: center;
    margin-top: 3rem;
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.provider-item {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.provider-item img {
    margin-bottom: 1rem;
}

.provider-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Responsive Design for New Elements */
@media (max-width: 768px) {
    .story-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .faq-categories {
        flex-direction: column;
        align-items: center;
    }
    
    .faq-category-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .error-number {
        font-size: 4rem;
    }
    
    .error-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .game-stats {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .providers-grid {
        grid-template-columns: 1fr;
    }
    
    /* About Page Mobile Responsive */
    .hero-section {
        padding: 4rem 0;
        min-height: 60vh;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .story-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .story-text {
        text-align: center;
    }
    
    .about-content h2 {
        font-size: 2.5rem;
    }
    
    .about-content p {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2.5rem;
        margin-bottom: 3rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .stat-item {
        padding: 1.5rem;
    }
    
    .stat-item h3 {
        font-size: 2.5rem;
    }
    
    .stat-item p {
        font-size: 1rem;
    }
    
    .cta-content h2 {
        font-size: 2.5rem;
    }
    
    .cta-content p {
        font-size: 1.1rem;
    }
    
    .cta-buttons {
        gap: 1rem;
    }
    
    .cta-buttons .btn {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
    
    /* FAQ Mobile Responsive */
    .faq-categories {
        gap: 1rem;
        margin-bottom: 3rem;
    }
    
    .faq-category-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .faq-category h2 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .faq-item h3 {
        padding: 1.5rem;
        font-size: 1.1rem;
    }
    
    .faq-answer {
        padding: 0 1.5rem 1.5rem;
    }
    
    .faq-answer p {
        font-size: 1rem;
    }
    
    .faq-answer li {
        font-size: 1rem;
    }
    
    /* Privacy Policy Mobile Responsive */
    .privacy-content {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .policy-section {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
    }
    
    .policy-section h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .policy-section p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .policy-section li {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    /* Login Section Mobile Responsive */
    .login-section .container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .login-content {
        text-align: center;
    }
    
    .login-content h2 {
        font-size: 2rem;
    }
    
    .login-content p {
        font-size: 1rem;
    }
    
    /* Games Slider Mobile Responsive */
    .slider-header .section-title {
        font-size: 2rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .mobile-games-slider {
        padding: 0 16px;
    }
    
    .mobile-slider {
        height: 500px;
    }
    
    .mobile-slide {
        width: 250px;
    }
    
    /* Adjust fanned-out positioning for mobile */
    .mobile-slide[data-slide="0"] {
        transform: translateX(-400px) rotateY(-20deg) scale(0.6);
    }
    
    .mobile-slide[data-slide="1"] {
        transform: translateX(-200px) rotateY(-10deg) scale(0.7);
    }
    
    .mobile-slide[data-slide="2"] {
        transform: translateX(0) rotateY(0deg) scale(0.9);
    }
    
    .mobile-slide[data-slide="3"] {
        transform: translateX(200px) rotateY(10deg) scale(0.7);
    }
    
    .mobile-slide[data-slide="4"] {
        transform: translateX(400px) rotateY(20deg) scale(0.6);
    }
    
    .slider-nav {
        width: 40px;
        height: 40px;
    }
    
    .slider-nav.prev {
        left: 10px;
    }
    
    .slider-nav.next {
        right: 10px;
    }
    
    .slider-nav svg {
        width: 20px;
        height: 20px;
    }
    
    .game-thumbnails {
        gap: 0.5rem;
    }
    
    .thumbnail-icon {
        width: 40px;
        height: 40px;
    }
    
    .thumbnail-name {
        font-size: 0.7rem;
    }
}

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

    body {
        color: black;
        background: white;
    }

    .hero-section {
        background: white;
        color: black;
    }
} 