@font-face {
    font-family: 'DS-Moster';
    src: url('fonts/dsmoster.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Calculator';
    src: url('fonts/calculator.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary-color: #4B5320;
    --primary-light: #5D6628;
    --secondary-color: #2F3625;
    --accent-color: #D4AF37;
    --accent-light: #E5C550;
    --text-color: #E0E0E0;
    --text-muted: #888888;
    --bg-dark: #0a0a0a;
    --bg-light: #141414;
    --bg-card: #1a1a1a;
    --border-color: #2a2a2a;
    --success-color: #27ca40;
    --warning-color: #ffbd2e;
    --danger-color: #ff5f56;
    --font-main: 'DS-Moster', 'Black Ops One', cursive;
    --font-body: 'Roboto Mono', monospace;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

.nav-links a.active {
    color: var(--accent-color);
}

.hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('img/grain.png');
    opacity: 0.05;
    pointer-events: none;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.team-status {
    margin-top: 15px;
    font-family: var(--font-body);
    letter-spacing: 2px;
    font-size: 0.8rem;
    color: #27ca40;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #27ca40;
    border-radius: 50%;
    box-shadow: 0 0 10px #27ca40;
}

.team-coords {
    margin-top: 10px;
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--text-muted);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-main);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: normal;
}

.highlight {
    color: var(--accent-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar {
    background: rgba(10, 10, 10, 0.98);
    height: 70px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--primary-color);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-family: var(--font-main);
    font-size: 1.5rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: all 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.nav-links a:hover::after {
    width: 100%;
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 5px;
    transition: all 0.3s ease;
}

.hero {
    height: 100vh;
    background: url('https://images.unsplash.com/photo-1542259681-d4cd7193853d?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(4, 4, 4, 0.88) 0%, rgba(8, 8, 8, 0.62) 18%, rgba(38, 46, 18, 0.36) 42%, rgba(18, 24, 10, 0.48) 58%, rgba(8, 8, 8, 0.82) 78%, rgba(4, 4, 4, 0.96) 100%), radial-gradient(circle at 50% 42%, rgba(212, 175, 55, 0.10) 0%, rgba(93, 102, 40, 0.18) 18%, rgba(75, 83, 32, 0.10) 34%, rgba(0, 0, 0, 0) 62%), radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0) 48%, rgba(0, 0, 0, 0.22) 78%, rgba(0, 0, 0, 0.42) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 20px;
    max-width: 900px;
}

.team-emblem {
    width: 180px;
    height: 180px;
    margin: 0 auto 30px;
    position: relative;
}

.team-emblem img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.5));
}

.emblem-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, transparent 70%);
    z-index: -1;
}

.hero-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--accent-color);
    letter-spacing: 3px;
}

.hero-badge i {
    font-size: 0.8rem;
}

.hero-title {
    font-size: 5rem;
    color: #fff;
    margin-bottom: 10px;
    text-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
    letter-spacing: 10px;
}

.hero-subtitle {
    font-family: var(--font-body);
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-bottom: 30px;
    letter-spacing: 5px;
}

.hero-divider {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    margin: 30px auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.stat-box {
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 20px 30px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    min-width: 150px;
    transition: all 0.3s;
}

.stat-box:hover {
    border-color: var(--accent-color);
    transform: translateY(-3px);
    background: rgba(0, 0, 0, 0.7);
}

.stat-num {
    display: block;
    font-family: var(--font-main);
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 5px;
}

.stat-desc {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 2px;
}

.hero-cta {
    margin-top: 30px;
}

.btn-tactical {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-color);
    color: #fff;
    padding: 18px 45px;
    text-decoration: none;
    font-family: var(--font-main);
    font-size: 1.1rem;
    letter-spacing: 2px;
    border: 2px solid var(--primary-color);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.btn-tactical::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-tactical:hover::before {
    left: 100%;
}

.btn-tactical:hover {
    background: transparent;
    color: var(--primary-color);
    box-shadow: 0 0 20px rgba(75, 83, 32, 0.6);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.75rem;
    letter-spacing: 2px;
    animation: bounce 2s infinite;
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--accent-color);
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        top: 8px;
    }
    100% {
        opacity: 0;
        top: 20px;
    }
}

