/* Casino Drakaris — Style 1: Dragon Emerald Dark */

:root {
  --bg-deep: #030605;
  --bg-base: #070b09;
  --bg-elevated: #0c1210;
  --bg-card: #0a100e;
  --bg-card-hover: #101816;
  --emerald: #00e676;
  --emerald-deep: #00c853;
  --emerald-dim: #1b5e40;
  --emerald-muted: rgba(0, 230, 118, 0.14);
  --emerald-glow: rgba(0, 230, 118, 0.45);
  --text: #e8f5e9;
  --text-muted: #8fa89a;
  --text-dim: #5f7568;
  --border: rgba(0, 230, 118, 0.28);
  --border-strong: rgba(0, 230, 118, 0.55);
  --danger: #ff5252;
  --font-display: "Montserrat", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Poppins", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --radius: 2px;
  --header-h: 72px;
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg-deep);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0, 100, 60, 0.35), transparent),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(0, 60, 40, 0.2), transparent),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-base) 40%, #040806 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--emerald);
  text-decoration: none;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

a:hover {
  color: #69f0ae;
  text-shadow: 0 0 12px var(--emerald-glow);
}

ul,
ol {
  padding-left: 1.25rem;
}

li {
  margin-bottom: 0.45rem;
}

li::marker {
  color: var(--emerald);
}

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(3, 6, 5, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  box-shadow: 0 0 40px rgba(0, 230, 118, 0.06);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  text-decoration: none;
}

.brand:hover {
  color: var(--text);
  text-shadow: none;
}

.brand img {
  width: auto;
  height: 48px;
  max-width: 200px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px var(--emerald-glow));
}

.footer-logo {
  display: inline-block;
}

.footer-logo img {
  width: auto;
  height: 44px;
  max-width: 180px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px var(--emerald-glow));
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* ——— Layout ——— */
.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.page-main {
  padding-bottom: 4rem;
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  padding: 0.85rem 1.6rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  color: #fff;
  text-shadow: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--emerald-deep), var(--emerald));
  color: #02140a;
  box-shadow: 0 0 22px var(--emerald-glow), inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--emerald), #69f0ae);
  box-shadow: 0 0 36px var(--emerald-glow);
  color: #02140a;
}

.btn-ghost {
  background: transparent;
  color: var(--emerald);
  border-color: var(--border-strong);
  clip-path: none;
  border-radius: var(--radius);
  box-shadow: 0 0 16px rgba(0, 230, 118, 0.12);
}

.btn-ghost:hover {
  background: var(--emerald-muted);
  color: #69f0ae;
  box-shadow: 0 0 24px rgba(0, 230, 118, 0.25);
}

.btn-lg {
  padding: 1.05rem 2rem;
  font-size: 0.95rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* ——— Hero ——— */
.hero {
  position: relative;
  padding: 3.5rem 0 3rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 40%, rgba(0, 230, 118, 0.12), transparent 45%),
    radial-gradient(circle at 80% 20%, rgba(0, 100, 60, 0.2), transparent 40%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--emerald);
  text-shadow: 0 0 14px var(--emerald-glow);
  margin-bottom: 1rem;
}

.hero-eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--emerald);
  box-shadow: 0 0 8px var(--emerald);
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.85rem, 4.2vw, 2.85rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 0 30px var(--emerald-glow), 0 0 60px rgba(0, 230, 118, 0.2);
  margin-bottom: 1.25rem;
}

.hero-lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 36rem;
  margin-bottom: 0.5rem;
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  width: 100%;
  border: 1px solid var(--border);
  box-shadow:
    0 0 0 1px rgba(0, 230, 118, 0.08),
    0 0 50px rgba(0, 230, 118, 0.18),
    0 24px 48px rgba(0, 0, 0, 0.5);
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px));
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: -2px;
  border: 1px solid rgba(0, 230, 118, 0.2);
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px));
  pointer-events: none;
}

/* ——— Scale divider ——— */
.scale-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.5rem 0 1.5rem;
  opacity: 0.55;
}

