/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a4d3a; /* Dark green */
    --secondary-color: #2d6a4f;
    --accent-color: #40916c;
    --bg-dark: #f0f8f5; /* Very light green */
    --bg-darker: #e0f0ea;
    --text-light: #2d2d2d;
    --text-white: #ffffff;
    --border-color: #2d6a4f;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background-color: var(--bg-darker);
    border-bottom: 2px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-color);
    text-decoration: none;
}

.nav {
    display: block;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    padding: 0;
    margin: 0;
}

.nav-list a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
}

.nav-list a:hover,
.nav-list a.active {
    color: var(--accent-color);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-light);
    transition: all 0.3s;
}

/* Hero Section */
.hero {
    background: #1a8a4a;
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-text-box {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
    font-weight: bold;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #ffffff;
    font-weight: 600;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #ffffff;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--text-white);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
}

.btn-secondary:hover {
    background-color: var(--accent-color);
    color: var(--text-white);
}

/* Game Section */
.game-section {
    padding: 4rem 0;
    background-color: var(--bg-dark);
}

.game-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.section-description {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.sequence-game {
    max-width: 800px;
    margin: 0 auto;
}

.sequence-question {
    background-color: var(--bg-darker);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.sequence-question h3 {
    color: var(--accent-color);
    margin-bottom: 2rem;
    text-align: center;
    font-size: 1.3rem;
}

.sequence-display {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.sequence-number {
    background-color: var(--primary-color);
    color: var(--text-white);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-size: 2rem;
    font-weight: bold;
    min-width: 60px;
    text-align: center;
    border: 2px solid var(--border-color);
}

.sequence-number.missing {
    background-color: var(--accent-color);
    font-size: 2.5rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.answer-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.answer-btn {
    padding: 1rem 2rem;
    background-color: var(--primary-color);
    color: var(--text-white);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.answer-btn:hover:not(:disabled) {
    background-color: var(--accent-color);
    transform: translateY(-2px);
}

.answer-btn:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

.answer-btn.correct {
    background-color: #4caf50;
    border-color: #4caf50;
}

.answer-btn.wrong {
    background-color: #f44336;
    border-color: #f44336;
}

.game-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    background-color: var(--bg-darker);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
}

.level-info {
    color: var(--accent-color);
    font-size: 1.1rem;
    margin-left: 2rem;
}

.score-display {
    font-size: 1.2rem;
    color: var(--accent-color);
}

/* Features Section */
.features {
    padding: 4rem 0;
    background-color: var(--bg-darker);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--accent-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.about-content .features-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}


.feature-card {
    background-color: var(--primary-color);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s;
    color: var(--text-white);
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.feature-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-white);
}

/* Contact Info Section */
.contact-info-section {
    padding: 4rem 0;
    background-color: var(--bg-dark);
}

.contact-info-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--accent-color);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}


.contact-item {
    text-align: center;
    padding: 2rem;
    background-color: var(--primary-color);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    color: var(--text-white);
}

.contact-item h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.contact-item p {
    color: var(--text-white);
}

.contact-item a {
    color: var(--text-white);
    text-decoration: none;
}

.contact-item a:hover {
    color: var(--accent-color);
}

.contact-map {
    margin-top: 3rem;
}

.contact-map h3 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--accent-color);
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--border-color);
}

.map-container iframe {
    display: block;
    width: 100%;
}

/* Footer */
.footer {
    background-color: var(--bg-darker);
    border-top: 2px solid var(--border-color);
    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 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
    opacity: 0.8;
}

.fs-note {
    margin-top: 1rem;
    font-size: 0.85rem;
    font-style: italic;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--primary-color);
    border-top: 2px solid var(--border-color);
    padding: 1.5rem;
    z-index: 10000;
    display: none;
}

