/* ============================================
   МАОУ СОШ № 70 — ГЛАВНЫЙ СТИЛЬ
   Советская авиационная тематика
============================================ */

/* === ПЕРЕМЕННЫЕ === */
:root {
    --red: #cc0000;
    --red-dark: #990000;
    --red-light: #e60000;
    --gold: #c8a84b;
    --gold-light: #e8c86a;
    --gold-dark: #a07030;
    --dark: #1a1a1a;
    --dark-2: #0d1117;
    --dark-3: #161b22;
    --dark-blue: #0d1f3c;
    --blue: #1a3a6b;
    --blue-light: #2a5298;
    --white: #ffffff;
    --cream: #f5f0e8;
    --text-dark: #1a1a1a;
    --text-gray: #666666;
    --border-gold: rgba(200, 168, 75, 0.4);
    --shadow: 0 4px 20px rgba(0,0,0,0.3);
    --shadow-gold: 0 4px 20px rgba(200,168,75,0.3);
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Roboto', sans-serif;
    --font-title: 'Oswald', sans-serif;
}

/* === RESET === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background: var(--dark-2);
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* === PRELOADER === */
#preloader {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, var(--dark-2) 0%, var(--dark-blue) 100%);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-inner {
    text-align: center;
}

.plane-icon {
    font-size: 60px;
    animation: flyAcross 2s ease-in-out infinite;
    display: block;
    margin-bottom: 20px;
    color: var(--gold);
}

@keyframes flyAcross {
    0%, 100% { transform: translateX(-20px) rotate(-5deg); }
    50% { transform: translateX(20px) rotate(5deg); }
}

.preloader-text {
    font-family: var(--font-title);
    font-size: 28px;
    letter-spacing: 4px;
    color: var(--gold);
    margin-bottom: 30px;
    text-transform: uppercase;
}

.preloader-bar {
    width: 300px;
    height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto;
}

.preloader-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--red), var(--gold));
    border-radius: 2px;
    animation: fillBar 2s ease forwards;
}

@keyframes fillBar {
    from { width: 0; }
    to { width: 100%; }
}

/* === NAVIGATION === */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
    background: transparent;
    transition: all 0.4s ease;
}

#navbar.scrolled {
    background: linear-gradient(135deg, rgba(13,31,60,0.97) 0%, rgba(26,10,10,0.97) 100%);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.5);
    border-bottom: 1px solid var(--border-gold);
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-star {
    font-size: 28px;
    color: var(--red);
    text-shadow: 0 0 10px rgba(204,0,0,0.5);
    animation: pulseStar 2s ease-in-out infinite;
}

@keyframes pulseStar {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.nav-logo-text {
    display: flex;
    flex-direction: column;
}

.nav-title {
    font-family: var(--font-title);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--gold);
}

.nav-subtitle {
    font-size: 11px;
    color: rgba(255,255,255,0.6);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 5px;
}

.nav-link {
    font-family: var(--font-title);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    padding: 8px 12px;
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 3px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--gold);
}

.nav-link:hover::after {
    width: 60%;
}

.nav-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.nav-burger span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--gold);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.nav-burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav-burger.active span:nth-child(2) {
    opacity: 0;
}
.nav-burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* === HERO SECTION === */
.hero-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        135deg,
        #0d1117 0%,
        #0d1f3c 30%,
        #1a0a0a 60%,
        #0d1117 100%
    );
    overflow: hidden;
    padding: 100px 20px 60px;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(204,0,0,0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 30%, rgba(200,168,75,0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(26,58,107,0.15) 0%, transparent 60%);
    pointer-events: none;
}

.hero-stars-bg {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(1px 1px at 10% 15%, rgba(255,255,255,0.4) 0%, transparent 100%),
        radial-gradient(1px 1px at 25% 45%, rgba(255,255,255,0.3) 0%, transparent 100%),
        radial-gradient(1px 1px at 70% 20%, rgba(255,255,255,0.4) 0%, transparent 100%),
        radial-gradient(1px 1px at 85% 65%, rgba(255,255,255,0.3) 0%, transparent 100%),
        radial-gradient(1px 1px at 45% 85%, rgba(255,255,255,0.2) 0%, transparent 100%),
        radial-gradient(2px 2px at 60% 10%, rgba(200,168,75,0.5) 0%, transparent 100%),
        radial-gradient(2px 2px at 15% 75%, rgba(200,168,75,0.4) 0%, transparent 100%),
        radial-gradient(1px 1px at 90% 40%, rgba(255,255,255,0.35) 0%, transparent 100%),
        radial-gradient(1px 1px at 35% 25%, rgba(255,255,255,0.25) 0%, transparent 100%),
        radial-gradient(1px 1px at 55% 55%, rgba(255,255,255,0.3) 0%, transparent 100%);
    pointer-events: none;
    animation: twinkle 4s ease-in-out infinite alternate;
}

@keyframes twinkle {
    0% { opacity: 0.7; }
    100% { opacity: 1; }
}

/* Летящие самолёты */
.flying-planes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.plane {
    position: absolute;
    font-size: 24px;
    color: rgba(200,168,75,0.15);
    animation: flyPlane linear infinite;
}

.plane-1 {
    top: 20%;
    animation-duration: 15s;
    animation-delay: 0s;
    font-size: 18px;
}

.plane-2 {
    top: 50%;
    animation-duration: 20s;
    animation-delay: -7s;
    font-size: 28px;
    color: rgba(200,168,75,0.1);
}

.plane-3 {
    top: 75%;
    animation-duration: 12s;
    animation-delay: -4s;
    font-size: 16px;
}

