/*!
 * winplus design.css
 * Mobile-first casino homepage styles. All custom classes use the v948- prefix.
 * Palette: #DEE2E6 | #1A1A2E | #FFB74D | #FFD700
 */
:root {
  --v948-primary: #FFB74D;
  --v948-gold: #FFD700;
  --v948-bg: #1A1A2E;
  --v948-bg-deep: #141425;
  --v948-bg-card: #20203a;
  --v948-text: #DEE2E6;
  --v948-text-muted: #a7adcb;
  --v948-border: #2c2c4a;
  --v948-success: #2ecc71;
  --v948-danger: #ff5b6e;
  --v948-radius: 12px;
  --v948-radius-sm: 8px;
  --v948-shadow: 0 6px 22px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }

html {
  font-size: 62.5%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--v948-bg);
  color: var(--v948-text);
  font-family: "Segoe UI", "Helvetica Neue", Roboto, Arial, sans-serif;
  font-size: 1.6rem;
  line-height: 1.5rem;
  min-height: 100vh;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--v948-gold); text-decoration: none; }
a:hover { color: var(--v948-primary); }

h1, h2, h3, h4 { margin: 0 0 .8rem; line-height: 1.25; color: #fff; }
h1 { font-size: 2.4rem; }
h2 { font-size: 2.1rem; }
h3 { font-size: 1.8rem; }
p { margin: 0 0 1rem; }

/* ===== Layout ===== */
.v948-wrapper {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.4rem;
  position: relative;
}
.v948-container { width: 100%; }
.v948-section { padding: 2.4rem 0 1.6rem; }
.v948-section-alt { background: var(--v948-bg-deep); }
.v948-center { text-align: center; }

.v948-eyebrow {
  display: inline-block;
  font-size: 1.2rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--v948-gold);
  padding: .35rem 1rem;
  border: 1px solid var(--v948-border);
  border-radius: 999px;
  margin-bottom: 1rem;
}

.v948-section-title {
  font-size: 2.1rem;
  color: #fff;
  margin-bottom: .8rem;
}
.v948-section-sub {
  color: var(--v948-text-muted);
  font-size: 1.45rem;
  margin-bottom: 1.6rem;
}

/* ===== Header ===== */
.v948-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(20,20,37,.96), rgba(26,26,46,.92));
  border-bottom: 1px solid var(--v948-border);
  backdrop-filter: blur(8px);
}
.v948-header-inner {
  max-width: 430px;
  margin: 0 auto;
  padding: .6rem 1rem;
  display: flex;
  align-items: center;
  gap: .8rem;
}
.v948-logo {
  display: flex;
  align-items: center;
  gap: .55rem;
  flex: 1;
  min-width: 0;
}
.v948-logo img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}
.v948-logo-text {
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--v948-gold);
  letter-spacing: .03em;
  white-space: nowrap;
}
.v948-logo-text span { color: var(--v948-text); }

.v948-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  font-weight: 700;
  font-size: 1.35rem;
  padding: .6rem 1rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  min-height: 36px;
}
.v948-btn-primary {
  background: linear-gradient(135deg, var(--v948-gold), var(--v948-primary));
  color: #1A1A2E;
  box-shadow: 0 4px 14px rgba(255,183,77,.35);
}
.v948-btn-ghost {
  background: transparent;
  color: var(--v948-text);
  border: 1px solid var(--v948-border);
}
.v948-btn-block {
  width: 100%;
  padding: .9rem 1rem;
  font-size: 1.5rem;
}
.v948-btn:hover { transform: translateY(-1px); }
.v948-btn:active { transform: translateY(0); }

.v948-menu-btn {
  background: transparent;
  border: 1px solid var(--v948-border);
  color: var(--v948-text);
  width: 36px; height: 36px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.6rem;
}