@keyframes bounce {
    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

.section {
    padding: 100px 0;
}

.dark-bg {
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.section-title {
    text-align: center;
    position: relative;
    margin-bottom: 60px;
    font-size: 2.5rem;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--accent-color);
    margin: 20px auto 0;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.section-title i {
    color: var(--accent-color);
    margin-right: 15px;
}

.section-header-block {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 40px;
}

.section-subtitle {
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.8;
    letter-spacing: 1px;
    margin-top: -20px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.lead-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    border-left: 3px solid var(--accent-color);
    padding-left: 20px;
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.principle-card {
    text-align: center;
    padding: 30px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 220px;
}

.principle-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--border-color);
    transition: background 0.3s;
}

.principle-card:hover::before {
    background: var(--accent-color);
}

.principle-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.principle-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.principle-card h3 {
    font-size: 1rem;
    margin-bottom: 10px;
    color: #fff;
    word-wrap: break-word;
    white-space: normal;
    line-height: 1.2;
    padding: 0 5px;
}

.principle-card p {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-top: 8px;
}

.check-list {
    list-style: none;
    margin-top: 30px;
}

.check-list li {
    margin-bottom: 15px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.check-list li:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.check-list i {
    color: var(--success-color);
    font-size: 1.2rem;
}

.tactical-frame {
    position: relative;
    padding: 15px;
    border: 2px solid var(--primary-color);
    background: var(--bg-card);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.tactical-frame img {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(30%) contrast(110%);
    transition: all 0.3s;
    object-fit: cover;
    max-width: 100%;
}

.tactical-frame:hover img {
    filter: grayscale(0%) contrast(110%);
}

.frame-corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 3px solid var(--accent-color);
}

.frame-corner.top-left {
    top: -2px;
    left: -2px;
    border-right: none;
    border-bottom: none;
}

.frame-corner.top-right {
    top: -2px;
    right: -2px;
    border-left: none;
    border-bottom: none;
}

.frame-corner.bottom-left {
    bottom: -2px;
    left: -2px;
    border-right: none;
    border-top: none;
}

.frame-corner.bottom-right {
    bottom: -2px;
    right: -2px;
    border-left: none;
    border-top: none;
}

.frame-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.overlay-grid {
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(75, 83, 32, 0.1) 1px, transparent 1px), linear-gradient(90deg, rgba(75, 83, 32, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
}

.frame-label {
    position: absolute;
    bottom: 10px;
    right: 15px;
    background: rgba(10, 10, 10, 0.9);
    padding: 8px 15px;
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--accent-color);
    border: 1px solid var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.label-status {
    color: var(--success-color);
}

.structure-section,
.uniform-section {
    position: relative;
    overflow: hidden;
}

.structure-section::before,
.uniform-section::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(rgba(75, 83, 32, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(75, 83, 32, 0.045) 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: 0.35;
}

.command-overview,
.uniform-intel-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 45px;
    position: relative;
    z-index: 1;
}

.overview-card,
.intel-item {
    background: linear-gradient(180deg, rgba(26, 26, 26, 0.95) 0%, rgba(18, 18, 18, 0.95) 100%);
    border: 1px solid var(--border-color);
    padding: 20px 22px;
    position: relative;
    overflow: hidden;
}

.overview-card::before,
.intel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    opacity: 0.8;
}

.overview-label,
.intel-label {
    display: block;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.72rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.overview-card strong,
.intel-item strong {
    color: #fff;
    font-size: 0.95rem;
    letter-spacing: 1px;
    line-height: 1.5;
}

.chain-of-command {
    position: relative;
    z-index: 1;
}

.chain-line-vertical {
    width: 2px;
    margin: 0 auto;
    background: linear-gradient(180deg, transparent, var(--accent-color), transparent);
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.25);
}

.chain-line-vertical.top {
    height: 36px;
}

.chain-line-vertical.middle {
    height: 42px;
}

.chain-line-vertical.bottom {
    height: 42px;
}

.tactical-card {
    background: linear-gradient(180deg, rgba(26, 26, 26, 0.98) 0%, rgba(16, 16, 16, 0.98) 100%);
    border: 1px solid var(--border-color);
    padding: 30px;
    min-width: 280px;
    text-align: left;
    position: relative;
    overflow: hidden;
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.tactical-card::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.03), transparent 45%);
}

.rank-card-topline {
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    margin-bottom: 18px;
}

.tactical-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent-color);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45), 0 0 20px rgba(212, 175, 55, 0.08);
}

.rank-card.commander {
    border-color: var(--accent-color);
    min-width: 380px;
    text-align: center;
}

.rank-card.commander .rank-desc,
.rank-card.commander .rank-duties {
    text-align: left;
}

