/* ok356 core CSS - English comments only */
/* All classes use sef7- prefix for namespace isolation */

:root {
  --sef7-primary: #FF1493;
  --sef7-accent: #F4A460;
  --sef7-bg: #1A1A2E;
  --sef7-bg2: #232347;
  --sef7-text: #F8F8FF;
  --sef7-muted: #b8b8d4;
  --sef7-hot: #FF6347;
  --sef7-card: #21213d;
  --sef7-border: #2d2d52;
  --sef7-gold: #F4A460;
}

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

html { font-size: 62.5%; }

body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  background: var(--sef7-bg);
  color: var(--sef7-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
}

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

/* ===== Header ===== */
.sef7-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  max-width: 430px;
  margin: 0 auto;
  background: linear-gradient(135deg, #1A1A2E 0%, #2a1a3e 100%);
  border-bottom: 2px solid var(--sef7-primary);
  z-index: 1000;
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 10px rgba(0,0,0,0.4);
}
.sef7-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}
.sef7-logo img { width: 30px; height: 30px; border-radius: 6px; }
.sef7-logo-text {
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(90deg, #FF1493, #F4A460);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.sef7-header-actions { display: flex; align-items: center; gap: 0.5rem; }
.sef7-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 20px;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s, opacity 0.15s;
  min-height: 36px;
}
.sef7-btn:active { transform: scale(0.94); }
.sef7-btn-login {
  background: transparent;
  color: var(--sef7-text);
  border: 1.5px solid var(--sef7-accent);
}
.sef7-btn-register {
  background: linear-gradient(90deg, #FF1493, #FF6347);
  color: #fff;
  box-shadow: 0 2px 8px rgba(255,20,147,0.4);
}
.sef7-menu-btn {
  background: transparent;
  border: none;
  color: var(--sef7-text);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
}

/* ===== Mobile Menu ===== */
.sef7-mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0;
  max-width: 430px;
  margin: 0 auto;
  background: var(--sef7-bg2);
  border-bottom: 2px solid var(--sef7-primary);
  z-index: 9999;
  padding: 5rem 1rem 1rem;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
  max-height: 80vh;
  overflow-y: auto;
}
.sef7-mobile-menu.sef7-menu-open { transform: translateY(0); }
.sef7-mobile-menu a {
  display: block;
  padding: 1rem 1.2rem;
  color: var(--sef7-text);
  border-bottom: 1px solid var(--sef7-border);
  font-size: 1.4rem;
}
.sef7-mobile-menu a:hover { background: rgba(255,20,147,0.15); color: var(--sef7-accent); }

/* ===== Main / Layout ===== */
main { padding-top: 6rem; padding-bottom: 1rem; }
.sef7-container { padding: 0 1rem; }
.sef7-section { margin: 2rem 0; }
.sef7-section-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 1rem;
  padding-left: 1rem;
  border-left: 4px solid var(--sef7-primary);
  color: var(--sef7-text);
}
.sef7-section-title .sef7-hl { color: var(--sef7-accent); }

/* ===== Carousel ===== */
.sef7-carousel {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 14px rgba(0,0,0,0.45);
}
.sef7-carousel-viewport { overflow: hidden; }
.sef7-carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}
.sef7-carousel-slide {
  min-width: 100%;
  position: relative;
  cursor: pointer;
}
.sef7-carousel-slide img { width: 100%; height: 190px; object-fit: cover; }
.sef7-carousel-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  padding: 1.5rem 1rem 1rem;
  font-size: 1.4rem;
  font-weight: 700;
}
.sef7-carousel-cap span { color: var(--sef7-accent); }
.sef7-carousel-dot-wrap {
  position: absolute;
  bottom: 0.6rem; left: 0; right: 0;
  display: flex; justify-content: center; gap: 0.5rem;
  z-index: 5;
}
.sef7-carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: none; cursor: pointer; padding: 0;
}
.sef7-carousel-dot-active { background: var(--sef7-primary); width: 22px; border-radius: 4px; }
.sef7-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  color: #fff;
  border: none;
  width: 32px; height: 32px;
  border-radius: 50%;
  font-size: 1.6rem;
  cursor: pointer;
  z-index: 5;
}
.sef7-carousel-prev { left: 0.5rem; }
.sef7-carousel-next { right: 0.5rem; }

