/* Базовые сбросы и нормализация */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    line-height: 1.5;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    overflow-x: hidden;
    padding-top: 80px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Навигация */
.navbar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    width: 180px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-text {
    font-size: 18px;
    font-weight: bold;
    color: #ffffff;
    font-family: Arial, sans-serif;
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    background-color: rgba(255,255,255,0.2);
}

/* Мобильное меню */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
    position: relative;
    z-index: 1001;
    width: 44px;
    height: 44px;
    justify-content: center;
    align-items: center;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
    transform-origin: center;
}

@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        gap: 0;
        transition: left 0.3s ease;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .logo-text {
        font-size: 16px;
    }
}

/* Герой секция */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.hero-title {
    margin-bottom: 1.5rem;
}

.title-main {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
}

.title-sub {
    display: block;
    font-size: 2rem;
    font-weight: 300;
    opacity: 0.9;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-visual {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.visual-card {
    background: rgba(255,255,255,0.1);
    padding: 1.5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s ease;
}

.visual-card:hover {
    transform: translateY(-5px);
}

.visual-card .card-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

/* Кнопки */
.btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background-color: #4CAF50;
    color: white;
}

.btn-primary:hover {
    background-color: #45a049;
    transform: translateY(-2px);
}

.btn-secondary {
    color: white;
    background: transparent;
    backdrop-filter: blur(10px);
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: white;
    color: #667eea;
}

.btn-outline {
    background: transparent;
    border: 2px solid #667eea;
    color: #667eea;
}

.btn-outline:hover {
    background: #667eea;
    color: white;
}

.btn-light {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-light:hover {
    background: white;
    color: #667eea;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-icon {
    margin-right: 0.5rem;
}

/* Секции */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.section-icon {
    font-size: 2rem;
    background: #667eea;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

/* Карточки преимуществ */
.features {
    padding: 4rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
    text-align: left;
}

.feature-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
    color: #555;
    position: relative;
    padding-left: 1.5rem;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: bold;
}

/* Превью игр */
.games-preview {
    padding: 4rem 0;
    background: #f8f9fa;
}

.games-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.game-preview-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
    border: 1px solid #f0f0f0;
}

.game-preview-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.game-preview-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.game-preview-content h3 {
    margin-bottom: 1rem;
    color: #333;
}

.game-preview-content p {
    color: #666;
    margin-bottom: 1.5rem;
}

.game-stats {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.game-stats .stat {
    background: #f8f9fa;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    color: #666;
}

.games-cta {
    text-align: center;
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* Концепты (сетка понятий) */
.concepts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.concept-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    border: 2px solid #f0f0f0;
    transition: all 0.3s ease;
}

.concept-card:hover {
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.concept-icon {
    font-size: 1.5rem;
    background: #667eea;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.concept-content h4 {
    margin-bottom: 0.5rem;
    color: #333;
}

.concept-content p {
    color: #666;
    margin: 0;
    line-height: 1.4;
}

/* Путь обучения */
.learning-path {
    padding: 4rem 0;
}

.path-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.path-step {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.step-number {
    background: #667eea;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    margin-bottom: 1rem;
    color: #333;
}

.step-content p {
    color: #666;
    margin-bottom: 1rem;
}

.step-content ul {
    color: #666;
    padding-left: 1.5rem;
}

/* Преимущества */
.benefits {
    padding: 4rem 0;
    background: #f8f9fa;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.benefit-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.benefit-icon {
    background: #667eea;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.benefits-visual {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.visual-element {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.visual-element:hover {
    transform: translateY(-5px);
}

.visual-element .element-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

/* CTA секция */
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 2rem;
    border-radius: 20px;
    text-align: center;
    margin: 4rem 0;
}

.cta-content h2 {
    margin-bottom: 1rem;
    font-size: 2.2rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

/* Футер */
.footer {
    background: #262525;
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-description {
    opacity: 0.8;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    text-align: center;
    opacity: 0.7;
}

/* Теория */
.theory-section {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

/* Стили для игр */
.game-container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    margin: 2rem 0;
    overflow: hidden;
    display: none;
}

.game-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    background: #f8f9fa;
    border-bottom: 2px solid #e9ecef;
}

.game-title-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.game-icon-small {
    font-size: 2rem;
}

.game-title-bar h2 {
    margin: 0;
    color: #333;
}

.game-content-area {
    padding: 2rem;
    min-height: 400px;
}

/* Квиз */
.quiz-question {
    max-width: 800px;
    margin: 0 auto;
}

.quiz-progress {
    text-align: center;
    margin-bottom: 2rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    margin-top: 0.5rem;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
}

.question-text {
    font-size: 1.4rem;
    line-height: 1.5;
    color: #333;
    margin-bottom: 2.5rem;
    text-align: center;
    font-weight: 600;
}

.quiz-options {
    display: grid;
    gap: 1rem;
    max-width: 700px;
    margin: 0 auto;
}

.quiz-option {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    text-align: left;
    width: 100%;
}

.quiz-option:hover {
    border-color: #667eea;
    background: #f8f9ff;
    transform: translateY(-2px);
}

.option-letter {
    background: #667eea;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

/* Адаптив */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .title-main {
        font-size: 2.5rem;
    }
    
    .title-sub {
        font-size: 1.5rem;
    }
    
    .games-preview-grid {
        grid-template-columns: 1fr;
    }
    
    .path-step {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .concepts-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-features {
        flex-direction: column;
        gap: 1rem;
    }
}
.quick-games-section {
    padding: 2rem 0;
}

.quick-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.quick-game-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.quick-game-card:hover {
    transform: translateY(-5px);
    border-color: #667eea;
    box-shadow: 0 15px 30px rgba(102,126,234,0.2);
}

.game-icon-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.game-icon {
    font-size: 3rem;
}

.game-badge {
    background: #667eea;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.game-content h3 {
    margin-bottom: 0.5rem;
    color: #333;
    font-size: 1.3rem;
}

.game-content p {
    color: #666;
    line-height: 1.5;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.game-meta {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.meta-item {
    background: #f0f0f0;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    color: #555;
}

.play-button {
    text-align: center;
    padding: 0.8rem;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
    margin-top: auto;
}

.quick-game-card:hover .play-button {
    background: #667eea;
    color: white;
}

.play-icon {
    font-size: 1.2rem;
}

/* Детальное описание игр */
.games-details-section {
    padding: 3rem 0;
    background: #f8f9fa;
}

.games-details-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.game-detail-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border: 1px solid #eee;
}

.game-header {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: center;
}

.game-main-icon {
    font-size: 3rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.game-title-section h3 {
    margin-bottom: 0.5rem;
    color: #333;
}

.game-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.game-tag {
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
}

.game-tag.beginner { background: #e3f2fd; color: #1976d2; }
.game-tag.advanced { background: #f3e5f5; color: #7b1fa2; }
.game-tag.testing { background: #e8f5e8; color: #2e7d32; }
.game-tag.learning { background: #fff3e0; color: #f57c00; }
.game-tag.practice { background: #fce4ec; color: #c2185b; }
.game-tag.analysis { background: #e0f2f1; color: #00796b; }

.game-description {
    margin-bottom: 1.5rem;
    color: #555;
    line-height: 1.6;
}

.game-features {
    margin-bottom: 1.5rem;
}

.game-features h4 {
    margin-bottom: 1rem;
    color: #333;
    font-size: 1.1rem;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #555;
}

.feature-icon {
    font-size: 1rem;
    color: #4CAF50;
}

/* Герой секция игр */
.games-hero {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.games-hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.games-hero-stats {
    display: flex;
    gap: 2rem;
    margin: 1.5rem 0;
}

.games-hero-stat {
    text-align: center;
}

.games-stat-number {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.3rem;
}

.games-stat-label {
    font-size: 0.8rem;
    opacity: 0.9;
}

.games-features {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.feature-tag {
    background: rgba(255,255,255,0.2);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .games-hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .games-hero-stats {
        justify-content: center;
    }
    
    .games-features {
        justify-content: center;
    }
    
    .quick-games-grid {
        grid-template-columns: 1fr;
    }
    
    .games-details-container {
        grid-template-columns: 1fr;
    }
    
    .game-header {
        flex-direction: column;
        text-align: center;
    }
    
    .game-stats-detailed {
        flex-direction: column;
        gap: 1rem;
    }
}
.theory-hero {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.theory-breadcrumbs {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.theory-breadcrumbs a {
    color: white;
    text-decoration: none;
}

.theory-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.theory-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.theory-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.theory-stat {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255,255,255,0.1);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.stat-icon {
    font-size: 2rem;
}

.stat-content {
    text-align: left;
}

/* Основной layout */
.theory-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

/* Боковая панель */
.theory-sidebar {
    position: relative;
}

.sidebar-sticky {
    position: sticky;
    top: 100px;
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.sidebar-header h3 {
    margin-bottom: 1rem;
    color: #333;
}

.reading-progress {
    margin-bottom: 1.5rem;
}

.progress-text {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.sidebar-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-nav li {
    margin-bottom: 0.5rem;
}

.nav-link {
    display: block;
    padding: 0.8rem 1rem;
    color: #333;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.nav-link:hover {
    background: #f8f9fa;
    border-left-color: #667eea;
}

.nav-link.active {
    background: #667eea;
    color: white;
}

/* Основной контент */
.theory-content {
    min-height: 500px;
}

.content-wrapper {
    max-width: 100%;
}

/* Карточки определений */
.definition-card {
    display: flex;
    gap: 1.5rem;
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    border-left: 4px solid #667eea;
}

.definition-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.definition-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
}

/* Информационные блоки */
.info-box {
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1.5rem 0;
    background: #e3f2fd;
    border-left: 4px solid #2196f3;
}

.info-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.info-icon {
    font-size: 1.5rem;
}

.info-header h4 {
    margin: 0;
    color: #333;
}

/* Принципы */
.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.principle-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    border: 2px solid #f0f0f0;
    text-align: center;
    transition: transform 0.3s ease;
}

.principle-card:hover {
    transform: translateY(-5px);
    border-color: #667eea;
}

.principle-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.principle-card h4 {
    margin-bottom: 0.5rem;
    color: #333;
}

.principle-card p {
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* Типы пенсий (карточки) */
.insurance-types-detailed {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.type-card-expanded {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-left: 6px solid #667eea;
}

.type-card-expanded h3 {
    margin-bottom: 1rem;
    color: #333;
}

.type-card-expanded ul {
    padding-left: 1.5rem;
    margin-top: 1rem;
    color: #555;
}

.type-card-expanded li {
    margin-bottom: 0.5rem;
}

/* Примеры */
.example-box {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 2rem 0;
    border-left: 4px solid #ffc107;
}

.example-box h4 {
    margin-bottom: 1rem;
    color: #333;
}

/* Процесс (шаги) */
.process-flow {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.process-step {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #667eea;
}

.process-step .step-number {
    background: #667eea;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: bold;
    flex-shrink: 0;
}

.step-details {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
    border: 1px solid #e0e0e0;
}

.step-details h5 {
    margin-bottom: 1rem;
    color: #333;
}

/* Таймлайн */
.timeline {
    position: relative;
    margin: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #667eea;
}

.timeline-item {
    display: flex;
    margin-bottom: 2rem;
    position: relative;
}

.timeline-year {
    background: #667eea;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    margin-right: 2rem;
    min-width: 100px;
    text-align: center;
}

.timeline-content {
    flex: 1;
    background: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.timeline-content h4 {
    margin-bottom: 0.5rem;
    color: #333;
}

.timeline-content p {
    color: #666;
    margin: 0;
}

/* Пошаговое руководство */
.steps-guide {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.step-item {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.step-item .step-number {
    background: #667eea;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h4 {
    margin-bottom: 0.5rem;
    color: #333;
}

.step-content p {
    color: #666;
    margin-bottom: 1rem;
}

.step-content ul {
    color: #666;
    padding-left: 1.5rem;
}

.step-content li {
    margin-bottom: 0.5rem;
}

/* Сетка ошибок */
.mistakes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.mistake-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-left: 4px solid #ccc;
}

.mistake-card.danger {
    border-left-color: #dc3545;
}

.mistake-card.warning {
    border-left-color: #ffc107;
}

.mistake-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.mistake-icon {
    font-size: 1.5rem;
    background: #f8f9fa;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.solution {
    background: #d4edda;
    padding: 0.8rem;
    border-radius: 5px;
    margin-top: 1rem;
    color: #155724;
    border-left: 4px solid #28a745;
}

/* Чек-лист */
.prevention-guide {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.prevention-guide h3 {
    margin-bottom: 1.5rem;
    text-align: center;
}

.checklist {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    background: rgba(255,255,255,0.1);
    border-radius: 5px;
}

.checklist-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

.checklist-item label {
    margin: 0;
    color: white;
}

/* Заключение */
.theory-summary {
    background: #f8f9fa;
    padding: 3rem;
    border-radius: 15px;
    margin: 3rem 0;
    text-align: center;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.summary-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.summary-card:hover {
    transform: translateY(-5px);
}

.summary-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.summary-card h4 {
    margin-bottom: 0.5rem;
    color: #333;
}

.summary-card p {
    color: #666;
    line-height: 1.5;
    margin: 0;
}

.summary-actions {
    margin-top: 2rem;
}

/* Адаптивность для теории */
@media (max-width: 1024px) {
    .theory-layout {
        grid-template-columns: 1fr;
    }
    
    .sidebar-sticky {
        position: static;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .theory-title {
        font-size: 2rem;
    }
    
    .theory-stats {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .theory-stat {
        width: 100%;
        justify-content: center;
    }
    
    .definition-card {
        flex-direction: column;
        text-align: center;
    }
    
    .principles-grid {
        grid-template-columns: 1fr;
    }
    
    .process-step {
        flex-direction: column;
        text-align: center;
    }
    
    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .step-item {
        flex-direction: column;
        text-align: center;
    }
    
    .mistakes-grid {
        grid-template-columns: 1fr;
    }
    
    .summary-grid {
        grid-template-columns: 1fr;
    }
}
.terms-game-round {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.round-progress {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.2rem;
    color: #333;
    font-weight: 600;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background: #f0f0f0;
    border-radius: 5px;
    margin-top: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
}

.definition-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 30px;
    border-left: 6px solid #667eea;
    box-shadow: 0 5px 15px rgba(102,126,234,0.2);
}

.definition-text {
    font-size: 1.3rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 15px;
    font-weight: 500;
}

.example-text {
    background: #e3f2fd;
    padding: 15px;
    border-radius: 12px;
    font-style: italic;
    border-left: 4px solid #2196f3;
    color: #1976d2;
}

/* КРАСИВЫЕ ВАРИАНТЫ ОТВЕТОВ */
.terms-options {
    margin-bottom: 30px;
}

.terms-options h4 {
    margin-bottom: 20px;
    color: #333;
    font-size: 1.2rem;
    text-align: center;
}

.term-option {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 18px 25px;
    margin-bottom: 15px;
    border: 2px solid #e9ecef;
    border-radius: 60px; /* Делаем овальные, как пилюли */
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    text-align: left;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.term-option:hover {
    border-color: #667eea;
    background: #f8f9ff;
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(102,126,234,0.2);
}

.option-number {
    background: #667eea;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(102,126,234,0.3);
}

.term-text {
    flex: 1;
    font-weight: 500;
    color: #333;
}

/* Правильный и неправильный ответы */
.term-option.correct-answer {
    background: #d4edda;
    border-color: #28a745;
    position: relative;
}

.term-option.correct-answer::after {
    content: '✓';
    position: absolute;
    right: 25px;
    color: #28a745;
    font-size: 1.5rem;
    font-weight: bold;
}

.term-option.incorrect-answer {
    background: #f8d7da;
    border-color: #dc3545;
    position: relative;
}

.term-option.incorrect-answer::after {
    content: '✗';
    position: absolute;
    right: 25px;
    color: #dc3545;
    font-size: 1.5rem;
    font-weight: bold;
}

/* Счетчик */
.current-score {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 25px;
    border-radius: 60px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(102,126,234,0.3);
    margin: 20px 0;
}

.current-score strong {
    font-size: 1.5rem;
    margin-left: 10px;
}

/* Окно с объяснением */
.answer-explanation {
    margin-top: 30px;
    animation: fadeIn 0.5s ease-out;
}

.explanation-content {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    border-left: 8px solid;
    text-align: center;
}

.explanation-content.correct {
    border-left-color: #28a745;
    background: linear-gradient(135deg, #d4edda 0%, #f8fff9 100%);
}

.explanation-content.incorrect {
    border-left-color: #dc3545;
    background: linear-gradient(135deg, #f8d7da 0%, #fff8f8 100%);
}

.explanation-content h4 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.explanation-content p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #333;
    font-size: 1.1rem;
}

.explanation-content .btn {
    margin-top: 20px;
    padding: 12px 30px;
    border-radius: 50px;
}

/* Анимация */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
    .term-option {
        padding: 15px 20px;
        border-radius: 40px;
    }
    
    .option-number {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        margin-right: 15px;
    }
    
    .term-text {
        font-size: 1rem;
    }
    
    .definition-card {
        padding: 20px;
    }
    
    .definition-text {
        font-size: 1.1rem;
    }
}
.simulator-scenario {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Заголовок сценария */
.scenario-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 25px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(102,126,234,0.3);
}

.scenario-header h3 {
    margin: 0 0 15px 0;
    font-size: 1.5rem;
}

.scenario-progress {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Карточка ситуации */
.situation-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 25px;
    border-left: 6px solid #667eea;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.situation-card h4 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.situation-card p {
    color: #555;
    line-height: 1.6;
    font-size: 1.1rem;
    margin: 0;
}

/* Кнопка начала */
.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(102,126,234,0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102,126,234,0.4);
}

/* Шаги */
.simulator-step {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.step-header {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 25px;
    border-bottom: 3px solid #667eea;
}

.step-header h3 {
    margin: 0 0 10px 0;
    color: #333;
}

.step-progress {
    color: #666;
    font-size: 0.9rem;
}

/* Карточка вопроса */
.step-question-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border: 1px solid #f0f0f0;
}

.step-question-card p {
    color: #333;
    font-size: 1.2rem;
    line-height: 1.5;
    margin: 0;
    font-weight: 500;
    text-align: center;
}

/* КРАСИВЫЕ ВАРИАНТЫ ОТВЕТОВ (как в словаре) */
.step-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.step-option {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 18px 25px;
    border: 2px solid #e9ecef;
    border-radius: 60px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    text-align: left;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.step-option:hover {
    border-color: #667eea;
    background: #f8f9ff;
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(102,126,234,0.2);
}

.option-indicator {
    background: #667eea;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(102,126,234,0.3);
}

/* Правильный и неправильный ответы */
.step-option.correct {
    background: #d4edda;
    border-color: #28a745;
    position: relative;
}

.step-option.correct::after {
    content: '✓';
    position: absolute;
    right: 25px;
    color: #28a745;
    font-size: 1.5rem;
    font-weight: bold;
}

.step-option.incorrect {
    background: #f8d7da;
    border-color: #dc3545;
    position: relative;
}

.step-option.incorrect::after {
    content: '✗';
    position: absolute;
    right: 25px;
    color: #dc3545;
    font-size: 1.5rem;
    font-weight: bold;
}

/* Окно обратной связи */
.step-feedback {
    margin-top: 30px;
    animation: fadeIn 0.5s ease-out;
}

.feedback-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    border-left: 8px solid;
    text-align: center;
}

.feedback-card.correct {
    border-left-color: #28a745;
    background: linear-gradient(135deg, #d4edda 0%, #f8fff9 100%);
}

.feedback-card.incorrect {
    border-left-color: #dc3545;
    background: linear-gradient(135deg, #f8d7da 0%, #fff8f8 100%);
}

.feedback-card h4 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.feedback-card p {
    margin-bottom: 20px;
    line-height: 1.6;
    color: #333;
    font-size: 1.1rem;
}

/* Результаты */
.simulator-results {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.score-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.score-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    box-shadow: 0 10px 30px rgba(102,126,234,0.4);
}

.score-percentage {
    font-size: 2.5rem;
    font-weight: bold;
    color: #667eea;
}

.result-emoji {
    font-size: 4rem;
    margin: 20px 0;
}

.result-message {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 30px;
}

.results-details {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
    .step-option {
        padding: 15px 20px;
        border-radius: 40px;
    }
    
    .option-indicator {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        margin-right: 15px;
    }
    
    .step-question-card p {
        font-size: 1.1rem;
    }
    
    .score-display {
        flex-direction: column;
        gap: 15px;
    }
    
    .score-circle {
        width: 100px;
        height: 100px;
        font-size: 1.5rem;
    }
    
    .score-percentage {
        font-size: 2rem;
    }
}
.policy-game-profile {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Заголовок профиля */
.profile-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 25px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(102,126,234,0.3);
}

.profile-header h3 {
    margin: 0 0 15px 0;
    font-size: 1.8rem;
}

.profile-progress {
    font-size: 1rem;
    opacity: 0.9;
}

.profile-progress .progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255,255,255,0.3);
    border-radius: 4px;
    margin-top: 10px;
    overflow: hidden;
}

.profile-progress .progress-fill {
    height: 100%;
    background: white;
    transition: width 0.3s ease;
}

/* Информация о человеке */
.profile-info {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 25px;
    margin-bottom: 30px;
}

.profile-description {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
    border-left: 6px solid #667eea;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.profile-description h4 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile-description h4::before {
    content: '👤';
    font-size: 1.5rem;
}

.profile-description p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.profile-description strong {
    color: #333;
    font-weight: 600;
}

.financial-goals {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 1px solid #f0f0f0;
}

.financial-goals h4 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.financial-goals h4::before {
    content: '🎯';
    font-size: 1.5rem;
}

.financial-goals ul {
    list-style: none;
    padding: 0;
}

.financial-goals li {
    padding: 12px 15px;
    margin-bottom: 8px;
    background: #f8f9fa;
    border-radius: 10px;
    color: #555;
    border-left: 4px solid #ffc107;
    font-weight: 500;
}

/* Секция выбора советов */
.policies-selection {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    margin-top: 20px;
}

.policies-selection h4 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.selection-hint {
    color: #666;
    font-style: italic;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

/* КРАСИВЫЕ ЧЕКБОКСЫ (как в оригинале) */
.policies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.policy-checkbox {
    display: flex;
    align-items: flex-start;
    padding: 20px;
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.policy-checkbox:hover {
    border-color: #667eea;
    background: #f8f9ff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(102,126,234,0.2);
}

.policy-checkbox input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 24px;
    height: 24px;
    border: 2px solid #ccc;
    border-radius: 6px;
    margin-right: 15px;
    margin-top: 2px;
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.policy-checkbox input[type="checkbox"]:checked + .checkmark {
    background: #667eea;
    border-color: #667eea;
}

.policy-checkbox input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    color: white;
    font-size: 16px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.policy-info {
    flex: 1;
}

.policy-info strong {
    color: #333;
    display: block;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.policy-info small {
    color: #666;
    font-size: 0.9rem;
}

/* Счетчик выбранных */
.selection-summary {
    background: white;
    padding: 15px 20px;
    border-radius: 50px;
    margin-bottom: 20px;
    display: inline-block;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.selected-count {
    font-size: 1.1rem;
    color: #333;
    font-weight: 500;
}

.selected-count span {
    color: #667eea;
    font-weight: bold;
    font-size: 1.3rem;
}

/* Результаты */
.policy-results {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.policy-results h3 {
    color: #333;
    margin-bottom: 25px;
    text-align: center;
    font-size: 1.6rem;
}

.score-breakdown {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin: 25px 0;
}

.score-card {
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.score-card.correct {
    background: linear-gradient(135deg, #d4edda 0%, #f8fff9 100%);
    border: 2px solid #c3e6cb;
}

.score-card.incorrect {
    background: linear-gradient(135deg, #f8d7da 0%, #fff8f8 100%);
    border: 2px solid #f5c6cb;
}

.score-card h4 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.score-number {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin: 15px 0;
}

.score-card.correct .score-number {
    color: #28a745;
}

.score-card.incorrect .score-number {
    color: #dc3545;
}

.policies-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.policy-item {
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
}

.policy-item.selected {
    background: #28a745;
    color: white;
}

.policy-item.extra {
    background: #dc3545;
    color: white;
}

.round-score {
    text-align: center;
    margin: 25px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 15px;
}

.round-score h4 {
    color: #333;
    margin-bottom: 10px;
}

.score-value {
    font-size: 2rem;
    color: #667eea;
    font-weight: bold;
}

/* Финальные результаты */
.policy-final-results {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.policy-final-results .score-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.policy-final-results .score-circle {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    box-shadow: 0 15px 30px rgba(102,126,234,0.4);
}

/* Адаптив */
@media (max-width: 768px) {
    .profile-info {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .policies-grid {
        grid-template-columns: 1fr;
    }
    
    .score-breakdown {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .policy-final-results .score-display {
        flex-direction: column;
        gap: 15px;
    }
    
    .policy-final-results .score-circle {
        width: 120px;
        height: 120px;
        font-size: 1.6rem;
    }
    
    .policy-checkbox {
        padding: 15px;
    }
}

/* Анимации */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.policy-game-profile,
.policy-results,
.policy-final-results {
    animation: slideIn 0.5s ease-out;
}
.crossword-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.crossword-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    background: #333;
    padding: 2px;
    border-radius: 10px;
    overflow: hidden;
}

.crossword-row {
    display: flex;
    gap: 2px;
}

.crossword-cell {
    width: 40px;
    height: 40px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.crossword-cell.filled {
    background: white;
    border: 1px solid #ccc;
}

.crossword-cell.empty {
    background: #333;
}

.crossword-input {
    width: 100%;
    height: 100%;
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    border: none;
    outline: none;
    background: transparent;
}

.crossword-input:focus {
    background: #e3f2fd;
    box-shadow: inset 0 0 0 2px #667eea;
}

.crossword-clues {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    background: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
    border-left: 6px solid #667eea;
}

.clues-section h4 {
    margin-bottom: 15px;
    color: #333;
    font-size: 1.2rem;
}

.clues-section ul {
    list-style: none;
    padding: 0;
}

.clues-section li {
    padding: 8px 0;
    border-bottom: 1px dashed #ccc;
    color: #555;
    line-height: 1.4;
}

.clues-section li:last-child {
    border-bottom: none;
}

.clues-section strong {
    color: #667eea;
    font-weight: 600;
}

.crossword-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 20px 0;
}

.crossword-result {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-left: 4px solid #667eea;
}

.crossword-result h4 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.crossword-result p {
    color: #555;
    font-size: 1.1rem;
    margin: 5px 0;
}

.crossword-result .success {
    color: #28a745;
    font-weight: bold;
    font-size: 1.2rem;
    margin-top: 10px;
}

/* Адаптив */
@media (max-width: 768px) {
    .crossword-cell {
        width: 30px;
        height: 30px;
    }
    
    .crossword-input {
        font-size: 1rem;
    }
    
    .crossword-clues {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .crossword-cell {
        width: 25px;
        height: 25px;
    }
    
    .crossword-input {
        font-size: 0.9rem;
    }
}
.crossword-container {
    max-width: 1000px;
    margin: 0 auto;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 30px;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.crossword-container h3 {
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    font-size: 2rem;
    margin-bottom: 25px;
    text-align: center;
}

.crossword-grid {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: rgba(255,255,255,0.3);
    padding: 15px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
    margin-bottom: 25px;
}

.crossword-row {
    display: flex;
    gap: 4px;
    justify-content: center;
}

.crossword-cell {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.crossword-cell.filled {
    background: white;
    border: 2px solid #ffd700;
}

.crossword-cell.empty {
    background: rgba(255,255,255,0.1);
    border: 2px dashed rgba(255,255,255,0.3);
}

.crossword-input {
    width: 100%;
    height: 100%;
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #333;
    outline: none;
    transition: all 0.2s;
}

.crossword-input:focus {
    background: #fff3cd;
    box-shadow: 0 0 0 3px #ffd700;
    transform: scale(1.05);
}

/* Подсказки */
.crossword-clues {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    background: white;
    padding: 25px;
    border-radius: 20px;
    margin: 20px 0;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.clues-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 15px;
    border-left: 6px solid #667eea;
}

.clues-section h4 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.clues-section h4::before {
    content: '📝';
    font-size: 1.3rem;
}

.clues-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.clues-section li {
    padding: 10px 12px;
    margin-bottom: 8px;
    background: white;
    border-radius: 10px;
    color: #555;
    line-height: 1.4;
    font-size: 0.95rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: transform 0.2s;
}

.clues-section li:hover {
    transform: translateX(5px);
    background: #e3f2fd;
}

.clues-section strong {
    color: #667eea;
    font-weight: 700;
    margin-right: 8px;
    background: #e3f2fd;
    padding: 2px 8px;
    border-radius: 12px;
}

/* Кнопки */
.crossword-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 25px 0;
}

.crossword-actions .btn {
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
}

.crossword-actions .btn-primary {
    background: #28a745;
    border: none;
    box-shadow: 0 5px 15px rgba(40,167,69,0.3);
}

.crossword-actions .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(40,167,69,0.4);
}

.crossword-actions .btn-secondary {
    background: #ffc107;
    color: #333;
    border: none;
    box-shadow: 0 5px 15px rgba(255,193,7,0.3);
}

.crossword-actions .btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255,193,7,0.4);
}

/* Результат */
.crossword-result {
    background: white;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    margin-top: 20px;
    border-left: 6px solid #28a745;
}

.crossword-result h4 {
    color: #333;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.crossword-result p {
    color: #28a745;
    font-size: 1.1rem;
    font-weight: bold;
}

/* Адаптив */
@media (max-width: 768px) {
    .crossword-cell {
        width: 35px;
        height: 35px;
    }
    
    .crossword-input {
        font-size: 1.2rem;
    }
    
    .crossword-clues {
        grid-template-columns: 1fr;
    }
    
    .crossword-container {
        padding: 20px;
    }
    
    .crossword-container h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .crossword-cell {
        width: 28px;
        height: 28px;
    }
    
    .crossword-input {
        font-size: 1rem;
    }
    
    .crossword-actions {
        flex-direction: column;
    }
    
    .crossword-actions .btn {
        width: 100%;
    }
}

/* Анимация для правильных букв */
@keyframes correctFlash {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); background: #d4edda; }
    100% { transform: scale(1); }
}

.crossword-input.correct-flash {
    animation: correctFlash 0.5s ease;
}
.crossword-clues-top {
    background: white;
    padding: 20px;
    border-radius: 20px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-left: 6px solid #667eea;
}

.clues-row {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.clues-across, .clues-down {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.clues-label {
    font-weight: bold;
    color: #667eea;
    background: #e3f2fd;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.clue-tag {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #f0f0f0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
    border: 2px solid transparent;
}

.clue-tag:hover {
    background: #667eea;
    color: white;
    transform: scale(1.1);
}

.active-clue {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 12px;
    border-left: 4px solid #ffc107;
    font-size: 1.1rem;
    color: #333;
}

.active-clue strong {
    color: #667eea;
    margin-right: 10px;
}

.crossword-cell {
    position: relative;
}

.cell-number {
    position: absolute;
    top: 2px;
    left: 3px;
    font-size: 0.7rem;
    font-weight: bold;
    color: #667eea;
    z-index: 1;
}

.crossword-input {
    position: relative;
    z-index: 2;
    background: transparent;
}
.about-hero {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    padding: 3rem 0;
}

.about-hero .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-hero-content {
    text-align: center;
}

.about-breadcrumbs {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.about-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.about-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 2rem;
}

/* Статистика */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
    background: rgba(255,255,255,0.1);
    padding: 1.5rem 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    min-width: 120px;
}

.hero-stat .stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.hero-stat .stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Летающие иконки */
.about-hero-visual {
    position: relative;
    height: 200px;
    margin-top: 2rem;
}

.floating-element {
    position: absolute;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 15px;
    padding: 1rem 1.5rem;
    text-align: center;
    animation: float 6s ease-in-out infinite;
    width: 120px;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

/* Секции */
.about-page {
    padding: 4rem 0;
}

.section-header.centered {
    text-align: center;
    margin-bottom: 3rem;
}

.section-icon {
    font-size: 2rem;
    background: #667eea;
    color: white;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.section-header h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Миссия */
.mission-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.mission-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: #555;
}

.vision-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 30px rgba(102,126,234,0.3);
}

.vision-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.vision-content h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.vision-content p {
    opacity: 0.9;
    line-height: 1.6;
}

/* Цели */
.goals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.goal-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.goal-card:hover {
    transform: translateY(-10px);
}

.goal-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.goal-content h3 {
    text-align: center;
    margin-bottom: 1rem;
    color: #333;
}

.goal-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-align: center;
}

.goal-features {
    list-style: none;
    padding: 0;
}

.goal-features li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #f0f0f0;
    color: #555;
    padding-left: 1.5rem;
    position: relative;
}

.goal-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

/* Аудитория */
.audience-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.audience-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.audience-card:hover {
    border-color: #667eea;
    transform: translateY(-5px);
}

.audience-avatar {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.audience-content h3 {
    margin-bottom: 1rem;
    color: #333;
}

.audience-content p {
    color: #666;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.audience-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.benefit-tag {
    background: #f0f0f0;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    color: #555;
}

/* Адаптив */
@media (max-width: 768px) {
    .hero-stats {
        gap: 1rem;
    }
    
    .hero-stat {
        padding: 1rem;
        min-width: 100px;
    }
    
    .hero-stat .stat-number {
        font-size: 2rem;
    }
    
    .mission-content {
        grid-template-columns: 1fr;
    }
    
    .goals-grid {
        grid-template-columns: 1fr;
    }
    
    .audience-cards {
        grid-template-columns: 1fr;
    }
    
    .about-title {
        font-size: 2rem;
    }
}
.crossword-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.crossword-clues {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 15px;
    border-left: 6px solid #667eea;
}

.clues-block h4 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.2rem;
    border-bottom: 2px solid #667eea;
    padding-bottom: 5px;
}

.clues-block p {
    margin: 8px 0;
    font-size: 0.95rem;
    line-height: 1.4;
}

.clues-block strong {
    color: #667eea;
    font-weight: 700;
    margin-right: 8px;
}

.crossword-grid {
    display: flex;
    flex-direction: column;
    gap: 2px;
    background: #333;
    padding: 2px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.crossword-row {
    display: flex;
    gap: 2px;
}

.crossword-cell {
    width: 45px;
    height: 45px;
    position: relative;
}

.crossword-cell.filled {
    background: white;
    border: 1px solid #ccc;
}

.crossword-cell.empty {
    background: #333;
}

.cell-number {
    position: absolute;
    top: 2px;
    left: 3px;
    font-size: 0.7rem;
    font-weight: bold;
    color: #667eea;
    z-index: 2;
    background: transparent;
}

.crossword-input {
    width: 100%;
    height: 100%;
    text-align: center;
    font-size: 1.3rem;
    font-weight: bold;
    text-transform: uppercase;
    border: none;
    background: transparent;
    position: relative;
    z-index: 1;
    padding-top: 8px;
}

.crossword-input:focus {
    outline: 2px solid #667eea;
    background: #fff3cd;
}

.crossword-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 20px 0;
}

@media (max-width: 768px) {
    .crossword-cell {
        width: 35px;
        height: 35px;
    }
    .crossword-input {
        font-size: 1rem;
    }
    .crossword-clues {
        grid-template-columns: 1fr;
    }
}
.clues-block {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 12px;
}

.clue-item {
    margin-bottom: 15px;
    padding: 8px;
    background: white;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.word-input {
    display: block;
    width: 100%;
    margin-top: 5px;
    padding: 8px 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    text-transform: uppercase;
}

.word-input:focus {
    outline: none;
    border-color: #667eea;
}

.cell-letter {
    font-size: 1.3rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    padding-top: 8px;
}
.word-input-section {
    background: #f0f4f8;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 25px;
    border-left: 6px solid #667eea;
}

.word-input-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin: 15px 0;
}

.word-input-item {
    background: white;
    padding: 10px 15px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.whole-word-input {
    padding: 8px 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    text-transform: uppercase;
    width: 100%;
}

.whole-word-input:focus {
    outline: none;
    border-color: #667eea;
}