.rank-type {
    display: inline-block;
    margin-bottom: 10px;
    padding: 5px 10px;
    border: 1px solid rgba(212, 175, 55, 0.35);
    color: var(--accent-color);
    font-family: var(--font-body);
    font-size: 0.72rem;
    letter-spacing: 2px;
    background: rgba(212, 175, 55, 0.06);
}

.rank-card h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.rank-name {
    color: var(--accent-color);
    font-family: var(--font-body);
    font-size: 0.95rem;
    letter-spacing: 2px;
    margin-bottom: 18px;
}

.rank-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.75;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.rank-duties {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
    padding-left: 0;
}

.rank-duties li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #d5d5d5;
    font-size: 0.88rem;
    letter-spacing: 0.5px;
}

.rank-duties i {
    color: var(--success-color);
}

.rank-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.75rem;
    letter-spacing: 2px;
}

.rank-level.level-2,
.rank-level.level-3 {
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    gap: 30px;
}

.structure-note-block {
    margin-top: 32px;
    position: relative;
    z-index: 1;
}

.structure-note {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 22px 24px;
    background: linear-gradient(180deg, rgba(26, 26, 26, 0.98) 0%, rgba(18, 18, 18, 0.98) 100%);
    border: 1px solid var(--border-color);
}

.structure-note i {
    color: var(--accent-color);
    font-size: 1.25rem;
    margin-top: 2px;
}

.structure-note strong {
    display: block;
    color: #fff;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.structure-note p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.75;
    margin: 0;
}

.uniform-panel {
    background: linear-gradient(180deg, rgba(26, 26, 26, 0.98) 0%, rgba(17, 17, 17, 0.98) 100%);
    border: 1px solid var(--border-color);
    padding: 0;
    overflow: hidden;
    position: relative;
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.uniform-panel::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.03), transparent 45%);
}

.uniform-panel:hover {
    transform: translateY(-6px);
    border-color: var(--accent-color);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45), 0 0 20px rgba(212, 175, 55, 0.08);
}

.uniform-panel.featured {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.12);
}

.upgraded-uniform-grid .uniform-panel:nth-child(2) {
    box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.14), 0 0 26px rgba(212, 175, 55, 0.06);
}

.uniform-panel-header {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) auto;
    align-items: start;
    gap: 16px;
    padding: 24px 24px 18px;
    border-bottom: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.015);
    position: relative;
    z-index: 1;
}

.uniform-panel-icon {
    width: 54px;
    height: 54px;
    border: 1px solid var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 1.35rem;
    background: rgba(212, 175, 55, 0.05);
}

.uniform-panel-header h3 {
    color: #fff;
    font-size: 1.05rem;
    margin-bottom: 6px;
    line-height: 1.35;
    word-break: break-word;
}

.uniform-panel-subtitle {
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.68rem;
    letter-spacing: 2px;
    line-height: 1.5;
    display: block;
}

.uniform-critical-badge {
    align-self: start;
    margin-left: 8px;
    color: var(--bg-dark);
    background: var(--accent-color);
    padding: 6px 10px;
    font-size: 0.65rem;
    font-family: var(--font-body);
    letter-spacing: 1px;
    font-weight: 700;
    white-space: nowrap;
}

.uniform-specs {
    list-style: none;
    padding: 12px 24px 20px;
    margin: 0;
    position: relative;
    z-index: 1;
}

.uniform-specs li {
    display: grid;
    grid-template-columns: minmax(120px, 150px) minmax(0, 1fr);
    align-items: start;
    gap: 18px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
    transition: padding-left 0.3s ease, border-color 0.3s ease;
}

.uniform-specs li:last-child {
    border-bottom: none;
}

.uniform-specs li:hover {
    padding-left: 8px;
    border-color: rgba(212, 175, 55, 0.22);
}

.spec-label {
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.82rem;
    letter-spacing: 1px;
    line-height: 1.5;
}

.spec-value {
    color: #fff;
    font-weight: 700;
    font-size: 0.92rem;
    line-height: 1.7;
    letter-spacing: 0.4px;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.spec-value small {
    font-weight: 400;
    color: var(--text-muted);
    font-size: 0.8rem;
    display: block;
    margin-top: 2px;
}

.uniform-note,
.weapon-tech-bar,
.uniform-warning-box,
.uniform-color-row {
    position: relative;
    z-index: 1;
}

.uniform-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 0 24px 24px;
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.7;
}

.uniform-note i {
    color: var(--accent-color);
    font-size: 0.7rem;
    margin-top: 8px;
}

