

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

:root {
    
    --bg-primary: #1a1a2e;
    --bg-secondary: #16213e;
    --bg-tertiary: #0f3460;
    --bg-card: #1f2937;
    --bg-hover: #2d3748;
    
    
    --accent-primary: #ff6b6b;
    --accent-secondary: #4ecdc4;
    --accent-tertiary: #ffe66d;
    --accent-game: #ff6b9d;
    
    
    --text-primary: #f7fafc;
    --text-secondary: #cbd5e0;
    --text-muted: #a0aec0;
    --text-link: #4ecdc4;
    --text-link-hover: #7dd3cc;
    
    
    --border-color: #2d3748;
    --border-light: #1f2937;
    --divider: #374151;
    
    
    --game-bg: #0f172a;
    --game-score: #ffe66d;
    --game-button: #ff6b6b;
    --game-button-hover: #ff5252;
    
    
    --success: #48bb78;
    --warning: #ffe66d;
    --error: #ff6b6b;
    --info: #4ecdc4;
    
    
    --shadow-sm: rgba(0, 0, 0, 0.3);
    --shadow-md: rgba(0, 0, 0, 0.5);
    --shadow-lg: rgba(0, 0, 0, 0.7);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}



header {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 10px var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    z-index: 1001;
}

.logo h1 {
    font-size: 1.8rem;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary), var(--accent-tertiary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}


.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.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(8px, -8px);
}

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

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

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--text-primary);
    background-color: var(--bg-hover);
}



main {
    min-height: calc(100vh - 200px);
    padding: 2rem 0;
}

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



.hero {
    text-align: center;
    padding: 80px 20px;
    background-image: url('../image/10843873_800n.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    border-radius: 15px;
    margin: 2rem auto;
    max-width: 1200px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.85) 0%, rgba(22, 33, 62, 0.85) 100%);
    z-index: 1;
}

.hero > * {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3em;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.3em;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.hero-bonus {
    background: linear-gradient(135deg, rgba(255, 230, 109, 0.15), rgba(78, 205, 196, 0.15));
    border: 2px solid var(--accent-tertiary);
    border-radius: 10px;
    padding: 15px 25px;
    margin: 20px auto 30px;
    max-width: 600px;
    text-align: center;
}

.bonus-text {
    color: var(--text-primary);
    font-size: 1.1em;
    margin: 0;
}

.bonus-text strong {
    color: var(--accent-tertiary);
    font-size: 1.2em;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1em;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: var(--text-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow-md);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 2px solid var(--accent-primary);
}

.btn-secondary:hover {
    background: var(--bg-hover);
    border-color: var(--accent-secondary);
}

.btn-register {
    background: linear-gradient(135deg, var(--accent-tertiary) 0%, var(--accent-secondary) 100%);
    color: var(--text-primary);
    font-size: 1.1em;
    padding: 18px 35px;
    position: relative;
}

.btn-register:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(243, 156, 18, 0.4);
}

.btn-register::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--accent-tertiary), var(--accent-secondary));
    border-radius: 8px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-register:hover::after {
    opacity: 0.3;
}



.section {
    padding: 60px 20px;
}

.section-title {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 50px;
    color: var(--text-primary);
}

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

.card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
    box-shadow: 0 5px 15px var(--shadow-md);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-lg);
    border-color: var(--accent-primary);
}

.card h3 {
    color: var(--text-primary);
    margin-bottom: 15px;
    font-size: 1.5em;
}

.card p {
    color: var(--text-secondary);
    line-height: 1.8;
}



.article {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 40px;
    border: 1px solid var(--border-color);
}

.article h2 {
    color: var(--text-primary);
    font-size: 2em;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--accent-primary);
    padding-bottom: 10px;
}

.article-meta {
    color: var(--text-muted);
    font-size: 0.9em;
    margin-bottom: 20px;
}

.article-content {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.1em;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content h3 {
    color: var(--text-primary);
    margin: 30px 0 15px;
}



.game-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    min-height: calc(100vh - 200px);
}

.game-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--game-bg);
    padding: 40px;
    border-radius: 20px;
    border: 2px solid var(--border-color);
    box-shadow: 0 10px 40px var(--shadow-lg);
}

.game-header {
    text-align: center;
    margin-bottom: 30px;
}

