/* ============================================
   Mythora Brand — matches shop.mythora.de
   ============================================ */
:root {
  /* Brand teal */
  --primary: #008f93;
  --primary-light: #00b4b9;
  --primary-dark: #006567;
  --accent: #fbbf24;
  --accent-dark: #d97706;

  /* Backgrounds */
  --bg-base: #0a1214;
  --bg-card: #0f1e22;
  --bg-card-light: #142a2f;
  --bg-card-shadow: #060d0f;

  /* Text */
  --text-primary: #ffffff;
  --text-secondary: #8ba5a5;
  --text-muted: #5a7a7a;

  /* Borders */
  --border: rgba(0, 143, 147, 0.2);
  --border-light: rgba(255, 255, 255, 0.06);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { color-scheme: dark; scroll-behavior: smooth; }
html, body {
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: 'Geist', ui-sans-serif, system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: var(--bg-card); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* ============================================ */
/* HEADER — matches shop header pattern         */
/* ============================================ */
.site-header {
  padding: 28px 16px 0;
  position: relative;
}
.site-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
.nav-left, .nav-right { display: flex; align-items: center; gap: 20px; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 15px;
  transition: color .15s;
}
.nav-link:hover { color: white; }
.nav-link svg { width: 20px; height: 20px; }
.brand-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
}
.brand-logo img { height: 56px; width: auto; }
@media (max-width: 720px) {
  .brand-logo img { height: 42px; }
  .nav-left .nav-link span, .nav-right .nav-link span { display: none; }
}

/* Combined Discord + IP pill (teal 3D) */
.pill-combo {
  display: flex;
  align-items: center;
  border-radius: 999px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--primary-light) 0%, var(--primary) 100%);
  box-shadow: 0 3px 0 var(--primary-dark);
  transition: filter .15s, transform .1s;
}
.pill-combo:hover { filter: brightness(1.08); }
.pill-combo > a, .pill-combo > button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  color: rgba(255,255,255,.92);
  font-weight: 600;
  font-size: 14px;
  transition: color .15s;
}
.pill-combo > a:hover, .pill-combo > button:hover { color: white; }
.pill-combo .divider { width: 1px; height: 22px; background: rgba(255,255,255,.22); }

/* ============================================ */
/* HERO                                          */
/* ============================================ */
.hero {
  padding: 80px 16px 100px;
  text-align: center;
  position: relative;
}
.hero-inner { max-width: 880px; margin: 0 auto; }

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.live-pill .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 12px #22c55e;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1 } 50% { opacity: .5 } }

.hero-headline {
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 28px 0 18px;
  color: white;
}
.hero-headline em {
  font-style: normal;
  background: linear-gradient(180deg, #00d4d9 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 44px;
  line-height: 1.55;
}

/* Hero player count card */
.player-card {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 18px 26px;
  margin: 0 0 28px;
  background: linear-gradient(180deg, var(--bg-card-light) 0%, var(--bg-card) 100%);
  border-radius: 16px;
  box-shadow: 0 6px 0 var(--bg-card-shadow);
}
.player-count-big {
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(180deg, #fcd34d 0%, var(--accent) 50%, var(--accent-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.02em;
}
.player-count-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-secondary);
  font-weight: 600;
}

/* CTA cluster */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  align-items: center;
}

/* 3D primary button — matches shop btn-buy */
.btn-3d {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: linear-gradient(180deg, var(--primary-light) 0%, var(--primary) 100%);
  color: white;
  box-shadow: 0 4px 0 var(--primary-dark), 0 0 20px rgba(0, 143, 147, 0.3);
  transition: transform .15s, filter .15s, box-shadow .15s;
  cursor: pointer;
}
.btn-3d:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 0 var(--primary-dark), 0 0 30px rgba(0, 143, 147, 0.5);
}
.btn-3d:active {
  filter: brightness(1);
  transform: translateY(4px);
  box-shadow: 0 0 0 transparent;
}
.btn-3d-discord {
  background: linear-gradient(180deg, #7289da 0%, #5865F2 100%);
  box-shadow: 0 4px 0 #4752c4, 0 0 20px rgba(88, 101, 242, 0.3);
}
.btn-3d-discord:hover {
  box-shadow: 0 6px 0 #4752c4, 0 0 30px rgba(88, 101, 242, 0.5);
}
.btn-3d-secondary {
  background: linear-gradient(180deg, var(--bg-card-light) 0%, var(--bg-card) 100%);
  color: var(--text-primary);
  box-shadow: 0 4px 0 var(--bg-card-shadow);
}
.btn-3d-secondary:hover {
  box-shadow: 0 6px 0 var(--bg-card-shadow);
}

/* IP copy badge */
.ip-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  background: linear-gradient(180deg, var(--bg-card-light) 0%, var(--bg-card) 100%);
  border-radius: 14px;
  box-shadow: 0 4px 0 var(--bg-card-shadow);
  cursor: pointer;
  transition: filter .1s, transform .1s, box-shadow .1s;
}
.ip-badge:hover { filter: brightness(1.15); }
.ip-badge:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--bg-card-shadow); }
.ip-badge-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.ip-badge-value {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-light);
  letter-spacing: 0.5px;
}
.ip-badge-action {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-secondary);
  padding: 5px 10px;
  background: rgba(0, 143, 147, 0.12);
  border-radius: 6px;
}

/* ============================================ */
/* FEATURE CARDS                                 */
/* ============================================ */
.section {
  padding: 70px 16px;
  position: relative;
}
.section-title {
  text-align: center;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
  color: white;
}
.section-sub {
  text-align: center;
  color: var(--text-secondary);
  font-size: 17px;
  max-width: 620px;
  margin: 0 auto 48px;
}

