/* Free Fire Community - E-Sports Immersive Design */
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@500;600;700&family=Outfit:wght@300;400;500;700&display=swap');

:root {
  /* Palette: Dark Mode E-sports Premium */
  --primary-color: #ff2a40;
  /* Brighter Neon Red */
  --primary-glow: rgba(255, 42, 64, 0.6);
  --accent-color: #ffea00;
  /* Brighter Electric Yellow */
  --accent-glow: rgba(255, 234, 0, 0.5);

  --bg-dark: #090a0f;
  /* Deep Premium Dark */
  --bg-darker: #030406;
  --bg-panel: rgba(20, 24, 32, 0.55);
  /* Frosted Glass */
  --bg-panel-hover: rgba(28, 34, 46, 0.7);

  --text-main: #f0f0f0;
  --text-muted: #a0a5ab;
  --text-highlight: #ffffff;

  --border-glass: rgba(255, 255, 255, 0.1);
  --border-active: rgba(255, 42, 64, 0.8);

  --shadow-soft: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
  --shadow-card: 0 10px 30px -5px rgba(0, 0, 0, 0.6);
  --shadow-hover: 0 0 30px rgba(255, 42, 64, 0.25);

  --radius-card: 16px;
  --radius-btn: 6px;

  --font-heading: 'Rajdhani', sans-serif;
  --font-body: 'Outfit', sans-serif;
  --transition-smooth: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--bg-dark);
  /* Immersive Background */
  background-image:
    radial-gradient(circle at 15% 15%, rgba(255, 71, 87, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 85% 85%, rgba(255, 165, 2, 0.06) 0%, transparent 45%),
    linear-gradient(to bottom, transparent, #0b0c10 90%);
  /* Fade out at bottom */
  background-attachment: fixed;
  overflow-x: hidden;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Sleek Sticky Navigation */
header {
  background: rgba(11, 12, 16, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 80px;
  display: flex;
  align-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

nav {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px;
  max-width: 1280px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  position: relative;
}

.logo img {
  height: 45px;
  filter: drop-shadow(0 0 8px var(--primary-glow));
}

.logo h1 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-highlight);
  margin: 0;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
  align-items: center;
}

/* Mobile Toggle Button (Hidden on Desktop) */
.mobile-toggle {
  display: none;
}

nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  padding: 0.5rem 0;
  border-radius: 0;
  transition: all 0.3s ease;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-icon {
  width: 18px;
  height: 18px;
  opacity: 0.7;
  transition: all 0.3s ease;
}

nav a:hover .nav-icon,
nav a.active .nav-icon {
  opacity: 1;
  stroke: var(--primary-color);
}

nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  /* Thinner underline */
  bottom: 0;
  left: 0;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
  box-shadow: 0 0 10px var(--primary-color);
}

nav a:hover,
nav a.active {
  color: var(--text-highlight);
  background: transparent;
  text-shadow: 0 0 12px var(--primary-glow);
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

main {
  padding: 4rem 0;
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Hero Section Styling */
#intro {
  text-align: center;
  padding: 6rem 2rem;
  background:
    linear-gradient(180deg, rgba(11, 12, 16, 0) 0%, rgba(11, 12, 16, 1) 100%),
    url('../images/Media 6.webp') no-repeat center center;
  /* Using existing image as subtle bg */
  background-size: cover;
  background-blend-mode: overlay;
  border-radius: var(--radius-card);
  margin-bottom: 5rem;
  border: 1px solid var(--border-glass);
  position: relative;
  overflow: hidden;
}

#intro::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(255, 71, 87, 0.1) 0%, rgba(11, 12, 16, 0.8) 70%);
  z-index: 0;
}

#intro h1 {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-highlight);
  text-transform: uppercase;
  text-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
  position: relative;
  z-index: 1;
}

#intro p {
  position: relative;
  z-index: 1;
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.section {
  margin-bottom: 6rem;
}