/* ===== Mobile dropdown menu ===== */
.v948-mobile-menu {
  position: fixed;
  top: 56px; left: 0; right: 0;
  background: var(--v948-bg-deep);
  border-bottom: 1px solid var(--v948-border);
  max-height: 0;
  overflow: hidden;
  transition: max-height .28s ease;
  z-index: 9999;
}
.v948-mobile-menu.v948-menu-open { max-height: 520px; }
.v948-mobile-menu-inner {
  max-width: 430px;
  margin: 0 auto;
  padding: .8rem 1.2rem 1.2rem;
}
.v948-mobile-menu a {
  display: block;
  padding: .85rem .6rem;
  color: var(--v948-text);
  border-bottom: 1px dashed var(--v948-border);
  font-size: 1.45rem;
}
.v948-mobile-menu a:last-child { border-bottom: none; }
.v948-mobile-menu a:hover { color: var(--v948-gold); padding-left: 1rem; }

/* ===== Hero ===== */
.v948-main { padding-top: 64px; }
@media (max-width: 768px) {
  .v948-main { padding-bottom: 90px; }
}

.v948-hero { padding: 1.2rem 0 1.4rem; }
.v948-carousel {
  position: relative;
  border-radius: var(--v948-radius);
  overflow: hidden;
  box-shadow: var(--v948-shadow);
}
.v948-carousel-viewport { overflow: hidden; }
.v948-carousel-track {
  display: flex;
  transition: transform .5s ease;
}
.v948-carousel-slide {
  flex: 0 0 100%;
  position: relative;
}
.v948-carousel-slide img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.v948-carousel-cap {
  position: absolute;
  left: 1rem; right: 1rem; bottom: 1rem;
  background: linear-gradient(180deg, rgba(20,20,37,0), rgba(20,20,37,.85));
  padding: 1.4rem .8rem .6rem;
  border-radius: var(--v948-radius-sm);
}
.v948-carousel-cap h2 { font-size: 1.7rem; margin-bottom: .3rem; color: #fff; }
.v948-carousel-cap p { font-size: 1.25rem; color: var(--v948-text); margin: 0 0 .6rem; }

.v948-carousel-dots {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-top: .7rem;
}
.v948-carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--v948-border);
  border: none;
  cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}
.v948-carousel-dot.v948-dot-active {
  background: var(--v948-gold);
  transform: scale(1.25);
}

.v948-hero-cta {
  display: flex;
  gap: .6rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

/* ===== Promo strip ===== */
.v948-promo-strip {
  display: flex;
  align-items: center;
  gap: .6rem;
  background: linear-gradient(90deg, rgba(255,183,77,.15), rgba(255,215,0,.06));
  border: 1px solid rgba(255,183,77,.3);
  border-radius: var(--v948-radius-sm);
  padding: .7rem .9rem;
  margin: 1rem 0;
  font-size: 1.3rem;
}
.v948-promo-strip .material-symbols-outlined {
  color: var(--v948-gold);
  font-size: 20px;
}

/* ===== Filter tabs ===== */
.v948-filter-row {
  display: flex;
  gap: .5rem;
  overflow-x: auto;
  padding-bottom: .6rem;
  margin-bottom: 1rem;
  scrollbar-width: none;
}
.v948-filter-row::-webkit-scrollbar { display: none; }
.v948-filter-tab {
  flex: 0 0 auto;
  background: var(--v948-bg-card);
  border: 1px solid var(--v948-border);
  color: var(--v948-text-muted);
  padding: .5rem 1rem;
  border-radius: 999px;
  font-size: 1.3rem;
  cursor: pointer;
  transition: all .15s ease;
}
.v948-filter-tab.v948-tab-active {
  background: linear-gradient(135deg, var(--v948-gold), var(--v948-primary));
  color: #1A1A2E;
  border-color: transparent;
  font-weight: 700;
}

/* ===== Game grid ===== */
.v948-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .7rem;
}
.v948-card {
  background: var(--v948-bg-card);
  border: 1px solid var(--v948-border);
  border-radius: var(--v948-radius-sm);
  overflow: hidden;
  cursor: pointer;
  transition: transform .15s ease, border-color .15s ease;
  text-align: center;
}
.v948-card:hover {
  transform: translateY(-2px);
  border-color: var(--v948-primary);
}
.v948-card-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #0d0d1c;
}
.v948-card-name {
  font-size: 1.15rem;
  color: var(--v948-text);
  padding: .4rem .3rem .55rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.v948-card-badge {
  display: inline-block;
  font-size: 1rem;
  background: var(--v948-danger);
  color: #fff;
  padding: .1rem .4rem;
  border-radius: 4px;
  margin-bottom: .25rem;
}

.v948-cat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 1.6rem 0 .8rem;
}
.v948-cat-head h2 {
  font-size: 1.7rem;
  margin: 0;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.v948-cat-head .material-symbols-outlined,
.v948-cat-head i { color: var(--v948-gold); font-size: 22px; }
.v948-cat-link { font-size: 1.25rem; color: var(--v948-primary); font-weight: 600; }

/* ===== Feature / info cards ===== */
.v948-card-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .7rem;
}
.v948-info-card {
  background: var(--v948-bg-card);
  border: 1px solid var(--v948-border);
  border-radius: var(--v948-radius);
  padding: 1.1rem;
  text-align: center;
}
.v948-info-card .v948-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,183,77,.12);
  color: var(--v948-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: .5rem;
}
.v948-info-card h3 { font-size: 1.45rem; margin-bottom: .3rem; }
.v948-info-card p { font-size: 1.25rem; color: var(--v948-text-muted); margin: 0; }

