/* ============================================
   The Wearness - Casino ohne OASIS
   Dark elegant theme with gold accents
   ============================================ */

:root {
  --bg-primary: #0a0a14;
  --bg-card: #12121f;
  --bg-card-hover: #1a1a2e;
  --bg-header: rgba(10, 10, 20, 0.95);
  --gold: #c9a84c;
  --gold-light: #e0be5a;
  --gold-dim: rgba(201, 168, 76, 0.15);
  --text: #e8e8ec;
  --text-muted: #9898a8;
  --text-heading: #ffffff;
  --green: #4ade80;
  --green-bg: rgba(74, 222, 128, 0.1);
  --red: #f87171;
  --red-bg: rgba(248, 113, 113, 0.1);
  --border: #1e1e30;
  --border-gold: rgba(201, 168, 76, 0.3);
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(0,0,0,0.3);
  --transition: 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-primary) url('../images/cards-pattern.svg') repeat;
  background-size: 200px 200px;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-light); }

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-wide {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---- HEADER ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-header);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 20px;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: -0.02em;
}

.logo span { color: var(--gold); }

nav { display: flex; gap: 28px; align-items: center; }
nav a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 400;
  transition: color var(--transition);
}
nav a:hover, nav a.active { color: var(--gold); }

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ---- HERO ---- */
.hero {
  position: relative;
  padding: 80px 20px 60px;
  text-align: center;
  overflow: hidden;
}

.hero.hero-left {
  text-align: left;
  max-width: 900px;
  margin: 0 auto;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at center top, rgba(201,168,76,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero h1 {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1.2;
  margin-bottom: 20px;
  max-width: 750px;
}

.hero-left .hero-intro {
  margin-left: 0;
}

.hero h1 span { color: var(--gold); }

/* ---- AUTHOR BOX ---- */
.author-box {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 16px 6px 6px;
  border-radius: 40px;
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid rgba(201, 168, 76, 0.18);
  margin-bottom: 20px;
}

.author-photo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.author-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.author-name {
  color: var(--text-heading);
  font-weight: 600;
  font-size: 0.88rem;
}

.author-meta {
  color: var(--text-muted);
  font-size: 0.78rem;
  padding-left: 10px;
  border-left: 1px solid var(--border);
}

.page-content .author-box {
  margin-bottom: 28px;
}

@media (max-width: 480px) {
  .author-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
  .author-meta {
    border-left: none;
    padding-left: 0;
  }
}

.hero-intro {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.hero-image {
  border-radius: var(--radius);
  overflow: hidden;
  margin: 32px auto 0;
  max-width: 800px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-gold);
}

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

/* ---- TABLE OF CONTENTS ---- */
.toc {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin: 40px auto;
  max-width: 700px;
}

.toc h2 {
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.toc ol {
  list-style: none;
  counter-reset: toc;
}

.toc li {
  counter-increment: toc;
  margin-bottom: 8px;
}

.toc li a {
  color: var(--text-muted);
  font-size: 0.95rem;
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 4px 0;
  transition: color var(--transition);
}

.toc li a::before {
  content: counter(toc, decimal-leading-zero);
  color: var(--gold);
  font-weight: 600;
  font-size: 0.85rem;
  min-width: 24px;
}

.toc li a:hover { color: var(--text-heading); }

/* ---- SECTIONS ---- */
section { padding: 48px 0; }

.section-label {
  display: inline-block;
  background: var(--gold-dim);
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}

h2 {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.25;
  margin-bottom: 16px;
}

h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.3;
  margin-bottom: 12px;
}

.pros-cons-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.section-intro {
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 750px;
}

.section-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* ---- RANKING LIST ---- */
.ranking-list { display: flex; flex-direction: column; gap: 24px; }

.ranking-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--gold);
  color: var(--bg-primary);
  font-weight: 800;
  font-size: 0.95rem;
  border-radius: 50%;
  flex-shrink: 0;
}

.ranking-badge.top3 {
  width: 42px;
  height: 42px;
  font-size: 1.05rem;
  box-shadow: 0 0 16px rgba(201,168,76,0.4);
}

.ranking-summary {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.ranking-summary strong {
  color: var(--text-heading);
  font-size: 1.05rem;
}

.ranking-summary .bonus {
  color: var(--gold);
  font-size: 0.92rem;
}

/* ---- CASINO CARD ---- */
.casino-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 32px;
  transition: border-color var(--transition);
}

