/* ==========================================================================
   Ninja878 Blackjack Practice — Stylesheet
   Situs demo hiburan (tanpa uang asli). Konten isi halaman = lorem ipsum.
   ========================================================================== */

:root {
  --felt-950: #04140c;
  --felt-900: #062a18;
  --felt-800: #0a3d22;
  --felt-700: #0f4f2c;
  --gold-500: #e9c25e;
  --gold-400: #f3d685;
  --gold-600: #c89a3a;
  --cream-100: #f7f2e7;
  --cream-200: #e9e1cd;
  --ink-700: #1b2420;
  --card-white: #fdfaf3;
  --red-suit: #c0392b;
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.45);
  --radius-lg: 18px;
  --radius-md: 12px;
  --max-width: 1160px;
  --font-head: "Cinzel", "Playfair Display", serif;
  --font-body: "Poppins", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: radial-gradient(circle at top, var(--felt-800) 0%, var(--felt-950) 65%);
  color: var(--cream-100);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--gold-400);
  border: 1px solid rgba(233, 194, 94, 0.4);
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(233, 194, 94, 0.08);
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--cream-100);
  line-height: 1.25;
  margin: 0.4em 0;
}

h1 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }

p {
  color: var(--cream-200);
  margin: 0.8em 0;
}

.lede {
  font-size: 1.1rem;
  color: var(--cream-200);
  max-width: 640px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  color: var(--ink-700);
  box-shadow: 0 10px 24px rgba(233, 194, 94, 0.3);
  /* padding: 5px 10px; */
}

.btn-glowing{
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  color: var(--ink-700);
    border-color: var(--ink-700);
  box-shadow: 0 10px 24px rgba(233, 194, 94, 0.3);
  animation: borderColor 1s linear infinite;
  /* padding: 5px 10px; */
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(233, 194, 94, 0.4);
}

.btn-outline {
  border-color: rgba(247, 242, 231, 0.35);
  color: var(--cream-100);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--gold-400);
  color: var(--gold-400);
}

.btn-block { width: 100%; justify-content: center; }

@keyframes borderColor {
  0% {
  background: linear-gradient(135deg, #fff, #fff);
  color: var(--gold-400);
    border-color: var(--ink-700);
  box-shadow: 0 1px 10px rgba(255, 255, 255, 1);
  }
  10% {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  color: var(--ink-700);
    border-color: var(--ink-700);
  box-shadow: 0 1px 10px rgba(255, 255, 255, 1);
  }
  20% {
  background: linear-gradient(135deg, #fff, #fff);
  }
  30% {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  }
  50% {
    border-color: rgb(255, 255, 255);
  box-shadow: 0 4px 10px rgba(167, 167, 167, 0.4);
  }
  100% {
    border-color: var(--ink-700);
  box-shadow: 0 4px 10px rgba(255, 255, 255, 0.4);
  }
}

/* ---------- Top notice bar ---------- */
.notice-bar {
  background: var(--felt-950);
  border-bottom: 1px solid rgba(233, 194, 94, 0.15);
  font-size: 0.8rem;
  text-align: center;
  padding: 8px 16px;
  color: var(--gold-400);
  letter-spacing: 0.02em;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 42, 24, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(233, 194, 94, 0.15);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--cream-100);
}

.brand-mark {
  width: 200px;
  height: 42px;
  /* border-radius: 50%; */
  display: block;
  flex-shrink: 0;
}

.brand small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  color: var(--gold-400);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 30px;
  font-size: 0.94rem;
  font-weight: 500;
}

.nav-links a {
  color: var(--cream-200);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--gold-400);
  border-color: var(--gold-400);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(233, 194, 94, 0.4);
  border-radius: 8px;
  width: 42px;
  height: 42px;
  color: var(--gold-400);
  font-size: 1.3rem;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 90px 0 70px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10%;
  background:
    radial-gradient(circle at 20% 20%, rgba(233, 194, 94, 0.12), transparent 40%),
    radial-gradient(circle at 80% 60%, rgba(15, 79, 44, 0.6), transparent 55%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-copy .eyebrow { margin-bottom: 18px; }

.hero-badges {
  display: flex;
  gap: 14px;
  margin: 26px 0;
  flex-wrap: wrap;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--cream-200);
  background: rgba(247, 242, 231, 0.06);
  border: 1px solid rgba(247, 242, 231, 0.12);
  padding: 8px 14px;
  border-radius: 999px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 30px;
}

