/* ==========================================================================
   КЛАН USSR | КАЛИБР — Tactical Military Theme Styles
   ========================================================================== */

:root {
    /* Color Palette */
    --bg-dark: #0b0d10;
    --bg-card: #13171f;
    --bg-card-hover: #191f2b;
    --bg-darker: #07080a;
    
    --primary-red: #d32f2f;
    --primary-red-hover: #f44336;
    --accent-red: #ff3b30;
    --accent-gold: #ffb300;
    --accent-gold-dark: #c68a00;
    
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    --text-white: #ffffff;
    
    --border-color: rgba(255, 255, 255, 0.08);
    --border-red: rgba(211, 47, 47, 0.4);
    --border-gold: rgba(255, 179, 0, 0.3);
    
    /* Fonts */
    --font-heading: 'Oswald', 'Rajdhani', sans-serif;
    --font-tactical: 'Rajdhani', sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Basic Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* HUD Overlay & Vignette */
.hud-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: 
        linear-gradient(rgba(18, 24, 33, 0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(18, 24, 33, 0.15) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 1;
}

.bg-vignette {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at center, transparent 40%, rgba(5, 7, 10, 0.85) 100%);
    pointer-events: none;
    z-index: 2;
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-white);
}

.text-accent { color: var(--accent-red); }
.text-gold { color: var(--accent-gold); }
.highlight-gold { color: var(--accent-gold); font-weight: 700; }
.text-success { color: #4caf50; }
.text-warning { color: var(--accent-gold); }
.text-center { text-align: center; }

/* Layout Components */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

.section {
    padding: 80px 0;
    position: relative;
    z-index: 5;
}

.bg-darker {
    background-color: var(--bg-darker);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

/* Section Header */
.section-header {
    margin-bottom: 50px;
}

.sub-heading {
    font-family: var(--font-tactical);
    color: var(--accent-red);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: inline-block;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.heading-line {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-red), var(--accent-gold));
    margin: 0 auto 16px auto;
    border-radius: 2px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    font-family: var(--font-tactical);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.btn-lg {
    padding: 15px 32px;
    font-size: 1.15rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.btn-primary {
    background: linear-gradient(135deg, #1e2633, #151a24);
    color: var(--text-white);
    border: 1px solid var(--border-color);
}

.btn-primary:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    box-shadow: 0 0 15px rgba(255, 179, 0, 0.2);
}

.btn-danger {
    background: linear-gradient(135deg, var(--primary-red), #990000);
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.4);
}

.btn-danger:hover {
    background: linear-gradient(135deg, var(--primary-red-hover), var(--primary-red));
    box-shadow: 0 0 20px rgba(244, 67, 54, 0.6);
    transform: translateY(-2px);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--text-white);
    color: var(--text-white);
}

.btn-telegram {
    background: linear-gradient(135deg, #0088cc, #006699);
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(0, 136, 204, 0.4);
}

.btn-telegram:hover {
    background: linear-gradient(135deg, #0099e6, #0088cc);
    box-shadow: 0 0 20px rgba(0, 153, 230, 0.6);
    transform: translateY(-2px);
}

.btn-accent {
    background: var(--accent-gold);
    color: #000;
}

.btn-accent:hover {
    background: #ffc107;
}

.btn-pulse {
    animation: pulse-glow 2.5s infinite;
}

@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(211, 47, 47, 0.7); }
    70% { box-shadow: 0 0 0 12px rgba(211, 47, 47, 0); }
    100% { box-shadow: 0 0 0 0 rgba(211, 47, 47, 0); }
}

.btn-icon {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-icon:hover {
    color: var(--accent-gold);
    border-color: var(--accent-gold);
    background: rgba(255, 179, 0, 0.1);
}

.btn-block {
    width: 100%;
}

/* Header & Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(11, 13, 16, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
    transition: var(--transition-fast);
}

.navbar.scrolled {
    background: rgba(7, 8, 10, 0.95);
    padding: 8px 0;
    border-bottom-color: var(--border-red);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.brand-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(211, 47, 47, 0.5));
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-white);
    line-height: 1;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.badge-red {
    background: var(--primary-red);
    color: #fff;
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 2px;
    letter-spacing: 1px;
}

.brand-subtitle {
    font-family: var(--font-tactical);
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 1.2px;
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 18px;
    white-space: nowrap;
}

.nav-link {
    color: var(--text-main);
    text-decoration: none;
    font-family: var(--font-tactical);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.nav-link i {
    color: var(--accent-red);
    font-size: 0.85rem;
}

.nav-link:hover {
    color: var(--accent-gold);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 140px 0 80px 0;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center top;
    z-index: 1;
    filter: brightness(0.65) contrast(1.1);
}

.hero-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, var(--bg-dark) 0%, rgba(11, 13, 16, 0.4) 60%, rgba(11, 13, 16, 0.8) 100%);
    z-index: 2;
}

.hero-container {
    z-index: 5;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(211, 47, 47, 0.15);
    border: 1px solid var(--border-red);
    color: var(--text-white);
    padding: 6px 16px;
    border-radius: 20px;
    font-family: var(--font-tactical);
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    margin-bottom: 24px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.status-dot.online {
    background-color: #4caf50;
    box-shadow: 0 0 8px #4caf50;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-main);
    max-width: 750px;
    margin: 0 auto 36px auto;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

/* Quick Stats Bar */
.quick-stats-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    background: rgba(19, 23, 31, 0.75);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.02);
    padding: 12px 16px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-icon {
    font-size: 1.5rem;
    color: var(--accent-red);
    width: 40px;
    height: 40px;
    background: rgba(211, 47, 47, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-info {
    display: flex;
    flex-direction: column;
    text-align: left;
    flex-grow: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-family: var(--font-tactical);
    font-size: 1.1rem;
    font-weight: 700;
}

/* Tactical Cards System */
.tactical-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.tactical-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-red);
}

.tactical-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.card-header {
    padding: 24px 28px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 14px;
}

.card-header h3 {
    font-size: 1.4rem;
}

.icon-red { color: var(--accent-red); font-size: 1.5rem; }
.icon-gold { color: var(--accent-gold); font-size: 1.5rem; }

.card-body {
    padding: 28px;
}

.card-footer {
    padding: 16px 28px;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid var(--border-color);
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* TS3 Section */
.ts3-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.ip-display-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #080a0d;
    border: 1px dashed var(--border-gold);
    padding: 14px 20px;
    border-radius: 4px;
    margin: 20px 0 12px 0;
}

.password-notice {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 179, 0, 0.08);
    border: 1px solid var(--border-gold);
    padding: 12px 16px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

/* Guide Warning Box */
.guide-warning-box {
    background: linear-gradient(135deg, rgba(211, 47, 47, 0.12), rgba(11, 13, 16, 0.95));
    border: 1px solid var(--border-red);
    border-left: 4px solid var(--accent-red);
    border-radius: 6px;
    padding: 24px 28px;
    margin-top: 36px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.warning-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--text-white);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    letter-spacing: 1px;
}

.warning-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: var(--text-main);
    font-size: 0.98rem;
    line-height: 1.6;
}