.section h1 {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--text-highlight);
  margin-bottom: 4rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.section h2,
main h1,
main h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-highlight);
  margin-bottom: 1.5rem;
  position: relative;
  margin-top: 3rem;
  text-transform: uppercase;
  padding-left: 1rem;
  border-left: 4px solid var(--primary-color);
}

.section h2::after,
.page-header h1::after {
  display: none;
  /* Removed underline in favor of border-left */
}

/* Glassmorphism Cards */
.card,
.regular-article,
.featured-article {
  background: var(--bg-panel);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-card);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
  margin-bottom: 2rem;
  border: 1px solid var(--border-glass);
  position: relative;
  overflow: hidden;
}

.card::before,
.regular-article::before,
.featured-article::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
  opacity: 0.7;
  transition: opacity 0.4s ease;
}

.card:hover,
.regular-article:hover,
.featured-article:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-active);
  background: var(--bg-panel-hover);
}

.card::after,
.regular-article::after,
.featured-article::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.card:hover::after,
.regular-article:hover::after,
.featured-article:hover::after {
  opacity: 1;
}

/* Transforming Bullet Points into Cards (Information Hierarchy) */
.section ul:not(nav ul) {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  list-style: none;
  margin-top: 2rem;
}

.section ul:not(nav ul) li {
  background: rgba(30, 35, 40, 0.3);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 1.5rem;
  position: relative;
  transition: all 0.3s ease;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
}

.section ul:not(nav ul) li::before {
  content: '🛡️';
  /* Fallback icon */
  margin-right: 12px;
  font-size: 1.2rem;
  filter: grayscale(100%);
  transition: filter 0.3s;
}

.section ul:not(nav ul) li:hover::before {
  filter: grayscale(0%) drop-shadow(0 0 5px var(--primary-color));
}

.card h3,
article h3 {
  font-family: var(--font-heading);
  color: var(--text-highlight);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}

.card p,
article p {
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
}

img {
  border-radius: 8px;
  opacity: 0.9;
  transition: opacity 0.3s;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

img:hover {
  opacity: 1;
}

.btn {
  display: inline-block;
  padding: 12px 32px;
  background: var(--primary-color);
  color: #fff;
  text-decoration: none;
  border-radius: var(--radius-btn);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 71, 87, 0.4);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

/* Button Shine Effect */
.btn::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  bottom: -50%;
  left: -50%;
  background: linear-gradient(to bottom, rgba(229, 172, 142, 0), rgba(255, 255, 255, 0.5) 50%, rgba(229, 172, 142, 0));
  transform: rotateZ(60deg) translate(-5em, 7.5em);
  opacity: 0;
  transition: all 0.3s;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 25px var(--primary-glow);
  background-color: #ff3333;
}

.btn:hover::after {
  opacity: 1;
  transform: rotateZ(60deg) translate(1em, -9em);
}

footer {
  background: #050608;
  color: var(--text-muted);
  text-align: center;
  padding: 5rem 0 3rem;
  margin-top: 4rem;
  border-top: 1px solid var(--border-glass);
}

footer a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 700;
}

footer a:hover {
  color: var(--accent-color);
  text-shadow: 0 0 10px var(--accent-glow);
}

/* Article specific adjustments */
.article-meta {
  color: var(--accent-color);
  font-size: 0.85rem;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  display: flex;
  gap: 15px;
  opacity: 0.8;
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  header {
    height: 70px;
  }

  .mobile-toggle {
    display: block;
    background: none;
    border: none;
    color: var(--text-main);
    cursor: pointer;
    padding: 10px;
  }

  nav {
    padding: 0 16px;
    position: relative;
  }

  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(11, 12, 16, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border-glass);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    align-items: flex-start;
    z-index: 999;
  }

  nav ul.show {
    display: flex;
    animation: slideDown 0.3s ease forwards;
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .logo h1 {
    font-size: 1.2rem;
  }

  #intro h1 {
    font-size: 2.5rem;
  }

  .section ul:not(nav ul) {
    grid-template-columns: 1fr;
  }
}

