/* =========================================
   1. CORE SETUP & VARIABLES
   ========================================= */
:root {
  --bg-deep: #0f172a;
  --bg-surface: #1e293b;
  --accent: #38bdf8;
  --text-bright: #f8fafc;
  --text-dim: #94a3b8;

  /* Alert Colors */
  --info: #0ea5e9;
  --warning: #f59e0b;
  --danger: #ef4444;

  --nav-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  background-color: var(--bg-deep);
  color: var(--text-bright);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
}

/* =========================================
   2. NAVIGATION
   ========================================= */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  height: var(--nav-height);
  background: rgba(15, 23, 42, 0.8); /* More translucent */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
}

.nav-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}

.logo { font-weight: 800; text-transform: uppercase; font-size: 1.4rem; }
.logo span { color: var(--accent); }

.nav-menu { display: flex; list-style: none; gap: 2rem; align-items: center; }
.nav-menu a { text-decoration: none; color: var(--text-bright); font-size: 0.9rem; transition: 0.3s; }
.nav-menu a:hover { color: var(--accent); }
.nav-btn { background: var(--accent); color: var(--bg-deep) !important; padding: 0.5rem 1rem; border-radius: 6px; font-weight: 700; }

/* =========================================
   3. SUB-PAGE LAYOUT
   ========================================= */
.nav-spacer { height: var(--nav-height); width: 100%; }

.sub-page-content {
  background: radial-gradient(circle at top right, #1e293b, #0f172a);
  min-height: 100vh;
  padding-bottom: 5rem;
}

.glass-article {
  max-width: 950px;
  margin: 2rem auto;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 3.5rem;
  backdrop-filter: blur(10px);
}

.article-head { margin-bottom: 3rem; text-align: center; }
.status-tag { background: var(--accent); color: #000; padding: 3px 12px; border-radius: 4px; font-size: 0.7rem; font-weight: 800; text-transform: uppercase; }
.article-title { font-size: clamp(2rem, 5vw, 3rem); margin: 1rem 0; color: #fff; line-height: 1.1; }

/* --- UPDATED H2 SIZING --- */
.article-body h2 {
  color: var(--accent);
  margin: 3.5rem 0 1.5rem;
  font-weight: 800;
  font-size: 2.5rem; /* Increased size to 2.5rem */
  letter-spacing: -0.02em;
}

.article-body p { margin-bottom: 1.2rem; color: #cbd5e1; font-size: 1.1rem; }

/* --- RESTORE LI BULLETS --- */
.article-body ul {
  list-style-type: disc;
  margin-left: 2rem;
  margin-bottom: 1.5rem;
}

.article-body li {
  margin-bottom: 0.5rem;
  color: #cbd5e1;
}

/* HYPERLINK STYLING */
.article-body a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
}

.article-body a:hover {
  text-decoration: underline;
  color: var(--text-bright);
}

/* =========================================
   4. ALERT BOXES (GLASSMORPHISM UPDATED)
   ========================================= */
.alert {
  display: flex;
  gap: 1.5rem;
  padding: 2rem;
  margin: 2.5rem 0;
  border-radius: 16px;

  /* CORE GLASS EFFECT */
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);

  width: 100%;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
}

/* Force colors with glass transparency */
.alert.alert-info {
  background: rgba(14, 165, 233, 0.15) !important;
  border-left: 6px solid var(--info) !important;
}

.alert.alert-warning {
  background: rgba(245, 158, 11, 0.15) !important;
  border-left: 6px solid var(--warning) !important;
}

.alert.alert-danger {
  background: rgba(239, 68, 68, 0.15) !important;
  border-left: 6px solid var(--danger) !important;
}

.alert-icon { font-size: 1.8rem; flex-shrink: 0; font-weight: bold; line-height: 1; }
.alert-info .alert-icon { color: var(--info); }
.alert-warning .alert-icon { color: var(--warning); }
.alert-danger .alert-icon { color: var(--danger); }

.alert-text { flex: 1; }
.alert-text h3 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 0.75rem; font-weight: 900; }
.alert-info h3 { color: var(--info); }
.alert-warning h3 { color: var(--warning); }
.alert-danger h3 { color: var(--danger); }

.alert-text p {
  color: #ffffff !important;
  font-size: 1.05rem !important;
  line-height: 1.6 !important;
  margin-bottom: 1rem !important;
  opacity: 0.95;
}

.alert-text p:last-child { margin-bottom: 0 !important; }

/* Links inside Alerts */
.alert-text a {
  color: #fff;
  text-decoration: underline;
  font-weight: 700;
}

.alert-text a:hover {
  opacity: 0.8;
}

/* =========================================
   5. VIDEO GRID
   ========================================= */
.video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; padding: 2rem 0; }
.video-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  backdrop-filter: blur(5px);
}

/* =========================================
   6. FOOTER & MISC
   ========================================= */
.article-footer { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); text-align: center; }
.btn-sm { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); color: #fff; padding: 8px 20px; border-radius: 4px; cursor: pointer; transition: 0.3s; }
.btn-sm:hover { background: var(--accent); color: #000; }

@media (max-width: 768px) {
  .glass-article { padding: 2rem 1.5rem; }
  .article-body h2 { font-size: 1.8rem; } /* Mobile h2 size adjusted */
  .alert { flex-direction: column; gap: 0.5rem; padding: 1.5rem; }
}