﻿/* ============================================
   AUSSIEPEPCHAT — DARK DESIGN SYSTEM v3
   Professional · Community · Trusted
   ============================================ */

/* ============================================
   DESIGN TOKENS
   ============================================ */
:root {
  /* Backgrounds */
  --bg:            #0f1117;
  --bg-page:       #0f1117;
  --bg-subtle:     #161b27;
  --bg-card:       #161b27;
  --bg-card-hover: #1c2235;
  --bg-nav:        rgba(15,17,23,0.92);
  --bg-input:      #1c2235;

  /* Borders */
  --border:        rgba(255,255,255,0.07);
  --border-strong: rgba(255,255,255,0.14);

  /* Accent — deep teal */
  --accent:        #00b4d8;
  --accent-hover:  #00caf0;
  --accent-dim:    rgba(0,180,216,0.15);
  --accent-glow:   rgba(0,180,216,0.28);
  --accent-border: rgba(0,180,216,0.35);

  /* Text */
  --text-heading:  #f0f4ff;
  --text-body:     #b8c4d8;
  --text-muted:    #7a8ba8;
  --text-faint:    #4a5568;

  /* Semantic — dark variants with left-border accent style */
  --amber-bg:      rgba(251,191,36,0.06);
  --amber-border:  #f59e0b;
  --amber-text:    #fcd34d;
  --green-bg:      rgba(16,185,129,0.06);
  --green-border:  #10b981;
  --green-text:    #34d399;
  --blue-bg:       rgba(59,130,246,0.06);
  --blue-border:   #3b82f6;
  --blue-text:     #93c5fd;
  --red-bg:        rgba(239,68,68,0.06);
  --red-border:    #ef4444;
  --red-text:      #fca5a5;

  /* Shape */
  --radius-sm:     6px;
  --radius:        10px;
  --radius-lg:     14px;
  --radius-xl:     18px;

  /* Shadows */
  --shadow-xs:     0 1px 3px rgba(0,0,0,0.4);
  --shadow-sm:     0 2px 8px rgba(0,0,0,0.35), 0 1px 3px rgba(0,0,0,0.3);
  --shadow:        0 4px 20px rgba(0,0,0,0.4), 0 2px 8px rgba(0,0,0,0.3);
  --shadow-lg:     0 8px 40px rgba(0,0,0,0.5), 0 4px 16px rgba(0,0,0,0.35);
  --shadow-glow:   0 0 20px rgba(0,180,216,0.18), 0 4px 20px rgba(0,0,0,0.4);

  /* Motion */
  --ease:          cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --t-fast:        0.15s var(--ease);
  --t:             0.22s var(--ease);
  --t-slow:        0.35s var(--ease);

  /* Type */
  --font:          'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono:     'JetBrains Mono', 'Fira Code', monospace;

  /* Layout */
  --max-w:         1000px;
  --nav-h:         64px;
}

/* ============================================
   BASE & RESET
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font);
  background: var(--bg-page);
  color: var(--text-body);
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--t-fast);
}

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

h1,h2,h3,h4,h5,h6 {
  font-family: var(--font);
  color: var(--text-heading);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

p { margin-bottom: 0; }

ul,ol { list-style: none; }

button {
  font-family: var(--font);
  cursor: pointer;
  border: none;
  background: none;
}

/* ============================================
   SKIP LINK
   ============================================ */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--accent);
  color: #000;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  z-index: 9999;
  transition: top var(--t-fast);
}

.skip-link:focus { top: 16px; }

