/* ======= Base ======= */
:root {
  --bg-0: #0a0f1f;
  --bg-1: #0f1528;
  --card: rgba(18, 23, 42, 0.7);
  --text: #e8ecf3;
  --muted: #a6b0c3;
  --border: rgba(255,255,255,0.08);
  --accent-1: #00e0ff;
  --accent-2: #00ffa3;
  --accent-3: #ffc14d;
  --shadow: 0 20px 40px rgba(0,0,0,0.45);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--bg-1); /* flat base; unified background handled by .casino-bg */
  color: var(--text);
  font: 500 16px/1.6 ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.vortex-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Animated ambient background */
.vortex-bg {
  position: fixed; inset: -60px; pointer-events: none; z-index: -1;
  background:
    radial-gradient(900px 500px at 20% 10%, rgba(0,224,255,0.12), transparent 60%),
    radial-gradient(900px 500px at 80% 20%, rgba(0,255,163,0.12), transparent 60%),
    linear-gradient(180deg, var(--bg-0), var(--bg-1));
  filter: blur(20px) saturate(120%);
  animation: floatGlow 12s ease-in-out infinite alternate;
}
@keyframes floatGlow {
  from { transform: translateY(0px); opacity: 0.9; }
  to   { transform: translateY(12px); opacity: 1; }
}

