/* SpinEmpire Austria v5 — "Wiener Nacht": Indigo/Violett + Champagner-Gold, Testprotokoll-Layout */

:root {
  --vie-bg: #0e0917;
  --vie-panel: #171027;
  --vie-panel-2: #1f1636;
  --vie-border: rgba(230, 195, 117, 0.15);
  --vie-border-soft: rgba(167, 155, 194, 0.16);
  --vie-violet: #7a5cff;
  --vie-violet-deep: #55349f;
  --vie-gold: #e6c375;
  --vie-gold-light: #f3dca4;
  --vie-text: #f1edfa;
  --vie-muted: #a79bc2;
  --vie-success: #4fd08c;
  --vie-radius: 10px;
  --vie-radius-lg: 16px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--vie-bg);
  color: var(--vie-text);
  font-family: 'Figtree', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

img { max-width: 100%; display: block; }
a { color: var(--vie-gold); }
p + p { margin-top: 14px; }

.vie-wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; width: 100%; }

/* ---------- Buttons ---------- */

.vie-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.vie-btn--gold {
  background: linear-gradient(135deg, var(--vie-gold-light), var(--vie-gold));
  color: #241a05;
  box-shadow: 0 6px 22px rgba(230, 195, 117, 0.25);
}
.vie-btn--gold:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(230, 195, 117, 0.35); }
.vie-btn--violet {
  background: linear-gradient(135deg, var(--vie-violet), var(--vie-violet-deep));
  color: #fff;
}
.vie-btn--violet:hover { transform: translateY(-2px); }
.vie-btn--ghost {
  border: 1px solid var(--vie-border);
  color: var(--vie-text);
  background: transparent;
}
.vie-btn--ghost:hover { border-color: var(--vie-gold); color: var(--vie-gold); }
.vie-btn--lg { padding: 15px 34px; font-size: 17px; }
.vie-btn--full { width: 100%; }

/* ---------- Ticker (top strip) ---------- */

.vie-ticker {
  background: linear-gradient(90deg, var(--vie-violet-deep), var(--vie-violet), var(--vie-violet-deep));
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
  text-align: center;
  padding: 7px 14px;
}
.vie-ticker a { color: var(--vie-gold-light); text-decoration: none; white-space: nowrap; }
.vie-ticker a:hover { text-decoration: underline; }

/* ---------- Header ---------- */

.vie-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(14, 9, 23, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--vie-border-soft);
}
.vie-header__bar {
  max-width: 1160px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 22px;
}
.vie-logo img { height: 36px; width: auto; }
.vie-nav {
  display: flex;
  list-style: none;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.vie-nav a {
  display: block;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--vie-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}
.vie-nav a:hover { color: var(--vie-text); background: var(--vie-panel-2); }
.vie-nav a.is-active { color: var(--vie-gold); background: var(--vie-panel-2); }
.vie-header__auth { display: flex; gap: 10px; }
.vie-header__auth .vie-btn { padding: 9px 20px; font-size: 14px; }

.vie-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}
.vie-burger span { width: 24px; height: 2px; background: var(--vie-gold); border-radius: 2px; }

/* ---------- Hero ---------- */

.vie-hero { position: relative; }
.vie-hero picture { display: block; }
.vie-hero img { width: 100%; height: auto; }
.vie-hero__link { display: block; }
.vie-hero__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  padding: 40px 0;
  pointer-events: none;
}
.vie-hero__overlay > * { pointer-events: auto; }
.vie-hero__overlay .vie-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.vie-hero__title {
  font-size: clamp(24px, 3.4vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  max-width: 640px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}
.vie-hero__subtitle {
  margin-top: 14px;
  max-width: 520px;
  font-size: clamp(14px, 1.6vw, 18px);
  color: #f5f0ff;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
}
.vie-hero__overlay .vie-btn { margin-top: 22px; }

/* ---------- Sections / Testprotokoll ---------- */

.vie-section { padding: 52px 0; }
.vie-section--panel { background: var(--vie-panel); border-top: 1px solid var(--vie-border-soft); border-bottom: 1px solid var(--vie-border-soft); }

.vie-step {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 22px;
}
.vie-step__num {
  flex: 0 0 auto;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--vie-violet);
  border: 1px solid var(--vie-violet-deep);
  border-radius: 8px;
  padding: 4px 10px;
  background: rgba(122, 92, 255, 0.08);
}
h2 {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
  line-height: 1.25;
}
h3 { font-size: 19px; font-weight: 700; margin: 26px 0 10px; color: var(--vie-gold-light); }

.vie-lead { font-size: 19px; color: var(--vie-text); }
.vie-muted { color: var(--vie-muted); }

.vie-section ul:not([class]) {
  margin: 14px 0 14px 22px;
}
.vie-section ul:not([class]) li { margin-bottom: 8px; }
.vie-section ol { margin: 14px 0 14px 22px; }
.vie-section ol li { margin-bottom: 8px; }

.vie-section__cta { margin-top: 26px; display: flex; justify-content: center; }