/* ============================================
   CONTAINER
   ============================================ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-nav);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
  display: flex;
  align-items: center;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: var(--text-heading);
  font-weight: 800;
  font-size: 1.0625rem;
  letter-spacing: -0.03em;
}

.nav-brand span { color: var(--text-heading); }
.nav-brand span span { color: var(--accent); }

.nav-brand-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-sm);
  color: var(--accent);
  flex-shrink: 0;
}

.nav-brand-icon svg {
  width: 16px;
  height: 16px;
}

.nav-brand-text span { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links li a {
  display: block;
  padding: 7px 13px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--t-fast), background var(--t-fast);
  letter-spacing: -0.01em;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: var(--text-heading);
  background: rgba(255,255,255,0.05);
}

.nav-cta a {
  background: var(--accent-dim) !important;
  color: var(--accent) !important;
  border: 1px solid var(--accent-border);
  font-weight: 600 !important;
}

.nav-cta a:hover {
  background: rgba(0,180,216,0.22) !important;
  color: var(--accent-hover) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-muted);
  border-radius: 2px;
  transition: transform var(--t), opacity var(--t);
}

@media (max-width: 680px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: #12161f;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 16px;
    gap: 2px;
  }
  .nav-links.open { display: flex; }
  .nav-links li a { padding: 10px 14px; }
  .nav-cta { margin-top: 6px; }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  padding: 80px 0 72px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(0,180,216,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero .container { position: relative; }

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 18px;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-lead {
  color: var(--text-muted);
  font-size: 1.0625rem;
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    background var(--t-fast),
    color var(--t-fast),
    border-color var(--t-fast),
    box-shadow var(--t-fast),
    transform var(--t-fast);
  border: 1.5px solid transparent;
  text-decoration: none;
  letter-spacing: -0.01em;
  line-height: 1;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  box-shadow: 0 0 16px var(--accent-glow);
  color: #000;
}

.btn-secondary {
  background: rgba(255,255,255,0.06);
  color: var(--text-body);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  color: var(--text-heading);
  border-color: rgba(255,255,255,0.2);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: var(--border);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.05);
  color: var(--text-body);
  border-color: var(--border-strong);
}

.btn-teal-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent-border);
}

.btn-teal-outline:hover {
  background: var(--accent-dim);
  color: var(--accent-hover);
  box-shadow: 0 0 12px var(--accent-glow);
}

.btn-success {
  background: rgba(16,185,129,0.15);
  color: var(--green-text);
  border-color: rgba(16,185,129,0.3);
}

.btn-success:hover {
  background: rgba(16,185,129,0.25);
  color: #6ee7b7;
}

.btn-sm {
  padding: 7px 14px;
  font-size: 0.8125rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 13px 28px;
  font-size: 1rem;
  border-radius: var(--radius-lg);
}

.btn-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.btn-lg .btn-icon { width: 18px; height: 18px; }

/* ============================================
   SECTION
   ============================================ */
.section {
  margin-bottom: 64px;
}

/* ============================================
   CARDS
   ============================================ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: box-shadow var(--t), border-color var(--t), transform var(--t);
}

.card:hover {
  box-shadow: var(--shadow);
  border-color: var(--border-strong);
}

.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-sm);
  color: var(--accent);
  margin-bottom: 14px;
  flex-shrink: 0;
}

.card-icon svg {
  width: 18px;
  height: 18px;
}

.card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================
   GRID LAYOUTS
   ============================================ */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 600px) {
  .grid-2 { grid-template-columns: 1fr; }
}

/* ============================================
   FEATURE GRID / CARDS
   ============================================ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 780px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  .feature-grid { grid-template-columns: 1fr; }
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: box-shadow var(--t), border-color var(--t), transform var(--t);
}

.feature-card:hover {
  box-shadow: var(--shadow-glow);
  border-color: var(--accent-border);
  transform: translateY(-2px);
}

.feature-card .card-icon { margin-bottom: 14px; }

.feature-card h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  line-height: 1.3;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 18px;
}

.feature-card .btn {
  align-self: flex-start;
  font-size: 0.8125rem;
  padding: 7px 14px;
}

@media (max-width: 520px) {
  .feature-card .btn { align-self: stretch; text-align: center; }
}

/* ============================================
   BADGE
   ============================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-radius: 100px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
  margin-bottom: 10px;
  line-height: 1.4;
}

.badge-accent {
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid var(--accent-border);
}

.badge-soon {
  background: rgba(251,191,36,0.1);
  color: var(--amber-text);
  border: 1px solid rgba(245,158,11,0.3);
}

.badge-new {
  background: var(--green-bg);
  color: var(--green-text);
  border: 1px solid rgba(16,185,129,0.3);
}

/* ============================================
   NOTICE / ALERTS — left-border accent style
   ============================================ */
.notice {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  border-left-width: 3px;
  margin-bottom: 24px;
  background: var(--bg-subtle);
}

.notice-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.notice-body { flex: 1; min-width: 0; }

.notice-title {
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 4px;
  color: var(--text-heading);
}

