
:root {
    
    --deep-ocean: #1e3a5f;
    --sea-blue: #2c5f8d;
    --aqua: #40a3a3;
    
    
    --light-sea: #7fb3b3;
    --sandy: #f5e6d3;
    --coral: #ff6b6b;
    
    
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --dark-gray: #2c3e50;
    --text-dark: #34495e;
    
    
    --ocean-gradient: linear-gradient(135deg, #1e3a5f 0%, #2c5f8d 100%);
    --wave-gradient: linear-gradient(180deg, #2c5f8d 0%, #40a3a3 100%);
    --hero-gradient: linear-gradient(135deg, #1e3a5f 0%, #2c5f8d 50%, #40a3a3 100%);
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    width: 100%;
}

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

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

@media (max-width: 768px) {
    .container {
        max-width: 100%;
        padding: 0 12px;
    }
}

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


.main-header {
    background: var(--ocean-gradient);
    color: var(--white);
    padding: 1rem 0;
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
}

.logo h1 {
    font-size: 1.8rem;
    margin: 0;
}


.menu-toggle {
    display: none;
    background: none;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    color: var(--white);
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0.5rem 0.75rem;
    z-index: 1001;
    transition: all 0.3s ease;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
}

.menu-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.menu-toggle.active {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: var(--aqua);
}

.menu-toggle:focus {
    outline: 2px solid var(--aqua);
    outline-offset: 2px;
}

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

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

.main-nav a:hover,
.main-nav a.active {
    background-color: rgba(255, 255, 255, 0.2);
}


.wave-decoration {
    height: 20px;
    background: var(--wave-gradient);
    position: relative;
    overflow: hidden;
}

.wave-decoration::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 100%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255, 255, 255, 0.1) 10px,
        rgba(255, 255, 255, 0.1) 20px
    );
    animation: wave 10s linear infinite;
}

@keyframes wave {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}


.hero {
    background: var(--hero-gradient);
    color: var(--white);
    padding: 4rem 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-text {
    text-align: left;
}

.hero-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

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


.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background-color: var(--light-sea);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--sea-blue);
}