.cookie-banner.show {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.cookie-content p {
    color: #000;
    margin: 0;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-content a {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Page Hero (for inner pages) */
.page-hero {
    background: var(--bg-dark);
    padding: 3rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero .hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}


.page-hero .hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.page-hero p {
    font-size: 1.2rem;
    color: #ffffff;
    opacity: 1;
}

/* About Page Styles */
.about-content {
    padding: 4rem 0;
    background-color: var(--bg-dark);
    background-image: url('../image/car8.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.about-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 0;
}

.about-content .container {
    position: relative;
    z-index: 1;
}

.about-sections-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}


.about-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background-color: var(--bg-darker);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.about-sections-grid .about-section {
    margin-bottom: 0;
}

.about-section-with-image {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.about-section-content {
    flex: 1;
}

.about-section-image {
    flex: 0 0 200px;
    max-width: 200px;
}

.about-section-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

.about-section h2 {
    color: var(--accent-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.about-section p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.feature-list {
    list-style: none;
    padding-left: 0;
    margin: 1.5rem 0;
}

.feature-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* Games Page Styles */
.games-content {
    padding: 4rem 0;
    background-color: var(--bg-dark);
}

.games-content .games-grid,
.games-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2rem;
    margin-bottom: 3rem;
}


.game-card-large {
    background-color: var(--bg-darker);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 0;
    transition: transform 0.3s, box-shadow 0.3s;
    color: #000;
    overflow: hidden;
}

.game-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.game-card-large .game-card-header,
.game-card-large .game-description,
.game-card-large .game-info,
.game-card-large .btn {
    padding: 0 2rem;
}

.game-card-large .game-card-header {
    padding-top: 2rem;
}

.game-card-large .btn {
    margin: 0 2rem 2rem 2rem;
    display: inline-block;
}

.game-card-large:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(64, 145, 108, 0.3);
}

.game-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.game-card-header h3 {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin: 0;
}

.game-level {
    background-color: var(--primary-color);
    color: var(--text-white);
    padding: 0.3rem 0.8rem;
    border-radius: 5px;
    font-size: 0.9rem;
}

.game-description {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: #000;
}

.game-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.fs-requirement {
    color: var(--accent-color);
    font-weight: bold;
}

.fs-reward {
    color: #000;
}

.fs-info-box {
    background-color: var(--bg-darker);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    margin-top: 3rem;
}

.fs-info-box h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.fs-info-box ul {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0;
}

.fs-info-box ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.fs-info-box ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-size: 1.5rem;
}

/* Bonuses Page Styles */
.bonuses-content {
    padding: 4rem 0;
    background-color: var(--bg-dark);
}

.bonuses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.bonus-card {
    background-color: var(--bg-darker);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
    color: var(--text-white);
}

.bonus-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(64, 145, 108, 0.3);
}

.bonus-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background-color: var(--accent-color);
    color: var(--text-white);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
}

.bonus-card h3 {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin: 1rem 0;
}

.bonus-amount {
    font-size: 2rem;
    font-weight: bold;
    color: var(--accent-color);
    margin: 1rem 0;
}

.bonus-description {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: var(--text-white);
}

.bonus-info {
    background-color: var(--bg-darker);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    margin-top: 3rem;
}

.bonus-info h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

/* News Page Styles */
.news-content {
    padding: 4rem 0;
    background-color: var(--bg-dark);
}

.news-content .news-grid,
.news-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2rem;
}


.news-card {
    background-color: var(--bg-darker);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 0;
    transition: transform 0.3s, box-shadow 0.3s;
    color: #000;
    overflow: hidden;
}

.news-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.news-card .news-date,
.news-card h3,
.news-card p,
.news-card .btn {
    padding: 0 2rem;
}

.news-card .news-date {
    padding-top: 2rem;
}

.news-card .btn {
    margin: 0 2rem 2rem 2rem;
    display: inline-block;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(64, 145, 108, 0.3);
}

.news-date {
    color: var(--accent-color);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: block;
}