.notice-body p {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.notice-amber {
  background: var(--amber-bg);
  border-left-color: var(--amber-border);
  border-color: rgba(245,158,11,0.2);
}

.notice-amber .notice-icon { color: var(--amber-text); }
.notice-amber .notice-title { color: var(--amber-text); }
.notice-amber .notice-body p { color: var(--amber-text); opacity: 0.85; }

.notice-blue {
  background: var(--blue-bg);
  border-left-color: var(--blue-border);
  border-color: rgba(59,130,246,0.2);
}

.notice-blue .notice-icon { color: var(--blue-text); }
.notice-blue .notice-title { color: var(--blue-text); }
.notice-blue .notice-body p { color: var(--blue-text); opacity: 0.85; }

.notice-green {
  background: var(--green-bg);
  border-left-color: var(--green-border);
  border-color: rgba(16,185,129,0.2);
}

.notice-green .notice-icon { color: var(--green-text); }
.notice-green .notice-title { color: var(--green-text); }
.notice-green .notice-body p { color: var(--green-text); opacity: 0.9; }

.notice-red {
  background: var(--red-bg);
  border-left-color: var(--red-border);
  border-color: rgba(239,68,68,0.2);
}

.notice-red .notice-icon { color: var(--red-text); }
.notice-red .notice-title { color: var(--red-text); }
.notice-red .notice-body p { color: var(--red-text); opacity: 0.85; }

/* ============================================
   CTA BAND
   ============================================ */
.cta-band {
  background: linear-gradient(135deg, #161b27 0%, #1a2236 100%);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-xl);
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 52px;
  box-shadow: 0 0 40px rgba(0,180,216,0.08);
}

.cta-band-content h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

.cta-band-content p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  max-width: 480px;
}

.cta-band-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .cta-band { flex-direction: column; padding: 28px 24px; }
  .cta-band-actions { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .cta-band-actions .btn { justify-content: center; }
}

/* ============================================
   CONTENT LIST
   ============================================ */
.content-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.content-list li {
  padding: 10px 16px;
  font-size: 0.9rem;
  color: var(--text-body);
  background: var(--bg-subtle);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  position: relative;
  padding-left: 28px;
}

.content-list li::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 16px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.6;
}

/* ============================================
   SECTION HEADER
   ============================================ */
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.section-title {
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -0.03em;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-faint);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ============================================
   PAGE HEADER
   ============================================ */
.page-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 52px 0 40px;
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(0,180,216,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.page-header-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 12px;
}

.page-header h1 {
  font-size: clamp(1.6rem, 4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-heading);
  margin-bottom: 10px;
  line-height: 1.15;
}

.page-header p {
  color: var(--text-muted);
  font-size: 1.0625rem;
  max-width: 580px;
  line-height: 1.65;
}

/* ============================================
   PAGE CONTENT WRAPPER
   ============================================ */
.page-content {
  padding: 48px 0 0;
}

/* ============================================
   STEPS / ORDERING PROCESS
   ============================================ */
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.step-item:first-child { padding-top: 4px; }
.step-item:last-child { border-bottom: none; padding-bottom: 0; }

.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  border-radius: 50%;
  font-size: 0.8125rem;
  font-weight: 800;
  margin-top: 1px;
}

.step-content strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: -0.01em;
  margin-bottom: 4px;
  line-height: 1.4;
}

.step-content span {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================
   PDF BLOCK
   ============================================ */
.pdf-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.pdf-block-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 24px 28px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-subtle);
}

.pdf-block-meta h2 {
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -0.02em;
  margin-bottom: 3px;
}

.pdf-block-meta .updated {
  font-size: 0.8125rem;
  color: var(--text-faint);
  margin: 0;
}

.pdf-block-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.pdf-viewer {
  width: 100%;
  background: #0a0c12;
}

.pdf-viewer iframe {
  display: block;
  width: 100%;
  height: 740px;
  border: none;
}

.pdf-fallback {
  font-size: 0.8125rem;
  color: var(--text-faint);
  text-align: center;
  padding: 12px 20px;
  border-top: 1px solid var(--border);
  background: var(--bg-subtle);
}

.pdf-fallback a { color: var(--accent); }

@media (max-width: 640px) {
  .pdf-block-header { flex-direction: column; gap: 14px; padding: 18px 20px; }
  .pdf-block-actions { width: 100%; }
  .pdf-block-actions .btn { flex: 1; justify-content: center; }
  .pdf-viewer iframe { height: 480px; }
}

/* ============================================
   ANNOUNCEMENTS
   ============================================ */
.announcements-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.announcement-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: box-shadow var(--t), border-color var(--t);
}

.announcement-item:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--border-strong);
}

