/* Drakaris Casino — Dragon Neon Jade (Style 3) */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@600;700;800&family=Rajdhani:wght@400;500;600;700&display=swap');

:root {
  --bg-deep: #020605;
  --bg-mid: #041a12;
  --bg-emerald: #0a3d2a;
  --neon: #00ff88;
  --neon-hot: #39ff14;
  --jade: #00d4aa;
  --turquoise: #00e5c8;
  --glass: rgba(0, 20, 14, 0.55);
  --glass-border: rgba(0, 255, 136, 0.35);
  --text: #e8fff4;
  --text-muted: #9bbdae;
  --danger: #ff4d6d;
  --radius: 18px;
  --header-h: 72px;
  --font-display: 'Orbitron', sans-serif;
  --font-body: 'Rajdhani', sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(0, 255, 136, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 30%, rgba(0, 212, 170, 0.08), transparent 50%),
    radial-gradient(ellipse 50% 40% at 0% 70%, rgba(0, 229, 200, 0.06), transparent 50%),
    linear-gradient(165deg, var(--bg-deep) 0%, var(--bg-mid) 45%, var(--bg-emerald) 100%);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Dragon scale texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='64' viewBox='0 0 56 64'%3E%3Cpath d='M28 0 L56 16 L56 48 L28 64 L0 48 L0 16 Z' fill='none' stroke='%2300ff88' stroke-width='1.2'/%3E%3C/svg%3E");
  background-size: 56px 64px;
}

a {
  color: var(--neon);
  text-decoration: none;
  transition: color 0.25s ease, text-shadow 0.25s ease;
}

a:hover {
  color: var(--turquoise);
  text-shadow: 0 0 12px rgba(0, 229, 200, 0.5);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.wrap {
  position: relative;
  z-index: 1;
  width: min(1120px, 92%);
  margin-inline: auto;
}

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(2, 6, 5, 0.72);
  border-bottom: 1px solid rgba(0, 255, 136, 0.2);
  box-shadow: 0 0 40px rgba(0, 255, 136, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  color: var(--text);
  text-decoration: none;
}

.brand:hover {
  color: var(--text);
  text-shadow: none;
}

.brand img {
  width: auto;
  height: 48px;
  max-width: min(220px, 48vw);
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(0, 255, 136, 0.45));
}

.header-cta {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* ——— 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.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
  color: #021008;
  text-shadow: none;
}

.btn-primary {
  color: #021008;
  background: linear-gradient(135deg, #0a1f14 0%, #00ff88 55%, #00e5c8 100%);
  box-shadow:
    0 0 20px rgba(0, 255, 136, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-primary:hover {
  box-shadow:
    0 0 32px rgba(0, 255, 136, 0.7),
    0 8px 24px rgba(0, 0, 0, 0.35);
  color: #021008;
}

.btn-ghost {
  color: var(--neon);
  background: rgba(0, 255, 136, 0.06);
  border-color: rgba(0, 255, 136, 0.45);
  box-shadow: 0 0 16px rgba(0, 255, 136, 0.15);
}

.btn-ghost:hover {
  color: var(--neon-hot);
  background: rgba(0, 255, 136, 0.14);
  box-shadow: 0 0 28px rgba(0, 255, 136, 0.35);
}

.btn-lg {
  font-size: 0.8rem;
  padding: 1.05rem 1.9rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

/* ——— Hero ——— */
.hero {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 5vw, 3.5rem);
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.hero-visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow:
    0 0 40px rgba(0, 255, 136, 0.18),
    inset 0 0 60px rgba(0, 255, 136, 0.05);
  animation: floatGlow 6s ease-in-out infinite;
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(2, 6, 5, 0.65) 100%);
  pointer-events: none;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.15;
  margin-bottom: 0.85rem;
  background: linear-gradient(105deg, #fff 10%, var(--neon) 50%, var(--turquoise) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 18px rgba(0, 255, 136, 0.55));
  animation: titlePulse 4s ease-in-out infinite;
}

.hero h1,
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 3vw, 1.55rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.35;
  color: var(--text);
  margin-bottom: 1rem;
  text-shadow: 0 0 24px rgba(0, 255, 136, 0.25);
}

.hero-lead,
.page-hero .lead {
  color: var(--text-muted);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  max-width: 36rem;
}

.page-hero {
  padding: clamp(2rem, 5vw, 3.25rem) 0 1.5rem;
  text-align: center;
}

.page-hero .hero-brand {
  margin-bottom: 0.5rem;
}

.page-hero .lead {
  margin-inline: auto;
}

/* ——— Sections ——— */
.section {
  padding: clamp(2rem, 4vw, 3.25rem) 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.8vw, 1.45rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  color: var(--neon);
  text-shadow: 0 0 20px rgba(0, 255, 136, 0.4);
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.section-title::before {
  content: '';
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300ff88' stroke-width='1.8'%3E%3Cpath d='M4 14c4-8 12-8 16 0-4 2-6 6-8 8-2-2-4-6-8-8z'/%3E%3C/svg%3E") center / contain no-repeat;
  filter: drop-shadow(0 0 6px rgba(0, 255, 136, 0.7));
}

.section p + p {
  margin-top: 0.9rem;
}

.section ul {
  list-style: none;
  margin: 1rem 0;
  display: grid;
  gap: 0.55rem;
}

.section ul li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--text-muted);
}

.section ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--neon);
  box-shadow: 0 0 8px var(--neon);
  transform: rotate(45deg);
}