.uniform-color-row {
    display: flex;
    gap: 12px;
    padding: 0 24px 24px;
    flex-wrap: wrap;
}

.color-chip {
    min-width: 120px;
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    font-family: var(--font-body);
    font-size: 0.75rem;
    letter-spacing: 1px;
    color: #fff;
    text-align: center;
}

.color-chip.atacs {
    background: linear-gradient(135deg, #4B5320 0%, #6B7436 100%);
}

.color-chip.olive {
    background: linear-gradient(135deg, #5D6628 0%, #7A8535 100%);
}

.uniform-warning-box {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 14px;
    margin: 0 24px 24px;
    padding: 18px;
    border: 1px solid rgba(212, 175, 55, 0.35);
    background: rgba(212, 175, 55, 0.08);
}

.uniform-warning-box i {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-top: 2px;
}

.uniform-warning-box strong {
    display: block;
    color: var(--accent-color);
    margin-bottom: 8px;
    letter-spacing: 1px;
    line-height: 1.4;
}

.uniform-warning-box p {
    color: var(--text-muted);
    font-size: 0.84rem;
    line-height: 1.8;
    margin: 0;
}

.weapon-tech-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0 24px 24px;
}

.weapon-tech-bar span {
    padding: 7px 12px;
    border: 1px solid var(--border-color);
    background: var(--bg-dark);
    color: var(--accent-color);
    font-family: var(--font-body);
    font-size: 0.72rem;
    letter-spacing: 1px;
}

.uniform-checklist-block {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin: 40px 0 35px;
    position: relative;
    z-index: 1;
}

.uniform-checklist-card {
    background: linear-gradient(180deg, rgba(26, 26, 26, 0.98) 0%, rgba(18, 18, 18, 0.98) 100%);
    border: 1px solid var(--border-color);
    padding: 24px;
}

.uniform-checklist-card h3 {
    font-size: 1rem;
    margin-bottom: 18px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.uniform-checklist-card h3 i {
    color: var(--accent-color);
}

.uniform-checklist-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.uniform-checklist-card li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.uniform-checklist-card .fa-check-circle {
    color: var(--success-color);
}

.uniform-checklist-card .fa-times-circle {
    color: var(--danger-color);
}

.upgraded-alert-box {
    margin-top: 5px;
    margin-bottom: 35px;
}

.charter-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    padding: 30px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
}

.intro-badge {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.charter-intro p {
    font-size: 0.95rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    line-height: 1.8;
}

.accordion {
    max-width: 800px;
    margin: 0 auto 50px;
}

.accordion-item {
    background: var(--bg-card);
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.accordion-item:hover {
    border-color: var(--primary-color);
}

.accordion-header {
    width: 100%;
    padding: 25px 30px;
    background: none;
    border: none;
    color: #fff;
    text-align: left;
    font-family: var(--font-main);
    font-size: 1.1rem;
    letter-spacing: 2px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s;
}

.accordion-header:hover {
    background: rgba(75, 83, 32, 0.1);
}

.accordion-number {
    color: var(--accent-color);
    font-family: var(--font-body);
    font-size: 0.9rem;
}

.accordion-title {
    flex: 1;
}

.accordion-header i {
    color: var(--text-muted);
    transition: transform 0.3s;
}

.accordion-header.active i {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.accordion-content.active {
    max-height: 500px;
}

.content-inner {
    padding: 25px 30px;
    background: var(--bg-light);
    border-top: 1px solid var(--border-color);
}

.content-inner p {
    font-size: 0.9rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.content-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tag {
    background: var(--bg-dark);
    color: var(--accent-color);
    padding: 5px 12px;
    font-size: 0.7rem;
    font-family: var(--font-body);
    letter-spacing: 1px;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.tag:hover {
    background: var(--accent-color);
    color: var(--bg-dark);
}

.charter-download {
    text-align: center;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-color);
    text-decoration: none;
    padding: 15px 35px;
    border: 1px solid var(--border-color);
    font-family: var(--font-body);
    font-size: 0.9rem;
    letter-spacing: 2px;
    transition: all 0.3s;
}

.btn-download:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-2px);
}

.join-section {
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-light) 100%);
    position: relative;
}

.join-section::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(rgba(75, 83, 32, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(75, 83, 32, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.5;
}

.join-requirements-block {
    max-width: 900px;
    margin: 0 auto 60px;
    position: relative;
    z-index: 1;
}

.requirements-warning {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px 30px;
    background: linear-gradient(180deg, rgba(255, 95, 86, 0.12) 0%, rgba(255, 95, 86, 0.06) 100%);
    border: 2px solid var(--danger-color);
    border-radius: 8px;
    margin-bottom: 40px;
    box-shadow: 0 0 30px rgba(255, 95, 86, 0.15);
}

.requirements-warning i {
    font-size: 2.5rem;
    color: var(--danger-color);
    min-width: 50px;
    text-align: center;
}

.requirements-warning-content strong {
    display: block;
    color: var(--danger-color);
    font-family: var(--font-main);
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.requirements-warning-content span {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.join-req-title {
    text-align: center;
    font-family: var(--font-main);
    font-size: 1.4rem;
    color: var(--accent-color);
    margin-bottom: 35px;
    letter-spacing: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.join-req-title i {
    font-size: 1.6rem;
}

.join-req-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.join-req-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 22px 25px;
    background: linear-gradient(180deg, rgba(26, 26, 26, 0.98) 0%, rgba(18, 18, 18, 0.98) 100%);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    transition: all 0.35s ease;
}

.join-req-item:hover {
    border-color: var(--accent-color);
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.12) 0%, rgba(212, 175, 55, 0.06) 100%);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.1);
}

.join-req-item i {
    font-size: 2rem;
    color: var(--accent-color);
    min-width: 45px;
    text-align: center;
}

.join-req-item span {
    color: var(--text-color);
    font-size: 0.95rem;
    letter-spacing: 1px;
    line-height: 1.4;
    font-weight: 500;
}

.join-cta-block {
    text-align: center;
    margin: 0 auto 70px;
    position: relative;
    z-index: 1;
}

.btn-join-professional {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 28px 65px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: #fff;
    text-decoration: none;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    font-family: var(--font-main);
    font-size: 1.3rem;
    letter-spacing: 3px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(75, 83, 32, 0.4);
}

.btn-join-professional::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.6s ease;
}

.btn-join-professional:hover::before {
    left: 100%;
}

.btn-join-professional::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.3) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.btn-join-professional:hover::after {
    opacity: 1;
}