.announcement-date {
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 700;
  white-space: nowrap;
  padding-top: 3px;
  letter-spacing: 0.02em;
  min-width: 68px;
}

.announcement-body h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: -0.01em;
  margin-bottom: 4px;
  line-height: 1.3;
}

.announcement-body p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 480px) {
  .announcement-item { flex-direction: column; gap: 6px; }
  .announcement-date { min-width: auto; }
}

/* ============================================
   DIVIDER
   ============================================ */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0 0 52px;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: #0a0c12;
  border-top: 1px solid var(--border);
  padding: 44px 0 36px;
  margin-top: 80px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px 48px;
  align-items: start;
  margin-bottom: 32px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.footer-logo span { color: var(--text-heading); }
.footer-logo span span { color: var(--accent); }

.footer-logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  border-radius: 6px;
  color: var(--accent);
}

.footer-logo-icon svg { width: 14px; height: 14px; }

.footer-tagline {
  font-size: 0.8125rem;
  color: var(--text-faint);
  line-height: 1.6;
  max-width: 340px;
}

.footer-nav h4 {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-faint);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.footer-nav-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-nav-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--t-fast);
}

.footer-nav-links a:hover { color: var(--text-body); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-copy, .footer-legal {
  font-size: 0.8125rem;
  color: var(--text-faint);
}

@media (max-width: 600px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 6px; }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.mb-sm  { margin-bottom: 12px; }
.mb-md  { margin-bottom: 24px; }
.mb-lg  { margin-bottom: 40px; }
.mt-sm  { margin-top: 12px; }
.mt-md  { margin-top: 16px; }
.mt-lg  { margin-top: 28px; }
.text-center { text-align: center; }
.text-muted  { color: var(--text-muted); }
.text-accent { color: var(--accent); }

/* ============================================
   MODAL / TERMS POP-UP
   ============================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.hidden { display: none; }

.modal {
  background: #161b27;
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-xl);
  padding: 36px 36px 32px;
  max-width: 540px;
  width: 100%;
  box-shadow: 0 0 60px rgba(0,180,216,0.15), var(--shadow-lg);
  position: relative;
}

.modal-title {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.modal-body {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.modal-body ul {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.modal-body ul li {
  padding-left: 18px;
  position: relative;
  color: var(--text-body);
}

.modal-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
}

@media (max-width: 560px) {
  .modal { padding: 28px 20px 24px; }
}

/* ============================================
   ACCORDION
   ============================================ */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.accordion-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--t);
}

.accordion-item.open {
  border-color: var(--accent-border);
}

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  cursor: pointer;
  user-select: none;
  transition: background var(--t-fast);
}

.accordion-header:hover {
  background: rgba(255,255,255,0.03);
}

.accordion-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: -0.01em;
}

.accordion-chevron {
  width: 18px;
  height: 18px;
  color: var(--text-faint);
  flex-shrink: 0;
  transition: transform var(--t), color var(--t);
}

.accordion-item.open .accordion-chevron {
  transform: rotate(180deg);
  color: var(--accent);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-slow) var(--ease);
}

.accordion-item.open .accordion-body {
  max-height: 600px;
}

.accordion-content {
  padding: 0 22px 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.accordion-content ul {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.accordion-content ul li {
  padding-left: 16px;
  position: relative;
}

.accordion-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.7;
}

/* ============================================
   CALCULATOR
   ============================================ */
.calc-section {
  margin-bottom: 40px;
}

.calc-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: -0.01em;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.calc-label .step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  border-radius: 50%;
  font-size: 0.6875rem;
  font-weight: 800;
  color: var(--accent);
  flex-shrink: 0;
}

/* Syringe selector */
.syringe-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

@media (max-width: 560px) {
  .syringe-grid { grid-template-columns: 1fr; }
}

.syringe-card {
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  cursor: pointer;
  transition: border-color var(--t), box-shadow var(--t), background var(--t);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.syringe-card:hover {
  border-color: var(--accent-border);
  background: var(--bg-card-hover);
}

.syringe-card.selected {
  border-color: var(--accent);
  background: var(--accent-dim);
  box-shadow: 0 0 20px var(--accent-glow);
}

.syringe-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-heading);
}

.syringe-sublabel {
  font-size: 0.75rem;
  color: var(--text-faint);
}

/* Preset button group */
.preset-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.preset-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: border-color var(--t), background var(--t), color var(--t), box-shadow var(--t);
  font-family: var(--font);
}

.preset-btn:hover {
  border-color: var(--accent-border);
  color: var(--text-body);
}

