/* -------------------------------------------------------------
 * CORE DESIGN SYSTEM (DARK STEEL / CYBER-MILITARY THEME)
 * ------------------------------------------------------------- */

:root {
    --bg-dark: #0a0d10;
    --bg-steel: #131920;
    --border-color: rgba(255, 255, 255, 0.05);
    
    /* Cyber/Tactical Accents */
    --accent-cyan: #00e5ff;
    --accent-cyan-glow: rgba(0, 229, 255, 0.35);
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #475569;
    
    /* Fonts */
    --font-header: 'Russo One', sans-serif;
    --font-tech: 'Jura', sans-serif;
    --font-mono: 'Roboto Mono', monospace;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-tech);
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* -------------------------------------------------------------
 * BACKGROUND EFFECTS & HUD ATMOSPHERE
 * ------------------------------------------------------------- */

/* Cyber-tactical grid overlay */
.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: 
        linear-gradient(to right, rgba(0, 229, 255, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 229, 255, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 1;
    pointer-events: none;
}

/* Dark vignette to focus eye on center */
.vignette {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle, transparent 30%, rgba(5, 7, 9, 0.9) 100%);
    z-index: 2;
    pointer-events: none;
}

/* Cyber CRT scanlines */
.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0),
        rgba(255, 255, 255, 0) 50%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.3)
    );
    background-size: 100% 4px;
    z-index: 3;
    pointer-events: none;
    opacity: 0.4;
}

/* -------------------------------------------------------------
 * LAYOUT CONTAINER & CARD
 * ------------------------------------------------------------- */

.container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    padding: 20px;
    z-index: 10;
}

/* Card styling simulating a military display interface */
.tactical-card {
    position: relative;
    background: rgba(19, 25, 32, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.5),
        inset 0 0 40px rgba(0, 229, 255, 0.02);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    width: 100%;
    max-width: 850px;
    padding: 60px 50px;
    border-radius: 4px;
    animation: cardEntrance 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.card-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
}

/* -------------------------------------------------------------
 * CORNER HUD BRACKETS
 * ------------------------------------------------------------- */

.corner {
    position: absolute;
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
}
.corner-tl {
    top: -1px;
    left: -1px;
    border-top-color: var(--accent-cyan);
    border-left-color: var(--accent-cyan);
}
.corner-tr {
    top: -1px;
    right: -1px;
    border-top-color: var(--accent-cyan);
    border-right-color: var(--accent-cyan);
}
.corner-bl {
    bottom: -1px;
    left: -1px;
    border-bottom-color: var(--accent-cyan);
    border-left-color: var(--accent-cyan);
}
.corner-br {
    bottom: -1px;
    right: -1px;
    border-bottom-color: var(--accent-cyan);
    border-right-color: var(--accent-cyan);
}

/* -------------------------------------------------------------
 * LEFT SIDE: IMAGE CONTAINER WITH BACKGLOW
 * ------------------------------------------------------------- */

.image-wrapper {
    position: relative;
    width: 280px;
    height: 280px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

/* A soft steel gradient to highlight the black transparent image silhouette */
.image-wrapper::before {
    content: '';
    position: absolute;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

/* Rotating tech radar/target overlay */
.hud-circle {
    position: absolute;
    width: 95%;
    height: 95%;
    border: 1px dashed rgba(0, 229, 255, 0.12);
    border-radius: 50%;
    animation: rotateHUD 45s linear infinite;
    z-index: 2;
}

.hud-circle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -5px;
    width: 10px;
    height: 1px;
    background: var(--accent-cyan);
}

.hud-circle::after {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    width: 1px;
    height: 10px;
    background: var(--accent-cyan);
}

.falcon-img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    z-index: 3;
    filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.8));
    animation: subtleFloat 6s ease-in-out infinite;
}

/* -------------------------------------------------------------
 * RIGHT SIDE: TEXT STYLING (CYRILLIC OPTIMIZED)
 * ------------------------------------------------------------- */

.text-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tech-prefix {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent-cyan);
    letter-spacing: 3px;
    margin-bottom: 8px;
    opacity: 0.8;
}

.title {
    font-family: var(--font-header);
    font-size: 2.8rem;
    color: var(--text-primary);
    letter-spacing: 2px;
    line-height: 1.1;
    text-transform: uppercase;
}

.number {
    font-family: var(--font-header);
    font-size: 7rem;
    font-weight: 700;
    color: var(--accent-cyan);
    line-height: 0.95;
    letter-spacing: -2px;
    margin: 8px 0;
    text-shadow: 0 0 20px var(--accent-cyan-glow);
}

.tagline {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 400;
    line-height: 1.4;
    border-left: 2px solid var(--accent-cyan);
    padding-left: 12px;
    margin-top: 5px;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 2px;
}

.status-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent-cyan);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-cyan);
    animation: statusPulse 2s infinite alternate;
}

/* -------------------------------------------------------------
 * DECORATIVE FOOTER
 * ------------------------------------------------------------- */

.footer-decor {
    width: 100%;
    max-width: 850px;
    padding-bottom: 30px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer-line {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.05) 20%, rgba(255, 255, 255, 0.05) 80%, transparent);
}

.footer-coords {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 4px;
}

/* -------------------------------------------------------------
 * ANIMATIONS
 * ------------------------------------------------------------- */

@keyframes cardEntrance {
    0% {
        opacity: 0;
        transform: scale(0.97) translateY(10px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes rotateHUD {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes subtleFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes statusPulse {
    0% {
        opacity: 0.4;
        box-shadow: 0 0 2px var(--accent-cyan);
    }
    100% {
        opacity: 1;
        box-shadow: 0 0 8px var(--accent-cyan);
    }
}

/* -------------------------------------------------------------
 * RESPONSIVE ADJUSTMENTS
 * ------------------------------------------------------------- */

@media (max-width: 768px) {
    .tactical-card {
        padding: 40px 25px;
        margin: 10px;
    }
    
    .card-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .image-wrapper {
        width: 220px;
        height: 220px;
    }
    
    .text-block {
        align-items: center;
    }
    
    .title {
        font-size: 2.2rem;
    }
    
    .number {
        font-size: 5.5rem;
    }
    
    .tagline {
        border-left: none;
        border-top: 2px solid var(--accent-cyan);
        padding-left: 0;
        padding-top: 8px;
        margin-top: 10px;
    }
    
    .status-indicator {
        justify-content: center;
    }
}