.btn-join-professional:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.3), 0 0 40px rgba(212, 175, 55, 0.2);
}

.btn-join-text {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1;
}

.btn-join-text i {
    font-size: 1.4rem;
}

.btn-join-subtext {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 2px;
    z-index: 1;
}

.btn-join-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.4) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
    z-index: 0;
}

.btn-join-professional:hover .btn-join-glow {
    width: 400px;
    height: 400px;
}

.join-cta-note {
    margin-top: 20px;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.85rem;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.join-cta-note i {
    color: var(--accent-color);
}

.join-contacts-block {
    position: relative;
    z-index: 1;
}

.join-contacts-title {
    text-align: center;
    font-family: var(--font-main);
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    letter-spacing: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.join-contacts-title i {
    color: var(--accent-color);
}

.join-contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.join-contact-card {
    background: linear-gradient(180deg, rgba(26, 26, 26, 0.98) 0%, rgba(18, 18, 18, 0.98) 100%);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
}

.join-contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
    transition: background 0.4s;
}

.join-contact-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.join-contact-card:hover::before {
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

.join-contact-card.commander {
    border-color: rgba(212, 175, 55, 0.4);
}

.join-contact-card.commander::before {
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

.join-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 25px 30px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border-color);
}

.join-card-header i {
    font-size: 2rem;
    color: var(--accent-color);
}

.join-card-header h3 {
    font-size: 1.2rem;
    color: #fff;
    margin: 0;
    letter-spacing: 2px;
}

.join-card-role {
    display: block;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.72rem;
    letter-spacing: 2px;
    margin-top: 4px;
}

.join-card-body {
    padding: 30px;
}

.join-name {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 8px;
    font-weight: 600;
}

.join-callsign {
    color: var(--accent-color);
    font-family: var(--font-body);
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 25px;
}

.join-contact-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
}

.join-contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 20px;
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s;
    border: 1px solid var(--border-color);
    border-radius: 3px;
}

.join-contact-btn i {
    font-size: 1.1rem;
}

.join-contact-btn.vk {
    background: rgba(0, 119, 255, 0.1);
    border-color: #0077ff;
    color: #0077ff;
}

.join-contact-btn.vk:hover {
    background: rgba(0, 119, 255, 0.2);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 119, 255, 0.2);
}

.join-contact-btn.phone {
    background: rgba(39, 202, 64, 0.1);
    border-color: var(--success-color);
    color: var(--success-color);
}

.join-contact-btn.phone:hover {
    background: rgba(39, 202, 64, 0.2);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(39, 202, 64, 0.2);
}