.preset-btn.selected {
  border-color: var(--accent);
  background: var(--accent-dim);
  color: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
}

.other-input {
  display: none;
  align-items: center;
  gap: 8px;
}

.other-input.visible { display: flex; }

.other-input input {
  width: 100px;
  padding: 8px 12px;
  background: var(--bg-input);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-heading);
  font-size: 0.875rem;
  font-family: var(--font);
  outline: none;
  transition: border-color var(--t-fast);
}

.other-input input:focus {
  border-color: var(--accent);
}

.other-input span {
  font-size: 0.8125rem;
  color: var(--text-faint);
}

/* Result box */
.calc-result {
  background: linear-gradient(135deg, #161b27 0%, #1a2236 100%);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-xl);
  padding: 28px 32px;
  box-shadow: 0 0 30px rgba(0,180,216,0.08);
}

.calc-result-empty {
  text-align: center;
  color: var(--text-faint);
  font-size: 0.9rem;
  padding: 16px 0;
}

.calc-result-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 16px;
}

.calc-result-main {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 20px;
  line-height: 1.5;
}

.calc-result-main span {
  color: var(--accent);
  font-size: 1.375rem;
}

.calc-result-stats {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  margin-bottom: 20px;
}

.calc-stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.calc-stat-label {
  font-size: 0.75rem;
  color: var(--text-faint);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.calc-stat-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-heading);
}

/* Visual syringe scale */
.syringe-scale {
  margin-top: 8px;
}

.syringe-scale-label {
  font-size: 0.75rem;
  color: var(--text-faint);
  margin-bottom: 8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.syringe-scale-bar {
  position: relative;
  height: 36px;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}

.syringe-scale-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-dim), var(--accent));
  border-radius: 20px;
  transition: width var(--t-slow);
  min-width: 0;
  max-width: 100%;
}

.syringe-scale-marker {
  position: absolute;
  top: 0;
  height: 100%;
  width: 2px;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
}

.syringe-scale-ticks {
  display: flex;
  justify-content: space-between;
  padding: 4px 4px 0;
}

.syringe-scale-ticks span {
  font-size: 0.6875rem;
  color: var(--text-faint);
}

/* ============================================
   TELEGRAM CONTACT BUTTON BLOCK
   ============================================ */
