/* ============================================================
 * okada play - theme-c30d.css
 * Mobile-first casino theme for okada-play.click.
 * Every selector uses the vd5c- prefix to keep specificity
 * clean and avoid collisions with third-party widgets.
 * Root font = 62.5% so 1rem = 10px. Max mobile width: 430px.
 * ------------------------------------------------------------
 * Palette: #212F3D dark / #FFF8DC cornsilk / #FFFACD chiffon
 *          #DAA520 goldenrod accent
 * ========================================================== */

:root {
  --vd5c-bg: #212F3D;
  --vd5c-bg-soft: #28384c;
  --vd5c-bg-card: #2c3e54;
  --vd5c-bg-elev: #34485f;
  --vd5c-text: #FFF8DC;
  --vd5c-text-soft: #FFFACD;
  --vd5c-text-muted: #cdd7e3;
  --vd5c-accent: #DAA520;
  --vd5c-accent-hover: #efc020;
  --vd5c-border: rgba(218, 165, 32, 0.32);
  --vd5c-border-soft: rgba(255, 248, 220, 0.12);
  --vd5c-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  --vd5c-radius: 14px;
  --vd5c-radius-sm: 10px;
  --vd5c-radius-lg: 22px;
}

* { box-sizing: border-box; }
html { font-size: 62.5%; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: radial-gradient(circle at top, #2a3b50 0%, var(--vd5c-bg) 55%);
  color: var(--vd5c-text);
  font-family: "Helvetica Neue", "Segoe UI", "Montserrat", system-ui, -apple-system, sans-serif;
  font-size: 1.5rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--vd5c-accent); text-decoration: none; }
h1, h2, h3, h4 { color: var(--vd5c-text-soft); margin: 0 0 0.6em; line-height: 1.3; }

/* ------ Layout primitives ------ */
.vd5c-wrapper {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.4rem;
}
.vd5c-container { width: 100%; }
.vd5c-section { padding: 3.2rem 0; }
.vd5c-section-head { margin-bottom: 1.8rem; }
.vd5c-section-head h2 {
  font-size: 2rem;
  letter-spacing: 0.4px;
  position: relative;
  padding-left: 1.2rem;
}
.vd5c-section-head h2::before {
  content: ""; position: absolute; left: 0; top: 6px;
  width: 4px; height: 80%; border-radius: 3px;
  background: linear-gradient(var(--vd5c-accent), var(--vd5c-accent-hover));
}
.vd5c-section-head p { color: var(--vd5c-text-muted); font-size: 1.35rem; margin: 0.4rem 0 0; }
.vd5c-eyebrow {
  display: inline-block; font-size: 1.1rem; letter-spacing: 1.6px;
  text-transform: uppercase; color: var(--vd5c-accent);
  padding: 0.3rem 0.8rem; border: 1px solid var(--vd5c-border);
  border-radius: 999px; margin-bottom: 0.8rem;
}

/* ------ Header ------ */
.vd5c-header {
  position: sticky; top: 0; z-index: 1000;
  background: linear-gradient(180deg, rgba(33,47,61,0.96), rgba(33,47,61,0.88));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--vd5c-border);
}
.vd5c-header-inner {
  max-width: 430px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.8rem 1.4rem; gap: 0.6rem;
}
.vd5c-logo { display: flex; align-items: center; gap: 0.6rem; }
.vd5c-logo-icon {
  width: 32px; height: 32px; border-radius: 9px;
  background: radial-gradient(circle at 30% 30%, var(--vd5c-accent-hover), var(--vd5c-accent));
  display: flex; align-items: center; justify-content: center;
  color: var(--vd5c-bg); font-weight: 800; font-size: 1.5rem;
  box-shadow: 0 3px 8px rgba(218,165,32,0.35);
}
.vd5c-logo-text { font-size: 1.55rem; font-weight: 800; letter-spacing: 0.3px; color: var(--vd5c-text); }
.vd5c-logo-text span { color: var(--vd5c-accent); }
.vd5c-header-actions { display: flex; align-items: center; gap: 0.5rem; }

/* ------ Buttons ------ */
.vd5c-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  min-height: 40px; padding: 0 1.2rem;
  border-radius: 999px; border: 1px solid transparent;
  font-size: 1.3rem; font-weight: 700; cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
  text-align: center; white-space: nowrap;
}
.vd5c-btn:active { transform: scale(0.96); }
.vd5c-btn-primary { background: linear-gradient(135deg, var(--vd5c-accent-hover), var(--vd5c-accent)); color: var(--vd5c-bg); box-shadow: 0 4px 14px rgba(218,165,32,0.35); }
.vd5c-btn-primary:hover { box-shadow: 0 6px 18px rgba(218,165,32,0.5); }
.vd5c-btn-outline { background: transparent; color: var(--vd5c-text-soft); border-color: var(--vd5c-border); }
.vd5c-btn-outline:hover { background: rgba(218,165,32,0.1); }
.vd5c-btn-block { width: 100%; }
.vd5c-btn-lg { min-height: 48px; font-size: 1.5rem; padding: 0 1.6rem; }

