/* ============================================
   Цветовая система - Siren's Call
   ============================================ */

:root {
    /* Основные цвета - подводный мир */
    --color-deep-ocean: #0a2b3a;
    --color-ocean-blue: #1a4a5a;
    --color-teal: #0a4d5c;
    --color-turquoise: #00a8b5;
    --color-bright-turquoise: #40c4d0;
    --color-emerald: #0d7a5c;
    --color-bright-emerald: #1a9d7a;
    
    /* Акцентные цвета - кораллы */
    --color-coral-red: #ff6b6b;
    --color-coral-purple: #a87bb8;
    --color-coral-orange: #ffa87a;
    
    /* Световые акценты */
    --color-golden-light: #ffd700;
    --color-sunlight: #ffed4e;
    
    /* Нейтральные цвета */
    --color-dark-forest: #1a2b1a;
    --color-water-surface: #e0f4ff;
    --color-white: #ffffff;
    --color-text-light: rgba(255, 255, 255, 0.9);
    --color-text-muted: rgba(255, 255, 255, 0.7);
    
    /* Градиенты */
    --gradient-ocean: linear-gradient(135deg, #0a2b3a 0%, #1a4a5a 50%, #0d2b42 100%);
    --gradient-turquoise: linear-gradient(135deg, #00a8b5 0%, #40c4d0 100%);
    --gradient-emerald: linear-gradient(135deg, #0d7a5c 0%, #1a9d7a 100%);
    --gradient-coral: linear-gradient(135deg, #ff6b6b 0%, #ffa87a 50%, #a87bb8 100%);
    --gradient-light-beam: linear-gradient(180deg, rgba(255, 237, 78, 0.3) 0%, rgba(0, 168, 181, 0.1) 100%);
    
    /* Тени */
    --shadow-turquoise: 0 8px 32px rgba(0, 168, 181, 0.2);
    --shadow-turquoise-strong: 0 8px 32px rgba(0, 168, 181, 0.4);
}

/* ============================================
   Базовые стили
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--color-deep-ocean);
    color: var(--color-text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   Типографика
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--color-white);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--color-text-light);
}

a {
    color: var(--color-bright-turquoise);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-turquoise);
}

/* ============================================
   Шапка сайта (Header)
   ============================================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 43, 58, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.header.scrolled {
    padding: 0.75rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
    background: var(--gradient-turquoise);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 0.75rem;
}

.logo img {
    height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    display: block;
}

.logo span {
    display: inline-block;
    background: var(--gradient-turquoise);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav a {
    color: var(--color-text-light);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-turquoise);
    transition: width 0.3s ease;
}

.nav a:hover::after,
.nav a.active::after {
    width: 100%;
}

.nav a:hover,
.nav a.active {
    color: var(--color-bright-turquoise);
}

.btn-header {
    padding: 10px 24px;
    background: var(--gradient-turquoise);
    color: var(--color-white);
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.btn-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    color: var(--color-white);
}

/* Мобильное меню */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--color-bright-turquoise);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: rgba(10, 43, 58, 0.98);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 80px 30px 30px;
    transition: right 0.3s ease;
    overflow-y: auto;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-nav a {
    color: var(--color-text-light);
    font-size: 1.1rem;
    font-weight: 500;
    padding: 10px 0;
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: color 0.3s ease;
}

.mobile-nav a:hover,
.mobile-nav a.active {
    color: var(--color-bright-turquoise);
}

/* ============================================
   Hero секция
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-ocean);
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../image/hero fon.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(5px);
    z-index: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-light-beam);
    opacity: 0.4;
    z-index: 1;
}


.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    font-size: 56px;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.6);
    background: linear-gradient(135deg, #ffffff 0%, #e0f4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 22px;
    color: var(--color-text-light);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-bonus {
    background: linear-gradient(135deg, 
        rgba(0, 168, 181, 0.15) 0%, 
        rgba(64, 196, 208, 0.15) 100%);
    border: 2px solid rgba(0, 168, 181, 0.4);
    border-radius: 16px;
    padding: 28px 32px;
    margin: 40px 0;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1.2s ease-out;
    position: relative;
    overflow: hidden;
}


.bonus-label {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-bright-turquoise);
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.bonus-text {
    font-size: 18px;
    line-height: 1.7;
    color: var(--color-white);
    margin: 0;
    position: relative;
    z-index: 1;
}

.bonus-text .highlight {
    color: var(--color-bright-turquoise);
    font-weight: 700;
    font-size: 22px;
}

.hero-cta {
    margin-top: 40px;
    animation: fadeInUp 1.4s ease-out;
}

.btn-primary {
    padding: 16px 48px;
    font-size: 18px;
    font-weight: 600;
    background: var(--gradient-turquoise);
    color: var(--color-white);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #40c4d0 0%, #00a8b5 100%);
    color: var(--color-white);
}

.btn-large {
    padding: 16px 48px;
    font-size: 18px;
}

.cta-note {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-top: 16px;
    font-style: italic;
}

.hero-quiz-info {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(26, 74, 90, 0.4);
    border: 1px solid rgba(0, 168, 181, 0.3);
    border-radius: 12px;
    text-align: center;
    animation: fadeInUp 0.6s ease 0.3s both;
}

.hero-quiz-info p {
    color: var(--color-text-light);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.hero-quiz-info p:last-of-type {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

/* ============================================
   Секции
   ============================================ */

.section {
    padding: 80px 0;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    background: var(--gradient-turquoise);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   Карточки
   ============================================ */

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    background: rgba(26, 74, 90, 0.6);
    border: 2px solid rgba(0, 168, 181, 0.3);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out;
}

.card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 168, 181, 0.6);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.card-icon {
    display: none;
}

.card h3 {
    color: var(--color-white);
    margin-bottom: 1rem;
}

.card p {
    color: var(--color-text-light);
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
    margin: -2rem -2rem 1.5rem -2rem;
    display: block;
    transition: transform 0.3s ease;
}

.card:hover .card-image {
    transform: scale(1.05);
}

.article .card-image {
    margin: -2rem -2rem 1.5rem -2rem;
    border-radius: 8px 8px 0 0;
    height: 250px;
}

/* ============================================
   Формы
   ============================================ */

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--color-text-light);
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    background: rgba(26, 74, 90, 0.6);
    border: 2px solid rgba(0, 168, 181, 0.3);
    border-radius: 8px;
    color: var(--color-white);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-bright-turquoise);
    box-shadow: 0 0 0 2px rgba(0, 168, 181, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-muted);
}

