/* ============================================================
   SpinEmpire Sverige — sweden8
   Own build (no template). Flex layout only, no grid.
   Prefix: sw8-
   ============================================================ */

:root {
  --sw8-bg: #0a1122;
  --sw8-bg-soft: #101a33;
  --sw8-panel: #16223f;
  --sw8-panel-2: #1b2a4d;
  --sw8-border: #27395f;
  --sw8-text: #e9eef8;
  --sw8-text-muted: #93a5c4;
  --sw8-gold: #f5b62e;
  --sw8-gold-2: #ffd166;
  --sw8-accent: #4f8fe6;
  --sw8-green: #35c07d;
  --sw8-red: #e0596a;
  --sw8-radius: 14px;
  --sw8-radius-sm: 9px;
  --sw8-shadow: 0 10px 30px rgba(2, 8, 23, 0.45);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--sw8-bg);
  color: var(--sw8-text);
  font-family: "Segoe UI", Tahoma, Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--sw8-gold-2); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Wrapper — same max-width/padding as header bar (hero alignment rule) */
.sw8-wrap        { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.sw8-header__bar { max-width: 1160px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }

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

.sw8-header {
  background: rgba(10, 17, 34, 0.96);
  border-bottom: 1px solid var(--sw8-border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.sw8-head__left { display: flex; align-items: center; gap: 12px; }

.sw8-logo img { height: 46px; width: auto; }

.sw8-nav ul { display: flex; list-style: none; gap: 26px; }
.sw8-nav a {
  color: var(--sw8-text);
  font-weight: 600;
  font-size: 15px;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.sw8-nav a:hover { color: var(--sw8-gold-2); text-decoration: none; }
.sw8-nav a.active { color: var(--sw8-gold); border-bottom-color: var(--sw8-gold); }

.sw8-head__actions { display: flex; align-items: center; gap: 10px; }

/* Buttons */
.sw8-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border-radius: 999px;
  padding: 10px 22px;
  font-size: 15px;
  line-height: 1.2;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.sw8-btn:hover { text-decoration: none; transform: translateY(-1px); }

.sw8-btn--gold {
  background: linear-gradient(135deg, var(--sw8-gold) 0%, var(--sw8-gold-2) 100%);
  color: #1c1503;
  box-shadow: 0 6px 18px rgba(245, 182, 46, 0.35);
}
.sw8-btn--ghost {
  background: transparent;
  color: var(--sw8-text);
  border: 1px solid var(--sw8-border);
}
.sw8-btn--ghost:hover { border-color: var(--sw8-gold); color: var(--sw8-gold-2); }
.sw8-btn--lg { padding: 14px 34px; font-size: 17px; }
.sw8-btn--full { width: 100%; }

/* Burger + mobile menu */
.sw8-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.sw8-burger span { width: 24px; height: 2.5px; background: var(--sw8-text); border-radius: 2px; transition: 0.2s; }
.sw8-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.sw8-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.sw8-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.sw8-mobile-menu {
  display: none;
  border-top: 1px solid var(--sw8-border);
  background: var(--sw8-bg-soft);
}
.sw8-mobile-menu.open { display: block; }
.sw8-mobile-menu ul { list-style: none; padding: 10px 20px 16px; display: flex; flex-direction: column; gap: 4px; }
.sw8-mobile-menu a { display: block; padding: 10px 6px; color: var(--sw8-text); font-weight: 600; border-bottom: 1px solid rgba(39, 57, 95, 0.5); }
.sw8-mobile-menu a.active { color: var(--sw8-gold); }

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

.sw8-hero { position: relative; }
.sw8-hero picture { display: block; }
.sw8-hero img { width: 100%; height: auto; }

.sw8-hero__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  padding: 40px 0;
  pointer-events: none;
}
.sw8-hero__overlay > * { pointer-events: auto; }
.sw8-hero__overlay .sw8-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.sw8-hero__title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 4.2vw, 46px);
  line-height: 1.15;
  max-width: 640px;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.65);
}
.sw8-hero__subtitle {
  margin-top: 12px;
  font-size: clamp(15px, 1.8vw, 19px);
  max-width: 560px;
  color: #f2f5fb;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}
.sw8-hero__overlay .sw8-btn { margin-top: 22px; }

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

.sw8-section { padding: 56px 0; }
.sw8-section--alt { background: var(--sw8-bg-soft); }

.sw8-section h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.25;
  margin-bottom: 20px;
}
.sw8-section h2 .sw8-h2-accent { color: var(--sw8-gold); }

.sw8-section h3 {
  font-size: 20px;
  margin: 26px 0 10px;
  color: var(--sw8-gold-2);
}

.sw8-section p { margin-bottom: 14px; color: var(--sw8-text); }
.sw8-section p:last-child { margin-bottom: 0; }
.sw8-muted { color: var(--sw8-text-muted); }

.sw8-section li { margin-bottom: 8px; }