@keyframes flyPlane {
    from { left: -60px; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    to { left: 110%; opacity: 0; }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
}

.hero-badge {
    margin-bottom: 20px;
}

.red-star-big {
    font-size: 60px;
    color: var(--red);
    text-shadow:
        0 0 20px rgba(204,0,0,0.8),
        0 0 40px rgba(204,0,0,0.4);
    animation: glowStar 3s ease-in-out infinite;
    display: inline-block;
}

@keyframes glowStar {
    0%, 100% {
        text-shadow: 0 0 20px rgba(204,0,0,0.8), 0 0 40px rgba(204,0,0,0.4);
        transform: scale(1);
    }
    50% {
        text-shadow: 0 0 30px rgba(204,0,0,1), 0 0 60px rgba(204,0,0,0.6), 0 0 90px rgba(204,0,0,0.3);
        transform: scale(1.05);
    }
}

.hero-subtitle-top {
    font-family: var(--font-title);
    font-size: 11px;
    letter-spacing: 4px;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    margin-bottom: 15px;
}

.hero-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.hero-number {
    font-family: var(--font-title);
    font-size: clamp(48px, 10vw, 100px);
    font-weight: 700;
    letter-spacing: 8px;
    color: var(--gold);
    text-shadow: 0 2px 20px rgba(200,168,75,0.4);
    line-height: 1;
}

.hero-city {
    font-family: var(--font-sans);
    font-size: clamp(14px, 2vw, 18px);
    font-weight: 300;
    letter-spacing: 6px;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
}

.hero-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
}

.divider-line {
    display: block;
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.divider-star {
    color: var(--gold);
    font-size: 16px;
}

.hero-named {
    font-family: var(--font-serif);
    font-size: clamp(16px, 2.5vw, 22px);
    font-weight: 400;
    color: rgba(255,255,255,0.7);
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.hero-name {
    font-family: var(--font-serif);
    font-size: clamp(22px, 4vw, 42px);
    font-weight: 700;
    color: var(--white);
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-dates {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 4px;
    font-family: var(--font-title);
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-weight: 500;
}

.btn-primary {
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(204,0,0,0.4);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--red-light) 0%, var(--red) 100%);
    box-shadow: 0 6px 25px rgba(204,0,0,0.6);
    transform: translateY(-2px);
    color: white;
}

.btn-secondary {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
    box-shadow: 0 4px 15px rgba(200,168,75,0.2);
}

.btn-secondary:hover {
    background: var(--gold);
    color: var(--dark);
    box-shadow: 0 6px 25px rgba(200,168,75,0.4);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--red);
    border: 2px solid var(--red);
    padding: 12px 28px;
    font-size: 13px;
}

.btn-outline:hover {
    background: var(--red);
    color: white;
    transform: translateY(-2px);
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator {
    text-align: center;
    color: rgba(255,255,255,0.4);
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.scroll-arrow {
    font-size: 20px;
    animation: bounceDown 2s ease-in-out infinite;
    margin-top: 8px;
    color: var(--gold);
}

@keyframes bounceDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* === TICKER === */
.ticker-wrap {
    background: linear-gradient(135deg, var(--red-dark) 0%, var(--red) 50%, var(--red-dark) 100%);
    padding: 12px 0;
    overflow: hidden;
    border-top: 1px solid rgba(255,255,255,0.2);
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.ticker {
    display: flex;
    gap: 60px;
    animation: ticker 30s linear infinite;
    white-space: nowrap;
}

.ticker span {
    font-family: var(--font-title);
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: white;
    flex-shrink: 0;
}

@keyframes ticker {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* === SECTION HEADERS === */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    font-family: var(--font-title);
    font-size: 11px;
    letter-spacing: 5px;
    color: var(--red);
    text-transform: uppercase;
    border: 1px solid rgba(204,0,0,0.4);
    padding: 6px 20px;
    border-radius: 2px;
    margin-bottom: 15px;
}

.section-header.light .section-badge {
    color: var(--gold);
    border-color: rgba(200,168,75,0.4);
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
    line-height: 1.2;
}

.section-header.light .section-title {
    color: var(--white);
}

.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 15px 0;
}

.section-divider::before,
.section-divider::after {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background: var(--gold);
}

.section-divider span {
    color: var(--gold);
    font-size: 18px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.6;
}

/* === SCHOOL SECTION === */
.school-section {
    background: var(--cream);
    padding: 100px 0;
}

.school-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    margin-bottom: 80px;
}

.school-card {
    background: white;
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    border-top: 4px solid var(--red);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.school-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(200,168,75,0.05), transparent);
    transition: left 0.5s ease;
}

.school-card:hover::before {
    left: 100%;
}

.school-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    border-top-color: var(--gold);
}

.card-icon {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
}

.school-card h3 {
    font-family: var(--font-serif);
    font-size: 20px;
    color: var(--dark);
    margin-bottom: 12px;
}

.school-card p {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.6;
}

.school-info-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.school-info-text h3 {
    font-family: var(--font-serif);
    font-size: 32px;
    color: var(--dark);
    margin-bottom: 20px;
}

.school-info-text p {
    color: #444;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.school-info-text strong {
    color: var(--red-dark);
}

.school-img-frame {
    position: relative;
    padding: 15px;
    background: white;
    box-shadow: 0 8px 40px rgba(0,0,0,0.15);
}

