/* SpinEmpire Österreich — Ruby & Gold theme */

:root {
  --atx-bg: #140b10;
  --atx-panel: #21121a;
  --atx-panel-2: #2b1721;
  --atx-border: rgba(227, 169, 95, 0.18);
  --atx-ruby: #cf2f45;
  --atx-ruby-deep: #8f1f30;
  --atx-gold: #e3a94f;
  --atx-gold-light: #f0c987;
  --atx-text: #f5ece7;
  --atx-muted: #bda49b;
  --atx-radius: 14px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Mulish', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--atx-text);
  background: var(--atx-bg);
}

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

a { color: var(--atx-gold-light); text-decoration: none; }
a:hover { color: var(--atx-gold); }

.atx-shell { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

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

.atx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  transition: filter 0.2s ease, background 0.2s ease;
}

.atx-btn--ruby {
  background: linear-gradient(120deg, var(--atx-ruby) 0%, var(--atx-ruby-deep) 100%);
  color: #fff;
  box-shadow: 0 6px 18px rgba(207, 47, 69, 0.35);
}
.atx-btn--ruby:hover { filter: brightness(1.12); color: #fff; }

.atx-btn--line {
  border: 1px solid var(--atx-gold);
  color: var(--atx-gold-light);
  background: transparent;
}
.atx-btn--line:hover { background: rgba(227, 169, 95, 0.12); color: var(--atx-gold-light); }

.atx-btn--big { padding: 14px 36px; font-size: 16px; }
.atx-btn--wide { width: 100%; }

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

.atx-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(20, 11, 16, 0.94);
  border-bottom: 1px solid var(--atx-border);
  backdrop-filter: blur(8px);
}

.atx-topbar {
  max-width: 1140px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.atx-logo { display: flex; align-items: center; flex-shrink: 0; }
.atx-logo img { height: 38px; width: auto; }

.atx-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  list-style: none;
  flex-grow: 1;
}

.atx-menu a {
  color: var(--atx-text);
  font-weight: 700;
  font-size: 14px;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.atx-menu a:hover,
.atx-menu a.is-here { color: var(--atx-gold-light); border-bottom-color: var(--atx-gold); }

.atx-auth { display: flex; align-items: center; gap: 12px; margin-left: auto; }

.atx-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.atx-burger span {
  width: 24px;
  height: 2px;
  background: var(--atx-gold-light);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.atx-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.atx-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.atx-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

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

.atx-hero { position: relative; }

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

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

.atx-hero__title {
  font-size: 40px;
  line-height: 1.2;
  max-width: 560px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.75);
}

.atx-hero__lead {
  margin-top: 14px;
  font-size: 18px;
  max-width: 480px;
  color: var(--atx-gold-light);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.atx-hero__cta { margin-top: 24px; }

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

.atx-section { padding: 56px 0; }
.atx-section--tint { background: var(--atx-panel); }

.atx-section h2 {
  font-size: 28px;
  line-height: 1.3;
  margin-bottom: 22px;
}

.atx-section h3 { font-size: 20px; margin: 26px 0 12px; }

.atx-section p { margin-bottom: 14px; }
.atx-section p:last-child { margin-bottom: 0; }

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

.atx-note { color: var(--atx-muted); font-size: 14px; }

/* ---------- Fact cards (about) ---------- */

.atx-facts { display: flex; flex-wrap: wrap; gap: 18px; margin: 24px 0 8px; }

.atx-fact {
  flex: 1 1 280px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--atx-panel-2);
  border: 1px solid var(--atx-border);
  border-radius: var(--atx-radius);
  padding: 18px;
}
.atx-fact svg { flex-shrink: 0; }
.atx-fact strong { display: block; margin-bottom: 4px; }
.atx-fact p { font-size: 14px; color: var(--atx-muted); margin: 0; }

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

.atx-tablewrap { overflow-x: auto; margin: 18px 0; }

.atx-table {
  border-collapse: collapse;
  width: 100%;
  min-width: 560px;
  font-size: 14px;
}
.atx-table th, .atx-table td {
  border: 1px solid var(--atx-border);
  padding: 10px 14px;
  text-align: left;
}
.atx-table th { background: var(--atx-panel-2); color: var(--atx-gold-light); }
.atx-table tr:nth-child(even) td { background: rgba(255, 255, 255, 0.02); }

/* ---------- Bonus cards ---------- */

.atx-bonusgrid { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 26px; }

.atx-bonuscard {
  flex: 1 1 calc(50% - 11px);
  min-width: 300px;
  display: flex;
  flex-direction: column;
  background: var(--atx-panel-2);
  border: 1px solid var(--atx-border);
  border-radius: var(--atx-radius);
  overflow: hidden;
}

.atx-bonuscard__pic img { width: 100%; height: auto; }

.atx-bonuscard__body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 20px;
}

.atx-bonuscard__stage {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--atx-gold);
  margin-bottom: 8px;
}

.atx-bonuscard__head { font-size: 19px; line-height: 1.35; margin: 0 0 10px; }

.atx-bonuscard__desc { font-size: 14px; color: var(--atx-muted); margin-bottom: 14px; }

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

.atx-bonuscard__terms {
  font-size: 11px;
  color: var(--atx-muted);
  margin-bottom: 16px;
  line-height: 1.5;
}

.atx-bonuscard__body .atx-btn { margin-top: auto; }

/* ---------- Games ---------- */

