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

:root {
    --sky-blue: #87CEEB;
    --light-pink: #FFB6C1;
    --lime-green: #B0FF57;
    --crimson: #DC143C;
    --lavender: #B19CD9;
    --light-purple: #DDA0DD;
    --white: #ffffff;
    --dark: #2c3e50;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden;
}

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

/* Header */
.header {
    background: linear-gradient(135deg, var(--sky-blue), var(--light-purple));
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo h1 {
    color: var(--white);
    font-size: 1.8rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

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

.nav-menu a:hover,
.nav-menu a.active {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
}

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

.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--light-pink), var(--lavender));
    padding: 4rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 500px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../image/heroelf6.jpeg') center/cover;
    opacity: 0.2;
    z-index: 0;
}

.hero-about::before {
    background: url('../image/herofei5.jpg') center/cover;
    opacity: 0.3;
}

.hero-games::before {
    background: url('../image/heroelf55.jpg') center/cover;
    opacity: 0.3;
}

.hero-news::before {
    background: url('../image/herofeiel1.jpg') center/cover;
    opacity: 0.3;
}

.hero-reviews::before {
    background: url('../image/heroelf3.jpeg') center/cover;
    opacity: 0.3;
}

.hero-contact::before {
    background: url('../image/elf5.jpg') center/cover;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 2rem;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
}

.hero-image {
    position: relative;
    z-index: 1;
}

.hero-image img {
    max-width: 400px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transform: translateZ(0);
}

.btn-primary {
    background: linear-gradient(135deg, var(--crimson), var(--light-pink));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(220, 20, 60, 0.6);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--lime-green), var(--sky-blue));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(176, 255, 87, 0.4);
}

.btn-secondary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(176, 255, 87, 0.6);
}

/* Registration CTA */
.registration-cta {
    background: linear-gradient(135deg, var(--lime-green), var(--sky-blue));
    padding: 3rem 2rem;
    text-align: center;
    color: var(--white);
}

.registration-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.registration-cta p {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.registration-cta strong {
    font-size: 1.5rem;
    color: var(--crimson);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.registration-cta .btn {
    background: linear-gradient(135deg, var(--crimson), var(--lavender));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.5);
}

.registration-cta .btn:hover {
    background: linear-gradient(135deg, var(--lavender), var(--light-purple));
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(177, 156, 217, 0.6);
}

/* About Preview */
.about-preview {
    padding: 4rem 2rem;
    background: var(--white);
}

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

.section-header h2 {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--lavender), var(--sky-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.feature-card {
    background: linear-gradient(135deg, var(--light-pink), var(--light-purple));
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.feature-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.feature-card p {
    color: var(--white);
    opacity: 0.9;
}

/* Contact Main */
.contact-main {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #1e3a5f, #2c5282);
    color: var(--white);
}

.contact-main .section-header h2 {
    color: #000000 !important;
    text-shadow: none;
    font-weight: bold;
}

.mini-game-section .section-header h2 {
    color: #000000 !important;
    text-shadow: none !important;
    font-weight: bold !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #000000 !important;
    background: none !important;
    background-clip: unset !important;
}

/* Black headers in statistics and FAQ sections */
.page-section .section-header h2[style*="color: #000000"],
.page-section .section-header h2[style*="color:#000000"] {
    color: #000000 !important;
    text-shadow: none !important;
    font-weight: bold !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #000000 !important;
    background: none !important;
    background-clip: unset !important;
}

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

.contact-item {
    background: rgba(255,255,255,0.2);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.contact-item h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

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

.contact-item a:hover {
    text-decoration: underline;
}

/* Map */
.contact-map {
    padding: 4rem 2rem;
    background: var(--white);
}

.contact-map h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--dark);
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    transform: translateZ(0);
}

.map-container iframe {
    display: block;
    width: 100%;
    border: none;
}

/* Registration Section */
.registration-section {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--light-pink), var(--lavender));
    min-height: 80vh;
}