.warning-body u {
    text-decoration-color: var(--accent-red);
    font-weight: 600;
}

.ip-code {
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-gold);
    letter-spacing: 1px;
}

.tactical-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tactical-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.list-bullet {
    color: var(--accent-red);
    margin-top: 4px;
    font-size: 0.85rem;
}

/* Guide Section (Nick Change) */
.guide-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-bottom: 30px;
}

/* Download Section Cards */
.download-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.download-card {
    padding: 32px 28px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.download-icon {
    font-size: 2.2rem;
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.download-card h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.download-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
    flex-grow: 1;
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 24px;
    position: relative;
    transition: var(--transition-fast);
}

.step-card:hover {
    border-color: var(--accent-red);
}

.step-number {
    position: absolute;
    top: 16px;
    right: 20px;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.06);
    line-height: 1;
}

.step-image-container {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 20px;
    cursor: pointer;
    border: 1px solid var(--border-color);
}

.step-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    transition: var(--transition-smooth);
}

.zoom-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 15, 18, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-white);
    font-family: var(--font-tactical);
    font-weight: 700;
    opacity: 0;
    transition: var(--transition-fast);
}

.step-image-container:hover .zoom-overlay {
    opacity: 1;
}

.step-image-container:hover .step-img {
    transform: scale(1.05);
}