/* ——— Glass cards ——— */
.glass {
  background: var(--glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow:
    0 0 0 1px rgba(0, 229, 200, 0.08),
    0 12px 40px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(0, 255, 136, 0.12);
  padding: clamp(1.25rem, 3vw, 1.85rem);
}

.glass + .glass {
  margin-top: 1.25rem;
}

.glass-panel {
  margin-top: 1.5rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.feature-item {
  padding: 1.15rem 1.25rem;
  background: rgba(0, 30, 20, 0.45);
  border: 1px solid rgba(0, 255, 136, 0.22);
  border-radius: 14px;
  box-shadow: inset 0 0 24px rgba(0, 255, 136, 0.04);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.feature-item:hover {
  border-color: rgba(0, 255, 136, 0.55);
  box-shadow: 0 0 24px rgba(0, 255, 136, 0.15);
  transform: translateY(-3px);
}

.feature-item p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ——— Tables ——— */
.table-wrap {
  overflow-x: auto;
  margin: 1.25rem 0;
  border-radius: 14px;
  border: 1px solid rgba(0, 255, 136, 0.28);
  background: rgba(0, 12, 8, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 0 30px rgba(0, 255, 136, 0.08);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.02rem;
  min-width: 480px;
}

th,
td {
  padding: 0.85rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid rgba(0, 255, 136, 0.12);
}

th {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--neon);
  background: rgba(0, 255, 136, 0.08);
  text-shadow: 0 0 10px rgba(0, 255, 136, 0.35);
}

td {
  color: var(--text-muted);
}

tr:last-child td {
  border-bottom: none;
}

tr:hover td {
  background: rgba(0, 255, 136, 0.04);
  color: var(--text);
}

.code-pill {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  color: #021008;
  background: linear-gradient(135deg, var(--neon), var(--turquoise));
  box-shadow: 0 0 12px rgba(0, 255, 136, 0.4);
}

.highlight-line {
  margin: 1.25rem 0;
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--neon);
  background: rgba(0, 255, 136, 0.07);
  border-radius: 0 12px 12px 0;
  color: var(--text);
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.1);
}

/* ——— FAQ ——— */
.faq-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.25rem;
}

.faq-item {
  background: rgba(0, 18, 12, 0.55);
  border: 1px solid rgba(0, 255, 136, 0.25);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(0, 229, 200, 0.5);
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.12);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.05rem 1.25rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
  position: relative;
  padding-right: 2.5rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 1.15rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--neon);
  font-size: 1.25rem;
  text-shadow: 0 0 10px var(--neon);
}

.faq-item[open] summary::after {
  content: '–';
}

.faq-item p {
  padding: 0 1.25rem 1.15rem;
  color: var(--text-muted);
}

/* ——— Banner blocks ——— */
.content-banner {
  margin: 1.5rem 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: 0 0 36px rgba(0, 255, 136, 0.15);
}

.content-banner img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
}

/* ——— Footer ——— */
.site-footer {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding: 2.5rem 0 2rem;
  border-top: 1px solid rgba(0, 255, 136, 0.2);
  background: rgba(0, 8, 5, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.footer-brand {
  display: inline-block;
  margin-bottom: 1.25rem;
  text-decoration: none;
}

.footer-brand:hover {
  text-shadow: none;
}

.footer-brand img {
  width: auto;
  height: 42px;
  max-width: 200px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(0, 255, 136, 0.4));
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-nav a {
  font-size: 1rem;
  color: var(--text-muted);
}

.footer-nav a:hover {
  color: var(--neon);
}

.footer-cta {
  margin-bottom: 1.5rem;
}

.footer-copy {
  font-size: 0.95rem;
  color: var(--text-muted);
  opacity: 0.75;
}

.age-note {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ——— Animations ——— */
@keyframes titlePulse {
  0%, 100% { filter: drop-shadow(0 0 14px rgba(0, 255, 136, 0.45)); }
  50% { filter: drop-shadow(0 0 28px rgba(0, 255, 136, 0.75)); }
}

@keyframes floatGlow {
  0%, 100% { box-shadow: 0 0 30px rgba(0, 255, 136, 0.15), inset 0 0 40px rgba(0, 255, 136, 0.04); }
  50% { box-shadow: 0 0 50px rgba(0, 255, 136, 0.3), inset 0 0 50px rgba(0, 229, 200, 0.08); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-copy,
.page-hero,
.section .glass,
.section .table-wrap,
.faq-list {
  animation: fadeUp 0.7s ease both;
}

.hero-copy { animation-delay: 0.05s; }
.hero-visual { animation: fadeUp 0.8s ease 0.15s both, floatGlow 6s ease-in-out 1s infinite; }

/* ——— Inner page tweaks ——— */
.inner-main {
  padding-bottom: 2rem;
}

.steps-list {
  counter-reset: step;
  list-style: none;
  display: grid;
  gap: 0.75rem;
  margin: 1.25rem 0;
}

.steps-list li {
  counter-increment: step;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1rem 1.15rem;
  background: rgba(0, 20, 14, 0.5);
  border: 1px solid rgba(0, 255, 136, 0.2);
  border-radius: 12px;
  color: var(--text-muted);
  padding-left: 1.15rem;
}

.steps-list li::before {
  content: counter(step);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: #021008;
  background: linear-gradient(135deg, var(--neon), var(--turquoise));
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 14px rgba(0, 255, 136, 0.45);
  transform: none;
}

/* ——— Responsive ——— */
@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
    max-width: 520px;
    margin-inline: auto;
  }

  .header-cta .btn-ghost {
    display: none;
  }

  .btn {
    padding: 0.75rem 1.1rem;
    font-size: 0.65rem;
  }
}

@media (max-width: 520px) {
  :root {
    --header-h: 64px;
  }

  .brand img {
    height: 38px;
  }

  th, td {
    padding: 0.7rem 0.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
