/* okpun layout styles - prefix s0fe- */
:root {
  --s0fe-primary: #9370DB;
  --s0fe-secondary: #800080;
  --s0fe-accent: #C9C9FF;
  --s0fe-light: #F5F5F5;
  --s0fe-warm: #FFDFBA;
  --s0fe-bg: #0E1621;
  --s0fe-bg2: #162033;
  --s0fe-card: #1a2438;
  --s0fe-text: #F5F5F5;
  --s0fe-muted: #C9C9FF;
  --s0fe-border: rgba(147, 112, 219, 0.35);
  --s0fe-radius: 0.8rem;
  --s0fe-header-h: 5.6rem;
  --s0fe-bottom-h: 6.2rem;
  --s0fe-max: 43rem;
}

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

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

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

a {
  color: var(--s0fe-accent);
  text-decoration: none;
}

a:hover {
  color: var(--s0fe-warm);
}

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

ul, ol {
  list-style: none;
}

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

.s0fe-wrapper {
  width: 100%;
  max-width: var(--s0fe-max);
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
  background: linear-gradient(180deg, #0E1621 0%, #121c2e 50%, #0E1621 100%);
}

.s0fe-container {
  width: 100%;
  padding: 0 1.2rem;
}

.s0fe-main {
  padding-top: var(--s0fe-header-h);
  padding-bottom: 8rem;
  min-height: 60vh;
}

/* Header */
.s0fe-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--s0fe-header-h);
  background: rgba(14, 22, 33, 0.96);
  border-bottom: 1px solid var(--s0fe-border);
  backdrop-filter: blur(8px);
}

.s0fe-header-inner {
  max-width: var(--s0fe-max);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.2rem;
  gap: 0.8rem;
}

.s0fe-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
  color: var(--s0fe-light);
}

.s0fe-logo img {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 0.6rem;
  flex-shrink: 0;
}

.s0fe-logo-text {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--s0fe-accent);
  letter-spacing: 0.03em;
  white-space: nowrap;
}

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

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

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

.s0fe-btn-sm {
  min-height: 3.6rem;
  padding: 0.6rem 1.1rem;
  font-size: 1.2rem;
}

.s0fe-btn-primary {
  background: linear-gradient(135deg, var(--s0fe-primary), var(--s0fe-secondary));
  color: #fff;
  box-shadow: 0 0.4rem 1.2rem rgba(147, 112, 219, 0.35);
}

.s0fe-btn-primary:hover {
  box-shadow: 0 0.6rem 1.6rem rgba(147, 112, 219, 0.5);
}

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

.s0fe-btn-outline:hover {
  background: rgba(147, 112, 219, 0.15);
}

.s0fe-btn-warm {
  background: linear-gradient(135deg, #FFDFBA, #e8b87a);
  color: #0E1621;
}

.s0fe-menu-btn {
  width: 4.4rem;
  height: 4.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.8rem;
  color: var(--s0fe-accent);
  font-size: 2rem;
  background: rgba(147, 112, 219, 0.12);
}

/* Mobile menu */
.s0fe-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, visibility 0.25s ease;
}

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

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

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

.s0fe-menu-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 4.4rem;
  height: 4.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--s0fe-accent);
}

.s0fe-menu-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--s0fe-warm);
  margin: 1rem 0 1.6rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--s0fe-border);
}

.s0fe-menu-list li {
  margin-bottom: 0.4rem;
}

.s0fe-menu-list a {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 4.4rem;
  padding: 0.8rem 1rem;
  border-radius: 0.8rem;
  color: var(--s0fe-light);
  font-size: 1.4rem;
  transition: background 0.2s ease;
}

.s0fe-menu-list a:hover,
.s0fe-menu-list a:active {
  background: rgba(147, 112, 219, 0.18);
  color: var(--s0fe-warm);
}

.s0fe-menu-list i,
.s0fe-menu-list .material-icons,
.s0fe-menu-list .ti {
  font-size: 1.8rem;
  width: 2.2rem;
  text-align: center;
  color: var(--s0fe-primary);
}

.s0fe-menu-list .material-icons {
  font-size: 2rem;
  line-height: 1;
}

/* Carousel */
.s0fe-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #0a1018;
  aspect-ratio: 16 / 9;
}

.s0fe-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

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

.s0fe-slide-active {
  opacity: 1;
  z-index: 1;
}

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

.s0fe-slide-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.2rem 1.4rem;
  background: linear-gradient(transparent, rgba(14, 22, 33, 0.9));
  color: var(--s0fe-light);
  font-size: 1.4rem;
  font-weight: 600;
  z-index: 2;
}