/* Intro under hero */
.sw8-intro p { font-size: 17px; }

/* Quick facts row */
.sw8-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}
.sw8-fact {
  flex: 1 1 200px;
  background: var(--sw8-panel);
  border: 1px solid var(--sw8-border);
  border-radius: var(--sw8-radius);
  padding: 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.sw8-fact svg { flex-shrink: 0; }
.sw8-fact strong { display: block; font-size: 15px; }
.sw8-fact span { font-size: 13.5px; color: var(--sw8-text-muted); }

/* Two-column flexible block */
.sw8-cols { display: flex; flex-wrap: wrap; gap: 28px; }
.sw8-cols > div { flex: 1 1 320px; }

/* Card panels (games, features) */
.sw8-panels { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 8px; }
.sw8-panel {
  flex: 1 1 240px;
  background: var(--sw8-panel);
  border: 1px solid var(--sw8-border);
  border-radius: var(--sw8-radius);
  padding: 22px;
}
.sw8-panel svg { margin-bottom: 12px; }
.sw8-panel h3 { margin: 0 0 8px; font-size: 17px; color: var(--sw8-text); }
.sw8-panel p { font-size: 14.5px; color: var(--sw8-text-muted); margin: 0; }

/* Game previews (max 233x233 per project rules) */
.sw8-games { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 26px; }
.sw8-game {
  flex: 1 1 150px;
  max-width: 233px;
  background: var(--sw8-panel);
  border: 1px solid var(--sw8-border);
  border-radius: var(--sw8-radius-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.sw8-game:hover { transform: translateY(-3px); border-color: var(--sw8-gold); text-decoration: none; }
.sw8-game img { width: 100%; height: 160px; max-width: 233px; object-fit: cover; }
.sw8-game span {
  display: block;
  padding: 10px 12px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--sw8-text);
  text-align: center;
}

/* Pros / cons */
.sw8-verdict { display: flex; flex-wrap: wrap; gap: 16px; margin: 18px 0; }
.sw8-verdict__col {
  flex: 1 1 300px;
  background: var(--sw8-panel);
  border: 1px solid var(--sw8-border);
  border-radius: var(--sw8-radius);
  padding: 20px 22px;
}
.sw8-verdict__col h3 { margin-top: 0; font-size: 17px; }
.sw8-verdict__col--plus h3 { color: var(--sw8-green); }
.sw8-verdict__col--minus h3 { color: var(--sw8-red); }
.sw8-verdict__col ul { list-style: none; margin: 0; }
.sw8-verdict__col li { padding-left: 24px; position: relative; font-size: 14.5px; }
.sw8-verdict__col--plus li::before { content: "+"; position: absolute; left: 4px; color: var(--sw8-green); font-weight: 700; }
.sw8-verdict__col--minus li::before { content: "–"; position: absolute; left: 4px; color: var(--sw8-red); font-weight: 700; }

/* Numbered steps (registration / claim) */
.sw8-steps { list-style: none; margin: 18px 0; counter-reset: sw8step; }
.sw8-steps li {
  counter-increment: sw8step;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--sw8-border);
}
.sw8-steps li:last-child { border-bottom: none; }
.sw8-steps li::before {
  content: counter(sw8step);
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--sw8-gold);
  color: #1c1503;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Table */
.sw8-table-wrap { overflow-x: auto; margin: 18px 0; border: 1px solid var(--sw8-border); border-radius: var(--sw8-radius); }
.sw8-table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 14.5px; }
.sw8-table th, .sw8-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--sw8-border); }
.sw8-table th { background: var(--sw8-panel-2); color: var(--sw8-gold-2); font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; }
.sw8-table tr:last-child td { border-bottom: none; }
.sw8-table tr:nth-child(even) td { background: rgba(255, 255, 255, 0.02); }

/* Centered section CTA */
.sw8-section-cta { display: flex; justify-content: center; margin-top: 30px; }

/* Payment methods row */
.sw8-payments { display: flex; flex-wrap: wrap; gap: 14px; margin: 24px 0 10px; }
.sw8-payment {
  flex: 0 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sw8-panel);
  border: 1px solid var(--sw8-border);
  border-radius: var(--sw8-radius-sm);
  padding: 14px 20px;
  min-width: 120px;
}
.sw8-payment img { height: 26px; width: auto; }
.sw8-payment--featured { border-color: var(--sw8-gold); box-shadow: 0 0 0 1px var(--sw8-gold) inset; }
.sw8-payments-note { font-size: 13px; color: var(--sw8-text-muted); margin-bottom: 0; }

/* Highlight note */
.sw8-note {
  background: var(--sw8-panel);
  border-left: 4px solid var(--sw8-gold);
  border-radius: var(--sw8-radius-sm);
  padding: 16px 18px;
  margin: 18px 0;
  font-size: 15px;
}