/* ------ Hamburger + mobile menu ------ */
.vd5c-menu-toggle {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--vd5c-bg-card); border: 1px solid var(--vd5c-border);
  color: var(--vd5c-text-soft); display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 1.7rem;
}
.vd5c-menu-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.55);
  z-index: 9998; opacity: 0; visibility: hidden;
  transition: opacity 0.25s ease;
}
.vd5c-overlay-show { opacity: 1; visibility: visible; }
.vd5c-mobile-menu {
  position: fixed; top: 0; right: -85%; bottom: 0;
  width: 80%; max-width: 320px; z-index: 9999;
  background: linear-gradient(180deg, #28384c, var(--vd5c-bg));
  border-left: 1px solid var(--vd5c-border);
  padding: 1.8rem 1.4rem; transform: translateX(0);
  transition: right 0.3s ease; overflow-y: auto;
}
.vd5c-menu-open { right: 0; }
.vd5c-menu-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.2rem; }
.vd5c-menu-close {
  width: 36px; height: 36px; border-radius: 8px; background: transparent;
  color: var(--vd5c-text-soft); border: 1px solid var(--vd5c-border); cursor: pointer;
}
.vd5c-menu-list { list-style: none; padding: 0; margin: 0; }
.vd5c-menu-list li { border-bottom: 1px solid var(--vd5c-border-soft); }
.vd5c-menu-link {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 1.2rem 0.4rem; color: var(--vd5c-text); font-size: 1.45rem; font-weight: 600;
}
.vd5c-menu-link i { color: var(--vd5c-accent); font-size: 1.5rem; }
.vd5c-menu-cta { margin-top: 1.4rem; display: flex; flex-direction: column; gap: 0.7rem; }

/* ------ Carousel ------ */
.vd5c-carousel {
  position: relative; border-radius: var(--vd5c-radius-lg);
  overflow: hidden; margin: 1.6rem 0 0;
  box-shadow: var(--vd5c-shadow);
}
.vd5c-carousel-viewport { overflow: hidden; }
.vd5c-carousel-track { display: flex; transition: transform 0.5s ease; }
.vd5c-carousel-slide {
  flex: 0 0 100%; position: relative; cursor: pointer;
}
.vd5c-carousel-slide img { width: 100%; height: 200px; object-fit: cover; }
.vd5c-carousel-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.6rem 1.4rem 1.4rem;
  background: linear-gradient(0deg, rgba(33,47,61,0.92), rgba(33,47,61,0));
}
.vd5c-carousel-caption h3 { font-size: 1.7rem; color: var(--vd5c-text); margin: 0 0 0.3rem; }
.vd5c-carousel-caption p { font-size: 1.2rem; color: var(--vd5c-text-soft); margin: 0; }
.vd5c-carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(33,47,61,0.7); border: 1px solid var(--vd5c-border);
  color: var(--vd5c-text-soft); cursor: pointer; font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
}
.vd5c-carousel-arrow-left { left: 8px; }
.vd5c-carousel-arrow-right { right: 8px; }
.vd5c-carousel-dots {
  position: absolute; left: 0; right: 0; bottom: 8px;
  display: flex; justify-content: center; gap: 6px;
}
.vd5c-carousel-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,248,220,0.5); cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}
.vd5c-dot-active { width: 20px; border-radius: 4px; background: var(--vd5c-accent); }

