/* okfan design system - uif6 prefix */
:root {
  --uif6-primary: #CD853F;
  --uif6-bg: #1A1A2E;
  --uif6-bg-soft: #232342;
  --uif6-bg-card: #252545;
  --uif6-text: #EEE8AA;
  --uif6-text-muted: #c9c48a;
  --uif6-accent: #40E0D0;
  --uif6-gold: #FFD700;
  --uif6-border: rgba(205, 133, 63, 0.35);
  --uif6-shadow: 0 0.6rem 1.8rem rgba(0, 0, 0, 0.35);
  --uif6-radius: 1rem;
  --uif6-header-h: 5.6rem;
  --uif6-bottom-h: 6.2rem;
}

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

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

body {
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: var(--uif6-bg);
  color: var(--uif6-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: var(--uif6-accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--uif6-gold);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

.uif6-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.2rem;
}

.uif6-wrapper {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
}

.uif6-section {
  padding: 2rem 0;
}

.uif6-section-title {
  font-size: 1.8rem;
  color: var(--uif6-gold);
  margin-bottom: 1.2rem;
  font-weight: 700;
  line-height: 1.35;
}

.uif6-section-sub {
  font-size: 1.3rem;
  color: var(--uif6-text-muted);
  margin-bottom: 1.4rem;
  line-height: 1.6;
}

/* Header */
.uif6-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #151528 0%, rgba(26, 26, 46, 0.96) 100%);
  border-bottom: 1px solid var(--uif6-border);
  height: var(--uif6-header-h);
  display: flex;
  align-items: center;
}

.uif6-header-inner {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.2rem;
  gap: 0.8rem;
}

.uif6-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.uif6-logo img {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 0.6rem;
  object-fit: cover;
}

.uif6-logo-text {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--uif6-gold);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.uif6-header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.uif6-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 3.6rem;
  min-width: 4.4rem;
  padding: 0.7rem 1.2rem;
  border-radius: 0.8rem;
  font-size: 1.2rem;
  font-weight: 700;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

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

.uif6-btn-primary {
  background: linear-gradient(135deg, var(--uif6-primary), #e0a05a);
  color: #1A1A2E;
  box-shadow: 0 0.3rem 1rem rgba(205, 133, 63, 0.4);
}

.uif6-btn-secondary {
  background: transparent;
  color: var(--uif6-accent);
  border: 1px solid var(--uif6-accent);
}

.uif6-btn-gold {
  background: linear-gradient(135deg, var(--uif6-gold), #ffe566);
  color: #1A1A2E;
  font-weight: 800;
}

.uif6-btn-block {
  width: 100%;
  margin: 0.8rem 0;
}

.uif6-menu-toggle {
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--uif6-text);
  font-size: 2.2rem;
  border-radius: 0.8rem;
}

.uif6-menu-toggle:hover {
  background: rgba(64, 224, 208, 0.12);
}

/* Mobile menu */
.uif6-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;
}

.uif6-overlay-show {
  opacity: 1;
  visibility: visible;
}

.uif6-mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: min(82vw, 30rem);
  height: 100%;
  background: linear-gradient(180deg, #1f1f3a 0%, #151528 100%);
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.28s ease;
  padding: 1.6rem;
  overflow-y: auto;
  border-left: 1px solid var(--uif6-border);
}

.uif6-menu-open {
  transform: translateX(0);
}

.uif6-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.6rem;
}

.uif6-menu-close {
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: var(--uif6-text);
}

.uif6-menu-list a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1rem;
  color: var(--uif6-text);
  font-size: 1.4rem;
  font-weight: 600;
  border-radius: 0.8rem;
  min-height: 4.4rem;
}

.uif6-menu-list a:hover,
.uif6-menu-list a:active {
  background: rgba(205, 133, 63, 0.18);
  color: var(--uif6-gold);
}

.uif6-menu-list i,
.uif6-menu-list .material-icons,
.uif6-menu-list .bi {
  font-size: 1.8rem;
  width: 2.2rem;
  color: var(--uif6-accent);
}