.news-card h3 {
    color: #000;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.news-card p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: #000;
}

/* Reviews Page Styles */
.reviews-content {
    padding: 4rem 0;
    background-color: var(--bg-dark);
}

.reviews-content .reviews-grid,
.reviews-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2rem;
    margin-bottom: 3rem;
}


.review-card {
    background-color: var(--bg-darker);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    transition: transform 0.3s, box-shadow 0.3s;
    color: #000;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(64, 145, 108, 0.3);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.review-author h3 {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.review-rating {
    color: #ffd700;
    font-size: 1rem;
}

.review-date {
    color: #000;
    font-size: 0.9rem;
    opacity: 0.7;
}

.review-text {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: #000;
}

.review-fs {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.review-fs span {
    color: var(--accent-color);
    font-weight: bold;
}

.add-review-section {
    background-color: var(--bg-darker);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
}

.add-review-section h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.add-review-section p {
    margin-bottom: 1.5rem;
}

/* Contact Page Styles */
.contact-content {
    padding: 4rem 0;
    background-color: var(--bg-dark);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.contact-info-side,
.contact-form-side {
    margin-bottom: 3rem;
}

.contact-info-side {
    max-width: 100%;
}

.contact-form-side {
    max-width: 800px;
    margin: 0 auto 3rem auto;
}

.contact-info-side h2,
.contact-form-side h2 {
    color: var(--accent-color);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.contact-info-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}


.contact-info-item {
    background-color: var(--bg-darker);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
}

.contact-info-item h3 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.contact-info-item p {
    margin: 0.3rem 0;
}

.contact-info-item a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info-item a:hover {
    color: var(--accent-color);
}

/* Contact Form Styles */
.contact-form {
    background-color: var(--bg-darker);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-light);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    background-color: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    color: var(--text-light);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Thank You Page Styles */
.thank-you-section {
    padding: 6rem 0;
    background-color: var(--bg-dark);
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.thank-you-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.thank-you-content h1 {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.thank-you-content p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.thank-you-content .btn {
    margin-top: 2rem;
}

/* Policy Pages Styles */
.policy-content {
    padding: 4rem 0;
    background-color: var(--bg-dark);
}

.policy-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background-color: var(--bg-darker);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 3rem;
}

.policy-wrapper h1 {
    color: var(--accent-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.policy-date {
    color: var(--text-light);
    opacity: 0.7;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.policy-section {
    margin-bottom: 2.5rem;
}

.policy-section h2 {
    color: var(--accent-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.policy-section h3 {
    color: var(--accent-color);
    font-size: 1.3rem;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

.policy-section p {
    line-height: 1.8;
    margin-bottom: 1rem;
}

.policy-section ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.policy-section ul li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.policy-section a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s;
}

.policy-section a:hover {
    color: var(--text-light);
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Force all grids to one column */
    *[class*="grid"],
    [class*="Grid"] {
        display: grid !important;
    }
    
    /* Hide default navigation on mobile */
    .header-content .nav {
        position: fixed !important;
        top: 0;
        right: -100% !important;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: #ffffff;
        transition: right 0.3s ease;
        z-index: 1000;
        padding: 2rem;
        overflow-y: auto;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        border-left: 2px solid var(--border-color);
    }
    
    /* Mobile Menu */
    .mobile-menu-toggle {
        display: flex !important;
    }

    .nav.active {
        right: 0 !important;
    }

    .nav::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: -1;
        opacity: 0;
        transition: opacity 0.3s;
        pointer-events: none;
    }

    .nav.active::before {
        opacity: 1;
        pointer-events: all;
    }

    .nav-list {
        flex-direction: column !important;
        gap: 1.5rem;
        margin-top: 3rem;
        list-style: none;
        padding: 0;
    }

    .nav-list li {
        width: 100%;
    }

    .nav-list a {
        display: block;
        padding: 0.75rem 1rem;
        font-size: 1.1rem;
        border-radius: 4px;
        transition: background-color 0.3s, color 0.3s;
        color: #000000;
        text-decoration: none;
    }

    .nav-list a:hover {
        background-color: rgba(64, 145, 108, 0.15);
        color: #000000;
    }
    
    .nav-list a.active {
        background-color: rgba(64, 145, 108, 0.2);
        color: #000000;
        font-weight: 600;
    }

    .mobile-menu-toggle {
        position: relative;
        z-index: 1001;
        padding: 0.5rem;
        min-width: 44px;
        min-height: 44px;
    }

    .mobile-menu-toggle span {
        display: block;
        width: 25px;
        height: 3px;
        background-color: var(--text-light);
        transition: all 0.3s;
        margin: 3px 0;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
        transform-origin: center;
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
        transform-origin: center;
    }

    body.menu-open {
        overflow: hidden;
    }

    /* Container */
    .container {
        padding: 0 1rem;
    }

    /* Header */
    .header {
        padding: 0.75rem 0;
    }

    .header-content {
        padding: 0 1rem;
    }

    .logo a {
        font-size: 1.25rem;
    }

    /* Hero Section */
    .hero {
        padding: 3rem 0;
        background: #1a8a4a;
    }

    .hero h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
        color: #ffffff;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        color: #ffffff;
    }

    .hero-description {
        font-size: 0.95rem;
        color: #ffffff;
    }

    .hero-text-box {
        padding: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }

    .hero-image,
    .page-hero .hero-image {
        opacity: 1;
    }
    
    .hero-image img,
    .page-hero .hero-image img {
        opacity: 1;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* Page Hero */
    .page-hero {
        padding: 2rem 0;
        background: var(--bg-dark);
    }

    .page-hero h1 {
        font-size: 1.75rem;
        color: #ffffff;
    }

    .page-hero p {
        font-size: 0.95rem;
        color: #ffffff;
        opacity: 1;
    }

    /* Sections */
    section {
        padding: 2rem 0;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    /* Features Grid - One column */
    .features-grid,
    .about-content .features-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
        display: grid !important;
    }

    .about-sections-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
        display: grid !important;
    }

    .about-section-with-image {
        flex-direction: column;
    }

    .about-section-image {
        flex: 1 1 100%;
        max-width: 100%;
        width: 100%;
    }

    .about-section-image img {
        width: 100%;
        height: auto;
    }

    /* Games Grid - One column */
    .games-content .games-grid,
    .games-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
        display: grid !important;
    }

    /* News Grid - One column */
    .news-content .news-grid,
    .news-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
        display: grid !important;
    }

    /* Reviews Grid - One column */
    .reviews-content .reviews-grid,
    .reviews-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
        display: grid !important;
    }

    /* Bonuses Grid - One column */
    .bonuses-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
        display: grid !important;
    }

    /* Contact Info - One column */
    .contact-info-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
        display: grid !important;
    }

    .contact-info-list {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
        display: grid !important;
    }

    .contact-wrapper {
        grid-template-columns: 1fr !important;
        gap: 2rem;
        display: grid !important;
    }
    
    /* Force all cards to stack vertically */
    .game-card-large,
    .news-card,
    .review-card,
    .feature-card,
    .bonus-card,
    .contact-item,
    .contact-info-item {
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 1.5rem;
    }

    .contact-form-side {
        margin-top: 2rem;
    }

    /* Cards */
    .game-card-large,
    .news-card,
    .review-card,
    .feature-card,
    .bonus-card {
        padding: 1.5rem;
    }

    .game-card-image,
    .news-image,
    .feature-image {
        height: 200px;
        width: 100%;
        object-fit: cover;
        display: block;
        opacity: 1;
    }
    
    /* Ensure all images are visible */
    img {
        opacity: 1 !important;
        max-width: 100%;
        height: auto;
    }
    
    .game-card-image,
    .news-image,
    .feature-image {
        opacity: 1 !important;
    }

    .game-card-large .btn,
    .news-card .btn {
        width: 100%;
        margin-top: 1rem;
    }

    /* Buttons */
    .btn {
        padding: 12px 20px;
        font-size: 0.95rem;
        min-height: 44px;
        touch-action: manipulation;
    }

    .btn-primary,
    .btn-secondary {
        width: auto;
        min-width: 120px;
    }

    /* Forms */
    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 12px;
        min-height: 44px;
    }

    /* Footer - One column */
    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 2rem;
        text-align: center;
    }

    .footer-section {
        text-align: center;
    }

    /* Cookie Banner */
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .cookie-buttons {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }

    .cookie-buttons .btn {
        width: 100%;
    }

    /* Game Section */
    .answer-options {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .answer-btn {
        font-size: 1.1rem;
        padding: 1rem;
        min-height: 50px;
    }

    .sequence-number {
        font-size: 1.5rem;
        padding: 0.75rem 1rem;
        min-width: 45px;
    }

    .sequence-number.missing {
        font-size: 1.75rem;
    }

    .game-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .level-info {
        margin-left: 0;
        margin-top: 0.5rem;
    }

    /* FAQ */
    .faq-question {
        padding: 1rem;
        min-height: 44px;
    }

    .faq-toggle {
        font-size: 1.5rem;
        min-width: 44px;
        min-height: 44px;
    }

    /* Tables */
    .table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 0 -1rem;
        padding: 0 1rem;
    }

    /* Convert Tables to Cards on Mobile */
    .leaderboard-table,
    .games-detail-table,
    .stats-table {
        font-size: 0.85rem;
        display: block;
        border-collapse: separate;
        border-spacing: 0;
    }
    
    /* Hide table header on mobile */
    .leaderboard-table thead,
    .games-detail-table thead,
    .stats-table thead {
        display: none;
    }
    
    /* Convert table rows to cards */
    .leaderboard-table tbody,
    .games-detail-table tbody,
    .stats-table tbody {
        display: block;
    }
    
    .leaderboard-table tbody tr,
    .games-detail-table tbody tr,
    .stats-table tbody tr {
        display: block;
        margin-bottom: 1.5rem;
        background-color: var(--bg-darker);
        border: 2px solid var(--border-color);
        border-radius: 8px;
        padding: 1rem;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    /* Convert table cells to card fields */
    .leaderboard-table tbody td,
    .games-detail-table tbody td,
    .stats-table tbody td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(45, 106, 79, 0.3);
        border-left: none;
        border-right: none;
        text-align: left;
    }
    
    .leaderboard-table tbody td:last-child,
    .games-detail-table tbody td:last-child,
    .stats-table tbody td:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    
    /* Add labels using ::before pseudo-element */
    .leaderboard-table tbody td::before,
    .games-detail-table tbody td::before,
    .stats-table tbody td::before {
        font-weight: bold;
        color: var(--accent-color);
        margin-right: 1rem;
        flex-shrink: 0;
        min-width: 140px;
    }
    
    /* Specific labels for leaderboard table */
    .leaderboard-table tbody td:nth-child(1)::before {
        content: "Sıra: ";
    }
    
    .leaderboard-table tbody td:nth-child(2)::before {
        content: "Oyuncu: ";
    }
    
    .leaderboard-table tbody td:nth-child(3)::before {
        content: "FS Puanı: ";
    }
    
    .leaderboard-table tbody td:nth-child(4)::before {
        content: "Seviye: ";
    }
    
    .leaderboard-table tbody td:nth-child(5)::before {
        content: "Tamamlanan Oyunlar: ";
    }
    
    /* Game detail table labels */
    .games-detail-table tbody td:nth-child(1)::before {
        content: "Oyun: ";
    }
    
    .games-detail-table tbody td:nth-child(2)::before {
        content: "Seviye: ";
    }
    
    .games-detail-table tbody td:nth-child(3)::before {
        content: "FS Puanı: ";
    }
    
    /* Stats table - special styling */
    .stats-table tbody td {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .stats-table tbody td:first-child {
        font-weight: bold;
        color: var(--accent-color);
    }
    
    /* Remove table-specific styles on mobile */
    .leaderboard-table th,
    .games-detail-table th {
        display: none;
    }
    
    /* Special styling for first place cards */
    .leaderboard-table tbody tr:nth-child(1) {
        background-color: rgba(255, 215, 0, 0.2);
        border-color: rgba(255, 215, 0, 0.5);
    }
    
    .leaderboard-table tbody tr:nth-child(2) {
        background-color: rgba(192, 192, 192, 0.2);
        border-color: rgba(192, 192, 192, 0.5);
    }
    
    .leaderboard-table tbody tr:nth-child(3) {
        background-color: rgba(205, 127, 50, 0.2);
        border-color: rgba(205, 127, 50, 0.5);
    }
    
    /* Table container adjustments */
    .table-container {
        overflow-x: visible;
        margin: 0;
        padding: 0;
    }

    /* Game Card Header */
    .game-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .review-header {
        flex-direction: column;
        gap: 0.5rem;
    }

    /* Map */
    .map-container iframe {
        height: 300px;
    }

    /* Policy Pages */
    .policy-wrapper {
        padding: 2rem 1rem;
    }

    .policy-wrapper h1 {
        font-size: 1.75rem;
    }

    .policy-section h2 {
        font-size: 1.5rem;
    }

    /* Thank You Page */
    .thank-you-content h1 {
        font-size: 1.75rem;
    }

    /* Contact Items */
    .contact-item,
    .contact-info-item {
        padding: 1.25rem;
    }

    /* Prevent horizontal scroll */
    body {
        overflow-x: hidden;
        max-width: 100vw;
    }

    html {
        overflow-x: hidden;
    }

    /* Images - Full visibility like desktop */
    img {
        max-width: 100%;
        height: auto;
        opacity: 1 !important;
    }
    
    /* Ensure all background images are visible */
    .about-content {
        background-image: url('../image/car8.jpg') !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
    }
    
    .leaderboard-section {
        background-image: url('../image/fon.jpg') !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
    }
    
    /* Ensure all card images are fully visible */
    .game-card-image,
    .news-image,
    .feature-image,
    .about-section-image img {
        opacity: 1 !important;
        filter: none !important;
    }
    
    /* Hero images full opacity */
    .hero-image img,
    .page-hero .hero-image img {
        opacity: 1 !important;
    }
    
    /* Page hero styling */
    .page-hero {
        background: var(--bg-dark);
    }
    
    .page-hero h1 {
        color: #ffffff;
    }
    
    .page-hero p {
        color: #ffffff;
        opacity: 1;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.75rem;
    }

    .page-hero h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .container {
        padding: 0 0.75rem;
    }

    .game-card-large,
    .news-card,
    .review-card,
    .feature-card {
        padding: 1rem;
    }

    .btn {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out;
}

.game-card-large,
.bonus-card,
.news-card,
.review-card {
    animation: slideIn 0.6s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus Styles for Accessibility */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Leaderboard Table Styles */
.leaderboard-section {
    padding: 4rem 0;
    background-color: var(--bg-darker);
    background-image: url('../image/fon.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.leaderboard-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.leaderboard-section .container {
    position: relative;
    z-index: 1;
}

.leaderboard-section h2 {
    color: #ffffff;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.leaderboard-section .section-description {
    color: #ffffff;
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 1;
}

.table-container {
    overflow-x: auto;
    margin-top: 2rem;
}

.leaderboard-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--bg-darker);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.leaderboard-table thead {
    background-color: var(--primary-color);
}

.leaderboard-table th {
    padding: 1rem;
    text-align: left;
    color: var(--text-white);
    font-weight: bold;
    border-bottom: 2px solid var(--border-color);
}

.leaderboard-table td {
    padding: 1rem;
    color: var(--text-white);
    border-bottom: 1px solid var(--border-color);
}

.leaderboard-table tbody tr {
    background-color: var(--bg-darker);
    transition: background-color 0.3s;
}


.leaderboard-table tbody tr:nth-child(1) {
    background-color: rgba(255, 215, 0, 0.2);
}

.leaderboard-table tbody tr:nth-child(1) td {
    color: #000000;
}

.leaderboard-table tbody tr:nth-child(2) {
    background-color: rgba(192, 192, 192, 0.2);
}

.leaderboard-table tbody tr:nth-child(2) td {
    color: #000000;
}

.leaderboard-table tbody tr:nth-child(3) {
    background-color: rgba(205, 127, 50, 0.2);
}

.leaderboard-table tbody tr:nth-child(3) td {
    color: #000000;
}

.leaderboard-table tbody tr:nth-child(4),
.leaderboard-table tbody tr:nth-child(5),
.leaderboard-table tbody tr:nth-child(6),
.leaderboard-table tbody tr:nth-child(7),
.leaderboard-table tbody tr:nth-child(8) {
    background-color: rgba(255, 255, 255, 0.3);
}

.leaderboard-table tbody tr:nth-child(4) td,
.leaderboard-table tbody tr:nth-child(5) td,
.leaderboard-table tbody tr:nth-child(6) td,
.leaderboard-table tbody tr:nth-child(7) td,
.leaderboard-table tbody tr:nth-child(8) td {
    color: #000000;
}

/* FAQ Accordion Styles */
.faq-section {
    padding: 4rem 0;
    background-color: var(--bg-dark);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--bg-darker);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: var(--primary-color);
}

.faq-item.active .faq-question {
    background-color: rgba(0, 0, 0, 0.5) !important;
}

.faq-item.active {
    background-color: rgba(0, 0, 0, 0.7) !important;
}

.faq-question h3 {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin: 0;
    flex: 1;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-color);
    transition: transform 0.3s;
    min-width: 30px;
    text-align: center;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem 1.5rem;
}

