:root {
  /* CASUAL STADIUM PALETTE */
  --accent: #22c55e;          /* terrace green */
  --accent-alt: #facc15;      /* golden flare */
  --accent-soft: #bbf7d0;
  --bg-dark: #020617;
  --bg-dark-card: #0f172a;
  --bg-sheet: #f3f4f6;
  --bg-white: #ffffff;
  --text-light: #f9fafb;
  --text-dark: #020617;
  --text-muted-dark: #6b7280;
  --text-muted-light: #cbd5f5;
  --radius-pill: 999px;
  --radius-lg: 20px;
  --shadow-dark: 0 20px 60px rgba(0, 0, 0, 0.75);
  --shadow-light: 0 16px 42px rgba(15, 23, 42, 0.16);
  --font: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Display",
    "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font);
}

.theme-dark {
  background: radial-gradient(circle at top, #020617, #000);
  color: var(--text-light);
}

.theme-light {
  background: var(--bg-sheet);
  color: var(--text-dark);
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.4rem;
}

/* BRAND */

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-badge {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0, #fefce8, var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  color: #022c22;
  box-shadow: 0 0 18px rgba(34, 197, 94, 0.7);
}

.brand-badge-light {
  box-shadow: none;
}

.brand-text {
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
}

.brand-text-dark {
  color: var(--text-dark);
}

/* NAV */

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0;
}

.topbar-dark {
  background: rgba(2, 6, 23, 0.95);
  border-bottom: 1px solid #020617;
}

.topbar-light {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

.nav-links {
  display: flex;
  gap: 0.9rem;
  font-size: 0.9rem;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: inherit;
  opacity: 0.75;
  padding: 0.3rem 0.4rem;
}

.nav-link:hover {
  opacity: 1;
}

.nav-link.active {
  font-weight: 600;
  opacity: 1;
}

.theme-light .mode-toggle{
  background: #ffffff;
  color: var(--text-dark);
  border-color: #e5e7eb;
  box-shadow: 0 10px 22px rgba(15,23,42,0.10);
}

.mode-toggle:hover{
  transform: translateY(-1px);
}

.mode-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent-alt);
  box-shadow: 0 0 10px rgba(250,204,21,0.55);
}

.theme-light .mode-dot{
  background: var(--accent);
  box-shadow: 0 0 10px rgba(34,197,94,0.45);
}

/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  padding: 0.6rem 1.6rem;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform .14s ease-out, box-shadow .14s ease-out, background .14s;
}

.btn-pill {
  border-radius: var(--radius-pill);
}

.btn-lg {
  font-size: 1rem;
  padding: 0.7rem 1.9rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-alt));
  color: #022c22;
  font-weight: 700;
  box-shadow: 0 14px 40px rgba(34, 197, 94, 0.55);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 55px rgba(34, 197, 94, 0.65);
}

.btn-secondary {
  background: #0b1120;
  color: var(--text-light);
  border-color: #1e293b;
}

.btn-secondary:hover {
  border-color: var(--accent-soft);
}

/* ✅ Homepage secondary button: "white-ish" look like your screenshot */
.page-home .btn-secondary{
  background: rgba(255,255,255,0.92);
  color: #0f172a;
  border: 2px solid rgba(250,204,21,0.75);
  box-shadow: 0 14px 40px rgba(250,204,21,0.18);
}
.page-home .btn-secondary:hover{
  transform: translateY(-1px);
}

/* ✅ NEW: Discord button style (homepage / anywhere) */
.btn-discord{
  background: linear-gradient(135deg, rgba(88,101,242,0.95), rgba(34,197,94,0.95));
  color: #ffffff;
  font-weight: 750;
  border-color: rgba(148,163,184,0.25);
  box-shadow: 0 16px 45px rgba(88,101,242,0.22);
}
.btn-discord:hover{
  transform: translateY(-1px);
  box-shadow: 0 22px 60px rgba(88,101,242,0.30);
}