.img-placeholder {
    width: 100%;
    height: 320px;
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--blue-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.placeholder-content {
    text-align: center;
    color: white;
}

.placeholder-icon {
    font-size: 60px;
    margin-bottom: 15px;
}

.placeholder-text {
    font-family: var(--font-title);
    font-size: 22px;
    letter-spacing: 3px;
    color: var(--gold);
}

.placeholder-sub {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    letter-spacing: 2px;
    margin-top: 8px;
}

.img-corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border-color: var(--gold);
    border-style: solid;
}

.img-corner-tl { top: 5px; left: 5px; border-width: 2px 0 0 2px; }
.img-corner-tr { top: 5px; right: 5px; border-width: 2px 2px 0 0; }
.img-corner-bl { bottom: 5px; left: 5px; border-width: 0 0 2px 2px; }
.img-corner-br { bottom: 5px; right: 5px; border-width: 0 2px 2px 0; }

/* === HISTORY SECTION === */
.history-section {
    background: linear-gradient(135deg, var(--dark-blue) 0%, #0a1628 50%, var(--dark-2) 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.history-bg-overlay {
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(
            90deg,
            transparent 0px,
            transparent 49px,
            rgba(255,255,255,0.02) 50px
        ),
        repeating-linear-gradient(
            0deg,
            transparent 0px,
            transparent 49px,
            rgba(255,255,255,0.02) 50px
        );
    pointer-events: none;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, transparent, var(--gold) 10%, var(--gold) 90%, transparent);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    margin-bottom: 60px;
    position: relative;
}

.timeline-item.left {
    justify-content: flex-end;
    padding-right: calc(50% + 50px);
}

.timeline-item.right {
    padding-left: calc(50% + 50px);
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--gold);
    z-index: 2;
    box-shadow: 0 0 20px rgba(204,0,0,0.5);
}

.timeline-dot span {
    font-family: var(--font-title);
    font-size: 13px;
    font-weight: 700;
    color: white;
    letter-spacing: 1px;
}

.timeline-content {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-gold);
    border-radius: 8px;
    padding: 30px;
    max-width: 350px;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(200,168,75,0.7);
    transform: translateY(-3px);
}

.timeline-content h3 {
    font-family: var(--font-serif);
    font-size: 20px;
    color: var(--gold);
    margin-bottom: 10px;
}

.timeline-content p {
    color: rgba(255,255,255,0.75);
    font-size: 15px;
    line-height: 1.7;
}

/* === PILOT SECTION === */
.pilot-section {
    background: var(--cream);
    padding: 100px 0;
}

.pilot-bio {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 60px;
    align-items: start;
}

.pilot-photo-frame {
    position: relative;
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--blue) 100%);
    padding: 20px;
    border: 3px solid var(--gold);
    box-shadow: 0 10px 50px rgba(0,0,0,0.3), var(--shadow-gold);
    border-radius: 4px;
    margin-bottom: 30px;
}

.pilot-photo-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    border-radius: 2px;
}

.pilot-photo-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #0d1f3c 0%, #1a3a6b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
}

.pilot-silhouette {
    text-align: center;
}

.silhouette-icon {
    font-size: 80px;
    color: var(--gold);
    margin-bottom: 15px;
    opacity: 0.6;
}

.silhouette-text {
    font-family: var(--font-serif);
    font-size: 20px;
    color: white;
    line-height: 1.4;
    margin-bottom: 10px;
}

.silhouette-years {
    color: var(--gold);
    font-size: 14px;
    letter-spacing: 3px;
}

.photo-medal {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--red);
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.medal-star {
    font-size: 20px;
    color: var(--red);
    line-height: 1;
}

.medal-text {
    font-size: 9px;
    font-weight: 700;
    color: var(--dark);
    text-align: center;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

.pilot-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.stat-item {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--blue) 100%);
    padding: 20px 15px;
    text-align: center;
    border-left: 3px solid var(--red);
    border-radius: 4px;
}

.stat-number {
    font-family: var(--font-title);
    font-size: 32px;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}

.stat-label {
    font-size: 11px;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

.pilot-quote {
    background: linear-gradient(135deg, var(--dark-blue) 0%, #0d1f3c 100%);
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    position: relative;
}

.quote-mark {
    font-size: 80px;
    color: var(--red);
    font-family: Georgia, serif;
    line-height: 0.5;
    position: absolute;
    top: 20px;
    left: 20px;
    opacity: 0.4;
}

.pilot-quote p {
    font-family: var(--font-serif);
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    line-height: 1.8;
    padding-left: 40px;
    font-style: italic;
}

.pilot-bio-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.bio-item {
    display: flex;
    gap: 15px;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    border-left: 4px solid var(--gold);
    transition: all 0.3s ease;
}

.bio-item:hover {
    transform: translateX(5px);
    border-left-color: var(--red);
    box-shadow: 0 4px 25px rgba(0,0,0,0.12);
}

.bio-icon {
    font-size: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.bio-content strong {
    display: block;
    font-family: var(--font-title);
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--red-dark);
    margin-bottom: 5px;
}

.bio-content p, .bio-content em {
    color: #444;
    font-size: 15px;
    line-height: 1.6;
}

.bio-content strong ~ p strong {
    color: var(--dark);
}

/* === BATTLES SECTION === */
.battles-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, #0a0f1a 0%, var(--dark-2) 50%, #0d1f3c 100%);
    overflow: hidden;
}

.battles-bg {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(204,0,0,0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(200,168,75,0.04) 0%, transparent 40%);
    pointer-events: none;
}

.battles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 60px;
}

.battle-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(200,168,75,0.2);
    border-radius: 8px;
    padding: 35px 25px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.battle-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--red), var(--gold));
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.battle-card:hover::before {
    transform: scaleX(1);
}