/* ------ Hero / H1 ------ */
.vd5c-hero { padding: 2rem 0 0.6rem; text-align: center; }
.vd5c-hero h1 {
  font-size: 2.4rem; margin-bottom: 0.6rem;
  background: linear-gradient(135deg, var(--vd5c-text-soft), var(--vd5c-accent));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.vd5c-hero p { color: var(--vd5c-text-muted); font-size: 1.35rem; margin: 0 0 1.2rem; }
.vd5c-hero-actions { display: flex; gap: 0.7rem; justify-content: center; flex-wrap: wrap; }

/* ------ Promo banner / inline CTA ------ */
.vd5c-promo {
  background: linear-gradient(135deg, rgba(218,165,32,0.18), rgba(218,165,32,0.05));
  border: 1px solid var(--vd5c-border);
  border-radius: var(--vd5c-radius);
  padding: 1.6rem; margin: 1.6rem 0 0;
}
.vd5c-promo strong { color: var(--vd5c-accent-hover); }
.vd5c-cta-strip {
  display: flex; flex-wrap: wrap; gap: 0.6rem;
  justify-content: center; padding: 1.8rem 0;
}

/* ------ Game grid ------ */
.vd5c-cat-section { margin-bottom: 2.4rem; }
.vd5c-cat-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1rem;
}
.vd5c-cat-head h2 { font-size: 1.7rem; margin: 0; display: flex; align-items: center; gap: 0.6rem; }
.vd5c-cat-head h2 i { color: var(--vd5c-accent); font-size: 1.6rem; }
.vd5c-cat-tag { font-size: 1.1rem; color: var(--vd5c-text-muted); }
.vd5c-game-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem;
}
.vd5c-game-card {
  background: var(--vd5c-bg-card);
  border: 1px solid var(--vd5c-border-soft);
  border-radius: var(--vd5c-radius-sm);
  padding: 0.5rem; text-align: center; cursor: pointer;
  transition: transform 0.15s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}
.vd5c-game-card:hover, .vd5c-game-card:focus {
  transform: translateY(-3px);
  border-color: var(--vd5c-accent);
  box-shadow: 0 8px 18px rgba(218,165,32,0.18);
}
.vd5c-game-image {
  width: 100%; aspect-ratio: 1 / 1; border-radius: 8px;
  background: #1c2a3a; margin-bottom: 0.4rem; object-fit: cover;
}
.vd5c-game-name {
  font-size: 1.1rem; color: var(--vd5c-text-soft); font-weight: 600;
  line-height: 1.25; min-height: 2.6em; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.vd5c-game-badge {
  display: inline-block; font-size: 0.95rem; padding: 0.1rem 0.5rem;
  border-radius: 999px; background: var(--vd5c-accent); color: var(--vd5c-bg);
  font-weight: 700; margin-top: 0.2rem;
}

/* ------ Feature / highlight cards ------ */
.vd5c-feature-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem;
}
.vd5c-feature-card {
  background: var(--vd5c-bg-card); border: 1px solid var(--vd5c-border-soft);
  border-radius: var(--vd5c-radius); padding: 1.3rem;
}
.vd5c-feature-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(218,165,32,0.15); color: var(--vd5c-accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem; margin-bottom: 0.6rem;
}
.vd5c-feature-card h3 { font-size: 1.4rem; margin: 0 0 0.3rem; }
.vd5c-feature-card p { font-size: 1.2rem; color: var(--vd5c-text-muted); margin: 0; }

/* ------ Testimonials ------ */
.vd5c-testi-grid { display: grid; grid-template-columns: 1fr; gap: 0.8rem; }
.vd5c-testi-card {
  background: var(--vd5c-bg-card); border-radius: var(--vd5c-radius);
  border: 1px solid var(--vd5c-border-soft); padding: 1.3rem;
}
.vd5c-testi-stars { color: var(--vd5c-accent); font-size: 1.2rem; margin-bottom: 0.4rem; }
.vd5c-testi-card p { font-size: 1.25rem; margin: 0 0 0.6rem; color: var(--vd5c-text-soft); }
.vd5c-testi-author { font-size: 1.1rem; color: var(--vd5c-text-muted); }

/* ------ Payment ------ */
.vd5c-payment-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6rem;
}
.vd5c-payment-item {
  background: var(--vd5c-bg-card); border-radius: var(--vd5c-radius-sm);
  border: 1px solid var(--vd5c-border-soft);
  padding: 0.8rem 0.4rem; text-align: center;
  font-size: 1rem; color: var(--vd5c-text-soft);
}
.vd5c-payment-item i { font-size: 1.6rem; color: var(--vd5c-accent); display: block; margin-bottom: 0.2rem; }

/* ------ Winners strip ------ */
.vd5c-winner-list { display: flex; flex-direction: column; gap: 0.5rem; }
.vd5c-winner-row {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--vd5c-bg-card); border: 1px solid var(--vd5c-border-soft);
  padding: 0.8rem 1rem; border-radius: var(--vd5c-radius-sm);
}
.vd5c-winner-name { font-weight: 700; color: var(--vd5c-text); font-size: 1.25rem; }
.vd5c-winner-game { color: var(--vd5c-text-muted); font-size: 1.1rem; }
.vd5c-winner-amount { color: var(--vd5c-accent); font-weight: 800; font-size: 1.3rem; }