/* ===== RTP table ===== */
.v948-rtp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.25rem;
  background: var(--v948-bg-card);
  border-radius: var(--v948-radius-sm);
  overflow: hidden;
}
.v948-rtp-table th, .v948-rtp-table td {
  padding: .65rem .7rem;
  text-align: left;
  border-bottom: 1px solid var(--v948-border);
}
.v948-rtp-table th {
  background: rgba(255,183,77,.1);
  color: var(--v948-gold);
  font-weight: 700;
}
.v948-rtp-bar {
  height: 6px;
  background: var(--v948-border);
  border-radius: 4px;
  overflow: hidden;
  margin-top: .25rem;
}
.v948-rtp-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--v948-gold), var(--v948-primary));
}

/* ===== Testimonials ===== */
.v948-testi {
  background: var(--v948-bg-card);
  border: 1px solid var(--v948-border);
  border-radius: var(--v948-radius);
  padding: 1rem;
  margin-bottom: .7rem;
}
.v948-testi-head {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .4rem;
}
.v948-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--v948-gold), var(--v948-primary));
  color: #1A1A2E;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.4rem;
}
.v948-stars { color: var(--v948-gold); font-size: 1.2rem; }
.v948-testi p { font-size: 1.3rem; margin: 0; color: var(--v948-text); }

/* ===== Winners ===== */
.v948-winner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--v948-bg-card);
  border: 1px solid var(--v948-border);
  padding: .6rem .8rem;
  border-radius: var(--v948-radius-sm);
  margin-bottom: .5rem;
  font-size: 1.25rem;
}
.v948-winner b { color: var(--v948-gold); }

/* ===== Payment ===== */
.v948-pay-row {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: center;
}
.v948-pay-chip {
  background: var(--v948-bg-card);
  border: 1px solid var(--v948-border);
  border-radius: 8px;
  padding: .55rem .9rem;
  font-size: 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: var(--v948-text);
}

/* ===== FAQ ===== */
.v948-faq-item {
  background: var(--v948-bg-card);
  border: 1px solid var(--v948-border);
  border-radius: var(--v948-radius-sm);
  padding: .9rem 1rem;
  margin-bottom: .6rem;
}
.v948-faq-item h3 {
  font-size: 1.4rem;
  color: var(--v948-gold);
  margin-bottom: .35rem;
}
.v948-faq-item p { font-size: 1.3rem; margin: 0; color: var(--v948-text); }