.btn-secondary:hover {
    background-color: var(--sandy);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-small {
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
}


.features {
    padding: 4rem 0;
    background-color: var(--white);
}

.features h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--deep-ocean);
}

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

    .feature-card {
        background: var(--sandy);
        padding: 2rem;
        border-radius: 10px;
        text-align: center;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s;
    }

    @media (max-width: 768px) {
        .feature-card {
            padding: 1.5rem;
        }
    }

    @media (max-width: 480px) {
        .feature-card {
            padding: 1.2rem;
        }
    }

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-image {
    width: 100%;
    height: 200px;
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.feature-card h3 {
    color: var(--deep-ocean);
    margin-bottom: 1rem;
}

    .feature-card p {
        margin-bottom: 1.5rem;
        color: var(--text-dark);
        word-wrap: break-word;
        overflow-wrap: break-word;
    }


.page-header {
    background: var(--ocean-gradient);
    color: var(--white);
    padding: 3rem 0;
}

.page-header-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.page-header-text {
    text-align: left;
}

.page-header-text h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-header-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.page-header-image img {
    width: 100%;
    height: auto;
    display: block;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}


.latest-content {
    padding: 4rem 0;
    background-color: var(--light-gray);
}

.latest-content h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--deep-ocean);
}

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

    .preview-card {
        background: var(--white);
        padding: 2rem;
        border-radius: 10px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        border-left: 4px solid var(--aqua);
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    @media (max-width: 768px) {
        .preview-card {
            padding: 1.5rem;
        }
    }

    @media (max-width: 480px) {
        .preview-card {
            padding: 1.2rem;
        }
    }

.preview-card h3 {
    color: var(--sea-blue);
    margin-bottom: 0.5rem;
}

.preview-card h4 {
    color: var(--deep-ocean);
    margin-bottom: 1rem;
}

.read-more {
    color: var(--aqua);
    text-decoration: none;
    font-weight: 600;
}

.read-more:hover {
    text-decoration: underline;
}


.forum-sections {
    padding: 3rem 0;
}

    .forum-category {
        margin-bottom: 3rem;
        background: var(--white);
        padding: 2rem;
        border-radius: 10px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    @media (max-width: 768px) {
        .forum-category {
            padding: 1.5rem;
            margin-bottom: 2rem;
        }
    }

    @media (max-width: 480px) {
        .forum-category {
            padding: 1.2rem;
            margin-bottom: 1.5rem;
        }
    }

.category-header {
    border-bottom: 3px solid var(--aqua);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.category-header h2 {
    color: var(--deep-ocean);
    margin-bottom: 0.5rem;
}

.forum-topics {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

    .topic-card {
        background: var(--light-gray);
        padding: 1.5rem;
        border-radius: 8px;
        border-left: 4px solid var(--sea-blue);
        transition: transform 0.2s;
    }

    @media (max-width: 768px) {
        .topic-card {
            padding: 1.2rem;
        }
    }

    @media (max-width: 480px) {
        .topic-card {
            padding: 1rem;
        }
    }

.topic-card:hover {
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.topic-card h3 {
    color: var(--deep-ocean);
    margin-bottom: 0.5rem;
}

.topic-meta {
    color: var(--text-dark);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

    .topic-preview {
        color: var(--text-dark);
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

.forum-cta {
    background: var(--sandy);
    padding: 3rem 0;
    text-align: center;
    margin: 3rem 0;
}

.forum-cta h2 {
    color: var(--deep-ocean);
    margin-bottom: 1rem;
}


.article-content {
    padding: 3rem 0;
    background: var(--white);
}

.article-header {
    border-bottom: 3px solid var(--aqua);
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.article-header h2 {
    color: var(--deep-ocean);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.article-image {
    margin: 1.5rem 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.article-image img {
    width: 100%;
    height: auto;
    display: block;
}

.article-meta {
    color: var(--text-dark);
    font-size: 0.9rem;
}

    .article-body {
        max-width: 800px;
        margin: 0 auto;
    }

    @media (max-width: 768px) {
        .article-body {
            padding: 0 4px;
        }

        .article-body p,
        .article-body li,
        .article-body ul,
        .article-body ol {
            word-wrap: break-word;
            overflow-wrap: break-word;
            hyphens: auto;
        }
    }

    @media (max-width: 480px) {
        .article-body {
            padding: 0 2px;
        }
    }

.article-body .lead {
    font-size: 1.2rem;
    color: var(--deep-ocean);
    margin-bottom: 2rem;
    font-weight: 500;
}

.article-body h3 {
    color: var(--sea-blue);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.article-body ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.article-body li {
    margin-bottom: 0.5rem;
}

.article-conclusion {
    font-style: italic;
    color: var(--text-dark);
    margin-top: 2rem;
    padding: 1rem;
    background: var(--sandy);
    border-left: 4px solid var(--aqua);
    border-radius: 5px;
}


.game-section {
    padding: 3rem 0;
    background: var(--light-gray);
}

.game-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

    .game-info {
        background: var(--white);
        padding: 2rem;
        border-radius: 10px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        height: fit-content;
    }

    @media (max-width: 768px) {
        .game-info {
            padding: 1.5rem;
        }
    }

    @media (max-width: 480px) {
        .game-info {
            padding: 1.2rem;
        }
    }

.score-display {
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--ocean-gradient);
    color: var(--white);
    border-radius: 8px;
}

.score-display h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.fs-info {
    font-size: 0.85rem;
    opacity: 0.9;
}

.timer-display {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background: var(--sea-blue);
    color: var(--white);
    border-radius: 8px;
    border: 2px solid var(--aqua);
}

.timer-display h3 {
    font-size: 1.5rem;
    margin: 0;
}

.timer-display span {
    font-size: 1.8rem;
    font-weight: bold;
    transition: color 0.3s;
}

.game-controls {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.game-stats {
    padding-top: 1rem;
    border-top: 2px solid var(--light-gray);
}

.game-stats p {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.game-area {
    position: relative;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

#gameCanvas {
    display: block;
    width: 100%;
    height: auto;
    background: linear-gradient(180deg, #87CEEB 0%, #4682B4 100%);
    cursor: crosshair;
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 58, 95, 0.9);
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

.game-overlay h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.game-overlay p {
    margin-bottom: 0.5rem;
}

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

.game-rules {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.game-rules h3 {
    color: var(--deep-ocean);
    margin-bottom: 1rem;
}

.game-rules ul {
    margin-left: 2rem;
}

.game-rules li {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}


.about-content {
    padding: 3rem 0;
}

    .about-section {
        background: var(--white);
        padding: 2rem;
        border-radius: 10px;
        margin-bottom: 2rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    @media (max-width: 768px) {
        .about-section {
            padding: 1.5rem;
            margin-bottom: 1.5rem;
        }
    }

    @media (max-width: 480px) {
        .about-section {
            padding: 1.2rem;
            margin-bottom: 1.2rem;
        }
    }

.about-section h2 {
    color: var(--deep-ocean);
    margin-bottom: 1rem;
}

    .about-section p {
        margin-bottom: 1rem;
        color: var(--text-dark);
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

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

.feature-item {
    padding: 1.5rem;
    background: var(--sandy);
    border-radius: 8px;
    border-left: 4px solid var(--aqua);
}

.feature-item h3 {
    color: var(--deep-ocean);
    margin-bottom: 0.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}


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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--sandy);
    border-radius: 8px;
    border-left: 4px solid var(--aqua);
    transition: transform 0.3s;
}

.contact-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.contact-details h3 {
    color: var(--deep-ocean);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

    .contact-details p {
        margin: 0;
        color: var(--text-dark);
        line-height: 1.6;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

.contact-details a {
    color: var(--sea-blue);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-details a:hover {
    color: var(--aqua);
    text-decoration: underline;
}

.map-container {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--light-gray);
}

.map-container h3 {
    color: var(--deep-ocean);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.google-map {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 3px solid var(--aqua);
}

.google-map iframe {
    display: block;
    width: 100%;
    height: 450px;
    border: none;
}


.main-footer {
    background: var(--deep-ocean);
    color: var(--white);
    padding: 4rem 0 1rem;
    margin-top: 4rem;
}

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

.footer-section {
    min-width: 200px;
}

.footer-section h4 {
    margin-bottom: 1.2rem;
    color: var(--aqua);
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

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

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

.footer-section a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.footer-section a:hover {
    color: var(--aqua);
    padding-left: 5px;
}

.footer-contact-info {
    margin-top: 1rem;
}

.footer-contact-info p {
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
}

.footer-contact-info a {
    color: var(--aqua);
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(64, 163, 163, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.footer-social a:hover {
    background: var(--aqua);
    transform: translateY(-3px);
    padding-left: 0;
}

.fs-explanation {
    font-size: 0.9rem;
    line-height: 1.6;
    background: rgba(64, 163, 163, 0.2);
    padding: 1rem;
    border-radius: 5px;
    border-left: 3px solid var(--aqua);
}

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


.legal-content {
    padding: 3rem 0;
    background: var(--white);
}

    .legal-section {
        margin-bottom: 3rem;
        padding: 2rem;
        background: var(--light-gray);
        border-radius: 10px;
        border-left: 4px solid var(--aqua);
    }

    @media (max-width: 768px) {
        .legal-section {
            padding: 1.5rem;
            margin-bottom: 2rem;
        }
    }

    @media (max-width: 480px) {
        .legal-section {
            padding: 1.2rem;
            margin-bottom: 1.5rem;
        }
    }

.legal-section h2 {
    color: var(--deep-ocean);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--aqua);
}

.legal-section h3 {
    color: var(--sea-blue);
    font-size: 1.3rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

    .legal-section p {
        margin-bottom: 1rem;
        line-height: 1.8;
        color: var(--text-dark);
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

.legal-section ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
    color: var(--text-dark);
}

.legal-section a {
    color: var(--sea-blue);
    text-decoration: none;
    transition: color 0.3s;
}

.legal-section a:hover {
    color: var(--aqua);
    text-decoration: underline;
}


.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: var(--white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.cookie-table thead {
    background: var(--ocean-gradient);
    color: var(--white);
}

.cookie-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid var(--aqua);
}

.cookie-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--light-gray);
    color: var(--text-dark);
}

.cookie-table tbody tr:hover {
    background-color: var(--sandy);
}

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


.table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 1.5rem 0;
}

.table-wrapper table {
    min-width: 600px;
    width: 100%;
}


@media (max-width: 768px) {
    .container {
        padding: 0 12px;
        max-width: 100%;
        width: 100%;
        overflow-x: hidden;
    }

    
    p, li, span, div, a, label {
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
    }

    
    main, section, article, header, footer {
        overflow-x: hidden;
        max-width: 100%;
    }

    .main-header .container {
        flex-wrap: nowrap;
    }

    .menu-toggle {
        display: flex;
    }

    
    body.menu-open {
        overflow: hidden;
    }

    .main-nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(30, 58, 95, 0.98);
        backdrop-filter: blur(10px);
        width: 100%;
        height: 100vh;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        z-index: 999;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .main-nav.active {
        max-height: 100vh;
        overflow-y: auto;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
        padding: 2rem 0;
        margin: 0;
        width: 100%;
        list-style: none;
    }

    .main-nav li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        opacity: 0;
        transform: translateY(-20px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .main-nav.active li {
        opacity: 1;
        transform: translateY(0);
    }

    .main-nav.active li:nth-child(1) { transition-delay: 0.1s; }
    .main-nav.active li:nth-child(2) { transition-delay: 0.15s; }
    .main-nav.active li:nth-child(3) { transition-delay: 0.2s; }
    .main-nav.active li:nth-child(4) { transition-delay: 0.25s; }
    .main-nav.active li:nth-child(5) { transition-delay: 0.3s; }

    .main-nav a {
        padding: 1.25rem 1.5rem;
        display: block;
        width: 100%;
        border-radius: 0;
        font-size: 1.1rem;
        text-align: center;
        transition: all 0.3s ease;
        position: relative;
    }

    .main-nav a::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        height: 100%;
        width: 4px;
        background: var(--aqua);
        transform: scaleY(0);
        transition: transform 0.3s ease;
    }

    .main-nav a:hover::before,
    .main-nav a.active::before {
        transform: scaleY(1);
    }

    .main-nav a:hover,
    .main-nav a.active {
        background-color: rgba(64, 163, 163, 0.2);
        padding-left: 2rem;
    }

    .logo h1 {
        font-size: 1.5rem;
    }

    .hero {
        padding: 1.5rem 0;
    }

    .hero-text h2 {
        font-size: 1.5rem;
        line-height: 1.3;
        word-wrap: break-word;
        padding: 0 4px;
    }

    .hero-text p {
        font-size: 0.95rem;
        line-height: 1.5;
        padding: 0 4px;
    }

    .page-header {
        padding: 1.5rem 0;
    }

    .page-header-text h1 {
        font-size: 1.5rem;
        line-height: 1.3;
        word-wrap: break-word;
        padding: 0 4px;
    }

    .page-header h1 {
        font-size: 1.5rem;
        line-height: 1.3;
        word-wrap: break-word;
        padding: 0 4px;
    }

    .features h2,
    .latest-content h2,
    .article-header h2,
    .forum-category h2,
    .category-header h2 {
        font-size: 1.3rem;
        line-height: 1.3;
        word-wrap: break-word;
        margin-bottom: 1.5rem;
        padding: 0 4px;
    }

    .article-header h2 {
        font-size: 1.3rem;
        line-height: 1.3;
        word-wrap: break-word;
        padding: 0 4px;
    }

    h2, h3 {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .article-body h3,
    .legal-section h3,
    .about-section h2 {
        font-size: 1.2rem;
        line-height: 1.3;
        word-wrap: break-word;
    }

    .game-container {
        grid-template-columns: 1fr;
    }

    .features-grid,
    .content-preview {
        grid-template-columns: 1fr;
    }

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

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

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

    .legal-section {
        padding: 1.5rem;
    }

    .legal-section h2 {
        font-size: 1.4rem;
    }

    .legal-section h3 {
        font-size: 1.1rem;
    }

    
    .table-wrapper {
        margin: 1rem -12px;
        padding: 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        width: calc(100% + 24px);
        max-width: calc(100vw - 0px);
        padding-left: 12px;
        padding-right: 12px;
    }

    .table-wrapper table {
        min-width: 100%;
        width: max-content;
        margin: 0;
        display: table;
    }

    .cookie-table,
    .info-table,
    .comparison-table,
    .leaderboard-table {
        font-size: 0.85rem;
        width: 100%;
        min-width: 600px;
    }

    .cookie-table th,
    .info-table th,
    .comparison-table th,
    .leaderboard-table th {
        padding: 0.75rem 0.5rem;
        font-size: 0.8rem;
    }

    
    .cookie-table th,
    .info-table th,
    .comparison-table th,
    .leaderboard-table th {
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .cookie-table td,
    .info-table td,
    .comparison-table td,
    .leaderboard-table td {
        padding: 0.6rem 0.5rem;
        font-size: 0.8rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: normal;
    }

    
    .table-wrapper::-webkit-scrollbar {
        height: 8px;
    }

    .table-wrapper::-webkit-scrollbar-track {
        background: var(--light-gray);
        border-radius: 4px;
    }

    .table-wrapper::-webkit-scrollbar-thumb {
        background: var(--aqua);
        border-radius: 4px;
    }

    .table-wrapper::-webkit-scrollbar-thumb:hover {
        background: var(--sea-blue);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 8px;
        max-width: 100%;
        width: 100%;
        overflow-x: hidden;
    }

    
    p, li, span, div {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .hero-text h2,
    .page-header-text h1,
    .page-header h1 {
        font-size: 1.3rem;
        line-height: 1.2;
        word-wrap: break-word;
        padding: 0 4px;
    }

    .features h2,
    .latest-content h2,
    .article-header h2,
    .forum-category h2,
    .category-header h2 {
        font-size: 1.1rem;
        line-height: 1.2;
        word-wrap: break-word;
        padding: 0 4px;
    }

    .legal-section h2 {
        font-size: 1rem;
        line-height: 1.2;
        word-wrap: break-word;
    }

    .legal-section h3,
    .article-body h3,
    .about-section h2 {
        font-size: 0.95rem;
        line-height: 1.2;
        word-wrap: break-word;
    }

    .table-wrapper {
        margin-left: -8px;
        margin-right: -8px;
        padding-left: 8px;
        padding-right: 8px;
        width: calc(100% + 16px);
        max-width: calc(100vw - 0px);
    }

    .table-wrapper table {
        min-width: 100%;
    }

    .cookie-table,
    .info-table,
    .comparison-table,
    .leaderboard-table {
        font-size: 0.75rem;
        min-width: 500px;
    }

    .cookie-table th,
    .info-table th,
    .comparison-table th,
    .leaderboard-table th,
    .cookie-table td,
    .info-table td,
    .comparison-table td,
    .leaderboard-table td {
        padding: 0.5rem 0.4rem;
        font-size: 0.75rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: normal;
    }

    .logo h1 {
        font-size: 1.3rem;
    }
}


.accordion {
    margin: 2rem 0;
}

.accordion-item {
    background: var(--white);
    border: 1px solid var(--light-sea);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.accordion-header {
    background: var(--sandy);
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
    border-bottom: 2px solid transparent;
}

.accordion-header:hover {
    background: var(--light-sea);
    color: var(--white);
}

.accordion-header.active {
    background: var(--ocean-gradient);
    color: var(--white);
    border-bottom-color: var(--aqua);
}

.accordion-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: inherit;
}

.accordion-icon {
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.accordion-header.active .accordion-icon {
    transform: rotate(180deg);
}

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

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

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

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

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


.info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.info-table thead {
    background: var(--ocean-gradient);
    color: var(--white);
}

.info-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 1rem;
}

.info-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--light-gray);
    color: var(--text-dark);
}

.info-table tbody tr:hover {
    background-color: var(--sandy);
    transition: background-color 0.2s;
}

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

.info-table .highlight {
    background-color: rgba(64, 163, 163, 0.1);
    font-weight: 600;
}


.stats-section {
    background: var(--white);
    padding: 3rem 0;
    margin: 3rem 0;
}

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

.stat-card {
    text-align: center;
    padding: 2rem;
    background: var(--sandy);
    border-radius: 10px;
    border-left: 4px solid var(--aqua);
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--deep-ocean);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-dark);
    font-size: 1rem;
}


.tips-section {
    background: var(--light-gray);
    padding: 3rem 0;
}

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

.tip-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-top: 4px solid var(--aqua);
}

.tip-card h3 {
    color: var(--deep-ocean);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tip-icon {
    font-size: 1.5rem;
}


    .leaderboard-section {
        background: var(--white);
        padding: 2rem;
        border-radius: 10px;
        margin: 2rem 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    @media (max-width: 768px) {
        .leaderboard-section {
            padding: 1.5rem;
            margin: 1.5rem 0;
        }
    }

    @media (max-width: 480px) {
        .leaderboard-section {
            padding: 1.2rem;
            margin: 1.2rem 0;
        }
    }

.leaderboard-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.leaderboard-table thead {
    background: var(--ocean-gradient);
    color: var(--white);
}

.leaderboard-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.leaderboard-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--light-gray);
}

.leaderboard-table tbody tr:nth-child(1) {
    background: rgba(255, 215, 0, 0.2);
    font-weight: 600;
}

.leaderboard-table tbody tr:nth-child(2) {
    background: rgba(192, 192, 192, 0.1);
}

.leaderboard-table tbody tr:nth-child(3) {
    background: rgba(205, 127, 50, 0.1);
}

.leaderboard-table tbody tr:hover {
    background-color: var(--sandy);
}

.rank-badge {
    display: inline-block;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--aqua);
    color: var(--white);
    text-align: center;
    line-height: 30px;
    font-weight: bold;
}

.rank-badge.gold {
    background: #FFD700;
    color: var(--dark-gray);
}

.rank-badge.silver {
    background: #C0C0C0;
}

.rank-badge.bronze {
    background: #CD7F32;
}


.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: var(--white);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.comparison-table thead {
    background: var(--ocean-gradient);
    color: var(--white);
}

.comparison-table th {
    padding: 1rem;
    text-align: center;
    font-weight: 600;
}

.comparison-table td {
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid var(--light-gray);
}

.comparison-table tbody tr:nth-child(even) {
    background: var(--light-gray);
}

.comparison-table .check {
    color: #28a745;
    font-weight: bold;
    font-size: 1.2rem;
}

.comparison-table .cross {
    color: #dc3545;
    font-weight: bold;
    font-size: 1.2rem;
}


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

.fish-species-card {
    background: var(--white);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--aqua);
    transition: transform 0.3s;
}

.fish-species-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.fish-species-card h3 {
    color: var(--deep-ocean);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.fish-species-card .fish-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.fish-species-card .fish-details {
    margin-top: 1rem;
}

.fish-species-card .fish-details p {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.fish-species-card .fish-details strong {
    color: var(--sea-blue);
}


@media (max-width: 768px) {
    .accordion-header {
        padding: 1rem;
    }

    .accordion-header h3 {
        font-size: 1rem;
        word-wrap: break-word;
    }

    .accordion-content.active {
        padding: 1rem;
    }

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

    .stat-card {
        padding: 1.5rem 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .tips-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .tip-card {
        padding: 1.5rem;
    }

    .tip-card h3 {
        font-size: 1.1rem;
        word-wrap: break-word;
    }

    .hero-content,
    .page-header-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-text,
    .page-header-text {
        text-align: center;
    }

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

    .fish-species-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .fish-species-card h3 {
        font-size: 1.1rem;
        word-wrap: break-word;
    }

    .preview-card h3,
    .preview-card h4 {
        font-size: 1rem;
        word-wrap: break-word;
    }

    .topic-card h3 {
        font-size: 1rem;
        word-wrap: break-word;
    }
}


.registration-form {
    max-width: 600px;
    margin: 2rem auto 0;
    padding: 2rem;
    background: var(--sandy);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

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

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"] {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--light-sea);
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="password"]:focus {
    outline: none;
    border-color: var(--aqua);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

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

.checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
    cursor: pointer;
    line-height: 1.5;
}

.checkbox-group a {
    color: var(--sea-blue);
    text-decoration: none;
}

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

.registration-form .btn {
    width: 100%;
    margin-top: 1rem;
    padding: 1rem;
    font-size: 1.1rem;
}


.thank-you-content {
    padding: 3rem 0;
    background: var(--light-gray);
}

.thank-you-card {
    max-width: 700px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    text-align: center;
    border-top: 5px solid var(--aqua);
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    background: var(--aqua);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--white);
    font-weight: bold;
}

.thank-you-card h2 {
    color: var(--deep-ocean);
    font-size: 2rem;
    margin-bottom: 1rem;
}

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

.next-steps {
    background: var(--sandy);
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
    text-align: left;
}

.next-steps h3 {
    color: var(--deep-ocean);
    margin-bottom: 1rem;
    text-align: center;
}

.next-steps ul {
    list-style: none;
    padding-left: 0;
}

.next-steps li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-dark);
}

.next-steps li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--aqua);
    font-weight: bold;
}

.thank-you-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.thank-you-buttons .btn {
    min-width: 150px;
}

