/* ================================================
   SUBPAGE THEME — Cyber Attacks Map - Canada
   Matches the dashboard style
=================================================== */

/* Import base fonts */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500;700&family=Inter:wght@400;600&display=swap');

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: radial-gradient(circle at 20% 20%, #0d1117 0%, #06080a 100%);
  color: #d5d8db;
  line-height: 1.6;
}

/* Header */
header {
  background: rgba(10,10,10,0.95);
  border-bottom: 1px solid rgba(255,68,68,0.4);
  padding: 18px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 0 20px rgba(255,68,68,0.15);
}

header h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.1rem;
  color: #ff4d4d;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
  text-shadow: 0 0 10px rgba(255,68,68,0.4);
}

header a {
  color: #ff6666;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}
header a:hover {
  color: #ff9999;
}

/* Main layout */
main {
  max-width: 900px;
  margin: 80px auto;
  padding: 0 32px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Sections */
section {
  background: rgba(20,20,25,0.85);
  border: 1px solid rgba(255,68,68,0.1);
  border-radius: 12px;
  padding: 24px 28px;
  backdrop-filter: blur(6px);
  box-shadow: inset 0 0 20px rgba(255,68,68,0.05), 0 0 15px rgba(255,68,68,0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
section:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(255,68,68,0.15);
}

/* Headings */
h2, h3 {
  font-family: 'Orbitron', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  color: #ff6666;
  border-bottom: 1px solid rgba(255,85,85,0.15);
  padding-bottom: 6px;
  margin-top: 0;
  margin-bottom: 12px;
}
h2::before {
  content: "▌";
  color: #ff4d4d;
  margin-right: 6px;
}

/* Lists and paragraphs */
p, ul, li {
  font-size: 0.9rem;
  color: #cfd2d4;
}
ul {
  margin-left: 1.2rem;
}

/* Info box */
.ai-info-box, .tech-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,68,68,0.2);
  border-radius: 10px;
  padding: 1rem 1.2rem;
  margin-top: 0.8rem;
  box-shadow: inset 0 0 12px rgba(255,68,68,0.05);
}

.tech-card h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem;
  color: #ff5b5b;
  margin-bottom: 0.4rem;
}

/* Links */
a {
  color: #ff7070;
  text-decoration: none;
}
a:hover {
  color: #ff9999;
}

/* Footer */
footer {
  text-align: center;
  color: #777;
  font-size: 0.8rem;
  margin-top: 40px;
  padding-bottom: 30px;
  border-top: 1px solid rgba(255,68,68,0.1);
}

/* Responsive */
@media (max-width: 700px) {
  main {
    padding: 0 20px;
  }
}