.atx-games { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 24px; }

.atx-game {
  flex: 1 1 160px;
  max-width: 233px;
  display: flex;
  flex-direction: column;
  background: var(--atx-panel-2);
  border: 1px solid var(--atx-border);
  border-radius: var(--atx-radius);
  overflow: hidden;
}
.atx-game img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.atx-game figcaption { padding: 10px 12px; font-size: 13px; }
.atx-game figcaption em { display: block; font-style: normal; color: var(--atx-muted); font-size: 12px; }

.atx-providers {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
  margin-top: 28px;
}
.atx-providers img { height: 30px; width: auto; opacity: 0.8; }

/* ---------- Steps ---------- */

.atx-steps { list-style: none; margin: 22px 0 0; counter-reset: step; }

.atx-steps li {
  counter-increment: step;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}
.atx-steps li::before {
  content: counter(step);
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(120deg, var(--atx-ruby) 0%, var(--atx-ruby-deep) 100%);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
}

/* ---------- Pros / cons ---------- */

.atx-balance { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 24px; }

.atx-balance__col {
  flex: 1 1 320px;
  background: var(--atx-panel-2);
  border: 1px solid var(--atx-border);
  border-radius: var(--atx-radius);
  padding: 22px;
}
.atx-balance__col h3 { margin: 0 0 14px; display: flex; align-items: center; gap: 10px; }
.atx-balance__col ul { list-style: none; margin: 0; }
.atx-balance__col li {
  padding-left: 22px;
  position: relative;
  margin-bottom: 10px;
  font-size: 15px;
}
.atx-balance__col--plus li::before { content: ""; position: absolute; left: 0; top: 9px; width: 10px; height: 10px; border-radius: 50%; background: var(--atx-gold); }
.atx-balance__col--minus li::before { content: ""; position: absolute; left: 0; top: 9px; width: 10px; height: 10px; border-radius: 50%; background: var(--atx-ruby); }

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

.atx-faq { margin-top: 10px; }

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

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

.atx-legal h1 { font-size: 32px; margin-bottom: 8px; }
.atx-legal .atx-stand { color: var(--atx-muted); font-size: 14px; margin-bottom: 30px; }

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

.atx-band {
  background: linear-gradient(120deg, var(--atx-ruby-deep) 0%, #3a0f1a 100%);
  border-top: 1px solid var(--atx-border);
  border-bottom: 1px solid var(--atx-border);
}
.atx-band .atx-shell {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 34px;
  padding-bottom: 34px;
}
.atx-band p { font-size: 20px; font-weight: 700; margin: 0; }

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

.atx-footer {
  background: #0e070b;
  border-top: 1px solid var(--atx-border);
  padding: 46px 0 30px;
  font-size: 14px;
}

.atx-footer__top {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  justify-content: space-between;
  margin-bottom: 30px;
}

.atx-footer__brand { flex: 1 1 260px; }
.atx-footer__brand img { height: 34px; margin-bottom: 14px; }
.atx-footer__brand p { color: var(--atx-muted); }

.atx-footer__nav { flex: 0 1 auto; }
.atx-footer__nav strong { display: block; margin-bottom: 12px; color: var(--atx-gold-light); }
.atx-footer__nav ul { list-style: none; }
.atx-footer__nav li { margin-bottom: 8px; }
.atx-footer__nav a { color: var(--atx-text); }
.atx-footer__nav a:hover { color: var(--atx-gold-light); }

.atx-footer__social { display: flex; gap: 14px; margin-top: 16px; }
.atx-footer__social img { width: 26px; height: 26px; }

.atx-paybar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid var(--atx-border);
}
.atx-paybar img { height: 26px; width: auto; }

.atx-reviewbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  padding: 18px 0;
  border-top: 1px solid var(--atx-border);
}
.atx-reviewbar a { display: flex; align-items: center; }
.atx-reviewbar img { height: 24px; width: auto; opacity: 0.85; }
.atx-reviewbar a:hover img { opacity: 1; }

.atx-footer__legal {
  border-top: 1px solid var(--atx-border);
  padding-top: 20px;
  color: var(--atx-muted);
  font-size: 12px;
  line-height: 1.6;
}

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

@media (max-width: 900px) {
  .atx-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--atx-panel);
    border-bottom: 1px solid var(--atx-border);
    padding: 10px 20px;
  }
  .atx-menu.is-open { display: flex; }
  .atx-menu li { width: 100%; }
  .atx-menu a { display: block; padding: 12px 0; border-bottom: 0; }
  .atx-burger { display: flex; }
  .atx-auth .atx-btn--line { display: none; }

  .atx-hero__title { font-size: 26px; max-width: 100%; }
  .atx-hero__lead { font-size: 15px; }
  .atx-hero__cta .atx-btn { padding: 11px 26px; font-size: 14px; }

  .atx-section { padding: 40px 0; }
  .atx-section h2 { font-size: 23px; }

  .atx-bonuscard { flex-basis: 100%; }
}

@media (max-width: 560px) {
  .atx-hero__overlay { padding: 16px 0; justify-content: flex-end; }
  .atx-hero__title { font-size: 19px; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.9); }
  .atx-hero__lead { display: none; }
  .atx-hero__cta { margin-top: 12px; }
  .atx-game { max-width: calc(50% - 9px); }
}

/* ---------- Section CTA ---------- */

.atx-seccta {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}