.game-header h2 {
    font-size: 2.5em;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.game-score-display {
    background: var(--bg-card);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    text-align: center;
    border: 2px solid var(--game-score);
}

.score-label {
    color: var(--text-secondary);
    font-size: 1.2em;
    margin-bottom: 10px;
}

.score-value {
    font-size: 3em;
    font-weight: bold;
    color: var(--game-score);
}

.score-max {
    color: var(--text-muted);
    font-size: 0.9em;
    margin-top: 5px;
}

.game-area {
    position: relative;
    width: 100%;
    height: 400px;
    background: linear-gradient(180deg, var(--bg-tertiary) 0%, var(--game-bg) 100%);
    border-radius: 15px;
    overflow: hidden;
    border: 3px solid var(--border-color);
    margin-bottom: 20px;
}

.fish {
    position: absolute;
    width: 50px;
    height: 50px;
    background: var(--accent-primary);
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.1s;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-weight: bold;
    font-size: 1.2em;
    border: 2px solid var(--accent-secondary);
    box-shadow: 0 2px 5px var(--shadow-md);
}

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

.fish.caught {
    animation: catchAnimation 0.5s ease-out;
}

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

.game-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.game-btn {
    padding: 15px 40px;
    font-size: 1.2em;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.game-btn-start {
    background: linear-gradient(135deg, var(--accent-secondary), var(--accent-primary));
    color: var(--text-primary);
}

.game-btn-start:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow-md);
}

.game-btn-start:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.game-btn-reset {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 2px solid var(--accent-game);
}

.game-btn-reset:hover {
    background: var(--bg-hover);
}

.game-instructions {
    background: var(--bg-card);
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
    border-left: 4px solid var(--accent-tertiary);
}

.game-instructions h3 {
    color: var(--text-primary);
    margin-bottom: 10px;
}

.game-instructions ul {
    color: var(--text-secondary);
    padding-left: 20px;
    line-height: 1.8;
}

.game-instructions li {
    margin-bottom: 8px;
}



.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    padding: 40px 20px;
}

.gallery-item {
    background: var(--bg-card);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-lg);
}

.gallery-placeholder {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    overflow: hidden;
}

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

.gallery-item:hover .gallery-image {
    transform: scale(1.1);
}

.hero-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 15px;
    margin: 30px auto;
    display: block;
    box-shadow: 0 10px 30px var(--shadow-lg);
    border: 2px solid var(--border-color);
}

.article-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 10px;
    margin: 20px 0;
    box-shadow: 0 5px 15px var(--shadow-md);
    border: 1px solid var(--border-color);
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
    margin-bottom: 20px;
}

.feature-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 10px;
    margin: 20px auto;
    display: block;
    box-shadow: 0 5px 15px var(--shadow-md);
}

.gallery-item-content {
    padding: 20px;
}

.gallery-item h3 {
    color: var(--text-primary);
    margin-bottom: 10px;
}

.gallery-item p {
    color: var(--text-secondary);
    font-size: 0.9em;
}



.contacts-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    min-height: calc(100vh - 200px);
}

.contacts-section h2 {
    text-align: center;
    color: var(--text-primary);
    font-size: 2.5em;
    margin-bottom: 10px;
}

.contacts-section .subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.2em;
    margin-bottom: 40px;
}

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

.contact-form {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.contact-form h3 {
    color: var(--text-primary);
    margin-bottom: 20px;
    font-size: 1.8em;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background-color: var(--bg-tertiary);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1em;
    transition: all 0.3s;
    font-family: inherit;
    color: var(--text-primary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.btn-submit {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: var(--text-primary);
    padding: 15px 40px;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    width: 100%;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow-md);
}

.contact-info {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.contact-info h3 {
    color: var(--text-primary);
    margin-bottom: 25px;
    font-size: 1.8em;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--divider);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-tertiary);
    border-radius: 50%;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--border-color);
    flex-shrink: 0;
}

.contact-details h4 {
    color: var(--text-primary);
    margin-bottom: 8px;
    font-size: 1.2em;
}

.contact-details p {
    color: var(--text-secondary);
    margin: 5px 0;
}

