/* ============================================================
   DevSphere Hackathon — Redesign CSS
   Dark "Hacker Sphere" Design System
   ============================================================ */

/* ── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* ── Design Tokens ───────────────────────────────────────── */
:root {
  --bg-deep: #05070f;
  --bg-surface: #0c0f1e;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.08);
  --border-glass: rgba(255, 255, 255, 0.09);
  --accent-cyan: #00f0ff;
  --accent-violet: #9b59f5;
  --accent-pink: #f05fcc;
  --text-primary: #e8eaf6;
  --text-muted: #7b88a8;
  --text-dim: #4a5168;
  --gradient-main: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-violet) 100%);
  --gradient-glow: linear-gradient(135deg, rgba(0, 240, 255, 0.15) 0%, rgba(155, 89, 245, 0.15) 100%);
  --shadow-neon: 0 0 24px rgba(0, 240, 255, 0.25), 0 0 48px rgba(155, 89, 245, 0.12);
  --shadow-card: 0 4px 32px rgba(0, 0, 0, 0.5);
  --radius-card: 16px;
  --radius-btn: 50px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* ── Reset & Base ─────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.25;
  color: var(--text-primary);
}

a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-violet);
}

img {
  max-width: 100%;
  height: auto;
}

::selection {
  background: var(--accent-violet);
  color: #fff;
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-surface);
}

::-webkit-scrollbar-thumb {
  background: var(--accent-violet);
  border-radius: 3px;
}

/* ── Navbar ───────────────────────────────────────────────── */
.ds-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 68px;
  background: rgba(5, 7, 15, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
}

.ds-navbar .nav-logo {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
  white-space: nowrap;
}

.ds-navbar .nav-logo span {
  display: inline-block;
  filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.5));
}

.ds-navbar nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.ds-navbar nav a {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
  transition: var(--transition);
  letter-spacing: 0.02em;
}

.ds-navbar nav a:hover,
.ds-navbar nav a.active {
  color: var(--accent-cyan);
  background: rgba(0, 240, 255, 0.07);
}

/* Mobile nav toggle */
.ds-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.75rem;
  cursor: pointer;
  padding: 0.35rem 0.5rem;
  line-height: 1;
  border-radius: 8px;
  transition: var(--transition);
}

.ds-nav-toggle:hover {
  background: rgba(0, 240, 255, 0.1);
  color: var(--accent-cyan);
}

.ds-nav-mobile {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(5, 7, 15, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  padding: 1rem 2rem 1.5rem;
  gap: 0.25rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
}

.ds-nav-mobile.open {
  display: flex;
}

.ds-nav-mobile a {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.6rem 0.75rem;
  border-radius: 8px;
  transition: var(--transition);
}

.ds-nav-mobile a:hover {
  color: var(--accent-cyan);
  background: rgba(0, 240, 255, 0.07);
}

@media (max-width: 768px) {
  .ds-navbar nav {
    display: none;
  }

  .ds-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .ds-navbar {
    position: relative;
  }
}

/* ── Footer ───────────────────────────────────────────────── */
.ds-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-glass);
  padding: 2.5rem 2rem;
  text-align: center;
}

.ds-footer .footer-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.ds-footer .footer-brand {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ds-footer .footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.ds-footer .footer-links a {
  color: var(--text-muted);
  font-size: 0.875rem;
  transition: var(--transition);
}

.ds-footer .footer-links a:hover {
  color: var(--accent-cyan);
}

.ds-footer .footer-socials {
  display: flex;
  gap: 1rem;
}

.ds-footer .footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition);
}

.ds-footer .footer-socials a:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.3);
}

.ds-footer .footer-copy {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ── Buttons ──────────────────────────────────────────────── */
.ds-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.75rem;
  border-radius: var(--radius-btn);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  letter-spacing: 0.03em;
  text-decoration: none;
}

.ds-btn-primary {
  background: var(--gradient-main);
  color: #05070f;
  box-shadow: 0 4px 20px rgba(0, 240, 255, 0.3);
}

