/* ==========================================================================
   PANDA CASINO BLOG — main stylesheet
   ========================================================================== */

:root {
  --bg: #0a0d16;
  --bg-alt: #0f1424;
  --bg-soft: #131a2c;
  --card: #161e33;
  --card-hover: #1c2540;
  --border: #232c47;
  --green: #3ddc84;
  --green-dark: #23a866;
  --gold: #ffc94d;
  --gold-dark: #e0a52c;
  --red: #ff4d6d;
  --text: #eef1f8;
  --text-muted: #97a1bd;
  --text-dim: #6b7593;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --container: 1180px;
  --font-display: "Baloo 2", "Manrope", sans-serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 40% at 15% 0%, rgba(61, 220, 132, 0.14), transparent 60%),
    radial-gradient(50% 35% at 90% 10%, rgba(255, 201, 77, 0.12), transparent 60%),
    radial-gradient(60% 50% at 50% 100%, rgba(61, 220, 132, 0.08), transparent 60%),
    var(--bg);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 0.6em;
  color: #fff;
}

h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 1em;
  color: var(--text-muted);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 64px 0;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
}

.section-head .eyebrow {
  display: inline-block;
  color: var(--green);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  margin-bottom: 10px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(61, 220, 132, 0.12);
  border: 1px solid rgba(61, 220, 132, 0.35);
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
}

/* ---------------- Buttons ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: #06180f;
  box-shadow: 0 8px 22px rgba(61, 220, 132, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 12px 28px rgba(61, 220, 132, 0.5);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #251902;
  box-shadow: 0 8px 22px rgba(255, 201, 77, 0.35);
}

.btn-gold:hover {
  box-shadow: 0 12px 28px rgba(255, 201, 77, 0.5);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--green);
  color: var(--green);
}

.btn-block {
  width: 100%;
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.85rem;
}

/* ---------------- Header ---------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 13, 22, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: #fff;
  margin-right: 8px;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(61, 220, 132, 0.35));
}

.brand span.hl {
  color: var(--green);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.main-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--text-muted);
  transition: background 0.15s ease, color 0.15s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: #fff;
  background: var(--card);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text);
}

/* ---------------- Hero ---------------- */

.hero {
  position: relative;
  padding: 70px 0 40px;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
  align-items: center;
}

.hero-copy .badge {
  margin-bottom: 18px;
}

.hero h1 {
  margin-bottom: 18px;
}

.hero-lead {
  font-size: 1.08rem;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 26px 0;
}

.hero-stats {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.hero-stats div strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold);
}

.hero-stats div span {
  font-size: 0.82rem;
  color: var(--text-dim);
}

.hero-media {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-media::before {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(61, 220, 132, 0.35), transparent 70%);
  filter: blur(10px);
  z-index: 0;
}

.hero-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 400px;
  animation: float 5s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-16px); }
}

.hero-coin {
  position: absolute;
  z-index: 2;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #241a02;
  font-family: var(--font-display);
  font-weight: 800;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.8rem;
  box-shadow: 0 8px 18px rgba(255, 201, 77, 0.4);
}

.hero-coin.c1 { top: 6%; left: 2%; animation: float 4s ease-in-out infinite; }
.hero-coin.c2 { bottom: 12%; right: 0%; animation: float 4.5s ease-in-out infinite reverse; }

/* ---------------- Trust strip ---------------- */

.trust-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  padding: 22px 0;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  justify-content: center;
  text-align: center;
}

.trust-item .ic {
  font-size: 1.3rem;
}

/* ---------------- Cards / Grids ---------------- */

.grid {
  display: grid;
  gap: 22px;
}

.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(61, 220, 132, 0.4);
  background: var(--card-hover);
}

.card .ic-badge {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: linear-gradient(135deg, rgba(61, 220, 132, 0.18), rgba(255, 201, 77, 0.18));
  margin-bottom: 16px;
}

/* Game card */

.game-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease;
  position: relative;
}

.game-card:hover {
  transform: translateY(-5px);
  border-color: rgba(61, 220, 132, 0.45);
}

.game-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(150deg, var(--bg-soft), var(--bg-alt));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.game-thumb img {
  width: 60%;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.45));
}

.game-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--red);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px;
  letter-spacing: 0.03em;
}

.game-tag.gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #241a02;
}

.game-tag.green {
  background: var(--green);
  color: #06180f;
}

.game-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.game-body h3 {
  margin: 0;
  font-size: 1.05rem;
}

.game-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-dim);
}

.game-meta b {
  color: var(--gold);
}

/* ---------------- Live wins feed ---------------- */

.wins-panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.wins-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
}

.wins-panel-head h3 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(61, 220, 132, 0.6);
  animation: pulse 1.6s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(61, 220, 132, 0); }
  100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); }
}

.wins-list {
  list-style: none;
  max-height: 380px;
  overflow: hidden;
}

.wins-list li {
  display: grid;
  grid-template-columns: 40px 1fr auto auto;
  align-items: center;
  gap: 12px;
  padding: 13px 22px;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  animation: winIn 0.5s ease;
}

@keyframes winIn {
  from { opacity: 0; transform: translateY(-10px); background: rgba(61, 220, 132, 0.12); }
  to { opacity: 1; transform: translateY(0); }
}

.wins-list .avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
}