/* Decorative Border Image */
.section-divider {
  display: block;
  width: 100%;
  max-width: 800px;
  /* Agar tidak terlalu besar di layar lebar */
  height: auto;
  margin: 1rem auto 3rem;
  /* Posisi tengah */
  opacity: 1;
  filter: drop-shadow(0 0 8px var(--primary-glow));
  /* Efek menyala sesuai tema */
  box-shadow: none !important;
  /* Hilangkan shadow kotak default img */
  border-radius: 0 !important;
}

/* Community Connect Section */
.community-connect {
  margin-top: 4rem;
  padding: 3rem 1rem;
  background: linear-gradient(to bottom, transparent, rgba(11, 12, 16, 0.8));
  border-top: 1px solid var(--border-glass);
  text-align: center;
  border-radius: var(--radius-card);
}

.community-connect h2 {
  font-family: var(--font-heading);
  color: var(--text-highlight);
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.social-btn {
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-btn);
  color: var(--text-main);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.social-btn:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 71, 87, 0.3);
  border-color: transparent;
}

/* Hero Card */
.dash-hero-card {
  background: url('../images/Media 6.webp') no-repeat center center;
  background-size: cover;
  height: 300px;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  border: 1px solid var(--border-glass);
  margin-bottom: 2rem;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95), transparent);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 2rem;
  width: 100%;
}

.badge {
  background: var(--primary-color);
  color: white;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: inline-block;
}

/* Dash Grid for Updates */
.dash-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.mini-card {
  background: rgba(255, 255, 255, 0.03);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--border-glass);
  text-decoration: none;
  transition: all 0.3s;
}

.mini-card:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-3px);
}

.mini-card h4 {
  color: var(--text-highlight);
  margin: 0.5rem 0;
}

.mini-card p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* Action Cards (Sidebar) */
.action-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  padding: 1rem;
  border-radius: 12px;
  text-decoration: none;
  color: var(--text-main);
  border: 1px solid var(--border-glass);
  transition: all 0.3s ease;
  margin-bottom: 0.8rem;
}

.action-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(5px);
  border-color: var(--text-muted);
}

.action-card.discord {
  background: rgba(88, 101, 242, 0.2);
  border-color: rgba(88, 101, 242, 0.5);
}

.action-card .icon {
  font-size: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.action-card h4 {
  margin: 0;
  color: var(--text-highlight);
  font-size: 1.1rem;
}

.action-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .dash-layout {
    grid-template-columns: 1fr;
  }

  .home-hero {
    padding: 4rem 1.5rem;
    text-align: center;
  }

  .home-hero h1 {
    font-size: 2.5rem;
  }
}

/* =========================
   HYBRID HOME STYLES (NEW)
   ========================= */

.home-hero {
  background: url('../images/Media 6.webp') no-repeat center center;
  background-size: cover;
  min-height: 450px;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 3rem;
  border: 1px solid var(--border-glass);
  margin-bottom: 3rem;
}

.home-hero .hero-overlay {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 50%, transparent 100%);
}

.home-hero .hero-content {
  max-width: 50%;
}

.home-hero h1 {
  font-size: 3.5rem;
  text-transform: uppercase;
  font-weight: 700;
  margin: 0 0 1rem 0;
  padding: 0;
  border: none;
  color: var(--text-highlight);
}

.home-hero p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.server-status-tag {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.server-status-tag strong {
  color: #2ecc71;
  font-weight: 600;
}

/* Quick Access Section */
.quick-access-section {
  margin: 4rem 0;
}

.section-title-center {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
  border: none;
  padding: 0;
}

.quick-actions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

/* =========================
   DASHBOARD STYLES (NEW)
   ========================= */

.dashboard-container {
  padding-top: 2rem;
}

/* Header & Status */
.dash-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-glass);
}