/* Main */
.uif6-main {
  padding-top: calc(var(--uif6-header-h) + 1rem);
  padding-bottom: 2rem;
}

@media (max-width: 768px) {
  .uif6-main {
    padding-bottom: 8rem;
  }
}

/* Hero / carousel */
.uif6-carousel {
  position: relative;
  border-radius: 1.2rem;
  overflow: hidden;
  margin-bottom: 1.6rem;
  box-shadow: var(--uif6-shadow);
  background: var(--uif6-bg-card);
  aspect-ratio: 16 / 9;
}

.uif6-carousel-slide {
  display: none;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.uif6-slide-active {
  display: block;
  animation: uif6fade 0.45s ease;
}

@keyframes uif6fade {
  from { opacity: 0.4; }
  to { opacity: 1; }
}

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

.uif6-carousel-dots {
  position: absolute;
  bottom: 1rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  z-index: 2;
}

.uif6-carousel-dot {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: rgba(238, 232, 170, 0.4);
  transition: all 0.2s ease;
}

.uif6-dot-active {
  background: var(--uif6-gold);
  width: 1.8rem;
  border-radius: 0.5rem;
}

.uif6-carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  background: rgba(26, 26, 46, 0.65);
  color: var(--uif6-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  font-size: 1.6rem;
}

.uif6-carousel-prev { left: 0.8rem; }
.uif6-carousel-next { right: 0.8rem; }

/* H1 */
.uif6-h1 {
  font-size: 2rem;
  line-height: 1.35;
  color: var(--uif6-gold);
  margin: 1.2rem 0 1rem;
  font-weight: 800;
  text-align: center;
}

.uif6-lead {
  font-size: 1.35rem;
  line-height: 1.65;
  color: var(--uif6-text-muted);
  margin-bottom: 1.6rem;
  text-align: center;
}

/* Promo strip */
.uif6-promo-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin: 1.4rem 0;
}

/* Game grid */
.uif6-cat-title {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 1.6rem;
  color: var(--uif6-accent);
  margin: 1.8rem 0 1rem;
  font-weight: 700;
}

.uif6-cat-title i,
.uif6-cat-title .material-icons,
.uif6-cat-title .bi,
.uif6-cat-title .ti {
  font-size: 2rem;
  color: var(--uif6-primary);
}

.uif6-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.uif6-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.15s ease;
  min-width: 0;
}

.uif6-game-item:active {
  transform: scale(0.94);
}

.uif6-game-item img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 0.9rem;
  object-fit: cover;
  border: 1px solid var(--uif6-border);
  background: var(--uif6-bg-card);
  box-shadow: 0 0.3rem 0.8rem rgba(0, 0, 0, 0.25);
}

.uif6-game-name {
  margin-top: 0.4rem;
  font-size: 1rem;
  line-height: 1.25;
  text-align: center;
  color: var(--uif6-text);
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
}

/* Cards / content modules */
.uif6-card {
  background: var(--uif6-bg-card);
  border: 1px solid var(--uif6-border);
  border-radius: var(--uif6-radius);
  padding: 1.4rem;
  margin-bottom: 1.2rem;
  box-shadow: var(--uif6-shadow);
}

.uif6-card h2,
.uif6-card h3 {
  color: var(--uif6-gold);
  margin-bottom: 0.8rem;
  line-height: 1.35;
}

.uif6-card h2 { font-size: 1.7rem; }
.uif6-card h3 { font-size: 1.45rem; }

.uif6-card p {
  font-size: 1.3rem;
  line-height: 1.65;
  color: var(--uif6-text-muted);
  margin-bottom: 0.9rem;
}

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