/* ✅ NEW: Hero perks row (conversion helper) */
.hero-social{
  margin-top: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.hero-perks{
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.perk{
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .35rem .7rem;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,.25);
  background: rgba(2,6,23,.35);
  color: var(--text-light);
  font-size: .82rem;
  opacity: .95;
}
.theme-light .perk{
  background: rgba(255,255,255,.8);
  color: var(--text-dark);
  border-color: rgba(15,23,42,.12);
}

/* INPUTS */

.input-pill {
  width: 100%;
  border-radius: var(--radius-pill);
  border: 2px solid var(--accent);
  padding: 0.65rem 1.1rem;
  font-size: 0.95rem;
}

.input-pill::placeholder {
  color: #94a3b8;
}

/* HERO */

.section {
  padding: 3rem 0;
}

.hero-section {
  padding-top: 3.4rem;
}

.hero-layout {
  display: flex;
  justify-content: center;
}

.hero-left {
  max-width: 640px;
}

.hero-tag {
  display: inline-block;
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.4);
  border: 1px solid rgba(45, 212, 191, 0.8);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-left h1 {
  margin: 0.7rem 0 0.1rem;
  font-size: clamp(2.1rem, 5vw, 2.8rem);
  letter-spacing: 0.08em;
}

.hero-left h2 {
  margin: 0 0 1.1rem;
  font-size: clamp(1.4rem, 4vw, 1.9rem);
  font-weight: 600;
}

.hero-sub {
  margin: 0 0 1.4rem;
  max-width: 560px;
  color: var(--text-muted-light);
  font-size: 0.96rem;
}

.hero-sub.small {
  margin-top: 0.9rem;
  font-size: 0.8rem;
  color: #9ca3af;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero-stats {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.stat-card {
  background: #020617;
  border-radius: 18px;
  padding: 0.9rem 1.3rem;
  border: 1px solid #0f172a;
  box-shadow: var(--shadow-dark);
}

.stat-number {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
}

.stat-label {
  margin-top: 0.3rem;
  font-size: 0.75rem;
  color: var(--text-muted-light);
}

/* ✅ MAKE HOMEPAGE BIGGER (wie du wolltest) */
.page-home .hero-tag{ font-size: 0.9rem; padding: 0.35rem 1rem; }
.page-home .hero-left h1{ font-size: clamp(2.8rem, 6vw, 3.6rem); }
.page-home .hero-left h2{ font-size: clamp(1.8rem, 4.5vw, 2.3rem); }
.page-home .hero-sub{ font-size: 1.08rem; line-height: 1.6; }
.page-home .btn-lg{ font-size: 1.1rem; padding: 0.9rem 2.2rem; }
.page-home .stat-number{ font-size: 1.45rem; }
.page-home .stat-label{ font-size: 0.85rem; }

/* GIVEAWAY */

.section-dark-card {
  background: #020617;
}

.giveaway-countdown-card {
  max-width: 620px;
  margin: 0 auto 1.8rem;
  background: #020617;
  border-radius: var(--radius-lg);
  padding: 1rem 1.6rem;
  border: 1px solid #0f172a;
}

.countdown-label {
  margin: 0 0 .6rem;
  color: var(--text-muted-light);
}

.countdown-row {
  display: flex;
  gap: .7rem;
}

.countdown-box {
  flex: 1;
  background: #0b1120;
  border-radius: 14px;
  padding: 0.45rem 0;
  text-align: center;
}

.countdown-box span {
  display: block;
  font-size: 1.25rem;
  font-weight: 600;
}

.countdown-box small {
  font-size: 0.7rem;
  color: #9ca3af;
}

.giveaway-main-card {
  max-width: 650px;
  margin: 0 auto;
  background: linear-gradient(145deg, #020617, #020617 40%, #064e3b 95%);
  border-radius: 26px;
  padding: 2rem 1.9rem;
  box-shadow: var(--shadow-dark);
  border: 1px solid rgba(16, 185, 129, 0.5);
}

.badge-new {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(250, 204, 21, 0.9);
  background: rgba(250, 204, 21, 0.1);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #facc15;
}

.giveaway-main-card h3 {
  margin: 0.5rem 0 0;
  font-size: 0.95rem;
  color: var(--accent-soft);
}

.giveaway-main-card h2 {
  margin: 0.4rem 0 1.2rem;
  font-size: 1.4rem;
}

.places-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.place-pill {
  background: rgba(15, 23, 42, 0.9);
  border-radius: var(--radius-pill);
  padding: 0.5rem 0.9rem;
  font-size: 0.8rem;
}

.place-pill small {
  color: var(--text-muted-light);
}

.giveaway-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
}

/* ✅ Bigger giveaway on homepage too */
.page-home .countdown-label{ font-size: 1.05rem; }
.page-home .countdown-box span{ font-size: 1.55rem; }
.page-home .giveaway-main-card h2{ font-size: 1.8rem; }
.page-home .giveaway-main-card h3{ font-size: 1.1rem; }
.page-home .place-pill{ font-size: 0.95rem; padding: 0.65rem 1rem; }

/* FAQ */

.faq-section {
  background: #020617;
}

.faq-title {
  text-align: center;
  font-size: 1.7rem;
  margin: 0 0 1.5rem;
}

.faq-box {
  max-width: 1040px;
  margin: 0 auto;
  background: #020617;
  border-radius: 32px;
  padding: 2rem;
  border: 2px solid rgba(34, 197, 94, 0.7);
  box-shadow: 0 0 40px rgba(34, 197, 94, 0.5);
  display: flex;
  gap: 1.8rem;
}

.faq-logo {
  display: flex;
  align-items: center;
}

.faq-logo-inner {
  width: 140px;
  height: 140px;
  border-radius: 36px;
  background: radial-gradient(circle at 30% 0, #fefce8, var(--accent));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #022c22;
}

.faq-logo-text-main {
  font-size: 1.3rem;
  font-weight: 700;
}

.faq-logo-text-sub {
  font-size: 0.9rem;
}

.faq-content {
  font-size: 0.9rem;
  color: var(--text-muted-light);
}

.faq-content p {
  margin: 0 0 0.8rem;
}

/* ✅ Bigger FAQ on homepage */
.page-home .faq-title{ font-size: 2rem; }
.page-home .faq-content{ font-size: 1.02rem; line-height: 1.7; }

/* TABS BAR */

.tabs-bar {
  background: #020617;
  border-bottom: 1px solid #e5e7eb;
}

.tabs-row {
  padding: 0.5rem 0.2rem 0.6rem;
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 0.6rem;
}

.tabs-row::-webkit-scrollbar {
  height: 4px;
}

.tabs-row::-webkit-scrollbar-thumb {
  background: #9ca3af;
  border-radius: 999px;
}

.tab {
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  padding: 0.4rem 0.9rem;
  background: #0b1120;
  color: var(--text-light);
  font-size: 0.85rem;
  cursor: pointer;
  white-space: nowrap;
}

.tab.active {
  background: var(--accent-soft);
  color: #022c22;
  border-color: var(--accent);
}

/* SHEET HEADER */

.section-sheet-header {
  background: var(--bg-sheet);
  padding-bottom: 1.4rem;
}

.sheet-header {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  justify-content: space-between;
  align-items: center;
}

.sheet-header-left h1 {
  margin: 0 0 0.4rem;
  font-size: 1.5rem;
}

.sheet-header-left p {
  margin: 0 0 0.7rem;
  color: var(--text-muted-dark);
  max-width: 520px;
}

.sheet-header-right {
  min-width: 260px;
}

.sheet-search {
  border-width: 2px;
}

/* PRODUCT GRID */

.section-light {
  background: var(--bg-sheet);
}

.sheet-subtitle {
  margin: 0 0 1rem;
  font-size: 1.1rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.product-card {
  background: var(--bg-white);
  border-radius: 18px;
  box-shadow: var(--shadow-light);
  overflow: hidden;
  border: 1px solid #e5e7eb;
}

.product-img-link {
  display: block;
}

.product-img {
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  object-fit: cover;
}

.product-info {
  padding: 0.7rem 0.9rem 0.9rem;
}

.product-brand {
  margin: 0 0 0.1rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #9ca3af;
}

.product-name {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
}

.product-price {
  margin: 0.25rem 0 0;
  font-size: 0.9rem;
  color: var(--accent-alt);
}

.empty-state {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted-dark);
}

.hint-text {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted-dark);
}

/* DEAD LINKS */

.dead-section {
  padding-top: 4rem;
}

.dead-card {
  max-width: 650px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 30px;
  padding: 2.2rem 2.1rem;
  box-shadow:
    0 18px 50px rgba(15,23,42,0.18),
    0 0 32px rgba(34,197,94,0.25);
  border: 1px solid #d1fae5;
}

.dead-card h1 {
  text-align: center;
  margin: 0 0 0.4rem;
}

.dead-sub {
  text-align: center;
  margin: 0 0 1.4rem;
  color: var(--text-muted-dark);
}

.dead-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.dead-label {
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.dead-submit {
  margin-top: 0.6rem;
}

/* FOOTER */

.footer-dark,
.footer-light {
  padding: 1rem 0 1.4rem;
  font-size: 0.8rem;
  text-align: center;
}

.footer-dark {
  background: #020617;
  color: var(--text-muted-light);
}

.footer-light {
  background: #ffffff;
  color: var(--text-muted-dark);
  border-top: 1px solid #e5e7eb;
}

/* RESPONSIVE / MOBILE FIRST */

@media (max-width: 768px) {
  /* ✅ Mobile padding: give more breathing room from edges */
  .container{
    padding: 0 1.15rem; /* slightly tighter than desktop, but not glued */
  }

  .topbar-inner {
    flex-direction: column;
    align-items: center;       /* ✅ center instead of left */
    gap: 0.55rem;
    padding: 0.85rem 0;
  }

  .brand{
    width: 100%;
    justify-content: center;   /* ✅ center brand on mobile */
  }

  .nav-links {
    width: 100%;
    justify-content: center;   /* ✅ center links on mobile */
    flex-wrap: wrap;
    gap: 0.65rem;
  }

  .nav-link{
    padding: 0.35rem 0.55rem;  /* ✅ nicer tap targets */
  }

  .hero-section {
    padding-top: 2.4rem;
  }

  .hero-left h1 {
    font-size: 2rem;
  }

  .hero-left h2 {
    font-size: 1.4rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-stats {
    gap: 0.6rem;
  }

  .stat-card {
    flex: 1 1 100%;
  }

  .faq-box {
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;           /* ✅ less cramped on mobile */
  }

  .giveaway-form {
    flex-direction: column;
  }

  .sheet-header {
    align-items: flex-start;
  }

  .tabs-row {
    padding-left: 1.15rem;     /* ✅ match container so tabs don't touch edge */
    padding-right: 1.15rem;
  }

  /* ✅ Homepage bigger still on mobile */
  .page-home .hero-left h1 { font-size: 2.25rem; }
  .page-home .hero-left h2 { font-size: 1.55rem; }
  .page-home .hero-sub { font-size: 1.02rem; }
}

/* --- FIX: Make product names more visible --- */
.product-name{
  color:#0f172a;      /* dunkler, viel besser sichtbar */
  font-weight:700;    /* kräftiger */
  letter-spacing:0.01em;
}

.product-brand{
  color:#6b7280;      /* bleibt muted, aber sauber */
  font-weight:600;
}

/* ✅ NEW: Sticky CTA bar (conversion boost)
   - Hidden on desktop by default (shows on mobile)
   - Leaves room at bottom so it doesn't cover content
*/
.sticky-cta{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  padding: .65rem .85rem calc(.65rem + env(safe-area-inset-bottom));
  background: rgba(2,6,23,0.92);
  border-top: 1px solid rgba(148,163,184,.18);
  backdrop-filter: blur(10px);
  display: none; /* shown on mobile via media query */
}

.sticky-cta::before{
  content:"";
  position:absolute;
  left:0; right:0; top:-10px;
  height:10px;
  background: linear-gradient(to top, rgba(2,6,23,0.0), rgba(2,6,23,0.92));
}

.sticky-cta .sticky-btn{
  flex: 1;
  text-decoration: none;
  border-radius: 999px;
  padding: .75rem 1rem;
  font-weight: 800;
  font-size: .95rem;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: .45rem;
  border: 1px solid transparent;
  transition: transform .12s ease-out, opacity .12s ease-out;
}

.sticky-cta .sticky-btn:active{
  transform: translateY(1px);
  opacity: .95;
}

.sticky-cta .sticky-btn-primary{
  background: linear-gradient(135deg, var(--accent), var(--accent-alt));
  color: #022c22;
  box-shadow: 0 12px 34px rgba(34, 197, 94, 0.28);
}

.sticky-cta .sticky-btn-secondary{
  background: rgba(255,255,255,0.10);
  color: var(--text-light);
  border-color: rgba(148,163,184,.25);
}

@media (max-width: 768px){
  .sticky-cta{
    display: flex;
    gap: .6rem;
  }
  /* avoid sticky bar covering content */
  body{
    padding-bottom: 86px;
  }
}