.dash-welcome h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--text-highlight);
}

.server-status-card {
  background: rgba(0, 0, 0, 0.4);
  padding: 0.8rem 1.2rem;
  border-radius: 12px;
  border: 1px solid var(--border-glass);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 1.1rem;
}

.blink-dot {
  width: 10px;
  height: 10px;
  background-color: #2ecc71;
  border-radius: 50%;
  box-shadow: 0 0 10px #2ecc71;
  animation: blink 2s infinite;
}

@keyframes blink {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }

  100% {
    opacity: 1;
  }
}

.version-tag {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Stats Grid */
.dash-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.stat-card {
  background: linear-gradient(145deg, rgba(31, 40, 51, 0.6) 0%, rgba(11, 12, 16, 0.8) 100%);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
}

.stat-icon {
  font-size: 2rem;
  background: rgba(255, 255, 255, 0.05);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

.stat-info h3 {
  font-size: 1.1rem;
  margin: 0;
  color: var(--text-highlight);
}

.stat-info p {
  font-size: 0.9rem;
  margin: 0;
  color: var(--text-muted);
}

/* Dashboard Layout (Main + Sidebar) */
.dash-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2.5rem;
}

/* Hero Card */
.dash-hero-card {
  background: url('../images/Media 6.webp') no-repeat center center;
  background-size: cover;
  height: 300px;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  border: 1px solid var(--border-glass);
  margin-bottom: 2rem;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95), transparent);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 2rem;
  width: 100%;
}

.badge {
  background: var(--primary-color);
  color: white;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: bold;
  text-transform: uppercase;
}

/* Action Cards (Sidebar) */
.action-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  padding: 1rem;
  border-radius: 12px;
  text-decoration: none;
  color: var(--text-main);
  border: 1px solid var(--border-glass);
  transition: all 0.3s ease;
  margin-bottom: 0.8rem;
}

.action-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(5px);
  border-color: var(--text-muted);
}

.action-card.discord {
  background: rgba(88, 101, 242, 0.2);
  border-color: rgba(88, 101, 242, 0.5);
}

@media (max-width: 900px) {
  .dash-layout {
    grid-template-columns: 1fr;
  }

  .dash-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .server-status-card {
    align-items: flex-start;
    width: 100%;
  }
}

/* Close media query max-width: 900px */

/* =========================
   SUB-PAGE BEAUTIFICATION
   ========================= */

.page-header {
  text-align: center;
  padding: 6rem 2rem 4rem;
  background:
    radial-gradient(circle at top center, rgba(255, 42, 64, 0.2) 0%, transparent 70%),
    linear-gradient(to bottom, rgba(9, 10, 15, 0.9), rgba(9, 10, 15, 0));
  border-radius: var(--radius-card);
  margin-bottom: 4rem;
  border: 1px solid var(--border-glass);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.6);
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.page-header h1 {
  font-size: 4rem;
  margin: 0 0 1rem 0;
  border-left: none !important;
  display: inline-block;
  text-shadow: 0 0 40px var(--primary-glow);
  letter-spacing: 3px;
}

.page-header p {
  color: var(--text-muted);
  font-size: 1.3rem;
  max-width: 700px;
  margin: 0 auto;
}

/* =========================
   UX GRID & ACCORDION UTILITIES
   ========================= */

/* Grid Cards Layout */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

/* Timeline Layout */
.timeline {
  position: relative;
  margin: 3rem 0;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-glass);
}

.timeline-item {
  position: relative;
  padding-bottom: 2.5rem;
  padding-left: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.35rem;
  /* Center on line */
  top: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg-dark);
  border: 3px solid var(--primary-color);
  box-shadow: 0 0 15px var(--primary-glow);
  z-index: 1;
  transition: var(--transition-smooth);
}

.timeline-item:hover::before {
  background: var(--primary-color);
  transform: scale(1.3);
}