.uif6-link-text {
  color: var(--uif6-accent);
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

.uif6-grid {
  display: grid;
  gap: 1rem;
}

.uif6-grid-2 {
  grid-template-columns: 1fr 1fr;
}

.uif6-feature-item {
  background: rgba(64, 224, 208, 0.08);
  border: 1px solid rgba(64, 224, 208, 0.2);
  border-radius: 0.9rem;
  padding: 1.2rem;
  text-align: center;
}

.uif6-feature-item .material-icons,
.uif6-feature-item i,
.uif6-feature-item .bi {
  font-size: 2.4rem;
  color: var(--uif6-primary);
  margin-bottom: 0.6rem;
}

.uif6-feature-item h3 {
  font-size: 1.3rem;
  color: var(--uif6-gold);
  margin-bottom: 0.5rem;
}

.uif6-feature-item p {
  font-size: 1.15rem;
  color: var(--uif6-text-muted);
  line-height: 1.45;
  margin: 0;
}

/* FAQ */
.uif6-faq-item {
  border-bottom: 1px solid var(--uif6-border);
  padding: 1rem 0;
}

.uif6-faq-item:last-child {
  border-bottom: none;
}

.uif6-faq-q {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--uif6-accent);
  margin-bottom: 0.5rem;
}

.uif6-faq-a {
  font-size: 1.25rem;
  color: var(--uif6-text-muted);
  line-height: 1.6;
}

/* RTP table */
.uif6-rtp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.2rem;
}

.uif6-rtp-table th,
.uif6-rtp-table td {
  padding: 0.8rem 0.6rem;
  text-align: left;
  border-bottom: 1px solid var(--uif6-border);
}

.uif6-rtp-table th {
  color: var(--uif6-gold);
  font-weight: 700;
}

.uif6-rtp-table td {
  color: var(--uif6-text-muted);
}

.uif6-badge {
  display: inline-block;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: rgba(64, 224, 208, 0.15);
  color: var(--uif6-accent);
  font-size: 1.1rem;
  font-weight: 700;
}

/* Winners / testimonials */
.uif6-winner-row,
.uif6-review-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(205, 133, 63, 0.2);
}

.uif6-winner-row:last-child,
.uif6-review-item:last-child {
  border-bottom: none;
}

.uif6-avatar {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--uif6-primary), var(--uif6-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1A1A2E;
  font-weight: 800;
  flex-shrink: 0;
  font-size: 1.4rem;
}

.uif6-winner-meta,
.uif6-review-meta {
  flex: 1;
  min-width: 0;
}

.uif6-winner-name,
.uif6-review-name {
  font-weight: 700;
  color: var(--uif6-text);
  font-size: 1.3rem;
}

.uif6-winner-amt {
  color: var(--uif6-gold);
  font-weight: 800;
  font-size: 1.3rem;
}

.uif6-stars {
  color: var(--uif6-gold);
  font-size: 1.2rem;
  letter-spacing: 0.1em;
}

/* Payment */
.uif6-pay-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.uif6-pay-item {
  background: rgba(255, 215, 0, 0.08);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 0.8rem;
  padding: 1rem 0.5rem;
  text-align: center;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--uif6-text);
  min-height: 4.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* CTA box */
.uif6-cta-box {
  background: linear-gradient(135deg, rgba(205, 133, 63, 0.25), rgba(64, 224, 208, 0.15));
  border: 1px solid var(--uif6-primary);
  border-radius: 1.2rem;
  padding: 1.8rem 1.4rem;
  text-align: center;
  margin: 1.6rem 0;
}

.uif6-cta-box h2 {
  color: var(--uif6-gold);
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
}

.uif6-cta-box p {
  color: var(--uif6-text-muted);
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
  line-height: 1.6;
}

/* Footer */
.uif6-footer {
  background: #121224;
  border-top: 1px solid var(--uif6-border);
  padding: 2.4rem 0 2rem;
  margin-top: 1rem;
}

.uif6-footer-brand {
  text-align: center;
  margin-bottom: 1.4rem;
}

.uif6-footer-brand h3 {
  color: var(--uif6-gold);
  font-size: 1.6rem;
  margin-bottom: 0.6rem;
}

.uif6-footer-brand p {
  font-size: 1.2rem;
  color: var(--uif6-text-muted);
  line-height: 1.6;
}

.uif6-footer-promo {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
  margin: 1.4rem 0;
}