.small-text {
    font-size: 0.9em;
    font-style: italic;
    color: var(--text-muted);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.social-link {
    background: var(--accent-primary);
    color: var(--text-primary);
    padding: 8px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.social-link:hover {
    background: var(--accent-secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px var(--shadow-md);
}

.fun-fact {
    background: linear-gradient(135deg, rgba(255, 230, 109, 0.1), rgba(78, 205, 196, 0.1));
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid var(--accent-tertiary);
    margin-top: 20px;
}

.fun-fact p {
    margin: 8px 0;
    color: var(--text-secondary);
}

.fun-fact strong {
    color: var(--accent-tertiary);
}



.map-section {
    margin-top: 60px;
    padding: 40px 20px;
    background: var(--bg-card);
    border-radius: 15px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px var(--shadow-lg);
}

.map-container {
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow-md);
    border: 2px solid var(--border-color);
}

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



.about-section {
    padding: 60px 20px;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-content h2 {
    color: var(--text-primary);
    font-size: 2.5em;
    margin-bottom: 30px;
    text-align: center;
}

.about-content p {
    color: var(--text-secondary);
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 20px;
}

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

.feature-item {
    background: var(--bg-card);
    padding: 25px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.feature-item h3 {
    color: var(--accent-primary);
    margin-bottom: 10px;
}

.feature-item p {
    color: var(--text-secondary);
    font-size: 0.95em;
}



.legal-document {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-card);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px var(--shadow-lg);
}

.legal-document .section-title {
    text-align: left;
    margin-bottom: 10px;
    font-size: 2.5em;
    color: var(--text-primary);
}

.last-updated {
    color: var(--text-muted);
    font-size: 0.9em;
    margin-bottom: 30px;
    font-style: italic;
}

.legal-content {
    color: var(--text-secondary);
    line-height: 1.8;
}

.legal-content h2 {
    color: var(--text-primary);
    font-size: 1.8em;
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-primary);
}

.legal-content h3 {
    color: var(--text-primary);
    font-size: 1.4em;
    margin-top: 30px;
    margin-bottom: 15px;
}

.legal-content p {
    margin-bottom: 15px;
    font-size: 1em;
}

.legal-content ul {
    margin-left: 30px;
    margin-bottom: 20px;
}

.legal-content li {
    margin-bottom: 10px;
    color: var(--text-secondary);
}

.legal-content a {
    color: var(--text-link);
    text-decoration: none;
    transition: color 0.3s;
}

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

.legal-content strong {
    color: var(--text-primary);
    font-weight: 600;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: var(--bg-tertiary);
    border-radius: 8px;
    overflow: hidden;
    display: table;
}


.cookie-table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 20px 0;
}

.cookie-table-wrapper .cookie-table {
    margin: 0;
}

.cookie-table thead {
    background: var(--bg-secondary);
}

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

.cookie-table td {
    color: var(--text-secondary);
    padding: 12px 15px;
    border-bottom: 1px solid var(--border-color);
}

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

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



footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 40px 0 20px;
    margin-top: 60px;
}

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

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

.footer-section h4 {
    color: var(--text-primary);
    margin-bottom: 20px;
    font-size: 1.2em;
    font-weight: 600;
    border-bottom: 2px solid var(--accent-primary);
    padding-bottom: 10px;
}

.footer-section p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.95em;
}

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

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: var(--text-link);
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
    font-size: 0.95em;
}

.footer-section ul li a:hover {
    color: var(--text-link-hover);
    padding-left: 5px;
}

.footer-contact-info {
    color: var(--text-secondary);
    font-size: 0.9em;
    line-height: 1.8;
}

.footer-contact-info p {
    margin-bottom: 8px;
}

.footer-contact-info a {
    color: var(--text-link);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contact-info a:hover {
    color: var(--text-link-hover);
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-tertiary);
    border-radius: 50%;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid var(--border-color);
    font-weight: bold;
    font-size: 0.9em;
}

.footer-social a:hover {
    background: var(--accent-primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px var(--shadow-md);
}

.fs-note {
    font-size: 0.9em;
    color: var(--text-muted);
    line-height: 1.6;
    padding: 15px;
    background: var(--bg-tertiary);
    border-radius: 8px;
    border-left: 3px solid var(--game-score);
}

.fs-note sup {
    color: var(--accent-tertiary);
    font-weight: bold;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 2px solid var(--divider);
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9em;
}

.footer-bottom-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.footer-bottom-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85em;
    transition: color 0.3s;
}

.footer-bottom-links a:hover {
    color: var(--text-link);
}