.timeline-content {
  background: var(--bg-panel);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  transition: var(--transition-smooth);
}

.timeline-content:hover {
  transform: translateX(10px);
  border-color: var(--primary-color);
  box-shadow: var(--shadow-hover);
  background: var(--bg-panel-hover);
}

.timeline-content strong {
  display: block;
  color: var(--text-highlight);
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

/* Accordion (Details) Styling */
details {
  background: var(--bg-panel);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-card);
  padding: 1.2rem;
  margin-bottom: 1rem;
  transition: var(--transition-smooth);
  overflow: hidden;
}

details:hover {
  border-color: var(--border-active);
  background: var(--bg-panel-hover);
}

details[open] {
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-color);
}

summary {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-highlight);
  cursor: pointer;
  list-style: none;
  /* Hide default arrow */
  position: relative;
  padding-right: 2rem;
  text-transform: uppercase;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

details[open] summary::after {
  content: '−';
  transform: translateY(-50%) rotate(180deg);
}

details p {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--border-glass);
  color: var(--text-muted);
  animation: fadeInDown 0.4s ease forwards;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mega Footer */
.mega-footer {
  background-color: var(--bg-panel);
  border-top: 1px solid var(--border-glass);
  padding: 4rem 2rem 2rem;
  margin-top: 4rem;
  color: var(--text-muted);
}

.mega-footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 3rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  margin-bottom: 2rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-card);
  padding: 1.8rem;
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
}

.footer-col:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--primary-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transform: translateY(-5px);
}

.footer-col h4 {
  color: var(--text-highlight);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-col h4 svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}

.footer-col ul li {
  margin-bottom: 0.8rem;
}

.footer-col ul li a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
}

.footer-col ul li a::before {
  content: '▶';
  font-size: 0.7rem;
  color: var(--primary-color);
  opacity: 0;
  transition: var(--transition-smooth);
  margin-right: -10px;
  transform: translateX(-10px);
}

.footer-col ul li a:hover {
  color: #fff;
}

.footer-col ul li a:hover::before {
  opacity: 1;
  margin-right: 8px;
  transform: translateX(0);
}

/* Social Grid for Footer */
.footer-social-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 2.5rem;
}

.footer-social-icon {
  width: 45px;
  height: 45px;
  background: var(--bg-panel);
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition-smooth);
  font-weight: bold;
  font-size: 1.2rem;
}

.footer-social-icon:hover {
  background: var(--primary-color);
  color: #fff;
  transform: scale(1.15) rotate(15deg);
  box-shadow: 0 0 20px var(--primary-glow);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  margin-top: 3rem;
  border-top: 1px dashed var(--border-glass);
  font-size: 0.9rem;
}

/* News/Update Grid Section */
.news-filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  background: var(--bg-panel);
  padding: 1.2rem 2rem;
  border-radius: var(--radius-card);
  margin-bottom: 3rem;
  border: 1px solid var(--border-glass);
}

.news-filter-bar button {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0.5rem 0;
  position: relative;
  transition: var(--transition-smooth);
}

.news-filter-bar button:hover {
  color: var(--text-highlight);
}

.news-filter-bar button.active {
  color: var(--primary-color);
}

.news-filter-bar button.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary-color);
  box-shadow: 0 0 10px var(--primary-glow);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-bottom: 5rem;
}

.news-card {
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
  cursor: pointer;
  background: transparent;
}

.news-card:hover {
  transform: translateY(-8px);
}

.news-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 1.2rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.news-card-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.news-card-meta .separator {
  color: var(--primary-color);
  font-weight: bold;
}

.news-card-title {
  font-size: 1.2rem;
  line-height: 1.4;
  color: var(--text-highlight);
  font-weight: 500;
  transition: var(--transition-smooth);
}

.news-card:hover .news-card-title {
  color: var(--primary-color);
}