/* ==========================================================================
   AION 2 Rift Timer — Modern Gaming Theme & Responsive Styling
   Optimized for Core Web Vitals (Zero CLS, Fast LCP, Minimal Repaints)
   ========================================================================== */

:root {
  --bg-primary: #080c14;
  --bg-surface: #0f172a;
  --bg-card: #141e33;
  --bg-card-hover: #1a2742;
  --bg-card-active: rgba(56, 189, 248, 0.08);
  
  --border-subtle: #1e293b;
  --border-glow: #38bdf8;
  --border-active: #0ea5e9;

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-accent: #38bdf8;
  --text-elyos: #fef08a;
  --text-asmodian: #f43f5e;
  
  --status-active: #10b981;
  --status-active-glow: rgba(16, 185, 129, 0.35);
  --status-next: #38bdf8;
  --status-upcoming: #64748b;
  --status-ended: #334155;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  
  --shadow-card: 0 4px 20px -2px rgba(0, 0, 0, 0.5), 0 2px 6px -1px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 30px -5px rgba(56, 189, 248, 0.25);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-image: 
    radial-gradient(ellipse at 50% 0%, rgba(56, 189, 248, 0.12) 0%, transparent 60%),
    radial-gradient(circle at 10% 20%, rgba(168, 85, 247, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(14, 165, 233, 0.06) 0%, transparent 50%);
  background-attachment: fixed;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(8, 12, 20, 0.85);
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px 0;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.logo-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.5));
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ffffff 40%, var(--text-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  gap: 6px;
}

.brand-badge {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(56, 189, 248, 0.15);
  color: var(--text-accent);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid rgba(56, 189, 248, 0.3);
  letter-spacing: 0.05em;
  -webkit-text-fill-color: initial;
}

.brand-tagline {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.timezone-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-subtle);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
}

.timezone-pill:hover {
  border-color: var(--border-glow);
  color: var(--text-primary);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--status-active);
  box-shadow: 0 0 8px var(--status-active);
  animation: pulseAnimation 2s infinite;
}

@keyframes pulseAnimation {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.sound-toggle-btn {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  border-radius: var(--radius-full);
  padding: 6px 12px;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: var(--transition);
  min-height: 48px;
}

.sound-toggle-btn:hover {
  border-color: var(--border-glow);
  color: var(--text-primary);
}

.sound-toggle-btn.active {
  background: rgba(56, 189, 248, 0.15);
  border-color: var(--border-glow);
  color: var(--text-accent);
}

/* ==========================================================================
   Above The Fold: Main Tool Section
   ========================================================================== */
.tool-hero-section {
  padding: 24px 0 36px 0;
  position: relative;
}

/* Server Selector Tabs */
.server-selection-bar {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.server-tabs {
  display: inline-flex;
  background: var(--bg-surface);
  padding: 4px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  gap: 4px;
  box-shadow: var(--shadow-card);
  max-width: 100%;
  overflow-x: auto;
}

.server-tab-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 24px;
  background: transparent;
  border: none;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-family: inherit;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  min-height: 48px;
}

.server-tab-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.03);
}

.server-tab-btn.active {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(14, 165, 233, 0.35));
  color: #ffffff;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.25);
  border: 1px solid rgba(56, 189, 248, 0.4);
}

.server-name {
  font-weight: 700;
  font-size: 0.95rem;
}

.server-clock {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  margin-top: 2px;
}

.server-tab-btn.active .server-clock {
  color: rgba(255, 255, 255, 0.85);
}

/* Master Hero Countdown Card */
.master-countdown-card {
  background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-card) 100%);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-card), var(--shadow-glow);
  position: relative;
  overflow: hidden;
  margin-bottom: 28px;
}

.master-countdown-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--border-glow) 50%, transparent 100%);
}