.form-group input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
    cursor: pointer;
    accent-color: var(--color-bright-turquoise);
}

.form-group label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

/* ============================================
   Footer
   ============================================ */

.footer {
    background: rgba(10, 43, 58, 0.95);
    padding: 4rem 0 1.5rem;
    border-top: 1px solid rgba(0, 168, 181, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    color: var(--color-bright-turquoise);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-section p {
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: var(--color-text-light);
    transition: color 0.3s ease;
    display: inline-block;
}

.footer-section a:hover {
    color: var(--color-bright-turquoise);
    transform: translateX(5px);
}

.footer-contact-info {
    margin-top: 1rem;
}

.footer-contact-info p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--color-text-light);
}

.footer-contact-info p strong {
    color: var(--color-bright-turquoise);
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.footer-contact-info a {
    color: var(--color-text-light);
    display: block;
    margin-top: 0.25rem;
    transition: color 0.3s ease;
}

.footer-contact-info a:hover {
    color: var(--color-bright-turquoise);
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 168, 181, 0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
    color: var(--color-text-light);
    font-weight: 600;
    font-size: 18px;
    text-decoration: none;
}

.footer-social a:hover {
    background: var(--color-bright-turquoise);
    transform: translateY(-3px);
    color: var(--color-white);
    box-shadow: 0 4px 12px rgba(0, 168, 181, 0.3);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 168, 181, 0.2);
    color: var(--color-text-muted);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    margin: 0;
}