/* Card table graphic (pure CSS/SVG, no external images) */
.hero-visual {
  position: relative;
  height: 380px;
}

.felt-oval {
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--felt-700), var(--felt-900) 75%);
  border: 6px solid var(--gold-600);
  box-shadow: var(--shadow-lg), inset 0 0 60px rgba(0,0,0,0.4);
}

.playing-card {
  position: absolute;
  width: 110px;
  height: 150px;
  background: var(--card-white);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 10px;
  font-family: var(--font-head);
  color: var(--ink-700);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.playing-card.red { color: var(--red-suit); }
.playing-card .corner { font-size: 1.3rem; font-weight: 700; }
.playing-card .corner.bottom { align-self: flex-end; transform: rotate(180deg); }
.playing-card .suit-big { font-size: 2.4rem; align-self: center; }

.card-a { top: 8%; left: 10%; transform: rotate(-14deg); }
.card-b { top: 18%; right: 6%; transform: rotate(10deg); }
.card-c { bottom: 6%; left: 34%; transform: rotate(-2deg); z-index: 2; }

.chip-stack {
  position: absolute;
  bottom: 12%;
  right: 18%;
  display: flex;
  flex-direction: column-reverse;
}

.chip {
  width: 54px;
  height: 14px;
  border-radius: 50%;
  margin-top: -8px;
  border: 2px dashed rgba(255,255,255,0.5);
  box-shadow: 0 3px 0 rgba(0,0,0,0.25);
}

.chip:nth-child(1) { background: var(--gold-500); }
.chip:nth-child(2) { background: var(--red-suit); }
.chip:nth-child(3) { background: var(--felt-700); border-color: var(--gold-400);}

/* ---------- Sections ---------- */
section {
  padding: 70px 0;
}

.section-head {
  max-width: 640px;
  margin: 0 auto 46px;
  text-align: center;
}

.section-head.left {
  margin: 0 0 40px;
  text-align: left;
}

.alt-bg {
  background: linear-gradient(180deg, rgba(4, 20, 12, 0.4), rgba(4, 20, 12, 0.9));
  border-top: 1px solid rgba(233, 194, 94, 0.1);
  border-bottom: 1px solid rgba(233, 194, 94, 0.1);
}

/* Feature / value grid */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.card-panel {
  background: rgba(247, 242, 231, 0.04);
  border: 1px solid rgba(233, 194, 94, 0.16);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.card-panel:hover {
  transform: translateY(-4px);
  border-color: rgba(233, 194, 94, 0.5);
}

.card-panel .icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(233, 194, 94, 0.12);
  color: var(--gold-400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

/* Steps (cara bermain) */
.steps {
  counter-reset: step;
  display: grid;
  gap: 20px;
}

.step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 20px;
  align-items: flex-start;
  padding: 22px;
  border-radius: var(--radius-md);
  background: rgba(247, 242, 231, 0.03);
  border: 1px solid rgba(233, 194, 94, 0.1);
}

.step-num {
  counter-increment: step;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  color: var(--ink-700);
  font-family: var(--font-head);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-num::before {
  content: counter(step);
}

/* Table (hand values / payout reference) */
.data-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(247, 242, 231, 0.03);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.data-table th,
.data-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid rgba(233, 194, 94, 0.12);
  color: var(--cream-200);
  font-size: 0.94rem;
}

.data-table th {
  font-family: var(--font-head);
  color: var(--gold-400);
  background: rgba(233, 194, 94, 0.06);
}

.data-table tr:last-child td { border-bottom: none; }

/* Testimonials */
.quote-card {
  background: rgba(247, 242, 231, 0.04);
  border: 1px solid rgba(233, 194, 94, 0.14);
  border-radius: var(--radius-lg);
  padding: 26px;
}

.quote-card .stars {
  color: var(--gold-400);
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.quote-person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.avatar-dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--felt-700), var(--gold-600));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--cream-100);
}