.battle-card:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(200,168,75,0.5);
    transform: translateY(-5px);
}

.battle-card.featured {
    background: rgba(204,0,0,0.08);
    border-color: rgba(204,0,0,0.4);
}

.battle-card.featured::before {
    background: linear-gradient(90deg, var(--gold), var(--red));
    transform: scaleX(1);
}

.battle-year {
    font-family: var(--font-title);
    font-size: 13px;
    letter-spacing: 3px;
    color: var(--gold);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.battle-icon {
    font-size: 36px;
    margin-bottom: 15px;
    display: block;
}

.battle-card h3 {
    font-family: var(--font-serif);
    font-size: 18px;
    color: var(--white);
    margin-bottom: 15px;
    line-height: 1.3;
}

.battle-card p {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 15px;
}

.battle-card p strong {
    color: var(--gold);
}

.battle-tag {
    display: inline-block;
    background: rgba(200,168,75,0.15);
    border: 1px solid rgba(200,168,75,0.3);
    color: var(--gold);
    font-size: 11px;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: 3px;
    text-transform: uppercase;
}

/* Battle Path */
.battle-path {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-gold);
    border-radius: 12px;
    padding: 40px;
}

.path-title {
    font-family: var(--font-serif);
    font-size: 22px;
    color: var(--gold);
    margin-bottom: 40px;
    text-align: center;
}

.path-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
    gap: 10px;
}

.path-point {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.path-dot {
    width: 40px;
    height: 40px;
    background: rgba(200,168,75,0.2);
    border: 2px solid var(--gold);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.path-dot.active {
    background: var(--blue-light);
    border-color: var(--gold);
    box-shadow: 0 0 15px rgba(200,168,75,0.4);
}

.path-dot.victory {
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
    border-color: var(--gold);
    box-shadow: 0 0 20px rgba(204,0,0,0.6);
    animation: victoryGlow 2s ease-in-out infinite;
}

@keyframes victoryGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(204,0,0,0.6); }
    50% { box-shadow: 0 0 35px rgba(204,0,0,0.9), 0 0 60px rgba(200,168,75,0.4); }
}

.path-label {
    font-family: var(--font-sans);
    font-size: 12px;
    color: rgba(255,255,255,0.8);
    text-align: center;
    line-height: 1.4;
}

.path-label small {
    color: rgba(255,255,255,0.5);
    font-size: 10px;
}

.path-arrow {
    font-size: 20px;
    color: var(--gold);
    opacity: 0.6;
    margin-bottom: 10px;
}

/* === AWARDS SECTION === */
.awards-section {
    background: var(--cream);
    padding: 100px 0;
}

.awards-main {
    text-align: center;
    margin-bottom: 60px;
}

.award-gold-star {
    display: inline-block;
    margin-bottom: 20px;
}

.gold-star-outer {
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 0 0 8px rgba(200,168,75,0.2),
        0 0 0 16px rgba(200,168,75,0.1),
        0 8px 40px rgba(200,168,75,0.5);
    animation: rotateStar 20s linear infinite;
    margin: 0 auto;
}

@keyframes rotateStar {
    0% { box-shadow: 0 0 0 8px rgba(200,168,75,0.2), 0 0 0 16px rgba(200,168,75,0.1), 0 8px 40px rgba(200,168,75,0.5); }
    50% { box-shadow: 0 0 0 12px rgba(200,168,75,0.3), 0 0 0 24px rgba(200,168,75,0.15), 0 12px 60px rgba(200,168,75,0.7); }
    100% { box-shadow: 0 0 0 8px rgba(200,168,75,0.2), 0 0 0 16px rgba(200,168,75,0.1), 0 8px 40px rgba(200,168,75,0.5); }
}

.gold-star-inner {
    font-size: 80px;
    color: var(--red);
    text-shadow: 0 2px 10px rgba(0,0,0,0.4);
    line-height: 1;
}

.awards-main h3 {
    font-family: var(--font-serif);
    font-size: 28px;
    color: var(--dark);
    margin-bottom: 10px;
}

.awards-main p {
    color: var(--text-gray);
    max-width: 500px;
    margin: 0 auto;
    font-size: 15px;
    line-height: 1.7;
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 80px;
}

.award-item {
    background: white;
    padding: 35px 25px;
    border-radius: 8px;
    display: flex;
    gap: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border-bottom: 3px solid var(--gold);
    transition: all 0.3s ease;
}

.award-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.award-icon {
    font-size: 40px;
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.award-red {
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
    color: white;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(204,0,0,0.3);
}

.award-gold {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-dark) 100%);
    color: var(--dark);
    font-size: 26px;
    box-shadow: 0 4px 15px rgba(200,168,75,0.4);
}

.award-silver {
    background: linear-gradient(135deg, #c0c0c0 0%, #888 100%);
    color: white;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.award-info h4 {
    font-family: var(--font-serif);
    font-size: 18px;
    color: var(--dark);
    margin-bottom: 8px;
}

.award-info p {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.6;
}

.award-info strong {
    color: var(--dark);
}

/* Postwar */
.postwar-section {
    margin-top: 20px;
}

.postwar-title {
    font-family: var(--font-serif);
    font-size: 28px;
    color: var(--dark);
    margin-bottom: 35px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.postwar-icon {
    font-size: 30px;
}

.postwar-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.postwar-card {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--blue) 100%);
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid var(--gold);
    position: relative;
    transition: all 0.3s ease;
}

.postwar-card:hover {
    transform: translateY(-3px);
    border-left-color: var(--red);
}

.postwar-year {
    font-family: var(--font-title);
    font-size: 13px;
    letter-spacing: 3px;
    color: var(--gold);
    margin-bottom: 10px;
}

.postwar-card h4 {
    font-family: var(--font-serif);
    font-size: 18px;
    color: white;
    margin-bottom: 12px;
}

.postwar-card p {
    color: rgba(255,255,255,0.75);
    font-size: 14px;
    line-height: 1.7;
}

.postwar-card p strong {
    color: var(--gold);
}

/* === AIRCRAFT SECTION === */
.aircraft-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, #0a0a14 0%, var(--dark-2) 50%, #14080a 100%);
    overflow: hidden;
}

