/*!
 * nustar gaming - core stylesheet (en-PH)
 * Site: nustargaming.homes
 * Prefix: s0d6-
 * Mobile-first; max-width 430px container.
 */
:root {
  --s0d6-primary: #FF8000;
  --s0d6-primary-2: #FFB347;
  --s0d6-accent: #FFF176;
  --s0d6-bronze: #CD853F;
  --s0d6-bg: #2C2C2C;
  --s0d6-bg-2: #1c1c1c;
  --s0d6-bg-3: #3a3a3a;
  --s0d6-text: #F8F9FA;
  --s0d6-text-muted: #c9c9c9;
  --s0d6-line: rgba(255, 255, 255, 0.08);
  --s0d6-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
  --s0d6-radius: 14px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: var(--s0d6-bg);
  color: var(--s0d6-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  overflow-x: hidden;
}

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

a {
  color: var(--s0d6-primary-2);
  text-decoration: none;
}

/* ---- Layout container (mobile-first max-width 430px) ---- */
.s0d6-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 14px;
  position: relative;
}

.s0d6-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  padding-bottom: 90px;
}

/* ---- Header ---- */
.s0d6-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #1c1c1c 0%, #2C2C2C 100%);
  border-bottom: 1px solid var(--s0d6-line);
  box-shadow: var(--s0d6-shadow);
}

.s0d6-header-inner {
  max-width: 430px;
  margin: 0 auto;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.s0d6-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.s0d6-brand img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.s0d6-brand-name {
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--s0d6-text);
  letter-spacing: 0.3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.s0d6-brand-name b {
  color: var(--s0d6-primary);
}

.s0d6-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

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

/* ---- Buttons ---- */
.s0d6-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: none;
  border-radius: 24px;
  padding: 8px 14px;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  min-height: 36px;
  line-height: 1;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.s0d6-btn:active {
  transform: scale(0.96);
}

.s0d6-btn-primary {
  background: linear-gradient(135deg, #FF8000 0%, #FFB347 100%);
  color: #1c1c1c;
  box-shadow: 0 4px 14px rgba(255, 128, 0, 0.35);
}

.s0d6-btn-outline {
  background: transparent;
  color: var(--s0d6-text);
  border: 1px solid var(--s0d6-primary);
}

.s0d6-btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--s0d6-text);
}

.s0d6-btn-block {
  width: 100%;
}

.s0d6-btn-lg {
  padding: 12px 22px;
  font-size: 1.5rem;
  min-height: 46px;
}

/* ---- Mobile slide-down menu ---- */
.s0d6-mobile-menu {
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #1c1c1c;
  border-bottom: 1px solid var(--s0d6-line);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}

.s0d6-mobile-menu.s0d6-menu-open {
  max-height: 520px;
  box-shadow: var(--s0d6-shadow);
}

.s0d6-mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 8px 14px;
}

.s0d6-mobile-menu li a {
  display: block;
  padding: 12px 6px;
  color: var(--s0d6-text);
  font-size: 1.4rem;
  border-bottom: 1px solid var(--s0d6-line);
}

.s0d6-mobile-menu li a:active {
  color: var(--s0d6-primary);
}

/* ---- Hero ---- */
.s0d6-top-spacer {
  height: 56px;
}

.s0d6-hero {
  position: relative;
  padding: 12px 0 0;
}

.s0d6-carousel {
  position: relative;
  border-radius: var(--s0d6-radius);
  overflow: hidden;
  background: #111;
}

.s0d6-slides {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.s0d6-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  cursor: pointer;
}

.s0d6-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.s0d6-slide-active {
  opacity: 1;
}

.s0d6-slide-cap {
  position: absolute;
  left: 12px;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.5);
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 1.2rem;
}

.s0d6-slide-cap b {
  color: var(--s0d6-accent);
}

.s0d6-dots {
  position: absolute;
  bottom: 8px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 2;
}

.s0d6-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  border: none;
  cursor: pointer;
}

.s0d6-dot-active {
  background: var(--s0d6-primary);
  width: 22px;
  border-radius: 5px;
}

/* ---- Section heading ---- */
.s0d6-section {
  margin: 22px 0 0;
}

