/* Reset & Base Styles */
:root {
  --primary-color: #ff3b3b; /* Alarm Red but sleek */
  --secondary-color: #00d2ff; /* Cyber Blue */
  --bg-color: #0a0a0a; /* Deep Black */
  --text-color: #e0e0e0;
  --font-main: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-data: 'Courier New', Courier, monospace;
  --transition-speed: 0.3s;
  --alert-red: #ff3b3b;
  --alert-amber: #ff9f00;
  --alert-green: #00ff00;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color var(--transition-speed);
}

a:hover {
  color: var(--primary-color);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  margin-bottom: 1rem;
  color: #fff;
}

h1 {
  font-size: 3.5rem;
  letter-spacing: -1px;
  text-transform: uppercase;
}

h2 {
  font-size: 2rem;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 0.5rem;
  display: inline-block;
  margin-top: 2rem;
}

h3 {
  font-size: 1.5rem;
  color: #ccc;
  margin-top: 1.5rem;
}

p {
  margin-bottom: 1.5rem;
}

/* AdSense CLS Armor (Mandatory) */
.ad-container-leaderboard {
  min-height: 90px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 40px auto;
  background-color: #1a1a1a; /* Adjusted for dark mode */
  border: 1px dashed #333;
  width: 100%;
  max-width: 728px;
}

@media (max-width: 768px) {
  .ad-container-leaderboard {
    min-height: 250px;
    max-width: 300px;
  }
}

/* Layout */
header {
  padding: 20px;
  position: absolute;
  width: 100%;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 20px;
}

nav ul li a {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Hero Section (Grid & Pulse) */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: #000;
  background-image:
      linear-gradient(rgba(255, 59, 59, 0.05) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 59, 59, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  padding: 20px;
  overflow: hidden;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at center, transparent 20%, #000 90%);
  z-index: 1;
}

.hero-content {
  z-index: 10;
  position: relative;
}

/* Threat Pulse Indicator */
.threat-badge {
  display: inline-block;
  font-family: var(--font-data);
  font-size: 0.9rem;
  padding: 5px 15px;
  border: 1px solid var(--alert-red);
  color: var(--alert-red);
  border-radius: 4px;
  text-transform: uppercase;
  margin-bottom: 20px;
  animation: pulse 2s infinite;
  letter-spacing: 2px;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 59, 59, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(255, 59, 59, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 59, 59, 0); }
}

.fly-in {
  opacity: 0;
  animation: flyIn 1.5s cubic-bezier(0.215, 0.610, 0.355, 1.000) forwards;
}

.fly-in-delay-1 {
  animation-delay: 0.5s;
}

.fly-in-delay-2 {
  animation-delay: 1s;
}

@keyframes flyIn {
  0% {
    opacity: 0;
    transform: translateY(100px) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Main Content */
main {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 20px;
}

article {
  background: #111;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
  margin-bottom: 40px;
}

/* Footer */
footer {
  text-align: center;
  padding: 40px;
  background: #050505;
  font-size: 0.8rem;
  color: #666;
}

/* Utility */
.btn {
  display: inline-block;
  padding: 15px 40px;
  background: transparent;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  border-radius: 0;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 30px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0; left: 0; width: 0%; height: 100%;
  background: var(--primary-color);
  transition: width 0.3s ease;
  z-index: -1;
}

.btn:hover {
  color: #000;
}

.btn:hover::before {
  width: 100%;
}

.data-font {
  font-family: var(--font-data);
  color: var(--secondary-color);
  font-size: 0.9em;
}