.gallery-section {
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-light) 100%);
    padding-bottom: 100px;
}

.gallery-section-header {
    text-align: center;
    max-width: 860px;
    margin: 0 auto 30px;
}

.gallery-section-text {
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.95rem;
    letter-spacing: 1px;
    line-height: 1.8;
    margin-top: -20px;
}

.gallery-toolbar {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 30px 0 10px;
}

.gallery-filter {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    padding: 10px 18px;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.gallery-filter:hover,
.gallery-filter.active {
    color: var(--accent-color);
    border-color: var(--accent-color);
    background: rgba(212, 175, 55, 0.08);
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.08);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.gallery-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    outline: none;
}

.gallery-item.is-hidden {
    display: none;
}

.gallery-item:hover,
.gallery-item:focus-visible {
    border-color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(212, 175, 55, 0.2);
}

.gallery-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), filter 0.6s ease;
    filter: grayscale(20%) contrast(110%);
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
    transform: scale(1.08);
    filter: grayscale(0%) contrast(110%);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.18) 0%, rgba(10, 10, 10, 0.82) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.gallery-item:hover .gallery-overlay,
.gallery-item:focus-visible .gallery-overlay {
    opacity: 1;
}

.gallery-icon {
    width: 70px;
    height: 70px;
    background: rgba(212, 175, 55, 0.92);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.8);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.gallery-item:hover .gallery-icon,
.gallery-item:focus-visible .gallery-icon {
    transform: scale(1);
}

.gallery-icon i {
    color: var(--bg-dark);
    font-size: 1.8rem;
}

.gallery-overlay-text {
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.78rem;
    letter-spacing: 3px;
}

.gallery-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(10, 10, 10, 0.82);
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    padding: 6px 10px;
    font-family: var(--font-body);
    font-size: 0.72rem;
    letter-spacing: 2px;
    z-index: 2;
}

.gallery-caption {
    padding: 20px;
    background: var(--bg-card);
    border-top: 2px solid var(--border-color);
    transition: all 0.3s;
}

.gallery-item:hover .gallery-caption,
.gallery-item:focus-visible .gallery-caption {
    border-top-color: var(--accent-color);
    background: linear-gradient(180deg, var(--bg-card) 0%, rgba(212, 175, 55, 0.05) 100%);
}

.gallery-caption-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 10px;
}

.gallery-caption h4 {
    font-family: var(--font-main);
    color: var(--accent-color);
    font-size: 1rem;
    letter-spacing: 2px;
}

.gallery-meta {
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.72rem;
    letter-spacing: 2px;
    white-space: nowrap;
}

.gallery-caption p {
    font-family: var(--font-body);
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.98);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 2001;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close:hover {
    background: var(--accent-color);
    color: var(--bg-dark);
    transform: rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(212, 175, 55, 0.2);
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 2001;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--accent-color);
    color: var(--bg-dark);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-content {
    max-width: 90%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: lightboxZoom 0.4s;
}

@keyframes lightboxZoom {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-image {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border: 3px solid var(--accent-color);
    box-shadow: 0 0 35px rgba(212, 175, 55, 0.15);
}

.lightbox-caption {
    width: 100%;
    max-width: 900px;
    padding: 20px 10px 0;
    text-align: center;
}

.lightbox-caption h3 {
    color: var(--accent-color);
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.lightbox-caption p {
    color: var(--text-muted);
    font-family: var(--font-body);
    line-height: 1.6;
}

.lightbox-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 2px;
}

.team-stats-block {
    margin-top: 60px;
    padding: 50px 40px;
    background: linear-gradient(180deg, rgba(26, 26, 26, 0.98) 0%, rgba(18, 18, 18, 0.98) 100%);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.team-stats-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

.stats-title {
    text-align: center;
    font-family: var(--font-main);
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 40px;
    letter-spacing: 3px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: rgba(75, 83, 32, 0.05);
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--border-color);
    transition: background 0.4s;
}

.stat-item:hover {
    transform: translateY(-8px);
    border-color: var(--accent-color);
    background: rgba(212, 175, 55, 0.08);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(212, 175, 55, 0.1);
}

.stat-item:hover::before {
    background: var(--accent-color);
}

.stat-item i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 15px;
    display: block;
}

.stat-number {
    display: block;
    font-family: 'Calculator', var(--font-main);
    font-size: 3rem;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1;
    font-weight: normal;
}

.stat-label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 2px;
}

.faq-section {
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-dark) 100%);
    position: relative;
}