.aircraft-bg {
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 30px,
            rgba(255,255,255,0.01) 30px,
            rgba(255,255,255,0.01) 60px
        );
    pointer-events: none;
}

.aircraft-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.aircraft-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(200,168,75,0.25);
    border-radius: 12px;
    padding: 40px 30px;
    position: relative;
    transition: all 0.4s ease;
    overflow: hidden;
}

.aircraft-card:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(200,168,75,0.6);
    transform: translateY(-5px);
}

.aircraft-card.featured-aircraft {
    background: rgba(204,0,0,0.07);
    border-color: rgba(200,168,75,0.5);
    box-shadow: 0 8px 40px rgba(0,0,0,0.3);
}

.aircraft-badge-top {
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
    color: white;
    font-family: var(--font-title);
    font-size: 10px;
    letter-spacing: 2px;
    padding: 6px 16px;
    border-radius: 0 12px 0 12px;
    text-transform: uppercase;
}

.aircraft-svg {
    margin-bottom: 25px;
    filter: drop-shadow(0 4px 15px rgba(200,168,75,0.2));
}

.plane-svg {
    width: 100%;
    max-width: 280px;
    height: auto;
    transition: transform 0.4s ease;
}

.aircraft-card:hover .plane-svg {
    transform: translateX(10px);
}

.aircraft-card h3 {
    font-family: var(--font-title);
    font-size: 36px;
    color: var(--gold);
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.aircraft-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
}

.spec {
    background: rgba(255,255,255,0.05);
    padding: 12px;
    border-radius: 6px;
    border-left: 2px solid var(--red);
}

.spec span {
    display: block;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 4px;
}

.spec strong {
    font-size: 13px;
    color: var(--gold);
    font-weight: 600;
}

.aircraft-desc {
    color: rgba(255,255,255,0.65);
    font-size: 14px;
    line-height: 1.7;
}

/* === VIDEO SECTION === */
.video-section {
    background: var(--cream);
    padding: 100px 0;
}

.video-block {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 50px;
    align-items: start;
}

.video-wrapper {
    position: relative;
}

.video-frame {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 60px rgba(0,0,0,0.3);
    background: var(--dark);
    aspect-ratio: 16/9;
    position: relative;
}

.video-frame iframe {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.video-overlay-corner {
    position: absolute;
    width: 25px;
    height: 25px;
    border-color: var(--gold);
    border-style: solid;
    z-index: 2;
}

.video-corner-tl { top: 5px; left: 5px; border-width: 3px 0 0 3px; }
.video-corner-tr { top: 5px; right: 5px; border-width: 3px 3px 0 0; }
.video-corner-bl { bottom: 5px; left: 5px; border-width: 0 0 3px 3px; }
.video-corner-br { bottom: 5px; right: 5px; border-width: 0 3px 3px 0; }

.video-info {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--blue) 100%);
    padding: 40px 30px;
    border-radius: 8px;
    border-left: 4px solid var(--gold);
    color: white;
}

.video-info h3 {
    font-family: var(--font-serif);
    font-size: 24px;
    color: var(--gold);
    margin-bottom: 15px;
    line-height: 1.3;
}

.video-info p {
    color: rgba(255,255,255,0.8);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 25px;
}

.video-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.video-links .btn-outline {
    color: var(--gold);
    border-color: var(--gold);
    text-align: center;
}

.video-links .btn-outline:hover {
    background: var(--gold);
    color: var(--dark);
}

/* === SOURCES === */
.sources-section {
    background: #f0ebe0;
    padding: 80px 0;
}

.sources-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.source-card {
    background: white;
    padding: 30px 20px;
    border-radius: 8px;
    text-align: center;
    border-bottom: 3px solid var(--red);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    display: block;
    color: var(--dark);
}

.source-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-bottom-color: var(--gold);
    color: var(--dark);
}

.source-icon {
    font-size: 36px;
    margin-bottom: 12px;
    display: block;
}

.source-card h4 {
    font-family: var(--font-serif);
    font-size: 16px;
    margin-bottom: 6px;
    color: var(--dark);
}

.source-card p {
    font-size: 13px;
    color: var(--red);
}

/* === CONTACTS === */
.contacts-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, var(--dark-2) 0%, var(--dark-blue) 100%);
    overflow: hidden;
}

.contacts-bg {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 30% 70%, rgba(200,168,75,0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(204,0,0,0.05) 0%, transparent 50%);
    pointer-events: none;
}

.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    gap: 15px;
    background: rgba(255,255,255,0.05);
    padding: 20px;
    border-radius: 8px;
    border-left: 3px solid var(--gold);
}

.contact-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.contact-item h4 {
    font-family: var(--font-title);
    font-size: 13px;
    letter-spacing: 2px;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 6px;
}

.contact-item p {
    color: rgba(255,255,255,0.8);
    font-size: 15px;
    line-height: 1.6;
}