.casino-card:hover { border-color: var(--border-gold); }

.casino-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.casino-card h3 { margin-bottom: 0; }

.casino-card p {
  margin-bottom: 12px;
  color: var(--text);
}

/* ---- PROS / CONS ---- */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
}

.pros, .cons {
  border-radius: var(--radius-sm);
  padding: 16px 20px;
}

.pros {
  background: var(--green-bg);
  border: 1px solid rgba(74,222,128,0.2);
}

.cons {
  background: var(--red-bg);
  border: 1px solid rgba(248,113,113,0.2);
}

.pros .pros-cons-title { color: var(--green); }
.cons .pros-cons-title { color: var(--red); }

.pros ul, .cons ul {
  list-style: none;
  font-size: 0.92rem;
  line-height: 1.6;
}

.pros li, .cons li {
  padding: 3px 0 3px 22px;
  position: relative;
}

.pros li::before {
  content: '+';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

.cons li::before {
  content: '\2212';
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
}

/* ---- SECTION IMAGE ---- */
.section-image {
  border-radius: var(--radius);
  overflow: hidden;
  margin: 32px 0;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.section-image img { width: 100%; height: auto; }

/* ---- STEPS ---- */
.steps { counter-reset: step; margin: 24px 0; }
.step {
  counter-increment: step;
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.step:last-child { border-bottom: none; }

.step::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--gold-dim);
  color: var(--gold);
  font-weight: 700;
  border-radius: 50%;
  flex-shrink: 0;
  border: 1px solid var(--border-gold);
}

.step p { margin: 0; }

/* ---- CRITERIA LIST ---- */
.criteria-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 24px;
}

.criteria-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
}

.criteria-item h3 { color: var(--gold); }

/* ---- TABLES ---- */
.table-wrap {
  overflow-x: auto;
  margin: 24px 0;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  background: var(--bg-card);
}

thead {
  background: var(--bg-card-hover);
}

th {
  text-align: left;
  padding: 14px 18px;
  font-weight: 600;
  color: var(--gold);
  white-space: nowrap;
  border-bottom: 2px solid var(--border-gold);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

td {
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(201,168,76,0.03); }

/* ---- FAQ (static, always visible) ---- */
.faq-list-static { margin-top: 24px; }

.faq-static {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px 28px;
  margin-bottom: 12px;
}

.faq-static h3 {
  color: var(--gold);
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.faq-static p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}

/* ---- CASINO SCREENSHOTS ---- */
.casino-screenshot {
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin: 20px 0;
  border: 1px solid var(--border);
}

.casino-screenshot img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---- FOOTER ---- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 48px 20px;
  margin-top: 48px;
  text-align: center;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 20px;
}

.footer-nav a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 400;
}

.footer-nav a:hover { color: var(--gold); }

.footer-copy {
  color: var(--text-muted);
  font-size: 0.82rem;
  opacity: 0.7;
}

/* ---- ABOUT / CONTACT PAGES ---- */
.page-content {
  padding: 64px 0;
  min-height: 60vh;
}

.page-content h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 12px;
}

.page-content h1 span { color: var(--gold); }

.page-content .subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 40px;
  line-height: 1.7;
}

.page-content p {
  margin-bottom: 16px;
  color: var(--text);
}

.contact-info {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  margin-top: 32px;
}

.contact-row {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  align-items: center;
}

.contact-row:last-child { border-bottom: none; }

.contact-label {
  font-weight: 600;
  color: var(--gold);
  min-width: 100px;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .hero h1 { font-size: 1.7rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.15rem; }
  .hero { padding: 48px 20px 40px; }
  section { padding: 32px 0; }
  .toc { padding: 20px 24px; }
  .casino-card { padding: 20px; }
  .pros-cons { grid-template-columns: 1fr; }
  nav { display: none; }
  nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg-header);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 20px;
    gap: 16px;
  }
  .mobile-toggle { display: block; }
  .ranking-summary { flex-direction: column; align-items: flex-start; gap: 8px; }
  th, td { padding: 10px 12px; font-size: 0.82rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.45rem; }
  h2 { font-size: 1.3rem; }
  .container, .container-wide { padding: 0 16px; }
}