/* ------ FAQ ------ */
.vd5c-faq-item {
  background: var(--vd5c-bg-card); border: 1px solid var(--vd5c-border-soft);
  border-radius: var(--vd5c-radius-sm); margin-bottom: 0.7rem; overflow: hidden;
}
.vd5c-faq-head {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 1.2rem; background: transparent; border: none; cursor: pointer;
  color: var(--vd5c-text-soft); font-size: 1.35rem; font-weight: 700; text-align: left;
}
.vd5c-faq-icon { color: var(--vd5c-accent); transition: transform 0.25s ease; }
.vd5c-faq-icon-open { transform: rotate(45deg); }
.vd5c-faq-body {
  max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1.2rem; color: var(--vd5c-text-muted); font-size: 1.22rem;
}
.vd5c-faq-open .vd5c-faq-body { max-height: 360px; padding: 0 1.2rem 1.2rem; }

/* ------ Footer ------ */
.vd5c-footer {
  background: linear-gradient(180deg, var(--vd5c-bg-soft), #1a2533);
  border-top: 1px solid var(--vd5c-border);
  padding: 2.4rem 0 1.6rem; margin-top: 2rem;
}
.vd5c-footer-promo {
  display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center;
  margin-bottom: 1.4rem;
}
.vd5c-footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.vd5c-footer-col h4 { color: var(--vd5c-accent); font-size: 1.25rem; margin: 0 0 0.5rem; }
.vd5c-footer-col a {
  display: block; color: var(--vd5c-text-muted); font-size: 1.15rem; padding: 0.25rem 0;
}
.vd5c-footer-brand { font-size: 1.2rem; color: var(--vd5c-text-muted); margin-bottom: 1rem; }
.vd5c-footer-bottom {
  text-align: center; color: var(--vd5c-text-muted); font-size: 1.1rem;
  border-top: 1px solid var(--vd5c-border-soft); padding-top: 1rem;
}

/* ------ Bottom navigation ------ */
.vd5c-bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000;
  max-width: 430px; margin: 0 auto;
  background: linear-gradient(180deg, rgba(40,56,76,0.98), rgba(26,37,51,0.99));
  border-top: 1px solid var(--vd5c-border);
  display: flex; justify-content: space-around; align-items: stretch;
  height: 62px; padding: 0 0.2rem;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.35);
}
.vd5c-bottom-nav-button {
  flex: 1; min-width: 60px; min-height: 60px;
  background: transparent; border: none; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; color: var(--vd5c-text-muted);
  transition: color 0.2s ease, transform 0.18s ease;
}
.vd5c-bottom-nav-button:active { transform: scale(0.9); }
.vd5c-bottom-nav-icon { font-size: 2rem; line-height: 1; }
.vd5c-bottom-nav-label { font-size: 1rem; font-weight: 600; letter-spacing: 0.3px; }
.vd5c-bottom-nav-button.vd5c-nav-active { color: var(--vd5c-accent); }
.vd5c-bottom-nav-button.vd5c-nav-active .vd5c-bottom-nav-icon { transform: translateY(-1px); }
.vd5c-bottom-nav-promo .vd5c-bottom-nav-icon {
  background: linear-gradient(135deg, var(--vd5c-accent-hover), var(--vd5c-accent));
  color: var(--vd5c-bg); width: 38px; height: 38px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; font-size: 1.8rem;
  box-shadow: 0 4px 10px rgba(218,165,32,0.4); margin-bottom: 2px;
}

/* ------ Reveal animation ------ */
.vd5c-reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.5s ease, transform 0.5s ease; }
.vd5c-revealed { opacity: 1; transform: translateY(0); }

/* ------ Mobile bottom padding so content is never hidden ------ */
@media (max-width: 768px) {
  main { padding-bottom: 80px; }
}

/* ------ Desktop: hide bottom nav + widen layout ------ */
@media (min-width: 769px) {
  .vd5c-bottom-nav { display: none; }
  .vd5c-wrapper, .vd5c-header-inner { max-width: 760px; }
  .vd5c-game-grid { grid-template-columns: repeat(5, 1fr); }
  .vd5c-feature-grid { grid-template-columns: repeat(4, 1fr); }
  .vd5c-payment-grid { grid-template-columns: repeat(6, 1fr); }
  .vd5c-carousel-slide img { height: 320px; }
  main { padding-bottom: 1rem; }
}

/* ------ Utility ------ */
.vd5c-text-center { text-align: center; }
.vd5c-mt-1 { margin-top: 0.6rem; }
.vd5c-mt-2 { margin-top: 1.2rem; }
.vd5c-muted { color: var(--vd5c-text-muted); }
.vd5c-prefers-reduce { will-change: auto; }