/* FAQ accordion */
.faq-item {
  border-bottom: 1px solid rgba(233, 194, 94, 0.14);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  color: var(--cream-100);
  font-family: var(--font-head);
  font-size: 1.05rem;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 20px;
}

.faq-question .plus {
  color: var(--gold-400);
  font-size: 1.4rem;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq-item.open .faq-question .plus { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.faq-item.open .faq-answer {
  max-height: 400px;
}

.faq-answer p { padding-bottom: 20px; margin: 0; }

/* CTA banner */
.cta-banner {
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(233, 194, 94, 0.16), rgba(15, 79, 44, 0.5));
  border: 1px solid rgba(233, 194, 94, 0.35);
  padding: 50px;
  text-align: center;
}

/* Legal / content pages */
.page-hero {
  padding: 60px 0 30px;
  border-bottom: 1px solid rgba(233, 194, 94, 0.12);
}

.breadcrumbs {
  font-size: 0.85rem;
  color: var(--cream-200);
  margin-bottom: 16px;
}

.breadcrumbs a { color: var(--gold-400); }
.breadcrumbs span { opacity: 0.6; margin: 0 6px; }

.prose {
  max-width: 780px;
}

.prose h2 {
  margin-top: 2em;
  font-size: 1.4rem;
}

.prose h3 {
  margin-top: 1.4em;
  color: var(--gold-400);
  font-size: 1.05rem;
}

.prose ul {
  list-style: disc;
  padding-left: 22px;
  color: var(--cream-200);
}

.prose li { margin: 8px 0; }

.updated-note {
  display: inline-block;
  font-size: 0.82rem;
  color: var(--gold-400);
  background: rgba(233, 194, 94, 0.1);
  border: 1px solid rgba(233, 194, 94, 0.3);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.callout {
  background: rgba(192, 57, 43, 0.12);
  border: 1px solid rgba(192, 57, 43, 0.4);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  margin: 24px 0;
}

.callout strong { color: var(--gold-400); }

/* Contact form */
.form-grid {
  display: grid;
  gap: 18px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

label {
  font-size: 0.85rem;
  color: var(--gold-400);
  margin-bottom: 6px;
  display: block;
}

input, textarea, select {
  width: 100%;
  background: rgba(247, 242, 231, 0.05);
  border: 1px solid rgba(233, 194, 94, 0.25);
  border-radius: var(--radius-md);
  padding: 13px 16px;
  color: var(--cream-100);
  font-family: var(--font-body);
  font-size: 0.94rem;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--gold-400);
}

/* Footer */
.site-footer {
  background: var(--felt-950);
  border-top: 1px solid rgba(233, 194, 94, 0.15);
  padding: 60px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  margin-bottom: 40px;
}

.footer-grid h4 {
  color: var(--gold-400);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-grid li { margin: 10px 0; }
.footer-grid a { color: var(--cream-200); font-size: 0.92rem; }
.footer-grid a:hover { color: var(--gold-400); }

.footer-disclaimer {
  font-size: 0.82rem;
  color: rgba(233, 194, 94, 0.75);
  background: rgba(233, 194, 94, 0.06);
  border: 1px solid rgba(233, 194, 94, 0.2);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 30px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 22px;
  border-top: 1px solid rgba(233, 194, 94, 0.1);
  font-size: 0.82rem;
  color: var(--cream-200);
}

.footer-bottom .legal-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

/* 404 page */
.not-found {
  text-align: center;
  padding: 120px 0;
}

.not-found .code {
  font-family: var(--font-head);
  font-size: 6rem;
  color: var(--gold-400);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { height: 300px; order: -1; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-header.nav-open .nav-links {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--felt-900);
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid rgba(233, 194, 94, 0.2);
  }
  .grid-4, .grid-3, .grid-2, .form-row-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 34px 22px; }
}