.s0fe-carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
  background: rgba(14, 22, 33, 0.55);
  color: var(--s0fe-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

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

.s0fe-dots {
  position: absolute;
  bottom: 0.8rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  z-index: 3;
}

.s0fe-dot {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: rgba(245, 245, 245, 0.4);
  transition: background 0.2s ease, transform 0.2s ease;
}

.s0fe-dot-active {
  background: var(--s0fe-primary);
  transform: scale(1.25);
}

/* Typography */
.s0fe-h1 {
  font-size: 2rem;
  line-height: 1.35;
  color: var(--s0fe-light);
  margin: 1.6rem 0 1.2rem;
  font-weight: 800;
}

.s0fe-section {
  margin: 2rem 0;
}

.s0fe-section-title {
  font-size: 1.7rem;
  line-height: 1.35;
  color: var(--s0fe-accent);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
}

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

.s0fe-h3 {
  font-size: 1.5rem;
  color: var(--s0fe-warm);
  margin: 1.2rem 0 0.8rem;
  font-weight: 700;
}

.s0fe-text {
  font-size: 1.4rem;
  line-height: 1.65;
  color: var(--s0fe-muted);
  margin-bottom: 1.2rem;
}

.s0fe-text strong {
  color: var(--s0fe-light);
  font-weight: 700;
}

.s0fe-text a {
  color: var(--s0fe-primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.s0fe-cat-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: rgba(128, 0, 128, 0.25);
  color: var(--s0fe-warm);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Game grid */
.s0fe-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}

.s0fe-game-card {
  background: var(--s0fe-card);
  border: 1px solid var(--s0fe-border);
  border-radius: var(--s0fe-radius);
  padding: 0.6rem;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  min-height: 4.4rem;
}

.s0fe-game-card:hover,
.s0fe-game-card:active {
  transform: translateY(-0.2rem) scale(1.02);
  border-color: var(--s0fe-primary);
  box-shadow: 0 0.6rem 1.4rem rgba(147, 112, 219, 0.25);
}

.s0fe-game-icon {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 0.6rem;
  overflow: hidden;
  background: #0a1018;
  margin-bottom: 0.5rem;
}

.s0fe-game-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.s0fe-game-name {
  font-size: 1rem;
  line-height: 1.25;
  color: var(--s0fe-light);
  font-weight: 600;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  min-height: 2.5rem;
}

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

.s0fe-card-title {
  font-size: 1.5rem;
  color: var(--s0fe-warm);
  margin-bottom: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.s0fe-promo-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  margin: 1.2rem 0 1.6rem;
}

.s0fe-link-text {
  color: var(--s0fe-primary);
  font-weight: 800;
  font-size: 1.3rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.25rem;
  min-height: 4.4rem;
  display: inline-flex;
  align-items: center;
}

.s0fe-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.s0fe-feature-item {
  background: rgba(147, 112, 219, 0.08);
  border: 1px solid var(--s0fe-border);
  border-radius: var(--s0fe-radius);
  padding: 1.2rem;
}

.s0fe-feature-item h3 {
  font-size: 1.3rem;
  color: var(--s0fe-accent);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.s0fe-feature-item p {
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--s0fe-muted);
}

.s0fe-faq-item {
  border-bottom: 1px solid var(--s0fe-border);
  padding: 1.2rem 0;
}

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

.s0fe-faq-q {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--s0fe-light);
  margin-bottom: 0.6rem;
}

.s0fe-faq-a {
  font-size: 1.3rem;
  line-height: 1.55;
  color: var(--s0fe-muted);
}

.s0fe-rtp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.s0fe-rtp-item {
  background: rgba(255, 223, 186, 0.06);
  border: 1px solid rgba(255, 223, 186, 0.2);
  border-radius: 0.8rem;
  padding: 1rem;
  text-align: center;
}

.s0fe-rtp-value {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--s0fe-warm);
  display: block;
  margin-bottom: 0.3rem;
}

.s0fe-rtp-label {
  font-size: 1.1rem;
  color: var(--s0fe-muted);
}

.s0fe-winner-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.s0fe-winner-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  background: rgba(147, 112, 219, 0.08);
  border-radius: 0.8rem;
  padding: 1rem 1.2rem;
  border: 1px solid var(--s0fe-border);
}

.s0fe-winner-name {
  font-weight: 700;
  color: var(--s0fe-light);
  font-size: 1.3rem;
}

.s0fe-winner-game {
  font-size: 1.1rem;
  color: var(--s0fe-muted);
}