.scale-divider span {
  width: 14px;
  height: 16px;
  background: transparent;
  border: 1px solid var(--emerald);
  transform: skewY(-18deg);
  box-shadow: 0 0 6px rgba(0, 230, 118, 0.3);
}

.scale-divider span:nth-child(even) {
  transform: skewY(18deg);
  opacity: 0.7;
}

/* ——— Sections ——— */
.section {
  padding: 2.75rem 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(0, 40, 28, 0.25), transparent);
  border-top: 1px solid rgba(0, 230, 118, 0.1);
  border-bottom: 1px solid rgba(0, 230, 118, 0.1);
}

.section-head {
  margin-bottom: 1.75rem;
  max-width: 46rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  line-height: 1.25;
  color: #fff;
  text-shadow: 0 0 22px rgba(0, 230, 118, 0.35);
  margin-bottom: 0.85rem;
  position: relative;
  padding-left: 1rem;
}

.section-head h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  bottom: 0.2em;
  width: 3px;
  background: var(--emerald);
  box-shadow: 0 0 10px var(--emerald);
}

.section-head h3,
.content-block h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--emerald);
  text-shadow: 0 0 12px rgba(0, 230, 118, 0.3);
  margin: 1.5rem 0 0.75rem;
}

.content-block p,
.section p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.content-block p:last-child,
.section > .wrap > p:last-child {
  margin-bottom: 0;
}

.prose p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.prose strong,
.content-block strong {
  color: var(--text);
  font-weight: 600;
}

/* ——— Cards ——— */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 1.5rem;
  position: relative;
  box-shadow: 0 0 24px rgba(0, 230, 118, 0.05);
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--emerald), transparent);
  opacity: 0.7;
}

.card:hover {
  border-color: var(--border-strong);
  background: var(--bg-card-hover);
  box-shadow: 0 0 32px rgba(0, 230, 118, 0.12);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.card-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 0.65rem;
  text-shadow: 0 0 10px rgba(0, 230, 118, 0.25);
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.card-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 0.85rem;
  color: var(--emerald);
  filter: drop-shadow(0 0 8px var(--emerald-glow));
}

.media-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.media-block.reverse {
  direction: rtl;
}

.media-block.reverse > * {
  direction: ltr;
}

.media-block img {
  width: 100%;
  border: 1px solid var(--border);
  box-shadow: 0 0 30px rgba(0, 230, 118, 0.12);
}

/* ——— Tables ——— */
.table-wrap {
  overflow-x: auto;
  margin: 1.25rem 0 1.5rem;
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: 0 0 20px rgba(0, 230, 118, 0.06);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  min-width: 520px;
}

thead {
  background: rgba(0, 230, 118, 0.1);
}

th {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--emerald);
  text-align: left;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--border-strong);
  text-shadow: 0 0 10px rgba(0, 230, 118, 0.35);
}

td {
  padding: 0.85rem 1rem;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(0, 230, 118, 0.1);
}

tbody tr:last-child td {
  border-bottom: none;
}

tbody tr:hover td {
  background: rgba(0, 230, 118, 0.04);
  color: var(--text);
}

.table-note {
  font-size: 0.9rem;
  color: var(--text-dim);
  margin-top: -0.5rem;
  margin-bottom: 1.25rem;
}

/* ——— Steps ——— */
.steps {
  list-style: none;
  padding: 0;
  counter-reset: step;
  display: grid;
  gap: 0.85rem;
}

.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 1rem 1.15rem;
  margin: 0;
}

.steps li::before {
  content: counter(step);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  color: #02140a;
  background: var(--emerald);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 14px var(--emerald-glow);
  clip-path: polygon(30% 0, 100% 0, 100% 70%, 70% 100%, 0 100%, 0 30%);
}

/* ——— FAQ ——— */
.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 0;
  overflow: hidden;
}