.status-badge-wrapper {
  margin-bottom: 12px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.status-badge.active-now {
  background: rgba(16, 185, 129, 0.15);
  color: var(--status-active);
  border: 1px solid rgba(16, 185, 129, 0.4);
  box-shadow: 0 0 16px var(--status-active-glow);
}

.status-badge.countdown {
  background: rgba(56, 189, 248, 0.12);
  color: var(--status-next);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

/* Large Clock Digits */
.countdown-clock {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 8px;
  margin: 16px 0 20px 0;
  font-family: var(--font-mono);
  font-weight: 800;
}

.digit-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.digit-value {
  font-size: 3.8rem;
  line-height: 1;
  background: linear-gradient(180deg, #ffffff 40%, #bae6fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 8px rgba(56, 189, 248, 0.3));
}

.digit-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 6px;
  font-family: var(--font-sans);
  font-weight: 600;
}

.digit-separator {
  font-size: 3rem;
  line-height: 1;
  color: var(--border-glow);
  opacity: 0.6;
}

/* Progress Bar */
.progress-bar-container {
  width: 100%;
  max-width: 600px;
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-full);
  margin: 0 auto 20px auto;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #38bdf8, #a855f7);
  border-radius: var(--radius-full);
  transition: width 0.5s ease-out;
}

/* Sub-Info & Notification Action */
.countdown-subdetails {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.detail-highlight {
  color: #ffffff;
  font-weight: 600;
}

.notify-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: var(--text-accent);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 14px;
  min-height: 48px;
}

.notify-cta-btn:hover {
  background: rgba(56, 189, 248, 0.25);
  border-color: var(--border-glow);
  transform: translateY(-1px);
}

/* Daily Schedule Grid */
.schedule-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.section-subhead {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  margin-bottom: 32px;
}

.schedule-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.schedule-card:hover {
  border-color: rgba(56, 189, 248, 0.3);
  transform: translateY(-2px);
  background: var(--bg-card-hover);
}

.schedule-card.active {
  border-color: var(--status-active);
  background: rgba(16, 185, 129, 0.08);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

.schedule-card.next {
  border-color: var(--border-glow);
  background: var(--bg-card-active);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.15);
}

.schedule-card.ended {
  opacity: 0.6;
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.rift-num {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
}

.card-badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.card-badge.badge-live {
  background: rgba(16, 185, 129, 0.2);
  color: var(--status-active);
  border: 1px solid var(--status-active);
}

.card-badge.badge-next {
  background: rgba(56, 189, 248, 0.2);
  color: var(--status-next);
  border: 1px solid var(--border-glow);
}

.card-badge.badge-ended {
  background: rgba(100, 116, 139, 0.2);
  color: var(--text-muted);
}

.card-badge.badge-upcoming {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
}

.local-time-display {
  font-size: 1.45rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: #ffffff;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Secondary Timed Activities Carousel / Grid */
.mini-events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.mini-event-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: var(--transition);
}

.mini-event-card:hover {
  border-color: rgba(56, 189, 248, 0.3);
  transform: translateY(-2px);
}

.mini-event-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mini-event-countdown {
  font-size: 1.3rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--text-accent);
}

.mini-event-note {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Below The Fold: SEO & Game Guides Section
   ========================================================================== */
.content-section {
  padding: 48px 0 64px 0;
  border-top: 1px solid var(--border-subtle);
}

.article-header {
  margin-bottom: 36px;
  text-align: center;
}

h1.main-title {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.25;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #ffffff 40%, var(--text-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.article-intro {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 840px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Content Layout */
.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.prose {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
}

.prose h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  margin: 40px 0 16px 0;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.prose h2:first-of-type {
  margin-top: 0;
}

.prose h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #f1f5f9;
  margin: 24px 0 12px 0;
}

.prose p {
  margin-bottom: 16px;
}

.prose strong {
  color: #ffffff;
}

.prose a {
  color: var(--text-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: var(--transition);
}

.prose a:hover {
  color: #7dd3fc;
}

.prose ul, .prose ol {
  margin-bottom: 20px;
  padding-left: 24px;
}

.prose li {
  margin-bottom: 8px;
}

/* Callout Box */
.callout-box {
  background: rgba(15, 23, 42, 0.7);
  border-left: 4px solid var(--border-glow);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 16px 20px;
  margin: 24px 0;
}

.callout-box.info {
  border-color: #38bdf8;
  background: rgba(56, 189, 248, 0.06);
}

.callout-box.alert {
  border-color: #f43f5e;
  background: rgba(244, 63, 94, 0.06);
}

.callout-title {
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
  font-size: 0.95rem;
}

/* Tables */
.table-wrapper {
  width: 100%;
  overflow-x: auto;
  margin: 24px 0 32px 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.data-table th, .data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.data-table th {
  background: rgba(255, 255, 255, 0.03);
  color: #ffffff;
  font-weight: 700;
  white-space: nowrap;
}

.data-table tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

/* Visual Media Assets (WebP Showcases) */
.media-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin: 32px 0;
}

.media-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.media-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.media-image-container {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0b0f19;
  position: relative;
}

.media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.media-card:hover .media-img {
  transform: scale(1.03);
}

.media-caption {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.media-title {
  font-weight: 700;
  font-size: 1rem;
  color: #ffffff;
}

.media-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* FAQ Accordion */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item[open] {
  border-color: rgba(56, 189, 248, 0.4);
  background: var(--bg-card);
}

.faq-summary {
  padding: 16px 20px;
  font-weight: 700;
  color: #ffffff;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  min-height: 48px;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-summary::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text-accent);
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 20px 20px 20px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Footer */
.site-footer {
  margin-top: auto;
  background: #05080f;
  border-top: 1px solid var(--border-subtle);
  padding: 40px 0 24px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand {
  max-width: 400px;
}

.footer-links {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col-title {
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.footer-col a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--text-accent);
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* Article Byline & Freshness Signals */
.article-byline {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid var(--border-subtle);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.article-byline strong {
  color: var(--text-accent);
}

.byline-separator {
  color: var(--text-muted);
}

.byline-date {
  color: #a5f3fc;
  font-weight: 600;
}

/* Official Quotation Block */
.official-quote {
  margin: 20px 0;
  padding: 16px 20px;
  background: rgba(56, 189, 248, 0.06);
  border-left: 3px solid var(--border-glow);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: #e2e8f0;
}

.official-quote p {
  margin-bottom: 8px;
  line-height: 1.6;
}

.official-quote cite {
  display: block;
  font-style: normal;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: right;
}

.official-quote cite a {
  color: var(--text-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* E-E-A-T Legal & Trust Modals */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(4, 7, 13, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-dialog {
  position: relative;
  width: 100%;
  max-width: 620px;
  max-height: 85vh;
  overflow-y: auto;
  background: #0b111e;
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.9), 0 0 30px rgba(56, 189, 248, 0.15);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.active .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 18px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.modal-close-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.modal-body .modal-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
}

.modal-body h4 {
  font-size: 1.05rem;
  color: var(--text-accent);
  margin: 18px 0 8px 0;
}

.modal-body p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 12px;
}

.modal-body ul {
  padding-left: 20px;
  margin-bottom: 16px;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.modal-body li {
  margin-bottom: 8px;
}

.modal-body a {
  color: var(--text-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ==========================================================================
   Sticky Mini Countdown Bar (Fixed below header on scroll)
   ========================================================================== */
.sticky-mini-bar {
  position: fixed;
  top: 62px; /* Just below header */
  left: 0;
  right: 0;
  z-index: 45;
  background: rgba(8, 12, 20, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.8);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-24px);
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.28s;
}

.sticky-mini-bar.visible {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.sticky-mini-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
  gap: 12px;
}

.sticky-left-box {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.sticky-server-badge {
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(56, 189, 248, 0.15);
  color: var(--text-accent);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(56, 189, 248, 0.3);
  white-space: nowrap;
}

.sticky-tz-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.pulse-dot-sm {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--status-active);
  box-shadow: 0 0 6px var(--status-active);
}

.sticky-center-box {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  justify-content: center;
}

.sticky-status-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.sticky-status-tag.active {
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.4);
}

.sticky-timer-digits {
  font-family: var(--font-mono);
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  white-space: nowrap;
  background: linear-gradient(180deg, #ff8da1 0%, #ff3366 50%, #e11d48 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 10px rgba(255, 51, 102, 0.75));
  animation: stickyNeonPulse 2s infinite ease-in-out;
  display: inline-block;
  will-change: transform, filter;
}

.sticky-timer-digits.live {
  background: linear-gradient(180deg, #6ee7b7 0%, #10b981 50%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 10px rgba(16, 185, 129, 0.8));
  animation: stickyLivePulse 2s infinite ease-in-out;
}

@keyframes stickyNeonPulse {
  0%, 100% {
    filter: drop-shadow(0 0 6px rgba(255, 51, 102, 0.65));
    transform: scale(1);
  }
  50% {
    filter: drop-shadow(0 0 14px rgba(255, 51, 102, 0.95)) drop-shadow(0 0 24px rgba(225, 29, 72, 0.45));
    transform: scale(1.025);
  }
}

@keyframes stickyLivePulse {
  0%, 100% {
    filter: drop-shadow(0 0 6px rgba(16, 185, 129, 0.65));
    transform: scale(1);
  }
  50% {
    filter: drop-shadow(0 0 16px rgba(16, 185, 129, 0.95)) drop-shadow(0 0 24px rgba(5, 150, 105, 0.45));
    transform: scale(1.025);
  }
}

.sticky-right-box {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.sticky-action-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: var(--transition);
  min-height: 36px;
}

.sticky-action-btn:hover {
  background: rgba(56, 189, 248, 0.2);
  border-color: var(--border-glow);
  color: #ffffff;
}

.sticky-btn-icon {
  font-size: 0.9rem;
  font-weight: 800;
}

/* ==========================================================================
   Comprehensive Responsive Breakpoints (Mobile & Tablet First Optimizations)
   ========================================================================== */
@media (max-width: 768px) {
  .site-header {
    padding: 10px 0;
  }
  
  .header-content {
    gap: 8px;
  }

  .logo-icon {
    width: 32px;
    height: 32px;
  }

  .brand-name {
    font-size: 1.05rem;
  }

  .brand-tagline {
    display: none;
  }

  .timezone-pill {
    padding: 4px 8px;
    font-size: 0.72rem;
  }

  .sound-toggle-btn {
    padding: 4px 10px;
    font-size: 0.75rem;
    min-height: 38px;
  }

  /* Server Switcher: 3 balanced equal columns */
  .server-selection-bar {
    margin-bottom: 16px;
  }

  .server-tabs {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    padding: 3px;
  }

  .server-tab-btn {
    padding: 8px 4px;
    min-height: 48px;
    text-align: center;
  }

  .server-name {
    font-size: 0.78rem;
    line-height: 1.2;
  }

  .server-clock {
    font-size: 0.68rem;
  }

  /* Master Hero Countdown Card */
  .master-countdown-card {
    padding: 20px 14px;
    margin-bottom: 20px;
  }

  .status-badge {
    font-size: 0.75rem;
    padding: 5px 12px;
  }

  .digit-value {
    font-size: 2.6rem;
  }

  .digit-separator {
    font-size: 2rem;
  }

  .digit-label {
    font-size: 0.65rem;
  }

  .countdown-subdetails {
    font-size: 0.82rem;
    gap: 8px;
    flex-direction: column;
    align-items: center;
  }

  .notify-cta-btn {
    width: 100%;
    justify-content: center;
    padding: 10px 16px;
  }

  /* Daily Schedule Grid: 2 clean columns */
  .schedule-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 24px;
  }

  .schedule-card {
    padding: 12px;
    gap: 6px;
  }

  .local-time-display {
    font-size: 1.25rem;
  }

  .card-meta {
    font-size: 0.7rem;
    flex-direction: column;
    gap: 2px;
  }

  /* Mini Events: 2 columns */
  .mini-events-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .mini-event-card {
    padding: 12px;
  }

  .mini-event-countdown {
    font-size: 1.15rem;
  }

  /* Sticky Mini Bar Mobile Adjustment */
  .sticky-mini-bar {
    top: 53px;
  }

  .sticky-mini-container {
    height: 46px;
    gap: 8px;
  }

  .sticky-tz-pill {
    display: none;
  }

  .sticky-server-badge {
    font-size: 0.72rem;
    padding: 3px 6px;
  }

  .sticky-status-tag {
    display: none;
  }

  .sticky-timer-digits {
    font-size: 1.18rem;
  }

  .sticky-btn-text {
    display: none;
  }

  .sticky-action-btn {
    padding: 4px 8px;
    min-height: 32px;
  }

  /* Content & SEO typography */
  h1.main-title {
    font-size: 1.55rem;
    line-height: 1.3;
  }

  .article-intro {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .prose h2 {
    font-size: 1.35rem;
    margin: 32px 0 12px 0;
  }

  .prose h3 {
    font-size: 1.1rem;
  }

  .media-showcase-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .data-table th, .data-table td {
    padding: 8px 10px;
    font-size: 0.8rem;
  }

  .faq-summary {
    font-size: 0.92rem;
    padding: 14px 16px;
  }

  .faq-answer {
    padding: 0 16px 16px 16px;
    font-size: 0.88rem;
  }
}

@media (max-width: 420px) {
  .digit-value {
    font-size: 2.15rem;
  }

  .digit-separator {
    font-size: 1.6rem;
  }

  .countdown-clock {
    gap: 3px;
  }

  .server-name {
    font-size: 0.72rem;
  }

  .server-clock {
    font-size: 0.62rem;
  }

  .schedule-grid {
    grid-template-columns: 1fr;
  }
}