.registration-content {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.registration-content h1 {
    text-align: center;
    color: var(--dark);
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.registration-bonus {
    background: linear-gradient(135deg, var(--lime-green), var(--sky-blue));
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    color: var(--white);
    text-align: center;
}

.registration-bonus h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.registration-bonus ul {
    list-style: none;
    margin-top: 1rem;
    text-align: left;
}

.registration-bonus li {
    padding: 0.5rem 0;
    list-style: disc;
    margin-left: 1.5rem;
}


.registration-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

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

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group textarea {
    padding: 12px;
    border: 2px solid var(--lavender);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--crimson);
    box-shadow: 0 0 0 3px rgba(220, 20, 60, 0.1);
}

.form-group input[type="checkbox"] {
    margin-right: 0.5rem;
}

.form-group a {
    color: var(--crimson);
    text-decoration: none;
}

.form-group a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--dark), #34495e);
    color: var(--white);
    padding: 3rem 2rem 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(--light-purple);
}

.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);
    opacity: 0.8;
}

.footer-section a:hover {
    opacity: 1;
    color: var(--light-purple);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.7;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--dark), #34495e);
    color: var(--white);
    padding: 1.5rem;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-content p {
    flex: 1;
    min-width: 300px;
}

.cookie-content a {
    color: var(--light-purple);
    text-decoration: underline;
}

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

.cookie-buttons .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* Animations */
.fade-in {
    animation: fadeIn 0.8s ease-out;
}

.fade-in-delay {
    animation: fadeIn 0.8s ease-out 0.2s both;
}

.fade-in-delay-2 {
    animation: fadeIn 0.8s ease-out 0.4s both;
}

.slide-in {
    animation: slideIn 0.8s ease-out;
}

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

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Accordion */
.accordion {
    margin: 2rem 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.accordion-item {
    background: var(--white);
    border-radius: 10px;
    margin-bottom: 1rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: var(--transition);
}

.accordion-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.accordion-header {
    background: linear-gradient(135deg, var(--sky-blue), var(--light-purple));
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--white);
    font-weight: 600;
    transition: var(--transition);
    user-select: none;
}

.accordion-header:hover {
    background: linear-gradient(135deg, var(--light-pink), var(--lavender));
}

.accordion-header::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: bold;
    transition: var(--transition);
    flex-shrink: 0;
    margin-left: 1rem;
}

.accordion-item.active .accordion-header::after {
    content: '−';
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 1.5rem;
}

.accordion-item.active .accordion-content {
    max-height: 2000px;
    padding: 1.5rem;
}

.accordion-content p {
    margin-bottom: 1rem;
    color: var(--dark);
    line-height: 1.8;
}

.accordion-content ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.accordion-content li {
    margin-bottom: 0.5rem;
}

.accordion-content strong {
    color: var(--crimson);
}

/* Tables */
.table-container {
    margin: 2rem auto;
    overflow-x: auto;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    background: var(--white);
    max-width: 100%;
}

.table-container table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    min-width: 600px;
    margin: 0;
    border: 1px solid rgba(0,0,0,0.1);
}

.table-container thead {
    background: linear-gradient(135deg, var(--sky-blue), var(--light-purple));
    color: var(--white);
}

.table-container th {
    padding: 1rem 1.5rem;
    text-align: left;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid rgba(255,255,255,0.3);
    border-right: 1px solid rgba(255,255,255,0.2);
    color: var(--white);
}

.table-container th:last-child {
    border-right: none;
}

.table-container td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    border-right: 1px solid rgba(0,0,0,0.05);
    color: var(--dark);
    font-size: 0.95rem;
    background: var(--white);
}

.table-container td:last-child {
    border-right: none;
}

.table-container tbody tr {
    transition: var(--transition);
    background: var(--white);
}

.table-container tbody tr:nth-child(even) {
    background: rgba(135, 206, 235, 0.05);
}

.table-container tbody tr:hover {
    background: linear-gradient(135deg, rgba(135, 206, 235, 0.15), rgba(221, 160, 221, 0.15));
}