@media (max-width: 768px) {
    
    html {
        -webkit-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
    }
    
    body {
        font-size: 16px;
        overflow-x: hidden;
    }
    
    body.menu-open {
        overflow: hidden;
    }
    
    .container {
        padding: 0 15px;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    nav {
        flex-wrap: nowrap;
        padding: 1rem 15px;
        position: relative;
    }
    
    
    .menu-toggle {
        display: flex;
    }
    
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-secondary);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 80px 20px 20px;
        gap: 0;
        box-shadow: -5px 0 15px var(--shadow-lg);
        transition: right 0.3s ease;
        z-index: 1000;
        overflow-y: auto;
        border-left: 1px solid var(--border-color);
    }
    
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-menu a {
        padding: 1rem;
        width: 100%;
        display: block;
        color: var(--text-secondary);
        font-size: 1.1em;
        border-radius: 0;
    }
    
    .nav-menu a:hover,
    .nav-menu a.active {
        background: var(--bg-hover);
        color: var(--accent-primary);
        padding-left: 1.5rem;
    }
    
    
    .nav-menu.active::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: -1;
    }
    
    
    h1, h2, h3, h4, h5, h6 {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    .hero {
        padding: 60px 15px;
    }
    
    .hero h1 {
        font-size: 2em;
        line-height: 1.2;
        margin-bottom: 15px;
    }
    
    .hero p {
        font-size: 1.1em;
        line-height: 1.5;
    }
    
    .section {
        padding: 40px 15px;
    }
    
    .section-title {
        font-size: 2em;
        line-height: 1.2;
        margin-bottom: 30px;
        word-wrap: break-word;
        padding: 0 10px;
    }
    
    
    .stats-table,
    .cookie-table {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        font-size: 0.9em;
        margin: 20px 0;
    }
    
    .stats-table table,
    .cookie-table table {
        width: 100%;
        min-width: 600px;
        display: table;
    }
    
    
    .stats-table-wrapper,
    .cookie-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 20px 0;
        width: 100%;
        -ms-overflow-style: -ms-autohiding-scrollbar;
    }
    
    
    .stats-table th,
    .stats-table td,
    .cookie-table th,
    .cookie-table td {
        padding: 12px 8px;
        font-size: 0.9em;
        white-space: nowrap;
    }
    
    
    .stats-table thead,
    .cookie-table thead {
        display: table-header-group;
    }
    
    .stats-table tbody,
    .cookie-table tbody {
        display: table-row-group;
    }
    
    .contacts-wrapper {
        grid-template-columns: 1fr;
    }
    
    .contacts-section h2 {
        font-size: 2em;
        line-height: 1.2;
    }
    
    .contact-form,
    .contact-info {
        padding: 20px;
    }
    
    .map-section {
        padding: 30px 15px;
    }
    
    .map-container {
        width: 100%;
        overflow: hidden;
    }
    
    .map-container iframe {
        height: 350px;
        width: 100%;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .footer-bottom-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .game-area {
        height: 300px;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .card {
        padding: 20px;
    }
    
    .card h3 {
        font-size: 1.3em;
        line-height: 1.3;
    }
    
    
    .feature-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-card h3 {
        font-size: 1.2em;
        line-height: 1.3;
    }
    
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    
    .article-image {
        width: 100%;
        max-width: 100%;
        height: auto;
    }
    
    .hero-image {
        width: 100%;
        max-width: 100%;
    }
    
    .card-image {
        width: 100%;
        height: 200px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
        max-width: 100%;
    }
    
    body {
        font-size: 14px;
    }
    
    nav {
        padding: 1rem 10px;
    }
    
    .logo h1 {
        font-size: 1.4rem;
        word-wrap: break-word;
    }
    
    .hero {
        padding: 40px 10px;
    }
    
    .hero h1 {
        font-size: 1.8em;
        line-height: 1.2;
    }
    
    .hero p {
        font-size: 1em;
    }
    
    .section {
        padding: 30px 10px;
    }
    
    .section-title {
        font-size: 1.8em;
        line-height: 1.2;
        margin-bottom: 25px;
        padding: 0 5px;
    }
    
    .contacts-section,
    .game-section {
        padding: 30px 10px;
    }
    
    .contacts-section h2,
    .game-section h2 {
        font-size: 1.8em;
        line-height: 1.2;
    }
    
    .map-container iframe {
        height: 300px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .legal-document {
        padding: 20px 15px;
    }
    
    .legal-document .section-title {
        font-size: 1.8em;
        line-height: 1.2;
    }
    
    .legal-content h2 {
        font-size: 1.4em;
        line-height: 1.3;
    }
    
    .legal-content h3 {
        font-size: 1.1em;
        line-height: 1.3;
    }
    
    
    .stats-table,
    .cookie-table {
        font-size: 0.8em;
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .stats-table table,
    .cookie-table table {
        min-width: 500px;
    }
    
    .cookie-table th,
    .cookie-table td {
        padding: 8px 6px;
        font-size: 0.8em;
    }
    
    .stats-table th,
    .stats-table td {
        padding: 8px 6px;
        font-size: 0.8em;
    }
    
    .accordion-item {
        margin-bottom: 15px;
    }
    
    .accordion-header {
        padding: 15px;
    }
    
    .accordion-header h3 {
        font-size: 1em;
        line-height: 1.3;
        word-wrap: break-word;
    }
    
    .feature-cards {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .feature-card {
        padding: 20px 15px;
    }
    
    .feature-card h3 {
        font-size: 1.1em;
        line-height: 1.3;
    }
    
    .card {
        padding: 15px;
    }
    
    .card h3 {
        font-size: 1.2em;
        line-height: 1.3;
    }
    
    .timeline::before {
        left: 15px;
    }
    
    .timeline-item {
        padding-left: 50px;
    }
    
    .timeline-item::before {
        left: 7px;
    }
    
    .timeline-content h4 {
        font-size: 1.1em;
        line-height: 1.3;
    }
    
    .info-box {
        padding: 15px;
    }
    
    .info-box h4 {
        font-size: 1.1em;
        line-height: 1.3;
    }
    
    
    .btn {
        padding: 12px 20px;
        font-size: 0.9em;
        white-space: normal;
        word-wrap: break-word;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
    
    
    .game-score-display {
        padding: 20px 15px;
    }
    
    .score-value {
        font-size: 2.5em;
    }
    
    .game-instructions h3 {
        font-size: 1.2em;
        line-height: 1.3;
    }
    
    
    .article h2 {
        font-size: 1.6em;
        line-height: 1.3;
    }
    
    .article h3 {
        font-size: 1.3em;
        line-height: 1.3;
    }
}



.accordion {
    margin: 30px 0;
}

.accordion-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s;
}

.accordion-item:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 5px 15px var(--shadow-md);
}

.accordion-header {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-card);
    transition: background 0.3s;
    user-select: none;
}

.accordion-header:hover {
    background: var(--bg-hover);
}

.accordion-header h3 {
    color: var(--text-primary);
    margin: 0;
    font-size: 1.3em;
    font-weight: 600;
}

.accordion-icon {
    font-size: 1.5em;
    color: var(--accent-primary);
    transition: transform 0.3s;
}

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

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: var(--bg-tertiary);
}

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

.accordion-body {
    padding: 20px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.accordion-body p {
    margin-bottom: 15px;
}

.accordion-body ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.accordion-body li {
    margin-bottom: 8px;
}



.stats-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: var(--bg-card);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow-md);
    display: table;
}


