/* ===================================================================
   INDBET - WordPress-Style Mobile View Stylesheet
   Theme: Obsidian Black, Casino Gold & Crisp White | 3D Showcase
=================================================================== */

:root {
  --bg-body: #07070a;
  --bg-shell: #0c0d12;
  --bg-card: #14161f;
  --bg-card-alt: #1a1d29;
  --border-gold: rgba(250, 204, 21, 0.24);
  --border-gold-strong: rgba(250, 204, 21, 0.65);
  --border-subtle: rgba(255, 255, 255, 0.08);

  --gold: #facc15;
  --gold-light: #fef08a;
  --gold-dark: #ca8a04;
  --gold-grad: linear-gradient(135deg, #fde047 0%, #f59e0b 55%, #b45309 100%);
  --emerald-grad: linear-gradient(135deg, #22c55e 0%, #15803d 100%);

  --text-main: #ffffff;
  --text-muted: #d1d5db;
  --text-dim: #9ca3af;

  --app-max-width: 480px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  --transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: radial-gradient(circle at top, #1f1b0a 0%, #07070a 55%, #040406 100%);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: var(--transition);
}

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

/* ===================================================================
   MOBILE APP SHELL (480px CENTERED MOBILE VIEW)
=================================================================== */
.mobile-app-shell {
  width: 100%;
  max-width: var(--app-max-width);
  min-height: 100vh;
  margin: 0 auto;
  background: var(--bg-shell);
  border-left: 1px solid var(--border-subtle);
  border-right: 1px solid var(--border-subtle);
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.85);
  display: flex;
  flex-direction: column;
  padding-bottom: 84px;
  position: relative;
}

/* TOP STICKY WORDPRESS-STYLE HEADER */
.wp-header {
  position: sticky;
  top: 0;
  z-index: 900;
  height: 62px;
  padding: 0 14px;
  background: rgba(10, 11, 16, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  border: 1.5px solid var(--gold);
  background: #000;
}

.brand-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: var(--gold);
}

.brand-tag {
  font-size: 0.68rem;
  color: var(--text-dim);
  font-weight: 600;
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 7px 12px;
  border-radius: var(--radius-full);
  background: var(--gold-grad);
  color: #09090b;
  font-size: 0.76rem;
  font-weight: 800;
  box-shadow: 0 2px 10px rgba(250, 204, 21, 0.35);
}

.drawer-toggle {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border-gold);
  background: var(--bg-card);
  color: var(--gold);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* SLIDE-DOWN WORDPRESS DRAWER MENU */
.wp-drawer {
  position: absolute;
  top: 62px;
  left: 0;
  right: 0;
  background: rgba(14, 15, 22, 0.99);
  border-bottom: 1.5px solid var(--gold);
  padding: 10px 14px 14px;
  display: none;
  flex-direction: column;
  gap: 6px;
  z-index: 890;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.85);
}

.wp-drawer.open {
  display: flex;
}

.wp-drawer a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.03);
}

.wp-drawer a.active,
.wp-drawer a:hover {
  background: rgba(250, 204, 21, 0.14);
  color: var(--gold);
}

/* MAIN CONTENT CONTAINER */
.wp-main {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* WORDPRESS POST HEADER / BREADCRUMB */
.wp-post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  color: var(--text-dim);
}

.wp-cat-pill {
  background: rgba(250, 204, 21, 0.14);
  color: var(--gold);
  border: 1px solid var(--border-gold);
  padding: 3px 9px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.7rem;
  text-transform: uppercase;
}

.wp-breadcrumbs {
  font-size: 0.76rem;
  color: var(--text-dim);
  margin-bottom: 6px;
}

.wp-breadcrumbs a {
  color: var(--gold);
}

/* HERO CARD */
.wp-hero-card {
  background: linear-gradient(160deg, #1b1810 0%, #11131b 65%, #0c0d12 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 16px 14px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55);
}

.wp-hero-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.wp-hero-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  border: 2px solid var(--gold);
  object-fit: cover;
  background: #000;
  flex-shrink: 0;
  box-shadow: 0 0 18px rgba(250, 204, 21, 0.25);
}