/* ======= Nav ======= */
.vortex-nav {
  position: sticky; top: 12px; z-index: 50; margin: 0 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.04));
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 16px;
}
.vortex-nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; }
.vortex-brand { display: inline-flex; gap: 6px; align-items: baseline; text-decoration: none; color: var(--text); font-weight: 800; letter-spacing: 0.4px; }
.vortex-brand .vortex-brand-mark { background: linear-gradient(90deg, var(--accent-1), var(--accent-2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.vortex-nav-links { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }
.vortex-nav-links a { color: var(--muted); text-decoration: none; font-weight: 600; }
.vortex-nav-links a:hover { color: var(--text); }
.vortex-nav-toggle { display: none; border: 0; background: none; color: var(--text); font-size: 22px; cursor: pointer; }
.vortex-mobile-menu { display: none; padding: 8px 16px 16px; }
.vortex-mobile-menu ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.vortex-mobile-menu a { color: var(--text); text-decoration: none; }

.vortex-hero { padding: 120px 0 64px; position: relative; }
.vortex-hero-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.vortex-hero-title { font-size: clamp(32px, 5vw, 56px); line-height: 1.05; margin: 0 0 16px; }
.vortex-hero-title .vortex-accent { background: linear-gradient(90deg, var(--accent-1), var(--accent-2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.vortex-hero-sub { color: var(--muted); margin: 0 0 18px; }
.vortex-cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.vortex-trust-row { display: flex; gap: 20px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.vortex-trust-item { display: inline-flex; gap: 8px; align-items: center; padding: 8px 12px; border: 1px solid var(--border); border-radius: 999px; background: rgba(255,255,255,0.03); }
.vortex-trust-item .vortex-i { width: 16px; height: 16px; }

.vortex-hero-art { position: relative; height: 360px; }
.vortex-hero-art .vortex-glow { position: absolute; inset: 20% 10% 10% 10%; background: radial-gradient(50% 60% at 50% 50%, rgba(0,255,163,0.25), rgba(0,224,255,0.25) 60%, transparent 70%); filter: blur(30px); border-radius: 24px; animation: floatGlow 10s ease-in-out infinite alternate; }
.vortex-hero-art .vortex-chip { position: absolute; right: 0%; top: 30%; width: 160px; height: 160px; background: url('/img/chip.png') center/contain no-repeat; border-radius: 50%; box-shadow: none; transform: rotate(8deg); animation: bob 6s ease-in-out infinite; z-index: 2; }
.vortex-hero-art .vortex-stack { position: absolute; left: 15%; bottom: 0%; width: 350px; height: 220px; background: url('/img/card.png') center/contain no-repeat; border: 0; border-radius: 14px; transform: rotate(-6deg); box-shadow: none; animation: bob 7s ease-in-out infinite reverse; }
@keyframes bob { 0% { transform: translateY(0) rotate(var(--r,6deg)); } 50% { transform: translateY(-8px) rotate(calc(var(--r,6deg) + 2deg)); } 100% { transform: translateY(0) rotate(var(--r,6deg)); } }

/* ======= Sections ======= */
.vortex-section { padding: 64px 0; }
.vortex-section.alt { background: transparent; }
.vortex-section-head { text-align: center; margin-bottom: 28px; }
.vortex-section-head h2 { margin: 0 0 8px; font-size: clamp(24px, 3.2vw, 36px); }
.vortex-section-head p { margin: 0; color: var(--muted); }

/* ======= Cards (Rankings) ======= */
.vortex-cards { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.vortex-casino-card { grid-column: span 12; display: grid; grid-template-columns: 320px 1fr; gap: 20px; align-items: stretch; background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.04)); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.vortex-casino-card:hover { transform: translateY(-3px); border-color: rgba(0,255,163,0.25); box-shadow: 0 24px 50px rgba(0,0,0,0.55); }

.vortex-card-media { position: relative; }
.vortex-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vortex-card-media .vortex-badge { position: absolute; left: 12px; top: 12px; padding: 6px 10px; font-weight: 800; font-size: 14px; color: #021216; background: linear-gradient(90deg, var(--accent-2), var(--accent-1)); border-radius: 999px; }

.vortex-card-body { padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.vortex-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.vortex-card-title { margin: 0; font-size: 22px; }
.vortex-rating { display: inline-flex; align-items: center; gap: 6px; color: #7a88a6; }
.vortex-rating .vortex-star { color: #3a4357; letter-spacing: -2px; font-size: 18px; }
.vortex-rating .vortex-star.full { color: var(--accent-3); text-shadow: 0 1px 0 rgba(0,0,0,0.2); }
.vortex-rating .vortex-star.half { background: linear-gradient(90deg, var(--accent-3) 50%, #3a4357 50%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; text-shadow: 0 1px 0 rgba(0,0,0,0.2); }
.vortex-rating .vortex-score { color: var(--muted); font-weight: 700; margin-left: 4px; }

.vortex-pill-list { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.vortex-pill-list li { padding: 6px 10px; font-size: 13px; color: var(--text); border: 1px dashed rgba(255,255,255,0.15); border-radius: 999px; background: rgba(255,255,255,0.03); }

.vortex-card-cta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: space-between; }
.vortex-card-cta .vortex-bonus { color: var(--muted); }

/* Buttons */
.vortex-btn { --_bg: rgba(255,255,255,0.06); --_b: var(--border); display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--_b); background: var(--_bg); color: var(--text); text-decoration: none; font-weight: 800; letter-spacing: .2px; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease; }
.vortex-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(0,0,0,0.35); }
.vortex-btn-primary { --_bg: linear-gradient(90deg, rgba(0,255,163,0.22), rgba(0,224,255,0.22)); --_b: rgba(0,224,255,0.35); position: relative; overflow: hidden; }
.vortex-btn-primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent, rgba(255,255,255,0.15), transparent); transform: translateX(-120%); animation: shimmer 2.6s linear infinite; }
@keyframes shimmer { 0% { transform: translateX(-120%);} 100% { transform: translateX(120%);} }
.vortex-btn-outline { --_bg: transparent; --_b: rgba(255,255,255,0.25); }
.vortex-btn-ghost { --_bg: rgba(255,255,255,0.03); --_b: rgba(255,255,255,0.12); height: 36px; }
.vortex-btn-sm { height: 34px; padding: 0 12px; font-weight: 700; }

/* Details (collapsible) */
.vortex-details { display: none; border-top: 1px solid var(--border); padding-top: 14px; }
.vortex-details.active { display: block; }
.vortex-details-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 10px; }
.vortex-details-grid .vortex-k { color: var(--muted); display: block; font-size: 12px; }
.vortex-details-grid .vortex-v { font-weight: 700; }
.vortex-why { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.vortex-why li { color: var(--muted); }

/* ======= Bonus Table ======= */
.vortex-bonus-table { display: grid; gap: 8px; }
.vortex-bonus-table .vortex-row { display: grid; grid-template-columns: 2fr 2fr 1fr 1fr auto; gap: 12px; align-items: center; background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.03)); border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; }
.vortex-bonus-table .vortex-row.head { background: transparent; border-color: rgba(255,255,255,0.08); color: var(--muted); font-weight: 700; }
.vortex-bonus-table .vortex-c-name { font-weight: 800; }

/* ======= Review Cards ======= */
.vortex-review-cards { display: grid; grid-template-columns: repeat(12, 1fr); gap: 28px; position: relative; overflow: visible; }
.vortex-review-card { grid-column: span 12; display: grid; grid-template-columns: 320px 1fr; grid-template-areas: 'media body' 'bonus bonus'; gap: 18px 22px; align-items: stretch; background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.04)); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); position: relative; z-index: 1; }
.vortex-review-card:nth-child(odd) { border-color: rgba(0,255,163,0.25); box-shadow: 0 28px 64px rgba(0,0,0,0.55); }
.vortex-review-card:nth-child(odd)::before { content: ""; position: absolute; left: 50%; transform: translateX(-50%); top: -18px; bottom: -18px; width: 100vw; background: linear-gradient(180deg, rgba(6,10,24,0.55), rgba(6,10,24,0.40)); border-top: 1px solid rgba(255,255,255,0.04); border-bottom: 1px solid rgba(0,0,0,0.35); z-index: -1; pointer-events: none; }
.vortex-review-media { position: relative; grid-area: media; padding: 16px 12px 0 12px; box-sizing: border-box; border-radius: 16px; overflow: visible; display: flex; flex-direction: column; gap: 6px; justify-content: center; align-items: flex-start; height: 100%; }
.vortex-review-media .vortex-rating { position: absolute; right: 12px; top: 0px; padding: 0; font-weight: 800; font-size: 18px; color: var(--text); background: transparent; border-radius: 0; box-shadow: none; }
.vortex-review-bonus { grid-area: bonus; padding: 0; background: linear-gradient(90deg, rgba(0,255,163,0.15), rgba(0,224,255,0.15)); border-bottom: 1px solid var(--border); position: relative; overflow: hidden; }
.vortex-review-bonus::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent, rgba(255,255,255,0.18), transparent); transform: translateX(-120%); animation: shimmer 3s linear infinite; }
.vortex-bonus-cta { display: flex; flex-direction: row; align-items: center; justify-content: center; width: 100%; height: 100%; padding: 16px; gap: 12px; text-decoration: none; color: var(--text); font-weight: 900; letter-spacing: .2px; text-align: left; }
/* Left side: caption + full bonus line */
.vortex-bonus-left { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.vortex-bonus-caption { font-size: 12px; color: var(--muted); font-weight: 700; letter-spacing: .4px; text-transform: uppercase; }
.vortex-bonus-line { display: inline-flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.vortex-bonus-percent { color: var(--text); font-weight: 800; font-size: 28px; line-height: 1.1; }
.vortex-bonus-rest { color: #fff; font-weight: 700; font-size: 28px; line-height: 1.1; }
/* CTA button on right */
.vortex-bonus-value { display: inline-flex; align-items: center; justify-content: center; min-width: 170px; font-size: clamp(16px, 2.4vw, 22px); padding: 12px 40px; background: linear-gradient(90deg, #ff8a00, #ff3d00); color: #ffffff; border-radius: 999px; box-shadow: 0 10px 24px rgba(255,125,0,0.35); animation: pulseGlowOrange 2.8s ease-in-out infinite; border-bottom: solid 3px #fff; }
@keyframes pulseGlowOrange { 0% { box-shadow: 0 0 0 rgba(255,125,0,0.0); } 50% { box-shadow: 0 10px 24px rgba(255,125,0,0.35); } 100% { box-shadow: 0 0 0 rgba(255,125,0,0.0); } }
@keyframes pulseGlow { 0% { box-shadow: 0 0 0 rgba(0,224,255,0.0); } 50% { box-shadow: 0 0 24px rgba(0,224,255,0.35); } 100% { box-shadow: 0 0 0 rgba(0,224,255,0.0); } }
.vortex-review-media img { display: block; width: 100%; height: auto; object-fit: contain; border-radius: 16px; }
.vortex-review-media .vortex-badge { position: absolute; left: 12px; top: 12px; padding: 6px 10px; font-weight: 800; font-size: 14px; color: #021216; background: linear-gradient(90deg, var(--accent-2), var(--accent-1)); border-radius: 999px; }
.vortex-review-body { grid-area: body; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.vortex-review-bonus.inline { border-bottom: 0; border-top: 1px solid var(--border); }
.vortex-review-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.vortex-title-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.vortex-features { list-style: none; margin: 0; padding: 0; display: inline-flex; flex-wrap: wrap; gap: 6px; }
.vortex-pros { list-style: none; margin: 4px 0 0; padding: 0; display: inline-flex; align-items: center; gap: 12px; flex-wrap: nowrap; white-space: nowrap; }
.vortex-pros li { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-weight: 800; }
.vortex-pros li::before { content: "✓"; color: #22c55e; font-weight: 900; }
.vortex-feature-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; border: 1px dashed rgba(255,255,255,0.18); color: var(--muted); background: rgba(255,255,255,0.03); font-size: 13px; }
.vortex-feature-pill::before { content: none; }
.vortex-media-features { margin-top: 6px; }
.vortex-payments { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); background: transparent; border: 0; padding: 0; border-radius: 0; }
.vortex-payments .vortex-pay-icon { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 24px; border-radius: 6px; background: #eee; border: 1px solid #ddd; overflow: hidden; }
.vortex-payments .vortex-pay-icon svg { width: 30px; height: 20px; }
.vortex-payments-more { font-size: 13px; color: var(--muted); }
.vortex-review-title { margin: 0; font-size: 26px; }
.vortex-review-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.vortex-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; border: 1px dashed rgba(255,255,255,0.18); color: var(--muted); background: rgba(255,255,255,0.03); font-size: 13px; }
.vortex-review-text { position: relative; color: var(--muted); max-height: 160px; overflow: hidden; }
.vortex-review-text::after { content: ""; position: absolute; inset: auto 0 0 0; height: 64px; background: linear-gradient(180deg, rgba(10,15,31,0), rgba(10,15,31,0.85)); pointer-events: none; }
.vortex-review-text.expanded { max-height: none; }
.vortex-review-text.expanded::after { display: none; }
.vortex-review-cta { display: flex; gap: 10px; margin-top: 4px; }

/* ======= Guide ======= */
.vortex-guide-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.vortex-guide-card { padding: 16px; background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.03)); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow); }
.vortex-guide-card h3 { margin: 0 0 8px; }
.vortex-guide-card p { margin: 0; color: var(--muted); }

/* ======= FAQ ======= */
.vortex-faq { display: grid; gap: 10px; max-width: 900px; margin: 0 auto; }
.vortex-faq-item { background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.03)); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.vortex-faq-toggle { width: 100%; text-align: left; background: none; border: 0; color: var(--text); font-weight: 800; padding: 14px 16px; cursor: pointer; }
.vortex-faq-answer { display: none; padding: 0 16px 16px; color: var(--muted); }
.vortex-faq-answer.active, .vortex-faq-item.open .vortex-faq-answer { display: block; }

/* ======= Footer ======= */
.vortex-footer { padding: 28px 0; border-top: 1px solid var(--border); background: transparent; margin-top: 32px; }
.vortex-foot-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.vortex-foot-brand { font-weight: 900; letter-spacing: .4px; background: linear-gradient(90deg, var(--accent-1), var(--accent-2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.vortex-foot-copy { color: var(--muted); font-size: 14px; }

/* ======= Reveal on scroll ======= */
.vortex-reveal { opacity: 0; transform: translateY(12px); will-change: transform, opacity; }
.vortex-reveal.vortex-visible { opacity: 1; transform: translateY(0); transition: opacity .6s ease, transform .6s ease; }

/* ======= Responsive ======= */
@media (max-width: 1080px) {
  .vortex-hero-inner { grid-template-columns: 1fr; }
  .vortex-hero-art { order: -1; height: 300px; }
  .vortex-casino-card { grid-template-columns: 1fr; }
  .vortex-details-grid { grid-template-columns: repeat(2, 1fr); }
  .vortex-guide-grid { grid-template-columns: repeat(2, 1fr); }
  .vortex-review-card { grid-template-columns: 1fr; }
  .vortex-review-card { grid-template-areas: 'media' 'body' 'bonus'; }
  .vortex-hero-art .vortex-chip { width: 180px; height: 180px; right: 18%; top: 18%; }
  .vortex-hero-art .vortex-stack { width: 320px; height: 200px; left: 10%; bottom: 6%; }
}
@media (max-width: 720px) {
  .vortex-nav-links { display: none; }
  .vortex-nav-toggle { display: inline-flex; }
  .vortex-nav { margin: 0 8px; }
  .vortex-hero { padding-top: 0px; }
  .vortex-cards { grid-template-columns: 1fr; }
  .vortex-bonus-table .vortex-row { grid-template-columns: 1.4fr 1.6fr 1fr; }
  .vortex-bonus-table .vortex-row > :nth-child(4) { display: none; }
  .vortex-review-text { max-height: 220px; }
  .vortex-payments { gap: 8px; }
  .vortex-features { gap: 6px; }
  /* Ensure bonus percent remains visible on mobile */
  .vortex-bonus-percent { display: inline; }
  .vortex-hero-art { height: 260px; }
  .vortex-hero-art .vortex-chip { width: 120px; height: 120px; right: 16%; top: 16%; }
  .vortex-hero-art .vortex-stack { width: 240px; height: 150px; left: 8%; bottom: 8%; }
}