/* CTA band */
.sw8-cta-band {
  background: linear-gradient(120deg, var(--sw8-panel-2) 0%, #2a3d68 100%);
  border: 1px solid var(--sw8-border);
  border-radius: var(--sw8-radius);
  padding: 30px 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 34px;
}
.sw8-cta-band h3 { margin: 0 0 6px; color: var(--sw8-text); font-size: 21px; }
.sw8-cta-band p { margin: 0; color: var(--sw8-text-muted); font-size: 14.5px; }

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

.sw8-bonus-grid { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 10px; }

.sw8-bonus-card {
  flex: 1 1 260px;
  max-width: 100%;
  background: var(--sw8-panel);
  border: 1px solid var(--sw8-border);
  border-radius: var(--sw8-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--sw8-shadow);
}
.sw8-bonus-card__image img { width: 100%; height: auto; }
.sw8-bonus-card__content { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.sw8-bonus-card__stage {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sw8-gold);
  margin-bottom: 8px;
}
.sw8-bonus-card__title { font-size: 18px; line-height: 1.3; margin: 0 0 10px; color: var(--sw8-text); }
.sw8-bonus-card__desc { font-size: 14px; color: var(--sw8-text-muted); margin-bottom: 14px; flex-grow: 1; }
.sw8-bonus-card__content .sw8-btn { margin-top: auto; }

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

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

.sw8-faq { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.sw8-faq__item {
  background: var(--sw8-panel);
  border: 1px solid var(--sw8-border);
  border-radius: var(--sw8-radius-sm);
  overflow: hidden;
}
.sw8-faq__q {
  width: 100%;
  background: none;
  border: none;
  color: var(--sw8-text);
  font-size: 15.5px;
  font-weight: 700;
  font-family: inherit;
  text-align: left;
  padding: 16px 46px 16px 18px;
  cursor: pointer;
  position: relative;
}
.sw8-faq__q::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--sw8-gold);
  border-bottom: 2px solid var(--sw8-gold);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s;
}
.sw8-faq__item.open .sw8-faq__q::after { transform: translateY(-30%) rotate(225deg); }
.sw8-faq__a { display: none; padding: 0 18px 16px; color: var(--sw8-text-muted); font-size: 14.5px; }
.sw8-faq__item.open .sw8-faq__a { display: block; }

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

.sw8-footer {
  background: #070d1b;
  border-top: 1px solid var(--sw8-border);
  padding: 46px 0 30px;
  font-size: 14px;
  color: var(--sw8-text-muted);
}

.sw8-footer__top { display: flex; flex-wrap: wrap; gap: 30px; justify-content: space-between; align-items: flex-start; }
.sw8-footer__brand { flex: 1 1 260px; }
.sw8-footer__brand img { height: 44px; margin-bottom: 12px; }
.sw8-footer__brand p { font-size: 13px; line-height: 1.6; }

.sw8-footer__nav { flex: 0 1 auto; }
.sw8-footer__nav ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.sw8-footer__nav a { color: var(--sw8-text-muted); }
.sw8-footer__nav a:hover { color: var(--sw8-gold-2); }

.sw8-footer__social { display: flex; gap: 12px; }
.sw8-footer__social img { width: 30px; height: 30px; opacity: 0.75; }
.sw8-footer__social a:hover img { opacity: 1; }

.sw8-footer h4 { color: var(--sw8-text); font-size: 14px; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.06em; }

.sw8-footer__pay { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin: 30px 0 0; padding-top: 24px; border-top: 1px solid rgba(39, 57, 95, 0.6); }
.sw8-footer__pay img { height: 26px; width: auto; opacity: 0.8; }

.sw8-footer__reviews { display: flex; flex-wrap: wrap; gap: 16px 22px; align-items: center; margin-top: 22px; padding-top: 22px; border-top: 1px solid rgba(39, 57, 95, 0.6); }
.sw8-footer__reviews a { display: flex; align-items: center; }
.sw8-footer__reviews img { height: 24px; width: auto; opacity: 0.7; transition: opacity 0.15s; }
.sw8-footer__reviews a:hover img { opacity: 1; }

.sw8-footer__legal { margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(39, 57, 95, 0.6); display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; font-size: 12.5px; }
.sw8-footer__legal img { height: 34px; }
.sw8-footer__legal p { max-width: 760px; line-height: 1.55; }

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

@media (max-width: 900px) {
  .sw8-nav { display: none; }
  .sw8-burger { display: flex; }
  .sw8-head__actions .sw8-btn--ghost { display: none; }
}

@media (max-width: 640px) {
  .sw8-section { padding: 40px 0; }
  .sw8-hero__overlay { padding: 20px 0; justify-content: flex-end; }
  .sw8-hero__title { font-size: 22px; }
  .sw8-hero__overlay .sw8-btn { margin-top: 12px; padding: 11px 24px; font-size: 15px; }
  .sw8-btn--lg { padding: 12px 26px; font-size: 15.5px; }
  .sw8-cta-band { padding: 22px 20px; }
}