/* ===== Promo CTA ===== */
.sef7-cta {
  display: block;
  text-align: center;
  background: linear-gradient(90deg, #FF1493, #FF6347);
  color: #fff;
  padding: 1.2rem;
  border-radius: 12px;
  font-weight: 800;
  font-size: 1.6rem;
  margin: 1.5rem 0;
  box-shadow: 0 3px 12px rgba(255,20,147,0.4);
}
.sef7-cta:hover { opacity: 0.92; color: #fff; }
.sef7-cta-text a { font-weight: 800; color: var(--sef7-accent); }

/* ===== Hero ===== */
.sef7-hero {
  padding: 1rem;
  background: linear-gradient(135deg, rgba(255,20,147,0.2), rgba(244,164,96,0.15));
  border-radius: 14px;
  margin-bottom: 1.5rem;
}
.sef7-hero h1 {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 0.8rem;
}
.sef7-hero h1 span { color: var(--sef7-accent); }
.sef7-hero p { color: var(--sef7-muted); font-size: 1.35rem; }

/* ===== Game grid ===== */
.sef7-cat-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 1.5rem 0 0.8rem;
  color: var(--sef7-accent);
  display: flex; align-items: center; gap: 0.5rem;
}
.sef7-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
}
.sef7-game {
  display: block;
  text-align: center;
  cursor: pointer;
}
.sef7-game img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
  border: 1.5px solid var(--sef7-border);
  transition: transform 0.15s, border-color 0.15s;
}
.sef7-game:hover img { transform: scale(1.05); border-color: var(--sef7-primary); }
.sef7-game-name {
  font-size: 1.05rem;
  margin-top: 0.3rem;
  color: var(--sef7-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ===== Cards / modules ===== */
.sef7-card {
  background: var(--sef7-card);
  border-radius: 12px;
  padding: 1.2rem;
  margin-bottom: 1rem;
  border: 1px solid var(--sef7-border);
}
.sef7-card h2, .sef7-card h3 { margin-bottom: 0.6rem; color: var(--sef7-accent); }
.sef7-card h2 { font-size: 1.6rem; }
.sef7-card h3 { font-size: 1.4rem; }
.sef7-card p { color: var(--sef7-muted); margin-bottom: 0.6rem; font-size: 1.3rem; }
.sef7-card ul { padding-left: 1.6rem; color: var(--sef7-muted); }
.sef7-card li { margin-bottom: 0.4rem; font-size: 1.3rem; }

/* ===== RTP table ===== */
.sef7-rtp-table { width: 100%; border-collapse: collapse; font-size: 1.25rem; }
.sef7-rtp-table th, .sef7-rtp-table td {
  padding: 0.6rem 0.4rem;
  border-bottom: 1px solid var(--sef7-border);
  text-align: left;
}
.sef7-rtp-table th { color: var(--sef7-accent); }
.sef7-rtp-table td.sef7-rtp-high { color: #4ade80; font-weight: 700; }
.sef7-rtp-table td.sef7-rtp-mid { color: var(--sef7-gold); font-weight: 700; }

/* ===== Testimonials ===== */
.sef7-testi {
  background: var(--sef7-card);
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 0.8rem;
  border-left: 3px solid var(--sef7-primary);
}
.sef7-testi-name { font-weight: 700; color: var(--sef7-accent); font-size: 1.3rem; }
.sef7-testi-stars { color: #FFD700; font-size: 1.2rem; }
.sef7-testi-text { color: var(--sef7-muted); font-size: 1.25rem; margin-top: 0.3rem; }

/* ===== Payment icons ===== */
.sef7-pay-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.sef7-pay-item {
  background: var(--sef7-card);
  border: 1px solid var(--sef7-border);
  border-radius: 8px;
  padding: 0.6rem 0.9rem;
  font-size: 1.2rem;
  display: flex; align-items: center; gap: 0.4rem;
}

/* ===== Winners ===== */
.sef7-winner {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--sef7-card);
  padding: 0.7rem 1rem;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}
.sef7-winner-amount { color: #4ade80; font-weight: 800; }

/* ===== FAQ ===== */
.sef7-faq-item {
  background: var(--sef7-card);
  border-radius: 10px;
  margin-bottom: 0.6rem;
  overflow: hidden;
  border: 1px solid var(--sef7-border);
}
.sef7-faq-q {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  color: var(--sef7-text);
  font-size: 1.35rem;
  font-weight: 700;
  padding: 1rem;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
}
.sef7-faq-q::after { content: '+'; color: var(--sef7-accent); font-size: 1.6rem; }
.sef7-faq-item.sef7-faq-open .sef7-faq-q::after { content: '-'; }
.sef7-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: var(--sef7-muted);
  font-size: 1.25rem;
  padding: 0 1rem;
}
.sef7-faq-item.sef7-faq-open .sef7-faq-a { max-height: 300px; padding-bottom: 1rem; }

/* ===== Footer ===== */
.sef7-footer {
  background: var(--sef7-bg2);
  padding: 2rem 1rem 1rem;
  margin-top: 2rem;
  border-top: 2px solid var(--sef7-primary);
}
.sef7-footer-brand { color: var(--sef7-muted); font-size: 1.25rem; margin-bottom: 1rem; }
.sef7-footer-promo {
  display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem;
}
.sef7-footer-promo button, .sef7-footer-promo a {
  flex: 1 1 45%;
  background: linear-gradient(90deg, #FF1493, #FF6347);
  color: #fff;
  border: none;
  padding: 0.7rem;
  border-radius: 8px;
  font-size: 1.2rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
}
.sef7-footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem 1rem;
  margin-bottom: 1rem;
}
.sef7-footer-links a { color: var(--sef7-muted); font-size: 1.2rem; }
.sef7-footer-copy { color: var(--sef7-muted); font-size: 1.1rem; text-align: center; border-top: 1px solid var(--sef7-border); padding-top: 1rem; }

/* ===== Bottom Nav ===== */
.sef7-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  max-width: 430px;
  margin: 0 auto;
  background: linear-gradient(180deg, #2a1a3e, #1A1A2E);
  border-top: 2px solid var(--sef7-primary);
  height: 60px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.4);
}
.sef7-bottom-nav-btn {
  background: transparent;
  border: none;
  color: var(--sef7-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  min-width: 60px;
  min-height: 60px;
  cursor: pointer;
  font-size: 1rem;
  padding: 0.3rem;
  transition: color 0.15s, transform 0.15s;
}
.sef7-bottom-nav-btn:active { transform: scale(0.9); }
.sef7-bottom-nav-btn .material-icons,
.sef7-bottom-nav-btn ion-icon,
.sef7-bottom-nav-btn i { font-size: 24px; }
.sef7-bottom-nav-btn.sef7-nav-active { color: var(--sef7-primary); }
.sef7-bottom-nav-btn:hover { color: var(--sef7-accent); }

/* ===== Back to top ===== */
.sef7-back-top {
  position: fixed;
  bottom: 75px; right: 1rem;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--sef7-primary);
  color: #fff;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.sef7-back-top.sef7-back-top-show { opacity: 1; pointer-events: auto; }

/* ===== Mobile padding ===== */
@media (max-width: 768px) {
  main { padding-bottom: 80px; }
}
@media (min-width: 769px) {
  .sef7-bottom-nav { display: none; }
  body { max-width: 430px; }
}