.s0d6-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.s0d6-section-title {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--s0d6-text);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.s0d6-section-title i {
  color: var(--s0d6-primary);
}

.s0d6-section-more {
  font-size: 1.2rem;
  color: var(--s0d6-primary-2);
}

/* ---- Category quick nav ---- */
.s0d6-cat-nav {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 4px 0 10px;
  -webkit-overflow-scrolling: touch;
}

.s0d6-cat-link {
  flex: 0 0 auto;
  padding: 6px 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--s0d6-text);
  font-size: 1.2rem;
  border: 1px solid var(--s0d6-line);
  white-space: nowrap;
}

.s0d6-cat-active,
.s0d6-cat-link:active {
  background: var(--s0d6-primary);
  color: #1c1c1c;
}

/* ---- Game grid ---- */
.s0d6-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.s0d6-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.s0d6-card {
  background: var(--s0d6-bg-3);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--s0d6-line);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  display: block;
  text-align: center;
}

.s0d6-card:active {
  transform: scale(0.96);
  box-shadow: 0 4px 14px rgba(255, 128, 0, 0.3);
}

.s0d6-card-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #111;
}

.s0d6-card-name {
  font-size: 1.1rem;
  padding: 4px 4px 6px;
  color: var(--s0d6-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

.s0d6-card-hot {
  position: relative;
}

.s0d6-card-hot::after {
  content: "HOT";
  position: absolute;
  top: 4px;
  left: 4px;
  background: var(--s0d6-primary);
  color: #1c1c1c;
  font-size: 0.9rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
}

/* ---- Promo banner CTA ---- */
.s0d6-promo-banner {
  background: linear-gradient(135deg, #FF8000 0%, #CD853F 100%);
  border-radius: var(--s0d6-radius);
  padding: 14px;
  color: #1c1c1c;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 18px;
}

.s0d6-promo-banner h3 {
  margin: 0 0 4px;
  font-size: 1.5rem;
}

.s0d6-promo-banner p {
  margin: 0;
  font-size: 1.2rem;
}

/* ---- Feature / info grid ---- */
.s0d6-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.s0d6-info-card {
  background: var(--s0d6-bg-3);
  border: 1px solid var(--s0d6-line);
  border-radius: 12px;
  padding: 12px;
}

.s0d6-info-card i {
  font-size: 2.2rem;
  color: var(--s0d6-primary);
}

.s0d6-info-card h4 {
  margin: 6px 0 4px;
  font-size: 1.4rem;
}

.s0d6-info-card p {
  margin: 0;
  font-size: 1.2rem;
  color: var(--s0d6-text-muted);
}

/* ---- RTP table ---- */
.s0d6-rpt-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.2rem;
  background: var(--s0d6-bg-3);
  border-radius: 10px;
  overflow: hidden;
}

.s0d6-rpt-table th,
.s0d6-rpt-table td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--s0d6-line);
  text-align: left;
}

.s0d6-rpt-table th {
  background: rgba(255, 128, 0, 0.18);
  color: var(--s0d6-accent);
}

.s0d6-rpt-table td b {
  color: var(--s0d6-primary-2);
}

/* ---- FAQ ---- */
.s0d6-faq-item {
  background: var(--s0d6-bg-3);
  border: 1px solid var(--s0d6-line);
  border-radius: 10px;
  margin-bottom: 8px;
  overflow: hidden;
}

.s0d6-faq-q {
  padding: 12px;
  font-weight: 700;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.s0d6-faq-q i {
  color: var(--s0d6-primary);
}

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

.s0d6-faq-open .s0d6-faq-a {
  max-height: 320px;
  padding: 0 12px 12px;
}

/* ---- Testimonials ---- */
.s0d6-testi {
  background: var(--s0d6-bg-3);
  border-left: 3px solid var(--s0d6-primary);
  padding: 10px 12px;
  border-radius: 8px;
  margin-bottom: 8px;
}

.s0d6-testi p {
  margin: 0 0 6px;
  font-size: 1.2rem;
}

.s0d6-testi b {
  color: var(--s0d6-accent);
  font-size: 1.1rem;
}

/* ---- Winners ---- */
.s0d6-winner-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.s0d6-winner-list li {
  display: flex;
  justify-content: space-between;
  padding: 8px 10px;
  background: var(--s0d6-bg-3);
  border-radius: 8px;
  margin-bottom: 6px;
  font-size: 1.2rem;
}

.s0d6-winner-list b {
  color: var(--s0d6-primary);
}

/* ---- Payment methods ---- */
.s0d6-pay-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.s0d6-pay-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: var(--s0d6-bg-3);
  border: 1px solid var(--s0d6-line);
  border-radius: 20px;
  font-size: 1.2rem;
}