.table-container tbody tr:last-child td {
    border-bottom: none;
}

.table-container tbody tr:last-child {
    font-weight: 600;
    background: linear-gradient(135deg, rgba(135, 206, 235, 0.2), rgba(221, 160, 221, 0.2));
}

/* Table with colored backgrounds in sections */
section[style*="background"] .table-container {
    background: rgba(255,255,255,0.95);
}

section[style*="background"] .table-container table {
    background: rgba(255,255,255,0.95);
}

section[style*="background"] .table-container thead {
    background: linear-gradient(135deg, var(--sky-blue), var(--light-purple));
}

section[style*="background"] .table-container th {
    color: var(--white) !important;
}

section[style*="background"] .table-container td {
    color: var(--dark);
    background: rgba(255,255,255,0.95);
}

section[style*="background"] .table-container tbody tr {
    background: rgba(255,255,255,0.95);
}

section[style*="background"] .table-container tbody tr:nth-child(even) {
    background: rgba(135, 206, 235, 0.1);
}

section[style*="background"] .table-container tbody tr:hover {
    background: rgba(255,255,255,0.8);
}

/* Special styling for tables with checkmarks */
.table-container td:contains("✓") {
    text-align: center;
    font-size: 1.2rem;
    color: var(--lime-green);
}

.table-container td:contains("−") {
    text-align: center;
    color: var(--crimson);
}

/* Page Sections */
.page-section {
    padding: 4rem 2rem;
}