.ds-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 240, 255, 0.45);
  color: #05070f;
}

.ds-btn-outline {
  background: transparent;
  color: var(--accent-cyan);
  border: 1px solid var(--accent-cyan);
}

.ds-btn-outline:hover {
  background: rgba(0, 240, 255, 0.08);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 240, 255, 0.2);
  color: var(--accent-cyan);
}

.ds-btn-violet {
  background: linear-gradient(135deg, #9b59f5, #f05fcc);
  color: #fff;
  box-shadow: 0 4px 20px rgba(155, 89, 245, 0.35);
}

.ds-btn-violet:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(155, 89, 245, 0.5);
  color: #fff;
}

.ds-btn-sm {
  padding: 0.4rem 1.1rem;
  font-size: 0.8rem;
}

/* ── Cards (Glassmorphism) ────────────────────────────────── */
.ds-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-card);
  padding: 1.75rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.ds-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-glow);
  opacity: 0;
  transition: var(--transition);
  border-radius: inherit;
}

.ds-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(0, 240, 255, 0.2);
  transform: translateY(-4px);
  box-shadow: var(--shadow-neon);
}

.ds-card:hover::before {
  opacity: 1;
}

.ds-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

/* ── Badges ───────────────────────────────────────────────── */
.ds-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ds-badge-champion {
  background: rgba(255, 215, 0, 0.12);
  border: 1px solid rgba(255, 215, 0, 0.35);
  color: #ffd700;
}

.ds-badge-runner {
  background: rgba(192, 192, 192, 0.12);
  border: 1px solid rgba(192, 192, 192, 0.35);
  color: #c0c0c0;
}

.ds-badge-girl {
  background: rgba(240, 95, 204, 0.12);
  border: 1px solid rgba(240, 95, 204, 0.35);
  color: var(--accent-pink);
}

.ds-badge-junior {
  background: rgba(155, 89, 245, 0.12);
  border: 1px solid rgba(155, 89, 245, 0.35);
  color: var(--accent-violet);
}

.ds-badge-cyan {
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.25);
  color: var(--accent-cyan);
}

.ds-badge-muted {
  background: rgba(123, 136, 168, 0.1);
  border: 1px solid rgba(123, 136, 168, 0.2);
  color: var(--text-muted);
}

/* ── Page Hero ────────────────────────────────────────────── */
.ds-page-hero {
  position: relative;
  padding: 5rem 2rem 4rem;
  text-align: center;
  overflow: hidden;
}

.ds-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0, 240, 255, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(155, 89, 245, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.ds-page-hero .hero-dot-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.ds-page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 0.75rem;
  position: relative;
}

.ds-page-hero p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

/* ── Gradient Text ────────────────────────────────────────── */
.gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Section Heading ──────────────────────────────────────── */
.ds-section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.ds-section-title h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.5px;
}

.ds-section-title p {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto;
}

.ds-section-title .title-line {
  width: 60px;
  height: 3px;
  background: var(--gradient-main);
  border-radius: 2px;
  margin: 1rem auto 0;
}

/* ── Table ────────────────────────────────────────────────── */
.ds-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-card);
  border: 1px solid var(--border-glass);
  background: var(--bg-card);
}

.ds-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.ds-table thead tr {
  background: var(--gradient-main);
}

.ds-table thead th {
  padding: 1rem 1.25rem;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #05070f;
  white-space: nowrap;
  border: none;
}

.ds-table tbody tr {
  border-bottom: 1px solid var(--border-glass);
  transition: var(--transition);
}

.ds-table tbody tr:last-child {
  border-bottom: none;
}

.ds-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

.ds-table tbody td {
  padding: 0.875rem 1.25rem;
  color: var(--text-primary);
  border: none;
  vertical-align: middle;
}