.faq-answer p {
    color: var(--text-white);
    line-height: 1.6;
    margin: 0;
    padding-top: 1rem;
}

/* Stats Table Styles */
.stats-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--bg-darker);
    border-radius: 8px;
    overflow: hidden;
}

.stats-table td {
    padding: 1rem 1.5rem;
    color: var(--text-white);
    border-bottom: 1px solid var(--border-color);
}

.stats-table td:first-child {
    color: var(--accent-color);
    width: 60%;
}

.stats-table tr:last-child td {
    border-bottom: none;
}

.stats-table tr:hover {
    background-color: var(--primary-color);
}

/* Games Detail Table */
.games-table-section {
    margin-top: 3rem;
    padding: 2rem;
    background-color: var(--bg-darker);
    border: 2px solid var(--border-color);
    border-radius: 8px;
}

.games-table-section h3 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.games-detail-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--bg-darker);
}

.games-detail-table thead {
    background-color: var(--primary-color);
}

.games-detail-table th {
    padding: 1rem;
    text-align: left;
    color: var(--text-white);
    font-weight: bold;
    border-bottom: 2px solid var(--border-color);
}

.games-detail-table td {
    padding: 1rem;
    color: var(--text-white);
    border-bottom: 1px solid var(--border-color);
}

.games-detail-table tbody tr {
    transition: background-color 0.3s;
}

.games-detail-table tbody tr:hover {
    background-color: var(--primary-color);
}

/* FAQ Section in Contact Page */
.contact-content .faq-section {
    margin-top: 4rem;
    padding: 0;
}

.contact-content .faq-section .container {
    padding: 0;
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .cookie-banner,
    .mobile-menu-toggle {
        display: none;
    }
}