.uif6-footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem 1rem;
  margin: 1.4rem 0;
}

.uif6-footer-links a {
  font-size: 1.25rem;
  color: var(--uif6-text-muted);
  min-height: 3.2rem;
  display: flex;
  align-items: center;
}

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

.uif6-seo-links {
  margin: 1.4rem 0;
  padding-top: 1.2rem;
  border-top: 1px solid var(--uif6-border);
}

.uif6-seo-links h4 {
  font-size: 1.3rem;
  color: var(--uif6-accent);
  margin-bottom: 0.8rem;
}

.uif6-seo-links a {
  display: inline-block;
  margin: 0 0.8rem 0.6rem 0;
  font-size: 1.2rem;
  color: var(--uif6-text-muted);
}

.uif6-copyright {
  text-align: center;
  font-size: 1.15rem;
  color: rgba(238, 232, 170, 0.55);
  margin-top: 1.4rem;
  padding-bottom: 0.4rem;
}

/* Bottom nav - unique copper-teal glass style */
.uif6-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--uif6-bottom-h);
  z-index: 1000;
  background: linear-gradient(180deg, rgba(35, 35, 66, 0.98) 0%, #151528 100%);
  border-top: 2px solid var(--uif6-primary);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  box-shadow: 0 -0.4rem 1.6rem rgba(0, 0, 0, 0.4);
  max-width: 100%;
}

.uif6-bottom-nav::before {
  content: '';
  position: absolute;
  top: -0.2rem;
  left: 15%;
  right: 15%;
  height: 0.2rem;
  background: linear-gradient(90deg, transparent, var(--uif6-accent), transparent);
}

.uif6-bnav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  min-width: 60px;
  min-height: 60px;
  color: var(--uif6-text-muted);
  font-size: 1rem;
  font-weight: 600;
  transition: color 0.2s ease, transform 0.15s ease;
  position: relative;
  padding: 0.4rem 0.2rem;
}

.uif6-bnav-item i,
.uif6-bnav-item .material-icons,
.uif6-bnav-item .bi,
.uif6-bnav-item ion-icon {
  font-size: 2.2rem;
  line-height: 1;
  transition: transform 0.15s ease, color 0.2s ease;
}

.uif6-bnav-item .material-icons {
  font-size: 2.4rem;
}

.uif6-bnav-item:active {
  transform: scale(0.92);
}

.uif6-bnav-item:active i,
.uif6-bnav-item:active .material-icons,
.uif6-bnav-item:active .bi,
.uif6-bnav-item:active ion-icon {
  transform: scale(1.08);
  color: var(--uif6-gold);
}

.uif6-bnav-active {
  color: var(--uif6-gold);
}

.uif6-bnav-active::after {
  content: '';
  position: absolute;
  top: 0.3rem;
  width: 1.6rem;
  height: 0.3rem;
  border-radius: 999px;
  background: var(--uif6-gold);
}

.uif6-bnav-promo {
  color: var(--uif6-accent);
}

/* Back to top */
.uif6-backtop {
  position: fixed;
  right: 1.4rem;
  bottom: 8rem;
  width: 4.4rem;
  height: 4.4rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--uif6-primary), #e0a05a);
  color: #1A1A2E;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
  box-shadow: 0 0.4rem 1.2rem rgba(205, 133, 63, 0.45);
}

.uif6-backtop-show {
  opacity: 1;
  visibility: visible;
}

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

  .uif6-main {
    padding-bottom: 3rem;
  }

  body {
    background: #0f0f1c;
  }

  .uif6-wrapper,
  .uif6-container,
  .uif6-header-inner {
    max-width: 430px;
  }

  .uif6-header {
    background: rgba(21, 21, 40, 0.95);
  }

  .uif6-backtop {
    bottom: 3rem;
  }
}

@media (max-width: 360px) {
  .uif6-game-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .uif6-btn {
    padding: 0.7rem 0.9rem;
    font-size: 1.1rem;
  }

  .uif6-logo-text {
    font-size: 1.4rem;
  }
}