.wins-list .who {
  font-weight: 700;
  color: #fff;
}

.wins-list .game {
  display: block;
  font-size: 0.78rem;
  color: var(--text-dim);
  font-weight: 400;
}

.wins-list .amount {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--green);
  white-space: nowrap;
}

.wins-list .time {
  font-size: 0.75rem;
  color: var(--text-dim);
  white-space: nowrap;
}

/* Floating toast notification */

#win-toast {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 999;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow);
  max-width: 310px;
  transform: translateY(140%);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.35s ease;
  pointer-events: none;
}

#win-toast.show {
  transform: translateY(0);
  opacity: 1;
}

#win-toast .toast-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-soft);
}

#win-toast .toast-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#win-toast .toast-text {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

#win-toast .toast-text b {
  color: #fff;
}

#win-toast .toast-text .toast-amount {
  color: var(--green);
  font-weight: 800;
}

#win-toast .toast-close {
  margin-left: auto;
  cursor: pointer;
  color: var(--text-dim);
  font-size: 1rem;
  pointer-events: all;
  padding: 2px 6px;
}

/* ---------------- Table (bonuses) ---------------- */

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

table.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  min-width: 620px;
}

table.data-table th,
table.data-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}

table.data-table th {
  background: var(--bg-soft);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

table.data-table tr:last-child td {
  border-bottom: none;
}

/* ---------------- Promo code box ---------------- */

.promo-box {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, rgba(61, 220, 132, 0.14), rgba(255, 201, 77, 0.1));
  border: 1.5px dashed var(--gold);
  border-radius: var(--radius);
  padding: 18px 22px;
  flex-wrap: wrap;
}

.promo-box .code {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--gold);
  background: rgba(0, 0, 0, 0.25);
  padding: 8px 16px;
  border-radius: 10px;
}

.promo-box .copy-msg {
  font-size: 0.8rem;
  color: var(--green);
  font-weight: 700;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.promo-box .copy-msg.show {
  opacity: 1;
}

/* ---------------- Steps ---------------- */

.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  position: relative;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #06180f;
  font-family: var(--font-display);
  font-weight: 800;
  margin-bottom: 14px;
}

/* ---------------- FAQ accordion ---------------- */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 4px 22px;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-weight: 700;
  font-family: var(--font-display);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--green);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p,
.faq-item ul {
  padding-bottom: 18px;
  margin: 0;
}

.faq-item ul {
  padding-left: 20px;
  list-style: disc;
  color: var(--text-muted);
}

/* ---------------- Article / SEO text ---------------- */

.article {
  max-width: 820px;
  margin: 0 auto;
}

.article h2 {
  margin-top: 1.6em;
}

.article h3 {
  margin-top: 1.3em;
  color: var(--gold);
}

.article ul,
.article ol {
  color: var(--text-muted);
  margin: 0 0 1.2em;
  padding-left: 22px;
}

.article li {
  margin-bottom: 8px;
}

.article ul { list-style: "🐼 "; }

.article strong {
  color: #fff;
}

.article table {
  width: 100%;
}

/* ---------------- Breadcrumbs ---------------- */

.breadcrumbs {
  font-size: 0.82rem;
  color: var(--text-dim);
  padding: 18px 0 0;
}

.breadcrumbs a {
  color: var(--text-dim);
}

.breadcrumbs a:hover {
  color: var(--green);
}

/* ---------------- Page hero (inner pages) ---------------- */

.page-hero {
  padding: 30px 0 20px;
  text-align: center;
}

.page-hero .badge {
  margin-bottom: 14px;
}

.page-hero p {
  max-width: 680px;
  margin: 0 auto;
}

/* ---------------- CTA banner ---------------- */

.cta-banner {
  background: linear-gradient(135deg, rgba(61, 220, 132, 0.16), rgba(255, 201, 77, 0.12));
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-banner h2 {
  margin: 0 0 8px;
}

.cta-banner p {
  margin: 0;
  max-width: 460px;
}

/* ---------------- Filters (slots page) ---------------- */

.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.filter-btn {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

.filter-btn:hover {
  border-color: var(--green);
  color: #fff;
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #06180f;
  border-color: transparent;
}

/* ---------------- Footer ---------------- */

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
  padding: 50px 0 24px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 30px;
  margin-bottom: 30px;
}

.footer-grid h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.footer-grid ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-grid a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-grid a:hover {
  color: var(--green);
}

.footer-brand p {
  font-size: 0.85rem;
  max-width: 320px;
}

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 2px solid var(--red);
  color: var(--red);
  border-radius: 50%;
  font-weight: 800;
  font-family: var(--font-display);
  margin-bottom: 14px;
}

.footer-disclaimer {
  border-top: 1px solid var(--border);
  padding-top: 22px;
  font-size: 0.78rem;
  color: var(--text-dim);
  line-height: 1.7;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ---------------- Utilities ---------------- */

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ---------------- Responsive ---------------- */

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-lead { margin: 0 auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-inner.nav-open .main-nav {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    padding: 10px 20px 18px;
  }
}

@media (max-width: 640px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-banner { flex-direction: column; text-align: center; }
  .wins-list li { grid-template-columns: 34px 1fr; row-gap: 4px; }
  .wins-list .amount, .wins-list .time { grid-column: 2; justify-self: start; }
}