.cards-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 920px) { .cards-grid { grid-template-columns: 1fr; } }

.card-3d {
  background: linear-gradient(180deg, var(--bg-card-light) 0%, var(--bg-card) 100%);
  border-radius: 16px;
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 0 var(--bg-card-shadow);
  transition: transform .15s, filter .15s;
}
.card-3d:hover { transform: translateY(-3px); filter: brightness(1.05); }
.card-3d::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary-light), transparent);
  opacity: 0.6;
}
.card-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(180deg, var(--primary-light) 0%, var(--primary) 100%);
  box-shadow: 0 4px 0 var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 22px;
}
.card-icon svg { width: 30px; height: 30px; color: white; }
.card-3d h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 12px;
  color: white;
  letter-spacing: -0.01em;
}
.card-3d p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.65;
}

/* Trust strip — stats row */
.stats-row {
  max-width: 1100px;
  margin: 48px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
@media (max-width: 720px) { .stats-row { grid-template-columns: repeat(2, 1fr); } }
.stat {
  padding: 22px 18px;
  background: linear-gradient(180deg, var(--bg-card-light) 0%, var(--bg-card) 100%);
  border-radius: 14px;
  box-shadow: 0 4px 0 var(--bg-card-shadow);
  text-align: center;
}
.stat-val {
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(180deg, white 0%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.02em;
}
.stat-val.accent {
  background: linear-gradient(180deg, #fcd34d, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-label {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

/* Final CTA */
.outro {
  padding: 90px 16px 110px;
  text-align: center;
  position: relative;
}
.outro-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 32px;
  background: linear-gradient(180deg, var(--bg-card-light) 0%, var(--bg-card) 100%);
  border-radius: 22px;
  box-shadow: 0 6px 0 var(--bg-card-shadow), 0 0 60px rgba(0, 143, 147, 0.1);
  position: relative;
  overflow: hidden;
}
.outro-inner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary-light), transparent);
}
.outro h2 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: white;
  margin: 0 0 14px;
}
.outro p {
  color: var(--text-secondary);
  font-size: 17px;
  margin: 0 auto 32px;
  max-width: 480px;
}

/* ============================================ */
/* SUB-PAGES (vote, features, legal)             */
/* ============================================ */
.page {
  padding: 70px 16px 60px;
  min-height: 50vh;
}
.page-inner {
  max-width: 880px;
  margin: 0 auto;
}
.kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 14px;
}
.page-h1 {
  font-size: clamp(36px, 5.5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: white;
}
.page-lede {
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1.65;
  margin-bottom: 48px;
  max-width: 680px;
}
.h2 {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  margin: 48px 0 16px;
  color: white;
  letter-spacing: -0.01em;
}
.h2 .h2-icon {
  display: inline-block;
  vertical-align: middle;
  margin-right: 10px;
  width: 28px; height: 28px;
  color: var(--primary-light);
}
.page-inner p {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 14px;
}
.page-inner p strong { color: white; }
.page-inner em { color: white; font-style: italic; }
.bullets {
  margin: 14px 0 14px 22px;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.8;
}
.bullets li { margin-bottom: 6px; }
.muted { color: var(--text-muted); font-size: 14px; }

/* Vote-specific */
.reward-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 30px 0 60px;
}
@media (max-width: 760px) { .reward-grid { grid-template-columns: repeat(2, 1fr); } }
.reward-card {
  padding: 22px 18px;
  background: linear-gradient(180deg, var(--bg-card-light) 0%, var(--bg-card) 100%);
  border-radius: 14px;
  box-shadow: 0 4px 0 var(--bg-card-shadow);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.reward-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary-light), transparent);
}
.reward-tier {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 10px;
}
.reward-card strong {
  display: block;
  font-size: 15px;
  line-height: 1.5;
  color: white;
  font-weight: 700;
}

/* Vote list */
.vote-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 18px 0 50px;
}
@media (max-width: 760px) { .vote-list { grid-template-columns: 1fr; } }
.vote-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 22px;
  background: linear-gradient(180deg, var(--bg-card-light) 0%, var(--bg-card) 100%);
  border-radius: 14px;
  box-shadow: 0 4px 0 var(--bg-card-shadow);
  transition: filter .12s, transform .12s, box-shadow .12s;
  cursor: pointer;
}
.vote-card:hover {
  filter: brightness(1.12);
  transform: translateY(-2px);
  box-shadow: 0 6px 0 var(--bg-card-shadow);
}
.vote-card strong {
  font-size: 16px;
  font-weight: 700;
  color: white;
}
.vote-card span {
  font-size: 13px;
  color: var(--text-muted);
}

/* ============================================ */
/* FOOTER                                        */
/* ============================================ */
.site-footer {
  background: linear-gradient(180deg, var(--bg-card-light) 0%, var(--bg-card) 100%);
  border-top: 1px solid var(--border-light);
  padding: 48px 16px 36px;
  margin-top: 80px;
}
.site-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.footer-nav {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.footer-nav a {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: color .15s;
}
.footer-nav a:hover { color: white; }
.footer-meta {
  color: var(--text-muted);
  font-size: 13px;
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 14px;
}
.footer-meta a { color: var(--text-muted); }
.footer-meta a:hover { color: var(--primary-light); }

/* ============================================ */
/* TOAST                                         */
/* ============================================ */
.toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%) translateY(20px);
  padding: 14px 24px;
  background: linear-gradient(180deg, var(--primary-light) 0%, var(--primary) 100%);
  color: white;
  border-radius: 12px;
  box-shadow: 0 4px 0 var(--primary-dark), 0 12px 32px rgba(0,143,147,0.3);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  opacity: 0;
  transition: opacity .25s, transform .25s;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