.wp-hero-title {
  font-size: 1.28rem;
  line-height: 1.25;
  font-weight: 800;
  color: #fff;
}

.wp-hero-title span {
  color: var(--gold);
}

.wp-hero-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

/* STATS STRIP */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.stat-box {
  background: rgba(0, 0, 0, 0.42);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px 4px;
  text-align: center;
}

.stat-val {
  display: block;
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--gold);
}

.stat-lbl {
  display: block;
  font-size: 0.66rem;
  color: var(--text-dim);
}

/* PRIMARY CTA BUTTON */
.btn-indbet {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-md);
  background: var(--gold-grad);
  color: #09090b;
  font-size: 0.96rem;
  font-weight: 900;
  letter-spacing: 0.3px;
  box-shadow: 0 6px 20px rgba(250, 204, 21, 0.35);
  text-align: center;
}

.btn-indbet:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(250, 204, 21, 0.5);
  color: #000;
}

.btn-indbet-outline {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-gold-strong);
  background: rgba(250, 204, 21, 0.08);
  color: var(--gold);
  font-size: 0.88rem;
  font-weight: 700;
  margin-top: 10px;
}

/* ===================================================================
   3D ANIMATED SHOWCASE (3 UPLOADED IMAGES)
=================================================================== */
.showcase-3d-section {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 14px 12px 16px;
  overflow: hidden;
}

.showcase-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.showcase-header h2 {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--gold);
}

.badge-3d {
  font-size: 0.68rem;
  font-weight: 800;
  color: #09090b;
  background: var(--gold);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.stage-3d {
  position: relative;
  height: 235px;
  perspective: 1100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  user-select: none;
}

.card-3d-item {
  position: absolute;
  width: 86%;
  height: 210px;
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid rgba(250, 204, 21, 0.35);
  background: #000;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.78);
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.5s ease, border-color 0.4s ease;
  transform-style: preserve-3d;
  cursor: pointer;
}

.card-3d-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-3d-item.is-active {
  z-index: 3;
  opacity: 1;
  border-color: var(--gold);
  transform: translate3d(0, 0, 40px) rotateY(0deg) scale(1);
  animation: float3d 4.2s ease-in-out infinite;
}

.card-3d-item.is-prev {
  z-index: 2;
  opacity: 0.48;
  transform: translate3d(-26%, 4px, -70px) rotateY(24deg) scale(0.84);
}

.card-3d-item.is-next {
  z-index: 2;
  opacity: 0.48;
  transform: translate3d(26%, 4px, -70px) rotateY(-24deg) scale(0.84);
}

.card-3d-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 8px 10px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.92), transparent);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-light);
}

@keyframes float3d {
  0%, 100% {
    transform: translate3d(0, 0, 40px) rotateX(1.5deg) rotateY(-2deg);
  }
  50% {
    transform: translate3d(0, -6px, 55px) rotateX(-1.5deg) rotateY(2.5deg);
  }
}

.controls-3d {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.nav-3d-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border-gold);
  background: var(--bg-card-alt);
  color: var(--gold);
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
}

.dots-3d {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dot-3d {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: var(--transition);
}

.dot-3d.active {
  width: 22px;
  border-radius: var(--radius-full);
  background: var(--gold);
}

/* 3D MINI PREVIEW STRIP (ALL 3 IMAGES SIDE-BY-SIDE WITH 3D HOVER) */
.thumbs-3d-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
  perspective: 800px;
}

.thumb-3d-card {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border-gold);
  background: #000;
  cursor: pointer;
  transform: rotateX(4deg);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.thumb-3d-card.active,
.thumb-3d-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px) rotateX(0deg) scale(1.03);
}

.thumb-3d-card img {
  width: 100%;
  height: 62px;
  object-fit: cover;
}

/* ===================================================================
   WORDPRESS CARDS, TABLES, TOC & LONG-FORM ARTICLE BLOCKS
=================================================================== */
.wp-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 16px 14px;
}

.wp-card h2 {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-subtle);
}