.faq-section::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(rgba(75, 83, 32, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(75, 83, 32, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.5;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.faq-card {
    background: linear-gradient(180deg, rgba(26, 26, 26, 0.98) 0%, rgba(18, 18, 18, 0.98) 100%);
    border: 1px solid var(--border-color);
    padding: 30px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.faq-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
    transition: background 0.4s;
}

.faq-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-color);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(212, 175, 55, 0.1);
}

.faq-card:hover::before {
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

.faq-icon {
    width: 60px;
    height: 60px;
    background: rgba(212, 175, 55, 0.1);
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.faq-icon i {
    font-size: 1.8rem;
    color: var(--accent-color);
}

.faq-card h3 {
    font-family: var(--font-main);
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 15px;
    letter-spacing: 2px;
    line-height: 1.4;
}

.faq-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 15px;
}

.faq-card strong {
    color: var(--accent-color);
}

.faq-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.faq-cta {
    text-align: center;
    padding: 40px;
    background: linear-gradient(180deg, rgba(26, 26, 26, 0.98) 0%, rgba(18, 18, 18, 0.98) 100%);
    border: 2px solid var(--accent-color);
    position: relative;
    z-index: 1;
}

.faq-cta p {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.btn-faq {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 45px;
    background: var(--primary-color);
    color: #fff;
    text-decoration: none;
    font-family: var(--font-main);
    font-size: 1rem;
    letter-spacing: 2px;
    border: 2px solid var(--primary-color);
    transition: all 0.4s;
}

.btn-faq:hover {
    background: transparent;
    color: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

footer {
    background: var(--bg-dark);
    padding: 60px 0 30px;
    border-top: 2px solid var(--primary-color);
}

.footer-content {
    text-align: center;
}

.footer-logo {
    font-family: var(--font-main);
    font-size: 2rem;
    color: #fff;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.footer-logo i {
    color: var(--accent-color);
}

.footer-motto {
    font-family: var(--font-body);
    color: var(--accent-color);
    font-size: 0.9rem;
    letter-spacing: 5px;
    margin-bottom: 40px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.footer-social a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 1.2rem;
    transition: all 0.3s;
}

.footer-social a:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateY(-3px);
}

.copyright {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: #555;
    letter-spacing: 1px;
    line-height: 1.8;
}


/* =========================
АДАПТИВ — ВСЕ МЕДИА В ОДНОМ МЕСТЕ
========================= */

@media screen and (max-width: 1024px) {
    .hero-title {
        font-size: 4rem;
    }
    .about-grid {
        grid-template-columns: 1fr;
    }
    .principles-grid {
        grid-template-columns: 1fr;
    }
    .command-overview,
    .uniform-intel-bar,
    .uniform-checklist-block,
    .rank-level.level-2,
    .rank-level.level-3 {
        grid-template-columns: 1fr;
    }
    .rank-card.commander {
        min-width: 100%;
    }
    .upgraded-uniform-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    .nav-links {
        position: absolute;
        right: 0px;
        height: 92vh;
        top: 70px;
        background-color: var(--bg-dark);
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 80%;
        max-width: 350px;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        border-left: 1px solid var(--primary-color);
        padding-top: 50px;
    }
    .nav-links li {
        opacity: 0;
        margin: 20px 0;
    }
    .burger {
        display: block;
    }
    .burger.toggle div:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .burger.toggle div:nth-child(2) {
        opacity: 0;
    }
    .burger.toggle div:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    .nav-active {
        transform: translateX(0%);
    }
    .hero-content {
        padding-top: 140px !important;
    }
    .hero-title {
        font-size: 2.5rem;
        letter-spacing: 5px;
    }
    .hero-subtitle {
        font-size: 0.9rem;
    }
    .hero-stats {
        gap: 20px;
    }
    .stat-box {
        min-width: 100px;
        padding: 15px 20px;
    }
    .stat-num {
        font-size: 1.5rem;
    }
    .section {
        padding: 60px 0;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .rank-card {
        min-width: 100%;
    }
    .rank-card.commander {
        min-width: 100%;
    }
    .uniform-grid {
        grid-template-columns: 1fr;
    }
    .contacts-grid {
        grid-template-columns: 1fr;
    }
    .alert-box {
        flex-direction: column;
        text-align: center;
    }
    .accordion-header {
        padding: 20px;
        font-size: 0.95rem;
    }
    .team-emblem {
        width: 120px;
        height: 120px;
        margin-bottom: 25px;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .gallery-caption-top {
        flex-direction: column;
        gap: 6px;
    }
    .gallery-filter {
        width: calc(50% - 6px);
        text-align: center;
    }
    .lightbox-prev,
    .lightbox-next {
        width: 48px;
        height: 48px;
    }
    .lightbox-prev {
        left: 15px;
    }
    .lightbox-next {
        right: 15px;
    }
    .lightbox-close {
        top: 15px;
        right: 15px;
    }
    .tactical-frame {
        padding: 12px;
    }
    .structure-note {
        flex-direction: column;
    }
    .command-overview,
    .uniform-intel-bar {
        gap: 15px;
    }
    .tactical-card,
    .uniform-checklist-card {
        padding: 20px;
    }
    .rank-footer {
        flex-direction: column;
        align-items: flex-start;
    }
    .uniform-panel-header {
        grid-template-columns: 48px minmax(0, 1fr);
    }
    .uniform-critical-badge {
        grid-column: 1 / -1;
        margin-left: 0;
        margin-top: 4px;
        justify-self: start;
    }
    .uniform-specs li {
        grid-template-columns: 1fr;
        gap: 6px;
    }
    .uniform-specs,
    .uniform-note,
    .uniform-color-row,
    .weapon-tech-bar {
        padding-left: 20px;
        padding-right: 20px;
    }
    .uniform-warning-box {
        margin-left: 20px;
        margin-right: 20px;
        grid-template-columns: 1fr;
    }
    .spec-value {
        text-align: left;
    }
    .join-contacts-grid {
        grid-template-columns: 1fr;
    }
    .join-card-header {
        padding: 20px;
    }
    .join-card-body {
        padding: 20px;
    }
    .join-req-grid {
        grid-template-columns: 1fr;
    }
    .join-requirements {
        padding: 30px 20px;
    }
    .requirements-warning {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
    }
    .requirements-warning i {
        min-width: auto;
    }
    .btn-join-professional {
        padding: 22px 40px;
        font-size: 1.1rem;
        width: 100%;
        max-width: 350px;
    }
    .faq-grid {
        grid-template-columns: 1fr;
    }
    .faq-card {
        padding: 25px 20px;
    }
    .faq-icon {
        width: 50px;
        height: 50px;
    }
    .faq-icon i {
        font-size: 1.5rem;
    }
    .faq-card h3 {
        font-size: 1rem;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .stat-number {
        font-size: 2.2rem;
    }
    .stat-item i {
        font-size: 2rem;
    }
    .principle-card h3 {
        font-size: 0.9rem;
    }
    .principle-card {
        padding: 20px 10px;
        min-height: 200px;
    }
}

@media screen and (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    .btn-tactical {
        padding: 15px 30px;
        font-size: 0.95rem;
    }
    .hero-stats {
        flex-direction: column;
        gap: 15px;
    }
    .stat-box {
        width: 100%;
    }
    .gallery-filter {
        width: 100%;
    }
    .gallery-section-text {
        font-size: 0.88rem;
    }
    .gallery-badge {
        top: 10px;
        right: 10px;
    }
    .lightbox-content {
        max-width: 94%;
    }
    .lightbox-image {
        max-height: 62vh;
    }
    .lightbox-counter {
        bottom: 18px;
    }
    .section-subtitle {
        font-size: 0.88rem;
    }
    .uniform-panel-icon {
        width: 48px;
        height: 48px;
        font-size: 1.15rem;
    }
    .rank-type,
    .overview-label,
    .intel-label,
    .uniform-panel-subtitle {
        font-size: 0.68rem;
    }
    .join-name {
        font-size: 1.1rem;
    }
    .join-callsign {
        font-size: 0.8rem;
    }
    .join-contact-btn {
        padding: 12px 15px;
        font-size: 0.85rem;
    }
    .btn-join-professional {
        padding: 18px 30px;
        font-size: 1rem;
    }
    .btn-join-text {
        flex-direction: column;
        gap: 6px;
    }
    .join-req-item {
        padding: 18px 20px;
    }
    .join-req-item i {
        font-size: 1.6rem;
        min-width: 35px;
    }
    .join-req-item span {
        font-size: 0.88rem;
    }
    .faq-cta {
        padding: 30px 20px;
    }
    .btn-faq {
        padding: 15px 30px;
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .team-stats-block {
        padding: 35px 20px;
    }
    .stat-number {
        font-size: 2.5rem;
    }
    .principle-card h3 {
        font-size: 0.85rem;
        word-break: break-word;
    }
}

@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0px);
    }
}