.s0fe-winner-amount {
  color: var(--s0fe-warm);
  font-weight: 800;
  font-size: 1.3rem;
}

.s0fe-pay-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.s0fe-pay-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: rgba(147, 112, 219, 0.12);
  border: 1px solid var(--s0fe-border);
  font-size: 1.2rem;
  color: var(--s0fe-accent);
  min-height: 4.4rem;
}

.s0fe-testimonial {
  background: rgba(128, 0, 128, 0.12);
  border-left: 0.3rem solid var(--s0fe-primary);
  border-radius: 0 0.8rem 0.8rem 0;
  padding: 1.2rem;
  margin-bottom: 1rem;
}

.s0fe-testimonial p {
  font-size: 1.3rem;
  line-height: 1.55;
  color: var(--s0fe-muted);
  margin-bottom: 0.6rem;
}

.s0fe-testimonial cite {
  font-style: normal;
  font-size: 1.2rem;
  color: var(--s0fe-warm);
  font-weight: 600;
}

.s0fe-cta-box {
  background: linear-gradient(135deg, rgba(147, 112, 219, 0.25), rgba(128, 0, 128, 0.3));
  border: 1px solid var(--s0fe-primary);
  border-radius: 1.2rem;
  padding: 2rem 1.4rem;
  text-align: center;
  margin: 2rem 0;
}

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

.s0fe-cta-box p {
  font-size: 1.3rem;
  color: var(--s0fe-muted);
  margin-bottom: 1.4rem;
  line-height: 1.55;
}

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

.s0fe-footer-brand {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--s0fe-accent);
  margin-bottom: 0.8rem;
}

.s0fe-footer-desc {
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--s0fe-muted);
  margin-bottom: 1.4rem;
}

.s0fe-footer-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.6rem;
}

.s0fe-footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 1.2rem;
  margin-bottom: 1.6rem;
}

.s0fe-footer-links a {
  font-size: 1.2rem;
  color: var(--s0fe-accent);
  min-height: 3.6rem;
  display: inline-flex;
  align-items: center;
  font-weight: 600;
}

.s0fe-footer-links a:hover {
  color: var(--s0fe-warm);
}

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

.s0fe-seo-links h3 {
  font-size: 1.3rem;
  color: var(--s0fe-light);
  margin-bottom: 0.8rem;
}

.s0fe-seo-links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.2rem;
}

.s0fe-seo-links a {
  font-size: 1.2rem;
  color: var(--s0fe-primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.s0fe-copyright {
  font-size: 1.1rem;
  color: rgba(201, 201, 255, 0.55);
  text-align: center;
  padding-top: 1.2rem;
  border-top: 1px solid var(--s0fe-border);
}

/* Bottom navigation - unique purple pill style */
.s0fe-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--s0fe-bottom-h);
  background: linear-gradient(180deg, #1a1030 0%, #120a22 100%);
  border-top: 1px solid rgba(147, 112, 219, 0.45);
  box-shadow: 0 -0.4rem 1.6rem rgba(128, 0, 128, 0.25);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  max-width: var(--s0fe-max);
  margin: 0 auto;
  padding: 0.4rem 0.2rem calc(0.4rem + env(safe-area-inset-bottom, 0px));
}

.s0fe-bnav-item {
  flex: 1;
  min-width: 6rem;
  min-height: 6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  color: var(--s0fe-muted);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 1.2rem;
  transition: color 0.2s ease, background 0.2s ease, transform 0.15s ease;
  position: relative;
}

.s0fe-bnav-item i,
.s0fe-bnav-item .material-icons,
.s0fe-bnav-item .ti,
.s0fe-bnav-item .bi {
  font-size: 2.2rem;
  line-height: 1;
}

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

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

.s0fe-bnav-item:hover,
.s0fe-bnav-active {
  color: var(--s0fe-warm);
  background: rgba(147, 112, 219, 0.18);
}

.s0fe-bnav-active::after {
  content: '';
  position: absolute;
  top: 0.4rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--s0fe-primary);
  box-shadow: 0 0 0.6rem var(--s0fe-primary);
}

.s0fe-bnav-label {
  font-size: 1rem;
  line-height: 1.1;
  text-align: center;
}

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

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

  .s0fe-wrapper {
    box-shadow: 0 0 4rem rgba(147, 112, 219, 0.12);
  }

  .s0fe-game-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
  }

  .s0fe-h1 {
    font-size: 2.4rem;
  }
}

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

  .s0fe-feature-grid,
  .s0fe-rtp-grid {
    grid-template-columns: 1fr;
  }

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

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