.wp-card h3 {
  font-size: 0.96rem;
  font-weight: 700;
  color: #fff;
  margin: 12px 0 6px;
}

.wp-card p {
  font-size: 0.87rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.wp-card p:last-child {
  margin-bottom: 0;
}

.wp-card ul,
.wp-card ol {
  padding-left: 18px;
  margin-bottom: 10px;
  color: var(--text-muted);
  font-size: 0.86rem;
}

.wp-card li {
  margin-bottom: 6px;
}

/* TABLE OF CONTENTS (WORDPRESS STYLE) */
.wp-toc {
  background: var(--bg-card-alt);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 12px 14px;
}

.wp-toc-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 8px;
}

.wp-toc ol {
  padding-left: 18px;
  font-size: 0.82rem;
}

.wp-toc li {
  margin-bottom: 4px;
}

/* INFO TABLE */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
}

.spec-table tr {
  border-bottom: 1px solid var(--border-subtle);
}

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

.spec-table td {
  padding: 9px 4px;
}

.spec-table td:first-child {
  color: var(--text-dim);
  width: 44%;
}

.spec-table td:last-child {
  color: #fff;
  font-weight: 700;
  text-align: right;
}

.spec-table .hl {
  color: var(--gold);
}

/* GAME TILES */
.games-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 8px;
}

.game-card-link {
  display: block;
  background: var(--bg-card-alt);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  padding: 12px 10px;
  color: #fff;
}

.game-card-link:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.game-card-link strong {
  display: block;
  font-size: 0.9rem;
  color: var(--gold);
  margin-bottom: 3px;
}

.game-card-link span {
  font-size: 0.76rem;
  color: var(--text-dim);
}

/* WORDPRESS TAG WIDGET */
.wp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.wp-tag {
  font-size: 0.75rem;
  padding: 5px 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
}

.wp-tag:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* FAQ ACCORDION */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.faq-item.active {
  border-color: var(--border-gold);
}

.faq-q {
  width: 100%;
  background: transparent;
  border: none;
  padding: 12px;
  color: #fff;
  font-size: 0.87rem;
  font-weight: 700;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
}

.faq-plus {
  color: var(--gold);
  font-size: 1.1rem;
  transition: transform 0.2s ease;
}

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

.faq-a {
  max-height: 0;
  overflow: hidden;
  padding: 0 12px;
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: max-height 0.25s ease, padding 0.25s ease;
}

.faq-item.active .faq-a {
  max-height: 260px;
  padding: 0 12px 12px;
}

/* WORDPRESS SIDEBAR WIDGET BOX */
.wp-widget-links {
  list-style: none;
}

.wp-widget-links li {
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 0;
}

.wp-widget-links li:last-child {
  border-bottom: none;
}

.wp-widget-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 2px;
  color: var(--text-muted);
  font-size: 0.86rem;
  font-weight: 600;
}

.wp-widget-links a:hover {
  color: var(--gold);
}

/* FOOTER */
.wp-footer {
  margin-top: auto;
  padding: 18px 14px 20px;
  border-top: 1px solid var(--border-gold);
  background: #060608;
  text-align: center;
}

.footer-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
}

.footer-pills a {
  font-size: 0.76rem;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
}

.footer-pills a:hover {
  color: var(--gold);
}

.footer-note {
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-bottom: 6px;
}

/* STICKY MOBILE BOTTOM NAV */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--app-max-width);
  height: 64px;
  background: rgba(10, 11, 16, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1.5px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 950;
  padding: 0 4px;
}

.nav-tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--text-dim);
  font-size: 0.67rem;
  font-weight: 600;
}

.nav-tab.active,
.nav-tab:hover {
  color: var(--gold);
}

.nav-tab .ico {
  font-size: 1.1rem;
  line-height: 1;
}

.nav-tab-dl {
  position: relative;
  top: -12px;
}

.dl-bubble {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold-grad);
  color: #09090b;
  font-size: 1.3rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--bg-shell);
  box-shadow: 0 4px 16px rgba(250, 204, 21, 0.5);
}

.nav-tab-dl span:last-child {
  color: var(--gold);
  font-weight: 800;
}