.footer-legal-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-legal-links a {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-legal-links a:hover {
    color: var(--color-bright-turquoise);
}

@media (max-width: 768px) {
    .logo {
        font-size: 1.2rem;
        gap: 0.5rem;
    }
    
    .logo img {
        height: 40px;
        max-width: 150px;
    }
    
    .footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal-links {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* ============================================
   Accordion (Аккордеон)
   ============================================ */

.accordion {
    margin: 2rem 0;
}

.accordion-item {
    background: rgba(26, 74, 90, 0.3);
    border: 1px solid rgba(0, 168, 181, 0.2);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item:hover {
    border-color: rgba(0, 168, 181, 0.4);
    background: rgba(26, 74, 90, 0.4);
}

.accordion-header {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 43, 58, 0.5);
    transition: all 0.3s ease;
    user-select: none;
}

.accordion-header:hover {
    background: rgba(10, 43, 58, 0.7);
}

.accordion-header h3 {
    margin: 0;
    font-size: 1.25rem;
    color: var(--color-bright-turquoise);
}

.accordion-icon {
    width: 24px;
    height: 24px;
    position: relative;
    transition: transform 0.3s ease;
}

.accordion-icon::before,
.accordion-icon::after {
    content: '';
    position: absolute;
    background: var(--color-bright-turquoise);
    transition: all 0.3s ease;
}

.accordion-icon::before {
    width: 2px;
    height: 16px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.accordion-icon::after {
    width: 16px;
    height: 2px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.accordion-item.active .accordion-icon::before {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

.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(--color-text-light);
    line-height: 1.8;
}

.accordion-content ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.accordion-content ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--color-text-light);
}

.accordion-content ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-bright-turquoise);
    font-size: 1.5rem;
    line-height: 1;
}

/* ============================================
   Tables (Таблицы)
   ============================================ */

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: rgba(26, 74, 90, 0.3);
    border-radius: 8px;
    overflow: hidden;
}

.data-table thead {
    background: rgba(0, 168, 181, 0.2);
}

.data-table th {
    padding: 1rem;
    text-align: left;
    color: var(--color-bright-turquoise);
    font-weight: 600;
    border-bottom: 2px solid rgba(0, 168, 181, 0.3);
}

.data-table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text-light);
}

.data-table tbody tr {
    transition: background 0.3s ease;
}

.data-table tbody tr:hover {
    background: rgba(0, 168, 181, 0.1);
}

.data-table tbody tr:last-child td {
    border-bottom: none;
}

/* ============================================
   Articles (Статьи)
   ============================================ */

.article {
    background: rgba(26, 74, 90, 0.3);
    border: 1px solid rgba(0, 168, 181, 0.2);
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem 0;
    transition: all 0.3s ease;
    overflow: hidden;
}

.article:hover {
    border-color: rgba(0, 168, 181, 0.4);
    background: rgba(26, 74, 90, 0.4);
    transform: translateY(-2px);
}

.article-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 168, 181, 0.2);
}

.article-header h3 {
    color: var(--color-bright-turquoise);
    margin-bottom: 0.5rem;
}

.article-meta {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.article-content {
    color: var(--color-text-light);
    line-height: 1.8;
}

.article-content p {
    margin-bottom: 1rem;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.article-tag {
    padding: 0.25rem 0.75rem;
    background: rgba(0, 168, 181, 0.2);
    border: 1px solid rgba(0, 168, 181, 0.3);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--color-bright-turquoise);
}

/* ============================================
   Quiz (Мифологический опрос)
   ============================================ */

.quiz-container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(26, 74, 90, 0.4);
    border: 1px solid rgba(0, 168, 181, 0.3);
    border-radius: 12px;
    padding: 2rem;
}

.quiz-header {
    margin-bottom: 1.5rem;
}

.quiz-area {
    min-height: 400px;
}

.quiz-welcome {
    text-align: center;
    padding: 2rem;
}