/* Split: text + aside card */
.vie-split { display: flex; gap: 36px; align-items: flex-start; }
.vie-split__main { flex: 1 1 60%; min-width: 0; }
.vie-split__aside { flex: 1 1 32%; min-width: 260px; }

.vie-card {
  background: var(--vie-panel-2);
  border: 1px solid var(--vie-border);
  border-radius: var(--vie-radius-lg);
  padding: 24px;
}
.vie-card--gold { border-color: var(--vie-gold); }
.vie-card h3 { margin-top: 0; }

/* Fact rows inside aside cards */
.vie-facts { list-style: none; margin: 0; padding: 0; }
.vie-facts li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--vie-border-soft);
  font-size: 14.5px;
}
.vie-facts li:last-child { border-bottom: none; }
.vie-facts li span:first-child { color: var(--vie-muted); }
.vie-facts li span:last-child { font-weight: 700; text-align: right; }

/* Icon feature row */
.vie-features { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 26px; }
.vie-feature {
  flex: 1 1 240px;
  background: var(--vie-panel-2);
  border: 1px solid var(--vie-border-soft);
  border-radius: var(--vie-radius-lg);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.vie-feature svg { flex: 0 0 auto; }
.vie-feature strong { font-size: 16px; }
.vie-feature p { font-size: 14.5px; color: var(--vie-muted); margin: 0; }

/* ---------- Tables ---------- */

.vie-tablewrap { overflow-x: auto; margin: 22px 0; border: 1px solid var(--vie-border-soft); border-radius: var(--vie-radius); }
.vie-table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 15px; }
.vie-table th, .vie-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--vie-border-soft); }
.vie-table th { background: var(--vie-panel-2); color: var(--vie-gold); font-size: 13.5px; text-transform: uppercase; letter-spacing: 0.06em; }
.vie-table tr:last-child td { border-bottom: none; }
.vie-table tr:nth-child(even) td { background: rgba(255, 255, 255, 0.02); }

/* ---------- Bonus cards (widget) ---------- */

.vie-bonusgrid { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 26px; }
.vie-bonuscard {
  flex: 1 1 460px;
  min-width: 300px;
  background: var(--vie-panel-2);
  border: 1px solid var(--vie-border);
  border-radius: var(--vie-radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.vie-bonuscard__image img { width: 100%; height: auto; }
.vie-bonuscard__content { padding: 22px; display: flex; flex-direction: column; flex: 1 1 auto; }
.vie-bonuscard__stage {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--vie-violet);
  margin-bottom: 8px;
}
.vie-bonuscard__title { font-size: 20px; font-weight: 800; margin: 0 0 10px; color: var(--vie-text); }
.vie-bonuscard__desc { font-size: 14.5px; color: var(--vie-muted); margin-bottom: 16px; }
.vie-bonuscard .vie-btn { margin-top: auto; }

.vie-bonus-stats { list-style: none; margin: 0 0 16px; padding: 0; border: 1px solid var(--vie-border); border-radius: var(--vie-radius); overflow: hidden; }
.vie-bonus-stats li { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; font-size: 13px; border-bottom: 1px solid var(--vie-border); }
.vie-bonus-stats li:last-child { border-bottom: none; }
.vie-bonus-stats li:nth-child(odd) { background: rgba(255, 255, 255, 0.02); }
.vie-bonus-stats li span:first-child { color: var(--vie-muted); font-weight: 500; }
.vie-bonus-stats li span:last-child { font-weight: 700; text-align: right; }
.vie-bonuscard__terms { font-size: 11px; color: var(--vie-muted); margin-bottom: 16px; line-height: 1.5; }

/* ---------- FAQ ---------- */

.vie-faq { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.vie-faq details {
  background: var(--vie-panel-2);
  border: 1px solid var(--vie-border-soft);
  border-radius: var(--vie-radius);
  padding: 0;
  overflow: hidden;
}
.vie-faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 48px 16px 20px;
  font-weight: 700;
  font-size: 16px;
  position: relative;
}
.vie-faq summary::-webkit-details-marker { display: none; }
.vie-faq summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 400;
  color: var(--vie-gold);
}
.vie-faq details[open] summary::after { content: "–"; }
.vie-faq details[open] summary { color: var(--vie-gold-light); }
.vie-faq details p { padding: 0 20px 18px; color: var(--vie-muted); }

/* ---------- CTA band ---------- */

.vie-band {
  background: linear-gradient(120deg, var(--vie-violet-deep), var(--vie-violet));
  padding: 44px 0;
}
.vie-band .vie-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.vie-band p { font-size: clamp(18px, 2.2vw, 26px); font-weight: 800; color: #fff; }

/* ---------- Footer ---------- */

.vie-footer { background: #0a0612; border-top: 1px solid var(--vie-border-soft); padding: 48px 0 30px; font-size: 14.5px; }
.vie-footer__cols { display: flex; flex-wrap: wrap; gap: 36px; }
.vie-footer__brand { flex: 2 1 320px; }
.vie-footer__brand img { height: 34px; width: auto; margin-bottom: 14px; }
.vie-footer__brand p { color: var(--vie-muted); max-width: 380px; }
.vie-footer__social { display: flex; gap: 12px; margin-top: 16px; }
.vie-footer__social img { width: 22px; height: 22px; opacity: 0.75; }
.vie-footer__social a:hover img { opacity: 1; }
.vie-footer__nav { flex: 1 1 160px; }
.vie-footer__nav strong { display: block; margin-bottom: 12px; color: var(--vie-gold); font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; }
.vie-footer__nav ul { list-style: none; }
.vie-footer__nav li { margin-bottom: 8px; }
.vie-footer__nav a { color: var(--vie-muted); text-decoration: none; }
.vie-footer__nav a:hover { color: var(--vie-text); }

.vie-paybar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--vie-border-soft);
}
.vie-paybar img { height: 26px; width: auto; opacity: 0.8; }

