body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: #00f0ff;
}

/* VIDEO */
#hero-video {
  position: fixed;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.25);
}

/* GRID */
.cyber-grid {
  position: fixed;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(0,255,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,255,255,0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: moveGrid 8s linear infinite;
}

@keyframes moveGrid {
  0% { background-position: 0 0, 0 0; }
  100% { background-position: 0 40px, 40px 0; }
}

/* NAV */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 20px 60px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  z-index: 100;
}

.logo img {
  height: 40px;
}

nav a {
  margin-left: 30px;
  color: #aaa;
  text-decoration: none;
}

nav a:hover {
  color: #00f0ff;
}

/* CONTENT */
.container {
  position: relative;
  z-index: 10;
  padding-top: 120px;
}

/* HERO */
.hero-pt {
  text-align: center;
  padding: 60px 20px;
}

.hero-pt h1 {
  font-family: 'Orbitron';
  font-size: 3rem;
}

.hero-pt p {
  max-width: 600px;
  margin: 20px auto;
  color: #aaa;
}

/* TERMINAL */
.terminal-box {
  background: rgba(0,0,0,0.8);
  border: 1px solid #00ff88;
  margin: 40px auto;
  padding: 20px;
  max-width: 700px;
  height: 250px;
  overflow-y: auto;
  font-family: monospace;
  color: #00ff88;
}

/* DASHBOARD */
.dashboard {
  padding: 60px 20px;
  max-width: 1100px;
  margin: auto;
}

/* Stats */
.stats {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.stat-box {
  flex: 1;
  min-width: 200px;
  background: rgba(0,0,0,0.7);
  border: 1px solid #00ff88;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
}

.stat-box h3 {
  margin-bottom: 10px;
}

.stat-box p {
  font-size: 2rem;
  color: #00ff88;
}

.status {
  color: #00ff88;
  text-shadow: 0 0 10px #00ff88;
}

/* Attack feed */
.attack-feed {
  background: rgba(0,0,0,0.8);
  border: 1px solid #ff004c;
  padding: 20px;
  border-radius: 8px;
}

.attack-feed h3 {
  margin-bottom: 15px;
  color: #ff004c;
}

#attack-log {
  font-family: monospace;
  max-height: 250px;
  overflow-y: auto;
  color: #ff4d6d;
}

/* Animated flash for attacks */
.attack {
  animation: flash 0.5s ease;
}

@keyframes flash {
  0% { opacity: 0; transform: translateX(-10px); }
  100% { opacity: 1; transform: translateX(0); }
}

/* MAP */
.map-container {
  position: relative;
  width: 100%;
  height: 350px;
  overflow: hidden;
  background: #000;
}

/* World map image */
.map-container {
  height: 450px;
}

.world-map {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.65;
  filter: brightness(1.1) contrast(1.2);
}

/* Overlay for attacks */
#map-overlay {
  position: absolute;
  inset: 0;
}

/* Attack line */
.attack-line {
  position: absolute;
  height: 2px;
  background: linear-gradient(to right, transparent, #ff004c);
  transform-origin: left;
  animation: shoot 0.8s ease-out forwards;
}

/* Impact dot */
.attack-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  background: #ff004c;
  border-radius: 50%;
  box-shadow: 0 0 10px #ff004c;
  animation: pulse 1s infinite;
}

@keyframes shoot {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.6); opacity: 0.6; }
  100% { transform: scale(1); opacity: 1; }
}

/* Attack dots */
.attack-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  background: red;
  border-radius: 50%;
  box-shadow: 0 0 10px red;
  animation: pulse 1s infinite;
}

/* Attack lines */
.attack-line {
  position: absolute;
  height: 2px;
  background: linear-gradient(to right, transparent, red);
  transform-origin: left;
  animation: shoot 0.6s ease-out forwards;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.6; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes shoot {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* CARDS */
.section {
  padding: 60px 20px;
}

.grid-pt {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
  gap: 20px;
}

.card-pt {
  background: rgba(0,0,0,0.7);
  padding: 20px;
  border: 1px solid #00ff88;
  border-radius: 8px;
}

.card-pt:hover {
  box-shadow: 0 0 15px #00ff88;
}

/* CTA */
.cta-pt {
  text-align: center;
  padding: 60px 20px;
}

.cta-pt a {
  background: #00f0ff;
  color: #000;
  padding: 15px 30px;
  text-decoration: none;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 30px;
  color: #777;
}