.quiz-welcome h3 {
    color: var(--color-bright-turquoise);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.quiz-welcome p {
    color: var(--color-text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.quiz-question {
    background: rgba(10, 43, 58, 0.6);
    border: 1px solid rgba(0, 168, 181, 0.3);
    border-radius: 12px;
    padding: 2rem;
}

.question-header {
    margin-bottom: 2rem;
}

.question-header h3 {
    color: var(--color-bright-turquoise);
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
    line-height: 1.6;
}

.question-number {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.question-answers {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.answer-btn {
    background: rgba(26, 74, 90, 0.8);
    border: 2px solid rgba(0, 168, 181, 0.4);
    border-radius: 8px;
    padding: 1rem 1.5rem;
    color: var(--color-text-light);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.answer-btn:hover:not(:disabled) {
    background: rgba(26, 74, 90, 1);
    border-color: rgba(0, 168, 181, 0.7);
    transform: translateX(5px);
}

.answer-btn:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

.answer-btn.correct {
    background: rgba(46, 204, 113, 0.3);
    border-color: rgba(46, 204, 113, 0.6);
    color: var(--color-bright-emerald);
}

.answer-btn.wrong {
    background: rgba(231, 76, 60, 0.3);
    border-color: rgba(231, 76, 60, 0.6);
    color: var(--color-coral-red);
}

.question-feedback {
    background: rgba(10, 43, 58, 0.8);
    border: 1px solid rgba(0, 168, 181, 0.3);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
}

.question-feedback p {
    margin: 0;
    line-height: 1.6;
    font-size: 0.95rem;
}

.quiz-result {
    text-align: center;
    padding: 2rem;
    background: rgba(10, 43, 58, 0.6);
    border: 1px solid rgba(0, 168, 181, 0.3);
    border-radius: 12px;
}

.quiz-result h3 {
    color: var(--color-bright-turquoise);
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.result-stats {
    background: rgba(26, 74, 90, 0.4);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.result-stats p {
    color: var(--color-text-light);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.result-stats strong {
    color: var(--color-bright-turquoise);
}

.result-stats span {
    color: var(--color-bright-emerald);
    font-weight: 700;
}

.quiz-info {
    margin-top: 1rem;
}

.game-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.game-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stat-label {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.stat-value {
    color: var(--color-bright-turquoise);
    font-weight: 700;
    font-size: 1.2rem;
}

.game-area {
    position: relative;
    margin-bottom: 1rem;
    min-height: 400px;
}

.game-instructions {
    background: rgba(10, 43, 58, 0.6);
    border: 1px solid rgba(0, 168, 181, 0.2);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.game-instructions h3 {
    color: var(--color-bright-turquoise);
    margin-bottom: 1rem;
}

.game-instructions p {
    margin-bottom: 0.5rem;
    color: var(--color-text-light);
    font-size: 0.95rem;
}

.game-canvas-wrapper {
    position: relative;
    background: rgba(13, 122, 92, 0.6);
    border: 2px solid rgba(26, 157, 122, 0.5);
    border-radius: 8px;
    overflow: hidden;
    margin: 0 auto;
    max-width: 800px;
}

#game-canvas {
    display: block;
    width: 100%;
    height: auto;
    background: linear-gradient(180deg, rgba(13, 122, 92, 0.8) 0%, rgba(26, 157, 122, 0.7) 100%);
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(13, 122, 92, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.game-overlay.hidden {
    display: none;
}

.game-overlay-content {
    text-align: center;
    padding: 2rem;
}

.game-overlay-content h3 {
    color: var(--color-bright-turquoise);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.game-overlay-content p {
    color: var(--color-text-light);
    font-size: 1.1rem;
}

.game-lives {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.lives-label {
    color: var(--color-text-light);
    font-weight: 600;
}

.lives-value {
    color: var(--color-bright-turquoise);
    font-weight: 700;
    font-size: 1.2rem;
}

.game-info {
    margin-top: 1rem;
}

/* Адаптивность для опроса */
@media (max-width: 768px) {
    .quiz-container {
        padding: 1.5rem;
    }
    
    .quiz-question {
        padding: 1.5rem;
    }
    
    .question-header h3 {
        font-size: 1.2rem;
    }
    
    .answer-btn {
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
    }
    
    .quiz-welcome {
        padding: 1.5rem;
    }
    
    .quiz-welcome h3 {
        font-size: 1.5rem;
    }
    
    .quiz-result {
        padding: 1.5rem;
    }
    
    .quiz-result h3 {
        font-size: 1.5rem;
    }
}

/* ============================================
   Cookie Banner
   ============================================ */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 43, 58, 0.98);
    backdrop-filter: blur(20px);
    padding: 20px;
    z-index: 10000;
    border-top: 2px solid rgba(0, 168, 181, 0.4);
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.5);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-text {
    flex: 1;
    color: var(--color-text-light);
}

.cookie-text a {
    color: var(--color-bright-turquoise);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-btn {
    padding: 10px 24px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-btn-accept {
    background: var(--gradient-turquoise);
    color: var(--color-white);
}

.cookie-btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.cookie-btn-decline {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-text-light);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.cookie-btn-decline:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ============================================
   Анимации
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease-out;
}

/* ============================================
   Контактная страница
   ============================================ */

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-form-wrapper {
    animation: fadeInUp 0.6s ease-out;
}

.contact-map-wrapper {
    animation: fadeInUp 0.8s ease-out;
}

.contact-map {
    margin-top: 0;
}

.map-container {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.6s ease-out;
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: 0;
    display: block;
}

@media (max-width: 768px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-map-wrapper {
        margin-top: 2rem;
    }
    
    .map-container iframe {
        height: 300px;
    }
}

/* ============================================
   Адаптивность
   ============================================ */

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-bonus {
        padding: 20px;
        margin: 30px 0;
    }
    
    .bonus-text {
        font-size: 16px;
    }
    
    .bonus-text .highlight {
        font-size: 18px;
    }
    
    .btn-primary.btn-large {
        padding: 14px 36px;
        font-size: 16px;
    }
    
    .hero-quiz-info {
        padding: 1.25rem;
        margin-top: 1.5rem;
    }
    
    .hero-quiz-info p {
        font-size: 1rem;
    }
    
    .hero-quiz-info p:last-of-type {
        font-size: 0.9rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
    
    /* Accordion адаптивность */
    .accordion-header {
        padding: 1rem;
    }
    
    .accordion-header h3 {
        font-size: 1.1rem;
    }
    
    .accordion-content {
        padding: 0 1rem;
    }
    
    .accordion-item.active .accordion-content {
        padding: 1rem;
    }
    
    /* Table адаптивность */
    .data-table {
        font-size: 0.9rem;
    }
    
    .data-table th,
    .data-table td {
        padding: 0.75rem 0.5rem;
    }
    
    /* Comparison table адаптивность */
    .comparison-table-wrapper {
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: rgba(0, 168, 181, 0.5) rgba(10, 43, 58, 0.3);
    }
    
    .comparison-table-wrapper::-webkit-scrollbar {
        height: 8px;
    }
    
    .comparison-table-wrapper::-webkit-scrollbar-track {
        background: rgba(10, 43, 58, 0.3);
        border-radius: 4px;
    }
    
    .comparison-table-wrapper::-webkit-scrollbar-thumb {
        background: rgba(0, 168, 181, 0.5);
        border-radius: 4px;
    }
    
    .comparison-table-wrapper::-webkit-scrollbar-thumb:hover {
        background: rgba(0, 168, 181, 0.7);
    }
    
    .comparison-table {
        font-size: 0.85rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem 0.5rem;
        font-size: 0.85rem;
    }
    
    .comparison-table th {
        font-size: 0.9rem;
    }
    
    /* Article адаптивность */
    .article {
        padding: 1.5rem;
    }
    
    .article-header h3 {
        font-size: 1.25rem;
    }
    
    .card-image {
        height: 180px;
        margin: -1.5rem -1.5rem 1.5rem -1.5rem;
    }
    
    .article .card-image {
        height: 200px;
        margin: -1.5rem -1.5rem 1.5rem -1.5rem;
    }
    
    /* Mini Game мобильная адаптивность */
    .mini-game-container {
        padding: 1rem;
    }
    
    .game-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .game-stats {
        width: 100%;
        justify-content: space-around;
    }
    
    .stat-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .stat-value {
        font-size: 1.1rem;
    }
    
    #game-start-btn {
        width: 100%;
        padding: 12px 24px;
    }
    
    .reaction-game-area {
        min-height: 400px;
    }
    
    .game-targets {
        height: 400px;
    }
    
    .game-target.crystal,
    .game-target.bomb {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .game-timer {
        top: 0.5rem;
        right: 0.5rem;
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .timer-value {
        font-size: 1.1rem;
    }
    
    .game-instructions {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .game-instructions h3 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .game-instructions p {
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
    }
    
    .game-lives {
        font-size: 0.9rem;
    }
    
    .lives-value {
        font-size: 1.1rem;
    }
}


@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-bonus {
        padding: 16px;
    }
    
    .bonus-text {
        font-size: 15px;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
    }
}