.contact-item a {
    color: var(--gold);
    font-size: 15px;
    word-break: break-all;
}

.contact-item a:hover {
    color: var(--gold-light);
    text-decoration: underline;
}

.contact-map {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
    border: 2px solid var(--border-gold);
}

/* === FOOTER === */
.footer {
    background: var(--dark-2);
    border-top: 1px solid var(--border-gold);
}

.footer-top {
    padding: 70px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-star {
    font-size: 40px;
    color: var(--red);
    margin-bottom: 5px;
}

.footer-brand h3 {
    font-family: var(--font-title);
    font-size: 22px;
    letter-spacing: 3px;
    color: var(--gold);
}

.footer-brand p {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    line-height: 1.6;
}

.footer-city {
    color: rgba(255,255,255,0.4) !important;
    font-size: 13px !important;
    margin-top: 5px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links h4 {
    font-family: var(--font-title);
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-gold);
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--gold);
    padding-left: 8px;
}

.footer-motto {
    text-align: center;
}

.motto-stars {
    color: var(--gold);
    font-size: 20px;
    letter-spacing: 10px;
    margin-bottom: 15px;
}

.footer-motto blockquote {
    font-family: var(--font-serif);
    font-size: 16px;
    color: rgba(255,255,255,0.7);
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 15px;
    border-left: 2px solid var(--gold);
    padding-left: 15px;
    text-align: left;
}

.footer-motto p {
    color: rgba(255,255,255,0.5);
    font-size: 14px;
    line-height: 1.7;
}

.footer-motto strong {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 20px 0;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255,255,255,0.35);
}

.footer-bottom-right {
    color: var(--gold) !important;
    opacity: 0.7;
}

/* === BACK TO TOP === */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(204,0,0,0.4);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(200,168,75,0.5);
}

/* === SCROLL ANIMATIONS === */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].visible {
    opacity: 1;
    transform: translateY(0);
}

/* === ADAPTIVE / RESPONSIVE === */
@media (max-width: 1100px) {
    .battles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 900px) {
    .school-info-block {
        grid-template-columns: 1fr;
    }
    
    .pilot-bio {
        grid-template-columns: 1fr;
    }
    
    .pilot-photo-block {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .aircraft-grid {
        grid-template-columns: 1fr;
    }
    
    .awards-grid {
        grid-template-columns: 1fr;
    }
    
    .postwar-grid {
        grid-template-columns: 1fr;
    }
    
    .video-block {
        grid-template-columns: 1fr;
    }
    
    .contacts-grid {
        grid-template-columns: 1fr;
    }
    
    .sources-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item.left,
    .timeline-item.right {
        padding-left: 90px;
        padding-right: 0;
        justify-content: flex-start;
    }
    
    .timeline-dot {
        left: 30px;
        width: 60px;
        height: 60px;
    }
    
    .timeline-content {
        max-width: 100%;
    }
    
    .path-line {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }
    
    .path-arrow {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: linear-gradient(180deg, var(--dark-blue) 0%, var(--dark-2) 100%);
        flex-direction: column;
        padding: 80px 30px 30px;
        gap: 5px;
        transition: right 0.4s ease;
        border-left: 2px solid var(--border-gold);
        z-index: 999;
    }
    
    .nav-menu.open {
        right: 0;
    }
    
    .nav-link {
        font-size: 15px;
        padding: 12px 0;
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }
    
    .nav-burger {
        display: flex;
        z-index: 1000;
    }
    
    .battles-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    section {
        padding: 70px 0 !important;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .battle-path {
        padding: 25px 15px;
        overflow-x: auto;
    }
    
    .path-line {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .school-cards {
        grid-template-columns: 1fr;
    }
    
    .sources-grid {
        grid-template-columns: 1fr;
    }
    
    .pilot-stats {
        grid-template-columns: 1fr 1fr;
    }
    
    .timeline-item.left,
    .timeline-item.right {
        padding-left: 70px;
    }
    
    .timeline-dot {
        width: 50px;
        height: 50px;
    }
    
    .timeline-dot span {
        font-size: 10px;
    }
    
    .hero-number {
        font-size: 48px;
    }
    
    .aircraft-specs {
        grid-template-columns: 1fr;
    }
    
    .path-line {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
    }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--dark-2);
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--red) 0%, var(--gold) 100%);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
}

/* ============================================
   ИНТЕРАКТИВНЫЙ БОЕВОЙ ПУТЬ
============================================ */

.battle-map-section {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(200,168,75,0.2);
    border-radius: 16px;
    padding: 50px 40px;
    margin-top: 60px;
}

/* --- Заголовок --- */
.battle-map-header {
    text-align: center;
    margin-bottom: 50px;
}

.battle-map-title-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 10px;
}

.battle-map-icon {
    font-size: 28px;
    color: var(--gold);
}

.battle-map-title {
    font-family: var(--font-serif);
    font-size: clamp(20px, 2.5vw, 30px);
    color: var(--white);
}

.battle-map-subtitle {
    font-size: 14px;
    color: rgba(255,255,255,0.45);
    letter-spacing: 1px;
}