/* ===== Steps ===== */
.v948-steps { list-style: none; padding: 0; margin: 0; }
.v948-steps li {
  display: flex;
  gap: .8rem;
  padding: .8rem 0;
  border-bottom: 1px dashed var(--v948-border);
}
.v948-steps li:last-child { border-bottom: none; }
.v948-step-num {
  flex: 0 0 28px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--v948-gold), var(--v948-primary));
  color: #1A1A2E;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.3rem;
}

/* ===== CTA banner ===== */
.v948-cta-banner {
  background: linear-gradient(135deg, rgba(255,183,77,.18), rgba(255,215,0,.08));
  border: 1px solid rgba(255,183,77,.35);
  border-radius: var(--v948-radius);
  padding: 1.4rem;
  text-align: center;
  margin: 1.6rem 0;
}
.v948-cta-banner h2 { color: #fff; font-size: 1.9rem; }
.v948-cta-banner p { color: var(--v948-text-muted); font-size: 1.3rem; }

/* ===== Prose ===== */
.v948-prose p { font-size: 1.35rem; color: var(--v948-text); margin-bottom: .8rem; }
.v948-prose strong { color: var(--v948-gold); }

/* ===== Footer ===== */
.v948-footer {
  background: var(--v948-bg-deep);
  border-top: 1px solid var(--v948-border);
  padding: 2rem 0 1rem;
  margin-top: 1.5rem;
}
.v948-footer-brand { font-size: 1.4rem; color: var(--v948-text-muted); margin-bottom: 1rem; }
.v948-footer h4 { color: var(--v948-gold); font-size: 1.4rem; margin-bottom: .5rem; }
.v948-footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .35rem .8rem;
  margin-bottom: 1rem;
}
.v948-footer-links a {
  color: var(--v948-text);
  font-size: 1.25rem;
}
.v948-footer-links a:hover { color: var(--v948-gold); }
.v948-footer-promo {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: .8rem 0;
}
.v948-footer-promo .v948-btn { font-size: 1.2rem; padding: .45rem .8rem; }
.v948-copyright {
  text-align: center;
  font-size: 1.15rem;
  color: var(--v948-text-muted);
  border-top: 1px solid var(--v948-border);
  padding-top: 1rem;
  margin-top: .5rem;
}

/* ===== Bottom nav (mobile only) ===== */
.v948-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 62px;
  background: linear-gradient(180deg, rgba(26,26,46,.98), rgba(20,20,37,1));
  border-top: 1px solid var(--v948-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -4px 18px rgba(0,0,0,.45);
}
.v948-bottom-nav a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--v948-text-muted);
  font-size: 1rem;
  min-width: 60px;
  min-height: 60px;
  transition: color .15s ease, transform .15s ease;
  cursor: pointer;
  text-decoration: none;
}
.v948-bottom-nav a:hover,
.v948-bottom-nav a.v948-nav-active {
  color: var(--v948-gold);
  transform: translateY(-2px);
}
.v948-bottom-nav a i,
.v948-bottom-nav a .material-symbols-outlined,
.v948-bottom-nav a ion-icon {
  font-size: 22px;
}
.v948-bottom-nav .v948-nav-badge {
  position: relative;
}
.v948-bottom-nav .v948-nav-badge::after {
  content: "5";
  position: absolute;
  top: -2px; right: 8px;
  background: var(--v948-danger);
  color: #fff;
  font-size: .9rem;
  padding: 0 4px;
  border-radius: 999px;
  line-height: 1.4;
}
@media (min-width: 769px) {
  .v948-bottom-nav { display: none; }
  .v948-main { padding-bottom: 0; }
}

/* ===== Utilities ===== */
.v948-mt-1 { margin-top: .5rem; }
.v948-mt-2 { margin-top: 1rem; }
.v948-mb-2 { margin-bottom: 1rem; }
.v948-flex { display: flex; }
.v948-gap { gap: .6rem; }
.v948-wrap { flex-wrap: wrap; }
.v948-hide-desktop { display: block; }
@media (min-width: 769px) {
  .v948-wrapper { max-width: 430px; }
}
