:root {
    --olive-drab: #6b7238;
    --military-green: #4a5d23;
    --khaki: #8b7355;
    --army-brown: #704214;
    --field-gray: #4f5d75;
    --vintage-paper: #f4f1e8;
    --rust-red: #8b4513;
    --metal-gray: #36454f;
}

body {
    font-family: "Audiowide", sans-serif;
    background: linear-gradient(45deg, #2d3a1f 25%, transparent 25%), 
                linear-gradient(-45deg, #2d3a1f 25%, transparent 25%), 
                linear-gradient(45deg, transparent 75%, #2d3a1f 75%), 
                linear-gradient(-45deg, transparent 75%, #2d3a1f 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    background-color: var(--military-green);
}

.fade-text {
    opacity: 0;
    text-align: center;
    margin: 10px;
    animation: fadeIn 1.5s ease-in forwards;
}
@keyframes fadeIn {
    to { opacity: 1; }
}

.military-stencil {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 2px 2px 0px rgba(0,0,0,0.5);
}

.vintage-paper {
    background: linear-gradient(135deg, #f4f1e8 0%, #e8e1d4 100%);
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(139, 69, 19, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(107, 114, 56, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(54, 69, 79, 0.1) 0%, transparent 50%);
    position: relative;
}
.vintage-paper::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0,0,0,0.02) 2px,
        rgba(0,0,0,0.02) 4px
    );
    pointer-events: none;
}

.military-badge {
    background: radial-gradient(circle, var(--khaki) 30%, var(--army-brown) 70%);
    border: 3px solid var(--metal-gray);
    border-radius: 50%;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.3), 0 5px 15px rgba(0,0,0,0.4);
}

.weathered-metal {
    background: linear-gradient(135deg, #36454f 0%, #2c3e50 50%, #34495e 100%);
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(0,0,0,0.2) 0%, transparent 50%);
    border: 2px solid #2c3e50;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
}

.battle-worn {
    position: relative;
    overflow: hidden;
}
.battle-worn::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(139, 69, 19, 0.3) 0%, transparent 30%),
        radial-gradient(circle at 90% 80%, rgba(0, 0, 0, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(107, 114, 56, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.propaganda-style {
    background: linear-gradient(45deg, var(--rust-red), var(--army-brown));
    color: var(--vintage-paper);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    border: 4px solid var(--vintage-paper);
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.camouflage-pattern {
    background: 
        radial-gradient(circle at 20% 80%, var(--army-brown) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, var(--military-green) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, var(--khaki) 0%, transparent 50%),
        var(--olive-drab);
}

.military-button {
    background: linear-gradient(145deg, var(--khaki), var(--army-brown));
    border: 2px solid var(--metal-gray);
    color: var(--vintage-paper);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}
.military-button:hover {
    background: linear-gradient(145deg, var(--army-brown), var(--khaki));
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.4);
}

.typewriter-effect {
    font-family: 'Courier Prime', monospace;
    border-right: 3px solid var(--vintage-paper);
    animation: blink 1s step-end infinite, flicker 3s infinite;
}
@keyframes blink {
    0%, 50% { border-color: var(--vintage-paper); }
    51%, 100% { border-color: transparent; }
}
@keyframes flicker {
    0%, 19%, 21%, 23%, 100% { opacity: 1; }
    20%, 22% { opacity: 0.8; }
}

.map-overlay {
    background-image: 
        linear-gradient(45deg, transparent 40%, rgba(107, 114, 56, 0.1) 50%, transparent 60%),
        linear-gradient(-45deg, transparent 40%, rgba(139, 69, 19, 0.1) 50%, transparent 60%);
    background-attachment: fixed; /* Parallax effect */
    background-size: cover;
    mix-blend-mode: multiply;
}

.military-grid {
    background-image: 
        linear-gradient(rgba(54, 69, 79, 0.3) 1px, transparent 1px),
        linear-gradient(90deg, rgba(54, 69, 79, 0.3) 1px, transparent 1px);
    background-size: 50px 50px;
}

.radio-static {
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 1px,
        rgba(255,255,255,0.05) 1px,
        rgba(255,255,255,0.05) 2px
    );
}

.document-stamp {
    transform: rotate(-15deg);
    opacity: 0.8;
    color: var(--rust-red);
    font-weight: bold;
    border: 3px solid var(--rust-red);
    padding: 8px 16px;
    background: rgba(244, 241, 232, 0.9);
}

.timeline-connector::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0; bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--khaki), var(--army-brown));
    transform: translateX(-50%);
}

#timeline h3 {
    color: #e63946 !important;  
}
#timeline p {
    color: #f1faee !important;  
}
#faq h3 {
    color: #e63946 !important;   
}
#faq p {
    color: #f1faee !important;   
}