/* --- Маршрут --- */
.route-container {
    margin-bottom: 40px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.route-line-wrap {
    position: relative;
    min-width: 700px;
    height: 130px;
}

.route-svg {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    height: 120px;
}

.route-path-animated {
    transition: stroke-dashoffset 0.1s linear;
}

.route-points {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
}

/* --- Точки маршрута --- */
.route-point {
    position: absolute;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    z-index: 5;
}

.rp-dot {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: 2px solid rgba(200,168,75,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    font-weight: 700;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

.route-point:hover .rp-dot,
.route-point.active-point .rp-dot {
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
    border-color: var(--gold);
    color: white;
    box-shadow:
        0 0 0 4px rgba(200,168,75,0.25),
        0 6px 20px rgba(204,0,0,0.5);
    transform: scale(1.2);
}

.rp-dot.rp-start {
    background: linear-gradient(135deg, var(--blue-light) 0%, var(--dark-blue) 100%);
    border-color: var(--gold);
}

.rp-dot.rp-featured {
    background: linear-gradient(135deg, #8B0000 0%, var(--red) 100%);
    border-color: var(--gold);
    font-size: 18px;
}

.rp-dot.rp-gold {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    border-color: white;
    color: var(--dark);
    font-size: 18px;
    box-shadow: 0 0 20px rgba(200,168,75,0.6);
}

.rp-dot.rp-victory {
    background: linear-gradient(135deg, var(--red) 0%, #8B0000 100%);
    border-color: var(--gold);
    font-size: 20px;
    box-shadow: 0 0 20px rgba(204,0,0,0.7);
    animation: victoryPulse 2s ease-in-out infinite;
}

@keyframes victoryPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(204,0,0,0.7); }
    50% { box-shadow: 0 0 35px rgba(204,0,0,1), 0 0 60px rgba(200,168,75,0.5); }
}

.rp-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    white-space: nowrap;
}

.rp-city {
    font-family: var(--font-title);
    font-size: 11px;
    letter-spacing: 0.5px;
    color: rgba(255,255,255,0.85);
    text-transform: uppercase;
}

.rp-year {
    font-size: 10px;
    color: var(--gold);
    letter-spacing: 1px;
}

/* Пульсирующий круг вокруг активной точки */
.rp-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--gold);
    animation: pulseRing 2.5s ease-out infinite;
    z-index: 1;
    pointer-events: none;
}

.rp-pulse-red {
    border-color: var(--red);
}

@keyframes pulseRing {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
    100% { transform: translate(-50%, -50%) scale(2.5); opacity: 0; }
}

/* --- ПАНЕЛИ --- */
.battle-panels {
    position: relative;
    min-height: 380px;
}

.battle-panel {
    display: none;
    animation: panelFadeIn 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.battle-panel.active {
    display: block;
}

@keyframes panelFadeIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.panel-inner {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(200,168,75,0.2);
    border-radius: 12px;
    padding: 40px;
    backdrop-filter: blur(5px);
}

/* Теги */
.panel-tag {
    display: inline-block;
    font-family: var(--font-title);
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    border: 1px solid rgba(200,168,75,0.35);
    padding: 5px 16px;
    border-radius: 3px;
    margin-bottom: 14px;
}

.panel-tag-featured {
    color: var(--red);
    border-color: rgba(204,0,0,0.4);
    background: rgba(204,0,0,0.08);
}

.panel-tag-gold {
    color: var(--gold-light);
    border-color: var(--gold);
    background: rgba(200,168,75,0.1);
    font-size: 13px;
}

.panel-tag-victory {
    color: #ff6b6b;
    border-color: rgba(255,107,107,0.4);
    background: rgba(204,0,0,0.1);
    font-size: 13px;
}

/* Заголовок панели */
.panel-title {
    font-family: var(--font-serif);
    font-size: clamp(20px, 2.5vw, 28px);
    color: var(--white);
    margin-bottom: 16px;
    line-height: 1.25;
}

.panel-title span {
    display: block;
    font-size: 0.7em;
    color: var(--gold);
    font-weight: 400;
    margin-top: 4px;
}

/* Мета */
.panel-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.05);
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.08);
}

/* Текст */
.panel-text p {
    font-size: 15px;
    color: rgba(255,255,255,0.78);
    line-height: 1.8;
    margin-bottom: 14px;
}

.panel-text p:last-child {
    margin-bottom: 0;
}

.panel-text strong {
    color: var(--gold);
    font-weight: 600;
}

.panel-text em {
    color: rgba(255,255,255,0.9);
    font-style: italic;
}

/* Факт-блок */
.panel-fact {
    display: flex;
    gap: 12px;
    background: rgba(200,168,75,0.07);
    border: 1px solid rgba(200,168,75,0.2);
    border-left: 3px solid var(--gold);
    border-radius: 6px;
    padding: 16px;
    margin-top: 22px;
    font-size: 13px;
    color: rgba(255,255,255,0.65);
    line-height: 1.6;
}

.fact-icon {
    font-size: 22px;
    flex-shrink: 0;
}

.panel-fact strong {
    color: rgba(255,255,255,0.9);
}

/* --- Правая колонка --- */

/* Статистика */
.panel-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
}

.ps-item {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 14px 10px;
    text-align: center;
    transition: all 0.3s ease;
}

.ps-item:hover {
    background: rgba(255,255,255,0.09);
    border-color: rgba(200,168,75,0.3);
}

.ps-item.ps-red {
    border-color: rgba(204,0,0,0.3);
    background: rgba(204,0,0,0.07);
}

.ps-item.ps-gold {
    border-color: rgba(200,168,75,0.4);
    background: rgba(200,168,75,0.08);
}

.ps-item.ps-victory {
    border-color: rgba(204,0,0,0.5);
    background: rgba(204,0,0,0.1);
}

.ps-num {
    font-family: var(--font-title);
    font-size: 22px;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 4px;
}