.s0d6-pay-chip i {
  color: var(--s0d6-primary-2);
}

/* ---- SEO long text ---- */
.s0d6-seo-text {
  font-size: 1.25rem;
  color: var(--s0d6-text-muted);
  line-height: 1.7;
}

.s0d6-seo-text h2 {
  color: var(--s0d6-text);
  font-size: 1.6rem;
  margin: 16px 0 6px;
}

.s0d6-seo-text h3 {
  color: var(--s0d6-primary-2);
  font-size: 1.35rem;
  margin: 12px 0 4px;
}

.s0d6-seo-text p {
  margin: 0 0 10px;
}

.s0d6-seo-text a {
  color: var(--s0d6-primary);
  font-weight: 700;
}

/* ---- Footer ---- */
.s0d6-footer {
  background: #1c1c1c;
  border-top: 1px solid var(--s0d6-line);
  margin-top: 24px;
  padding: 18px 0 24px;
}

.s0d6-footer-desc {
  font-size: 1.2rem;
  color: var(--s0d6-text-muted);
  margin-bottom: 12px;
  line-height: 1.6;
}

.s0d6-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.s0d6-footer-links a {
  font-size: 1.15rem;
  color: var(--s0d6-text);
  background: rgba(255, 255, 255, 0.05);
  padding: 6px 10px;
  border-radius: 14px;
  border: 1px solid var(--s0d6-line);
}

.s0d6-footer-bottom {
  border-top: 1px solid var(--s0d6-line);
  padding-top: 10px;
  font-size: 1.1rem;
  color: var(--s0d6-text-muted);
  text-align: center;
}

/* ---- Mobile bottom nav ---- */
.s0d6-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 62px;
  background: linear-gradient(180deg, #2C2C2C 0%, #1c1c1c 100%);
  border-top: 1px solid var(--s0d6-line);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  padding: 4px 0;
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.4);
}

.s0d6-bottom-nav a,
.s0d6-bottom-nav button {
  flex: 1;
  min-width: 60px;
  min-height: 54px;
  background: transparent;
  border: none;
  color: var(--s0d6-text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 1rem;
  cursor: pointer;
  padding: 2px;
  transition: color 0.15s ease, transform 0.15s ease;
}

.s0d6-bottom-nav a:active,
.s0d6-bottom-nav button:active {
  transform: scale(0.92);
}

.s0d6-bottom-nav .material-icons,
.s0d6-bottom-nav i {
  font-size: 22px;
}

.s0d6-bottom-nav .s0d6-nav-active {
  color: var(--s0d6-primary);
}

.s0d6-bottom-nav .s0d6-nav-promo {
  color: var(--s0d6-accent);
}

.s0d6-nav-badge {
  position: relative;
}

.s0d6-nav-badge::after {
  content: "";
  position: absolute;
  top: 6px;
  right: 22%;
  width: 7px;
  height: 7px;
  background: var(--s0d6-primary);
  border-radius: 50%;
}

/* ---- Desktop: hide bottom nav ---- */
@media (min-width: 769px) {
  .s0d6-bottom-nav {
    display: none;
  }

  main {
    padding-bottom: 24px;
  }

  .s0d6-container {
    max-width: 430px;
  }
}

/* ---- Mobile fine-tune ---- */
@media (max-width: 768px) {
  main {
    padding-bottom: 90px;
  }
}

/* ---- Utility ---- */
.s0d6-text-center { text-align: center; }
.s0d6-mt-12 { margin-top: 12px; }
.s0d6-mt-18 { margin-top: 18px; }
.s0d6-row { display: flex; gap: 8px; }
.s0d6-hidden { display: none !important; }