.page-section h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    background: linear-gradient(135deg, var(--lavender), var(--sky-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

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

.game-card {
    background: linear-gradient(135deg, var(--sky-blue), var(--light-purple));
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
}

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

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

.game-card-content {
    padding: 1.5rem;
    color: var(--white);
}

.game-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

/* News Page */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.news-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

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

.news-card-content {
    padding: 1.5rem;
}

.news-card-date {
    color: var(--lavender);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.news-card h3 {
    color: var(--dark);
    margin-bottom: 1rem;
}

/* Reviews Page */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.review-card {
    background: linear-gradient(135deg, var(--light-pink), var(--lavender));
    border-radius: 15px;
    padding: 2rem;
    color: var(--white);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.review-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.review-stars {
    color: #FFD700;
    margin: 0.5rem 0;
}

.review-date {
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Contact Form */
.contact-form-section {
    padding: 4rem 2rem;
    background: var(--white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-form {
    background: linear-gradient(135deg, var(--light-pink), var(--lavender));
    padding: 2rem;
    border-radius: 15px;
}

.contact-form h2 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.contact-info-side {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-item {
    background: linear-gradient(135deg, var(--sky-blue), var(--light-purple));
    padding: 1.5rem;
    border-radius: 15px;
    color: var(--white);
}

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

/* Thank You Page */
.thank-you-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, var(--light-pink), var(--lavender));
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thank-you-content {
    text-align: center;
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    max-width: 600px;
}

.thank-you-content h1 {
    color: var(--dark);
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.thank-you-content p {
    color: var(--dark);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Policy Pages */
.policy-section {
    padding: 4rem 2rem;
    background: var(--white);
}

.policy-content {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

.policy-content h2 {
    color: var(--dark);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.policy-content h3 {
    color: var(--lavender);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.policy-content ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.policy-content p {
    margin-bottom: 1rem;
}

.policy-date {
    color: var(--lavender);
    font-style: italic;
    margin-bottom: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
        max-width: 100%;
    }

    .page-section {
        padding: 2rem 1rem;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: linear-gradient(135deg, var(--sky-blue), var(--light-purple));
        flex-direction: column;
        padding: 5rem 2rem;
        transition: right 0.3s ease;
        z-index: 1000;
        box-shadow: -2px 0 10px rgba(0,0,0,0.2);
    }

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

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

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

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

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-image img {
        max-width: 100%;
        margin-top: 2rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }

    .map-container iframe {
        height: 300px;
    }

    .registration-content {
        padding: 2rem 1.5rem;
    }

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

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .registration-cta h2 {
        font-size: 2rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Mini Game Section */
.mini-game-section {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--light-pink), var(--lavender));
}

.game-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.game-score {
    display: flex;
    justify-content: space-around;
    margin-bottom: 2rem;
    padding: 1rem;
    background: linear-gradient(135deg, var(--sky-blue), var(--light-purple));
    border-radius: 15px;
    color: var(--white);
}

.score-item {
    text-align: center;
}

.score-label {
    display: block;
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.score-value {
    display: block;
    font-size: 1.8rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.game-board {
    min-height: 400px;
    height: 400px;
    background: linear-gradient(135deg, #f0f8ff, #e6e6fa);
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    border: 3px solid var(--lavender);
    width: 100%;
}

.game-start-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    background: rgba(255,255,255,0.95);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.game-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    background: rgba(255,255,255,0.95);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.game-start-message h3,
.game-message h3 {
    color: var(--dark);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.game-start-message p,
.game-message p {
    color: var(--dark);
    margin-bottom: 1.5rem;
}

.crystal {
    position: absolute;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--sky-blue), var(--light-purple));
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: transform 0.2s ease;
    animation: crystalAppear 0.3s ease;
    border: 3px solid var(--white);
}

.crystal::before {
    content: '✨';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
}

.crystal:hover {
    transform: scale(1.2);
}

.crystal.collected {
    animation: crystalCollect 0.5s ease forwards;
}

@keyframes crystalAppear {
    from {
        opacity: 0;
        transform: scale(0);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes crystalCollect {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.5) rotate(180deg);
    }
    100% {
        transform: scale(0) rotate(360deg);
        opacity: 0;
    }
}

.game-controls {
    margin-top: 2rem;
    text-align: center;
}

.game-over-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    background: rgba(255,255,255,0.95);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.game-over-message h3 {
    color: var(--crimson);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.game-over-message p {
    color: var(--dark);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .game-score {
        flex-direction: column;
        gap: 1rem;
    }

    .game-board {
        min-height: 300px;
    }

    .crystal {
        width: 50px;
        height: 50px;
    }

    .crystal::before {
        font-size: 1.5rem;
    }

    /* Tables on mobile - convert to cards */
    .table-container {
        margin: 1rem 0;
        border-radius: 8px;
        width: 100%;
        max-width: 100%;
        overflow: visible;
    }

    .table-container table {
        min-width: auto;
        width: 100%;
        max-width: 100%;
        display: block;
        border: none;
    }

    .table-container thead {
        display: none;
    }

    .table-container tbody {
        display: block;
        width: 100%;
    }

    .table-container tbody tr {
        display: block;
        background: var(--white);
        border: 1px solid rgba(0,0,0,0.1);
        border-radius: 10px;
        margin-bottom: 1rem;
        padding: 0.75rem;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        width: 100%;
        box-sizing: border-box;
    }

    .table-container tbody tr:last-child {
        margin-bottom: 0;
    }

    .table-container tbody td {
        display: block;
        padding: 0.5rem 0;
        border: none;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        text-align: left;
        font-size: 0.85rem;
        width: 100%;
        box-sizing: border-box;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .table-container tbody td:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .table-container tbody td::before {
        content: attr(data-label);
        font-weight: 600;
        display: block;
        margin-bottom: 0.25rem;
        color: var(--crimson);
        font-size: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 0.3px;
        line-height: 1.3;
    }
}

@media (max-width: 480px) {
    .table-container {
        margin: 0.75rem 0;
        padding: 0;
    }

    .table-container tbody tr {
        padding: 0.6rem;
        margin-bottom: 0.75rem;
        border-radius: 8px;
    }

    .table-container tbody td {
        padding: 0.4rem 0;
        font-size: 0.8rem;
        line-height: 1.4;
    }

    .table-container tbody td::before {
        font-size: 0.7rem;
        margin-bottom: 0.2rem;
        letter-spacing: 0.2px;
    }
}