.vie-reviewbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--vie-border-soft);
}
.vie-reviewbar a { display: flex; align-items: center; }
.vie-reviewbar img { height: 26px; width: auto; opacity: 0.7; transition: opacity 0.15s ease; }
.vie-reviewbar a:hover img { opacity: 1; }

.vie-footer__legal { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--vie-border-soft); }
.vie-footer__legal p { color: var(--vie-muted); font-size: 13px; }

/* ---------- Legal pages ---------- */

.vie-legal h1 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 8px; }
.vie-legal .vie-legal__stand { color: var(--vie-muted); margin-bottom: 28px; }
.vie-legal h2 { font-size: 21px; margin: 32px 0 10px; }
.vie-legal ul { margin: 12px 0 12px 22px; }
.vie-legal ul li { margin-bottom: 8px; }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .vie-split { flex-direction: column; }
  .vie-split__aside { min-width: 0; width: 100%; }
}

@media (max-width: 820px) {
  .vie-burger { display: flex; }
  .vie-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--vie-panel);
    border-bottom: 1px solid var(--vie-border-soft);
    flex-direction: column;
    padding: 12px 20px 18px;
    gap: 2px;
  }
  .vie-nav.is-open { display: flex; }
  .vie-header__auth .vie-btn--ghost { display: none; }
  .vie-hero__overlay { padding: 20px 0; }
  .vie-hero__subtitle { display: none; }
  .vie-hero__overlay .vie-btn { margin-top: 12px; padding: 11px 24px; font-size: 14px; }
  .vie-section { padding: 38px 0; }
}

/* ---------- Payment methods ---------- */
.vie-payment-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.vie-payment-chip {
  border-radius: 8px;
  overflow: hidden;
  opacity: 0.88;
  transition: opacity 0.15s ease, transform 0.15s ease;
  cursor: default;
}
.vie-payment-chip:hover { opacity: 1; transform: translateY(-2px); }
.vie-payment-chip svg { display: block; }

/* ---------- Live game groups ---------- */
.vie-live-group { margin-top: 28px; }
.vie-live-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ff7070;
  margin-bottom: 12px;
}
.vie-live-group .vie-games { margin-top: 0; }

/* ---------- Game grid ---------- */
.vie-games { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 28px; }
.vie-game-card {
  flex: 1 1 calc(25% - 12px);
  min-width: 180px;
  background: var(--vie-panel);
  border: 1px solid var(--vie-border);
  border-radius: var(--vie-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.vie-game-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(122, 92, 255, 0.2); }
.vie-game-card__img { width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; }
.vie-game-card__body { padding: 12px 14px 14px; display: flex; flex-direction: column; flex: 1 1 auto; }
.vie-game-card__name { font-size: 14px; font-weight: 700; color: var(--vie-text); margin-bottom: 4px; line-height: 1.3; }
.vie-game-card__meta { font-size: 12px; color: var(--vie-muted); }
.vie-game-card__badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 4px;
  margin-bottom: 6px;
  background: rgba(122, 92, 255, 0.18);
  color: var(--vie-violet);
  border: 1px solid rgba(122, 92, 255, 0.3);
}
.vie-game-card__badge--gold { background: rgba(230, 195, 117, 0.12); color: var(--vie-gold); border-color: rgba(230, 195, 117, 0.3); }

/* Bonus game strip (bonuses page) */
.vie-freespins-games { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 22px; }
.vie-freespins-game {
  flex: 1 1 calc(33.333% - 12px);
  min-width: 200px;
  background: var(--vie-panel-2);
  border: 1px solid var(--vie-border);
  border-radius: var(--vie-radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
}
.vie-freespins-game img {  object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.vie-freespins-game__info { display: flex; flex-direction: column; gap: 4px; }
.vie-freespins-game__name { font-size: 14px; font-weight: 700; color: var(--vie-text); line-height: 1.3; }
.vie-freespins-game__desc { font-size: 12px; color: var(--vie-muted); line-height: 1.4; }

@media (max-width: 480px) {
  body { font-size: 16px; }
  .vie-hero__title { font-size: 19px; }
  .vie-step { gap: 10px; }
  .vie-band .vie-wrap { justify-content: center; text-align: center; }
  .vie-game-card { flex: 1 1 calc(50% - 8px); }
  .vie-freespins-game { flex: 1 1 100%; }
}