.step-content h4 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--accent-gold);
}

.step-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

code {
    background: rgba(211, 47, 47, 0.15);
    color: var(--accent-red);
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.guide-note {
    background: rgba(255, 179, 0, 0.08);
    border: 1px solid var(--border-gold);
    padding: 16px 24px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--text-main);
}

/* Telegram Section */
.tg-main-card {
    background: linear-gradient(135deg, rgba(19, 23, 31, 0.95), rgba(11, 13, 16, 0.95));
}

.tg-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
    padding: 40px;
}

.badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 136, 204, 0.15);
    border: 1px solid rgba(0, 136, 204, 0.4);
    color: #0088cc;
    padding: 4px 12px;
    border-radius: 4px;
    font-family: var(--font-tactical);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.tg-info h2 {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.tg-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 24px;
}

.access-notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(211, 47, 47, 0.1);
    border-left: 3px solid var(--primary-red);
    padding: 14px 18px;
    margin-bottom: 28px;
    border-radius: 0 4px 4px 0;
}

.access-notice span {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Telegram Preview Box */
.tg-card-preview {
    background: #17212b;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.preview-header {
    background: #242f3d;
    padding: 14px 20px;
    color: #fff;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.preview-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-bubble {
    padding: 10px 14px;
    border-radius: 8px;
    max-width: 85%;
    font-size: 0.9rem;
}

.chat-bubble.left {
    background: #182533;
    align-self: flex-start;
}

.chat-bubble.right {
    background: #2b5278;
    align-self: flex-end;
}

.chat-bubble .user {
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--accent-gold);
    display: block;
    margin-bottom: 2px;
}

.preview-footer {
    background: #182533;
    padding: 10px 20px;
    text-align: center;
    font-size: 0.8rem;
    color: #0088cc;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 32px 24px;
    border-radius: 6px;
    text-align: center;
    transition: var(--transition-fast);
}

.feature-box:hover {
    border-color: var(--accent-red);
    transform: translateY(-4px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(211, 47, 47, 0.1);
    border: 1px solid var(--border-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--accent-red);
    margin: 0 auto 20px auto;
}

.feature-box h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.feature-box p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Footer */
.footer {
    background: var(--bg-darker);
    border-top: 1px solid var(--border-color);
    padding: 40px 0;
    position: relative;
    z-index: 10;
}

.footer-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--text-dim);
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-gold);
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: var(--bg-card);
    border-left: 4px solid var(--accent-gold);
    color: var(--text-white);
    padding: 14px 20px;
    border-radius: 4px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-tactical);
    font-size: 1rem;
    animation: toast-slide 0.3s ease forwards;
}

@keyframes toast-slide {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(5, 7, 10, 0.92);
    backdrop-filter: blur(10px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.lightbox-modal.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 85vh;
    text-align: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 6px;
    border: 1px solid var(--border-gold);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.9);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 2.5rem;
    cursor: pointer;
}

.lightbox-caption {
    margin-top: 12px;
    color: var(--accent-gold);
    font-family: var(--font-tactical);
    font-size: 1.1rem;
}

/* Responsive Breakpoints */
@media (max-width: 1050px) {
    .nav-menu {
        position: fixed;
        top: 65px;
        left: -100%;
        width: 100%;
        background: rgba(11, 13, 16, 0.98);
        backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 30px 0;
        gap: 20px;
        transition: var(--transition-smooth);
        border-bottom: 1px solid var(--border-red);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.9);
    }
    
    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        font-size: 1.1rem;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .hero-title { font-size: 2.8rem; }
    .tg-grid { grid-template-columns: 1fr; padding: 24px; }
    .tg-visual { display: none; }
}

@media (max-width: 576px) {
    .brand-subtitle {
        display: none;
    }
    
    .brand-title {
        font-size: 1.1rem;
    }
    
    .hero-title { font-size: 2.1rem; }
    .hero-section { padding-top: 110px; }
    
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-buttons .btn {
        width: 100%;
    }
}