.ps-red .ps-num { color: #ff6b6b; }
.ps-victory .ps-num { color: #ff4444; }

.ps-label {
    font-size: 10px;
    color: rgba(255,255,255,0.45);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

/* Мини-таймлайн */
.panel-timeline-mini {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
}

.ptm-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: rgba(255,255,255,0.65);
    line-height: 1.5;
}

.ptm-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
    flex-shrink: 0;
    margin-top: 5px;
}

.ptm-dot.ptm-red { background: var(--red); }
.ptm-dot.ptm-victory { 
    background: var(--red);
    box-shadow: 0 0 6px rgba(204,0,0,0.8);
}

.ptm-item strong {
    color: rgba(255,255,255,0.9);
}

/* Самолётик мини */
.panel-aircraft-mini {
    background: rgba(255,255,255,0.04);
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    border: 1px solid rgba(200,168,75,0.15);
    margin-bottom: 14px;
}

.mini-plane-svg {
    width: 100%;
    max-width: 180px;
    height: auto;
}

.aircraft-mini-label {
    font-family: var(--font-title);
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--gold);
    text-transform: uppercase;
    margin-top: 6px;
}

/* Мини-цитата */
.panel-quote-mini {
    font-family: var(--font-serif);
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    font-style: italic;
    line-height: 1.6;
    text-align: center;
    padding: 10px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

/* Противники */
.panel-enemy-info {
    margin-top: 4px;
}

.panel-enemy-info h5 {
    font-family: var(--font-title);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 8px;
}

.enemy-planes {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.ep-tag {
    font-size: 11px;
    letter-spacing: 1px;
    padding: 3px 8px;
    background: rgba(204,0,0,0.12);
    border: 1px solid rgba(204,0,0,0.3);
    border-radius: 3px;
    color: #ff8888;
}

.ep-tag.ep-blue {
    background: rgba(26,58,107,0.3);
    border-color: rgba(42,82,152,0.5);
    color: #88aaff;
}

/* Большой бейдж */
.panel-badge-big {
    text-align: center;
    padding: 20px;
    background: rgba(204,0,0,0.1);
    border: 2px solid rgba(204,0,0,0.3);
    border-radius: 8px;
    margin-top: 10px;
}

.panel-badge-victory {
    background: rgba(204,0,0,0.15);
    border-color: var(--gold);
    animation: badgeGlow 3s ease-in-out infinite;
}

@keyframes badgeGlow {
    0%, 100% { box-shadow: 0 0 10px rgba(200,168,75,0.2); }
    50% { box-shadow: 0 0 30px rgba(200,168,75,0.5), 0 0 60px rgba(204,0,0,0.3); }
}

.pbb-text {
    font-family: var(--font-title);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--red);
    text-transform: uppercase;
}

.panel-badge-victory .pbb-text {
    color: var(--gold);
    font-size: 28px;
}

.pbb-sub {
    font-family: var(--font-title);
    font-size: 13px;
    letter-spacing: 3px;
    color: rgba(255,255,255,0.5);
    margin-top: 4px;
}

/* Наград-дисплей (для панели Героя) */
.hero-award-display {
    text-align: center;
    padding: 25px 15px;
    background: rgba(200,168,75,0.08);
    border: 1px solid rgba(200,168,75,0.3);
    border-radius: 10px;
    margin-bottom: 16px;
}

.had-star {
    display: flex;
    justify-content: center;
    margin-bottom: 14px;
}

.had-star-outer {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 0 0 5px rgba(200,168,75,0.2),
        0 0 30px rgba(200,168,75,0.5);
    animation: goldPulse 3s ease-in-out infinite;
}

@keyframes goldPulse {
    0%, 100% { box-shadow: 0 0 0 5px rgba(200,168,75,0.2), 0 0 30px rgba(200,168,75,0.5); }
    50% { box-shadow: 0 0 0 10px rgba(200,168,75,0.3), 0 0 50px rgba(200,168,75,0.7); }
}

.had-star-inner {
    font-size: 44px;
    color: var(--red);
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    line-height: 1;
}

.had-title {
    font-family: var(--font-serif);
    font-size: 16px;
    color: var(--gold);
    margin-bottom: 6px;
}

.had-decree {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    letter-spacing: 1px;
}

/* --- Навигация по панелям --- */
.panel-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    margin-top: 30px;
}

.panel-nav-btn {
    font-family: var(--font-title);
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    background: transparent;
    border: 1px solid rgba(200,168,75,0.35);
    padding: 10px 24px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.panel-nav-btn:hover {
    background: rgba(200,168,75,0.1);
    border-color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(200,168,75,0.2);
}

.panel-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.panel-dots {
    display: flex;
    gap: 10px;
    align-items: center;
}

.panel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(200,168,75,0.2);
}

.panel-dot:hover {
    background: rgba(200,168,75,0.4);
    border-color: var(--gold);
}

.panel-dot.active {
    background: var(--gold);
    border-color: var(--gold);
    box-shadow: 0 0 8px rgba(200,168,75,0.6);
    width: 14px;
    height: 14px;
}

/* --- Адаптив --- */
@media (max-width: 900px) {
    .battle-map-section {
        padding: 35px 20px;
    }

    .panel-inner {
        grid-template-columns: 1fr;
        padding: 25px 20px;
    }

    .panel-right {
        order: -1;
    }

    .panel-stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 600px) {
    .panel-stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .panel-meta {
        gap: 8px;
    }

    .meta-item {
        font-size: 11px;
    }

    .panel-navigation {
        gap: 15px;
    }

    .panel-nav-btn {
        padding: 8px 16px;
        font-size: 11px;
    }

    .battle-map-title-wrap {
        gap: 10px;
    }

    .battle-map-icon {
        font-size: 20px;
    }
}