.faq-item summary {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  color: #fff;
  padding: 1.1rem 1.25rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  color: var(--emerald);
  font-size: 1.35rem;
  font-weight: 400;
  text-shadow: 0 0 10px var(--emerald-glow);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item[open] {
  border-color: var(--border-strong);
  box-shadow: 0 0 24px rgba(0, 230, 118, 0.1);
}

.faq-item .faq-body {
  padding: 0 1.25rem 1.2rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(0, 230, 118, 0.12);
  padding-top: 1rem;
}

.faq-item .faq-body p {
  margin-bottom: 0;
}

/* ——— Page hero (inner) ——— */
.page-hero {
  padding: 2.75rem 0 1.5rem;
  border-bottom: 1px solid rgba(0, 230, 118, 0.12);
  background:
    radial-gradient(ellipse 70% 80% at 0% 0%, rgba(0, 230, 118, 0.1), transparent 55%);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 3.5vw, 2.35rem);
  line-height: 1.2;
  color: #fff;
  text-shadow: 0 0 28px var(--emerald-glow);
  margin-bottom: 0.85rem;
  max-width: 40rem;
}

.page-hero .lead {
  color: var(--text-muted);
  max-width: 40rem;
  font-size: 1.05rem;
}

/* ——— Highlight box ——— */
.highlight {
  border-left: 3px solid var(--emerald);
  background: var(--emerald-muted);
  padding: 1.15rem 1.35rem;
  margin: 1.5rem 0;
  box-shadow: 0 0 20px rgba(0, 230, 118, 0.08);
}

.highlight p {
  margin-bottom: 0.5rem;
}

.highlight p:last-child {
  margin-bottom: 0;
}

/* ——— Check grid ——— */
.check-table td:last-child {
  color: var(--emerald);
  font-weight: 700;
  text-shadow: 0 0 8px rgba(0, 230, 118, 0.4);
  text-align: center;
}

/* ——— Footer ——— */
.site-footer {
  margin-top: 2rem;
  border-top: 1px solid var(--border);
  background: #020403;
  padding: 2.5rem 0 2rem;
  position: relative;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(280px, 60%);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--emerald), transparent);
  box-shadow: 0 0 12px var(--emerald);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand {
  margin-bottom: 0.75rem;
}

.footer-copy {
  color: var(--text-dim);
  font-size: 0.88rem;
  max-width: 28rem;
}

.footer-nav-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 0.85rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem 1.25rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--emerald);
}

.footer-bottom {
  border-top: 1px solid rgba(0, 230, 118, 0.12);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.footer-bottom p {
  color: var(--text-dim);
  font-size: 0.8rem;
  margin: 0;
}

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-strong);
  color: var(--emerald);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.75rem;
  box-shadow: 0 0 12px rgba(0, 230, 118, 0.2);
}

/* ——— Mid CTA band ——— */
.cta-band {
  margin: 2rem 0;
  padding: 2rem;
  background:
    linear-gradient(135deg, rgba(0, 60, 40, 0.5), rgba(3, 6, 5, 0.9)),
    var(--bg-card);
  border: 1px solid var(--border-strong);
  box-shadow: 0 0 40px rgba(0, 230, 118, 0.15);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(0, 230, 118, 0.18), transparent 55%);
  pointer-events: none;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.45rem;
  color: #fff;
  text-shadow: 0 0 20px var(--emerald-glow);
  margin-bottom: 0.5rem;
  position: relative;
}

.cta-band p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  position: relative;
}

.cta-band .cta-row {
  justify-content: center;
  position: relative;
}

/* ——— Claw ornament ——— */
.claw {
  display: inline-block;
  width: 18px;
  height: 18px;
  vertical-align: middle;
  margin-right: 0.35rem;
}

/* ——— Responsive ——— */
@media (max-width: 900px) {
  .hero-grid,
  .media-block,
  .media-block.reverse,
  .footer-grid {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .card-grid-2 {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 2.25rem;
  }
}

@media (max-width: 600px) {
  :root {
    --header-h: auto;
  }

  .site-header {
    height: auto;
    padding: 0.75rem 0;
  }

  .brand img {
    height: 40px;
    max-width: 150px;
  }

  .btn {
    padding: 0.7rem 1.15rem;
    font-size: 0.75rem;
  }

  .header-cta .btn-ghost {
    display: none;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .cta-band {
    padding: 1.5rem 1rem;
  }
}