.tg-contact-block {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.tg-contact-block .tg-subtext {
  font-size: 0.8125rem;
  color: var(--text-faint);
  margin: 0;
}

@media (max-width: 480px) {
  .tg-contact-block .btn { width: 100%; justify-content: center; }
}

/* ============================================
   STOCK STATUS
   ============================================ */
.stock-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border, #2a3347);
}
.stock-item:last-child {
  border-bottom: none;
  padding-bottom: 4px;
}
.stock-item-name {
  font-weight: 700;
  color: var(--text-heading, #e2e8f0);
  font-size: 1rem;
}
.stock-item-date {
  font-size: 0.82rem;
  color: var(--text-muted, #718096);
}
.stock-item-restock {
  font-size: 0.82rem;
  color: #f6ad55;
  font-weight: 500;
}

/* ============================================
   CONTENT LOADING SPINNER
   ============================================ */
.content-loading {
  position: relative;
}
.content-loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  border: 2px solid var(--border, #2a3347);
  border-top-color: #00b4d8;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ============================================
   GIVEAWAY CARDS & ENTRY SYSTEM
   ============================================ */
@keyframes gaFadeIn {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Base card ── */
.ga-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left-width: 4px;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.ga-card:last-child { margin-bottom: 0; }

/* ── Active card ── */
.ga-card-active {
  border-left-color: #00b4d8;
  border-color: rgba(0,180,216,0.25);
  border-left-color: #00b4d8;
}
.ga-card-active:hover {
  border-color: rgba(0,180,216,0.5);
  border-left-color: #00b4d8;
  box-shadow: 0 0 0 1px rgba(0,180,216,0.15), 0 4px 24px rgba(0,180,216,0.08);
}

/* ── Closed card ── */
.ga-card-closed {
  border-left-color: rgba(113,128,150,0.5);
  border-color: var(--border);
  opacity: 0.9;
}

/* ── Top row: badge + winners pill ── */
.ga-card-toprow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

/* ── Badges ── */
.ga-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.ga-badge-active {
  background: rgba(16,185,129,0.15);
  color: #10b981;
  border: 1px solid rgba(16,185,129,0.3);
}
.ga-badge-closed {
  background: rgba(113,128,150,0.18);
  color: #a0aec0;
  border: 1px solid rgba(113,128,150,0.35);
}

/* ── Drew date pill (closed card top-right) ── */
.ga-drew-pill {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3px 10px;
  white-space: nowrap;
}

/* ── Winners pill (top-right of active card) ── */
.ga-winners-pill {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3px 10px;
}

/* ── Title ── */
.ga-card-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

/* ── Prize box ── */
.ga-prize-box {
  font-size: 0.9375rem;
  color: var(--text-body);
  background: rgba(0,180,216,0.07);
  border: 1px solid rgba(0,180,216,0.15);
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 14px;
}
.ga-prize-box-closed {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.1);
  color: var(--text-body);
}
.ga-prize-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
  background: rgba(255,255,255,0.07);
  border-radius: 4px;
  padding: 1px 6px;
  margin-right: 4px;
  vertical-align: middle;
}

/* ── Closing date ── */
.ga-closes-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.ga-closes-date {
  color: #f59e0b;
  font-weight: 600;
}

/* ── Countdown inset box ── */
.ga-countdown-box {
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(0,180,216,0.2);
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 14px;
}
.ga-countdown {
  font-size: 1rem;
  font-weight: 700;
  color: #00b4d8;
  font-family: 'Courier New', monospace;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

/* ── Entry count row ── */
.ga-entries-row {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

/* ── Enter button ── */
.ga-enter-btn {
  width: 100%;
  justify-content: center;
  font-size: 1rem;
  padding: 13px 20px;
  border-radius: 10px;
  margin-bottom: 10px;
}
.ga-enter-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0;
  text-align: center;
  line-height: 1.5;
}

/* ── Closed card winners block ── */
.ga-winners-block {
  background: rgba(16,185,129,0.06);
  border: 1px solid rgba(16,185,129,0.18);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 14px;
}
.ga-winners-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #10b981;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.ga-winner-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.ga-winner-row:first-of-type { border-top: none; }
.ga-winner-trophy {
  font-size: 1rem;
  flex-shrink: 0;
  line-height: 1;
}
.ga-winner-name {
  font-size: 0.9375rem;
  color: var(--text-heading);
  font-weight: 600;
}

/* ── Fairness proof toggle + body ── */
.ga-proof-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  padding: 6px 12px;
  font-family: inherit;
  transition: background 0.15s, color 0.15s;
  text-decoration: none;
  margin-top: 4px;
}
.ga-proof-toggle:hover {
  background: rgba(255,255,255,0.08);
  color: var(--text-body);
}
.ga-proof-toggle[aria-expanded="true"] .ga-proof-toggle-icon {
  transform: rotate(90deg);
}
.ga-proof-toggle-icon {
  font-size: 0.6rem;
  transition: transform 0.2s;
  display: inline-block;
}
.ga-proof-body {
  margin-top: 10px;
  padding: 14px;
  background: rgba(255,255,255,0.03);
  border-radius: 8px;
  border: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-body);
}
.ga-proof-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.85rem;
}
.ga-proof-row:last-of-type { border-bottom: none; }
.ga-proof-row span:first-child {
  color: var(--text-muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}
.ga-proof-row code {
  font-size: 0.75rem;
  word-break: break-all;
  color: #00b4d8;
  background: rgba(0,180,216,0.07);
  padding: 2px 6px;
  border-radius: 4px;
}
.ga-proof-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 10px 0 0;
  line-height: 1.5;
}

/* ── Empty state card ── */
.ga-empty-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px 28px;
  text-align: center;
}
.ga-empty-icon {
  font-size: 2rem;
  margin-bottom: 14px;
  line-height: 1;
}
.ga-empty-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-heading);
  margin: 0 0 8px;
}
.ga-empty-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

/* ── Members area giveaway preview card ── */
.ga-members-preview {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 4px solid #00b4d8;
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  transition: border-color 0.2s;
}
.ga-members-preview:last-child { margin-bottom: 0; }
.ga-members-preview:hover { border-color: rgba(0,180,216,0.5); }
.ga-members-preview-info { flex: 1; min-width: 0; }
.ga-members-preview-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-heading);
  margin: 0 0 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ga-members-preview-prize {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 0 0 3px;
}
.ga-members-preview-closes {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.ga-members-preview-closes span {
  color: #f59e0b;
  font-weight: 600;
}