/* Bullet Holes Effect */
.bullet-holes {
    position: relative;
}
.bullet-holes::before,
.bullet-holes::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: radial-gradient(circle, #000 20%, transparent 70%);
    border-radius: 50%;
    box-shadow: inset 0 0 6px rgba(0,0,0,0.8);
}
.bullet-holes::before {
    top: 20%;
    left: 30%;
    transform: rotate(-10deg);
}
.bullet-holes::after {
    bottom: 25%;
    right: 20%;
    transform: rotate(15deg);
}

/* Distressed Text Effect */
.distressed-text {
    background: linear-gradient(90deg, #fff 70%, transparent 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}
.distressed-text::after {
    content: '';
    position: absolute;
    left: 0; right: 0; top: 50%;
    height: 2px;
    background: repeating-linear-gradient(
        90deg,
        rgba(0,0,0,0.2) 0px,
        transparent 2px,
        rgba(0,0,0,0.1) 4px
    );
    opacity: 0.4;
}

/* Searchlight Sweep */
.searchlight {
    position: relative;
    overflow: hidden;
}
.searchlight::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(255,255,200,0.15) 0%, transparent 70%);
    animation: sweep 6s linear infinite;
}
@keyframes sweep {
    from { transform: rotate(0deg) translateX(-20%); }
    to   { transform: rotate(360deg) translateX(-20%); }
}

/* Burnt Paper Edges */
.burnt-edges {
    position: relative;
}
.burnt-edges::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border: 20px solid transparent;
    border-image: radial-gradient(circle, rgba(0,0,0,0.6) 20%, transparent 70%) 30;
    pointer-events: none;
}

/* Shrapnel Sparks */
.shrapnel {
    position: relative;
    overflow: hidden;
}
.shrapnel::after {
    content: '';
    position: absolute;
    width: 6px; height: 6px;
    background: radial-gradient(circle, #ff0 0%, rgba(255,255,0,0) 70%);
    border-radius: 50%;
    top: 50%; left: 50%;
    animation: sparks 1.5s infinite ease-in-out;
}
@keyframes sparks {
    0%   { transform: translate(0,0) scale(0.5); opacity: 1; }
    50%  { transform: translate(40px,-20px) scale(1); opacity: 0.6; }
    100% { transform: translate(80px,-60px) scale(0); opacity: 0; }
}

/* Dog Tag Shine */
.dogtag {
    position: relative;
    overflow: hidden;
}
.dogtag::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%; height: 200%;
    background: linear-gradient(120deg, rgba(255,255,255,0.4) 0%, transparent 60%);
    transform: rotate(25deg);
    animation: shine 4s infinite;
}
@keyframes shine {
    0%   { transform: translateX(-100%) rotate(25deg); }
    100% { transform: translateX(100%) rotate(25deg); }
}

/* Crumpled Poster */
.crumpled {
    background-image: 
        linear-gradient(145deg, rgba(0,0,0,0.15) 1px, transparent 1px),
        linear-gradient(-145deg, rgba(0,0,0,0.1) 1px, transparent 1px);
    background-size: 120px 120px;
    mix-blend-mode: multiply;
}

/* Morse Flicker */
.morse-flicker {
    animation: morse 3s infinite steps(1);
}
@keyframes morse {
    0%, 10% { opacity: 1; }
    15%, 25% { opacity: 0; }
    30%, 40% { opacity: 1; }
    50%, 60% { opacity: 0; }
    70%, 90% { opacity: 1; }
    100% { opacity: 0; }
}
/* === Film Grain Overlay === */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  opacity: 0.08;
  mix-blend-mode: overlay;
  animation: flicker 3s infinite;
  z-index: 9999;
}
@keyframes flicker {
  0%, 100% { opacity: 0.07; }
  50% { opacity: 0.1; }
}

/* === Radar Ping Effect for Buttons === */
.propaganda-style {
  position: relative;
  overflow: hidden;
}
.propaganda-style::after {
  content: "";
  position: absolute;
  border: 2px solid rgba(255, 215, 0, 0.5);
  border-radius: 9999px;
  width: 100%; height: 100%;
  top: 0; left: 0;
  animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}
@keyframes ping {
  75%, 100% { transform: scale(1.5); opacity: 0; }
}

/* === Shine Sweep Effect for Cards === */
.weathered-metal {
  position: relative;
  overflow: hidden;
}
.weathered-metal::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    120deg,
    rgba(255,255,255,0) 30%,
    rgba(255,255,255,0.15) 50%,
    rgba(255,255,255,0) 70%
  );
  transform: rotate(25deg);
  animation: shine 6s infinite;
}
@keyframes shine {
  from { transform: translateX(-200%) rotate(25deg); }
  to { transform: translateX(200%) rotate(25deg); }
}

/* === Typewriter Effect for Titles === */
.typewriter {
  overflow: hidden;
  border-right: .15em solid #6b7280;
  white-space: nowrap;
  animation: typing 3s steps(30, end), blink .7s step-end infinite;
}
@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}
@keyframes blink {
  from, to { border-color: transparent }
  50% { border-color: #6b7280 }
}