.ds-table tbody td.cert-id {
  font-family: 'Courier New', monospace;
  font-size: 0.8rem;
  color: var(--accent-cyan);
  letter-spacing: 0.05em;
}

/* ── Filter Tabs ──────────────────────────────────────────── */
.ds-filter-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.ds-tab {
  padding: 0.4rem 1.1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--border-glass);
  background: transparent;
  color: var(--text-muted);
  transition: var(--transition);
  letter-spacing: 0.03em;
}

.ds-tab:hover,
.ds-tab.active {
  background: rgba(0, 240, 255, 0.1);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

/* ── Stats Row ────────────────────────────────────────────── */
.ds-stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  padding: 3rem 0;
}

.ds-stat-item {
  text-align: center;
  padding: 1.75rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-card);
  transition: var(--transition);
}

.ds-stat-item:hover {
  border-color: rgba(0, 240, 255, 0.2);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
}

.ds-stat-item .stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.ds-stat-item .stat-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── Countdown ────────────────────────────────────────────── */
.ds-countdown {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 2.5rem 0;
}

.ds-countdown .count-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  min-width: 90px;
}

.ds-countdown .count-digit {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  background-color: var(--bg-card);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 12px;
  padding: 0.5rem 1.25rem;
  min-width: 90px;
  text-align: center;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.1);
}

.ds-countdown .count-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ── Info Tile (contact info) ─────────────────────────────── */
.ds-info-tile {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  transition: var(--transition);
}

.ds-info-tile:hover {
  border-color: rgba(0, 240, 255, 0.2);
  background: var(--bg-card-hover);
}

.ds-info-tile .tile-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.ds-info-tile h4 {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.ds-info-tile p {
  font-size: 0.875rem;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.5;
}

/* ── Ended Banner ─────────────────────────────────────────── */
.ds-ended-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  background: rgba(155, 89, 245, 0.12);
  border: 1px solid rgba(155, 89, 245, 0.3);
  color: var(--accent-violet);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.ds-ended-pill::before {
  content: '●';
  font-size: 0.6rem;
  animation: pulse-dot 1.8s ease-in-out infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

/* ── Project Cards ────────────────────────────────────────── */
.ds-project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.ds-project-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-main);
  transform: scaleX(0);
  transition: var(--transition);
}

.ds-project-card:hover {
  border-color: rgba(0, 240, 255, 0.25);
  transform: translateY(-5px);
  box-shadow: var(--shadow-neon);
}

.ds-project-card:hover::after {
  transform: scaleX(1);
}

.ds-project-card .card-emoji {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
  display: block;
}

.ds-project-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-primary);
}

.ds-project-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

/* ── Frame Preview ────────────────────────────────────────── */
.ds-frame-preview {
  border-radius: 12px;
  border: 1px solid var(--border-glass);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: #000;
}

.ds-frame-preview .frame-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-glass);
}

.ds-frame-preview .frame-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.ds-frame-preview .frame-dot:nth-child(1) {
  background: #ff5f57;
}

.ds-frame-preview .frame-dot:nth-child(2) {
  background: #febc2e;
}

.ds-frame-preview .frame-dot:nth-child(3) {
  background: #28c840;
}

.ds-frame-preview iframe {
  width: 100%;
  height: 500px;
  border: none;
  display: block;
}

/* ── Gallery Cards ────────────────────────────────────────── */
.ds-gallery-item {
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.ds-gallery-item img,
.ds-gallery-item video {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.ds-gallery-item .gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 240, 255, 0.08);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ds-gallery-item .gallery-overlay span {
  font-size: 1.5rem;
  filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.8));
}

.ds-gallery-item:hover {
  border-color: rgba(0, 240, 255, 0.25);
  transform: scale(1.02);
  box-shadow: var(--shadow-neon);
}

.ds-gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.ds-gallery-item:hover img {
  transform: scale(1.05);
}