.stats-table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 30px 0;
}

.stats-table-wrapper .stats-table {
    margin: 0;
}

.stats-table thead {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
}

.stats-table th {
    color: var(--text-primary);
    padding: 15px;
    text-align: left;
    font-weight: 600;
    font-size: 1.1em;
}

.stats-table td {
    color: var(--text-secondary);
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
}

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

.stats-table tbody tr:hover {
    background: var(--bg-hover);
}

.stats-table .highlight {
    color: var(--accent-tertiary);
    font-weight: 600;
}



.info-box {
    background: var(--bg-card);
    border-left: 4px solid var(--accent-primary);
    padding: 20px;
    margin: 25px 0;
    border-radius: 8px;
    box-shadow: 0 3px 10px var(--shadow-sm);
}

.info-box.success {
    border-left-color: var(--success);
    background: linear-gradient(135deg, rgba(72, 187, 120, 0.1), rgba(78, 205, 196, 0.05));
}

.info-box.warning {
    border-left-color: var(--warning);
    background: linear-gradient(135deg, rgba(255, 230, 109, 0.1), rgba(255, 107, 107, 0.05));
}

.info-box.info {
    border-left-color: var(--info);
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.1), rgba(255, 107, 107, 0.05));
}

.info-box h4 {
    color: var(--text-primary);
    margin-bottom: 10px;
    font-size: 1.2em;
}

.info-box p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}



.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.feature-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-lg);
    border-color: var(--accent-primary);
}

.feature-card-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-tertiary);
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--accent-primary);
}

.feature-card h3 {
    color: var(--text-primary);
    margin-bottom: 15px;
    font-size: 1.4em;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
}



.timeline {
    position: relative;
    padding: 20px 0;
    margin: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--accent-primary);
}

.timeline-item {
    position: relative;
    padding-left: 80px;
    margin-bottom: 40px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 22px;
    top: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent-primary);
    border: 3px solid var(--bg-card);
    box-shadow: 0 0 0 3px var(--accent-primary);
}

.timeline-content {
    background: var(--bg-card);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.timeline-content h4 {
    color: var(--text-primary);
    margin-bottom: 10px;
    font-size: 1.2em;
}

.timeline-content p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}



.badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
    margin: 5px;
}

.badge-primary {
    background: var(--accent-primary);
    color: var(--text-primary);
}

.badge-success {
    background: var(--success);
    color: var(--text-primary);
}

.badge-warning {
    background: var(--warning);
    color: var(--text-primary);
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.tag {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9em;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.tag:hover {
    background: var(--accent-primary);
    color: var(--text-primary);
    border-color: var(--accent-primary);
}