/* ── Dark Lightbox Modal ──────────────────────────────────── */
.ds-lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 7, 15, 0.95);
  backdrop-filter: blur(12px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.ds-lightbox-overlay.open {
  display: flex;
}

.ds-lightbox-content {
  position: relative;
  max-width: 900px;
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-neon);
}

.ds-lightbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border-glass);
}

.ds-lightbox-header h5 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

.ds-lightbox-close {
  background: none;
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  color: var(--text-muted);
  padding: 0.3rem 0.6rem;
  cursor: pointer;
  font-size: 0.9rem;
  transition: var(--transition);
}

.ds-lightbox-close:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.ds-lightbox-body {
  padding: 1.5rem;
  text-align: center;
}

.ds-lightbox-body img {
  max-height: 70vh;
  border-radius: 10px;
  width: auto;
}

.ds-lightbox-footer {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border-glass);
}

/* ── Section Utilities ────────────────────────────────────── */
.ds-section {
  padding: 5rem 0;
}

.ds-section-sm {
  padding: 3.5rem 0;
}

.ds-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Divider line ─────────────────────────────────────────── */
.ds-divider {
  height: 1px;
  background: var(--border-glass);
  border: none;
  margin: 0;
}

/* ── Glow Line Decoration ─────────────────────────────────── */
.ds-glow-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
  opacity: 0.3;
  margin: 3rem 0;
}

/* ── Particle Canvas (homepage hero) ─────────────────────── */
#ds-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* ── Hero Main ────────────────────────────────────────────── */
.ds-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--bg-deep);
}

.ds-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 100% 80% at 50% -10%, rgba(0, 240, 255, 0.07) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 90% 100%, rgba(155, 89, 245, 0.07) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 10% 90%, rgba(0, 240, 255, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.ds-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 2rem 1.5rem;
}

.ds-hero-content h1 {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1.05;
  margin-bottom: 1rem;
}

.ds-hero-content .hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  font-weight: 400;
}

/* ── Grid Layout Utilities ────────────────────────────────── */
.ds-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.ds-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.ds-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

@media (max-width: 1024px) {
  .ds-grid-4 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .ds-grid-2 {
    grid-template-columns: 1fr;
  }

  .ds-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .ds-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .ds-grid-3 {
    grid-template-columns: 1fr;
  }

  .ds-grid-4 {
    grid-template-columns: 1fr;
  }

  .ds-countdown {
    gap: 0.75rem;
  }

  .ds-countdown .count-digit {
    font-size: 2rem;
    min-width: 70px;
  }
}

/* ── Animations ───────────────────────────────────────────── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes neonPulse {

  0%,
  100% {
    box-shadow: 0 0 12px rgba(0, 240, 255, 0.2);
  }

  50% {
    box-shadow: 0 0 28px rgba(0, 240, 255, 0.5);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.anim-fade-up {
  animation: fadeInUp 0.7s ease both;
}

.anim-fade-up-2 {
  animation: fadeInUp 0.7s 0.15s ease both;
}

.anim-fade-up-3 {
  animation: fadeInUp 0.7s 0.3s ease both;
}

.anim-fade-in {
  animation: fadeIn 0.5s ease both;
}

/* ── Not Found (404) ──────────────────────────────────────── */
.ds-404 {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.ds-404-number {
  font-family: var(--font-heading);
  font-size: clamp(6rem, 20vw, 14rem);
  font-weight: 700;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  animation: neonPulse 2.5s ease-in-out infinite;
  filter: drop-shadow(0 0 30px rgba(0, 240, 255, 0.3));
}

/* ── About bullet list ────────────────────────────────────── */
.ds-bullet-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.ds-bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.ds-bullet-list li .bullet-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 0.7rem;
  color: var(--accent-cyan);
}

/* ── Highlight card item ──────────────────────────────────── */
.ds-highlight-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.875rem 1rem;
  background: rgba(255, 255, 255, 0.025);
  border-radius: 10px;
  border: 1px solid var(--border-glass);
}

.ds-highlight-item .hi-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.ds-highlight-item .hi-value {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
}