/* ============================================================
   jljl55 login register - design-eb81.css
   Mobile-first stylesheet. All custom classes use seb8- prefix.
   Root font 62.5% (1rem = 10px). Layout capped at 430px wide.
   ============================================================ */
:root {
  --seb8-primary: #FFCC02;
  --seb8-accent: #FFE135;
  --seb8-warm: #FFB74D;
  --seb8-bg: #1E1E1E;
  --seb8-bg-alt: #262626;
  --seb8-surface: #303030;
  --seb8-text: #F0F0F0;
  --seb8-text-dim: #BFBFBF;
  --seb8-yellow: #FFEB3B;
  --seb8-radius: 14px;
  --seb8-shadow: 0 4px 18px rgba(0,0,0,0.45);
  --seb8-shadow-soft: 0 2px 8px rgba(0,0,0,0.35);
  --seb8-header-h: 56px;
  --seb8-bottomnav-h: 60px;
}

* { 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, system-ui, sans-serif;
  background: var(--seb8-bg);
  color: var(--seb8-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--seb8-primary); text-decoration: none; }
a:hover, a:focus { color: var(--seb8-accent); }

/* ---------- Layout helpers ---------- */
.seb8-wrapper { width: 100%; max-width: 430px; margin: 0 auto; position: relative; min-height: 100vh; }
.seb8-container { width: 100%; padding: 0 1.2rem; }
main { display: block; padding-bottom: 80px; }

/* ============================================================ Header */
.seb8-header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--seb8-header-h);
  background: linear-gradient(180deg, #1a1a1a 0%, #232323 100%);
  border-bottom: 2px solid var(--seb8-primary);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.6);
}
.seb8-header-inner {
  max-width: 430px; margin: 0 auto; height: 100%;
  padding: 0 1rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.8rem;
}
.seb8-brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.seb8-brand img { width: 28px; height: 28px; border-radius: 6px; }
.seb8-brand-name { color: var(--seb8-primary); font-weight: 700; font-size: 1.4rem; letter-spacing: 0.2px; }
.seb8-header-actions { display: flex; align-items: center; gap: 0.6rem; }

.seb8-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  min-height: 36px; padding: 0 1.2rem;
  border: none; border-radius: 22px;
  font-size: 1.3rem; font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .2s ease;
}
.seb8-btn:active { transform: scale(0.94); }
.seb8-btn-register {
  background: linear-gradient(135deg, var(--seb8-primary), var(--seb8-yellow));
  color: #1a1a1a;
  box-shadow: 0 3px 10px rgba(255,204,2,0.35);
}
.seb8-btn-register:hover { background: linear-gradient(135deg, var(--seb8-accent), var(--seb8-yellow)); color: #1a1a1a; }
.seb8-btn-login { background: transparent; color: var(--seb8-primary); border: 1.5px solid var(--seb8-primary); }
.seb8-btn-login:hover { background: rgba(255,204,2,0.12); }
.seb8-hamburger {
  background: transparent; border: none; color: var(--seb8-primary);
  font-size: 2rem; cursor: pointer; padding: 0.4rem; line-height: 1;
}

/* ============================================================ Mobile drawer menu */
.seb8-mobile-menu {
  position: fixed; top: 0; right: -85%;
  width: 85%; max-width: 320px; height: 100vh;
  background: var(--seb8-bg-alt);
  z-index: 9999;
  padding: 2rem 1.4rem;
  overflow-y: auto;
  transition: right .28s ease;
  border-left: 2px solid var(--seb8-primary);
}
.seb8-mobile-menu.seb8-menu-open { right: 0; }
.seb8-menu-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 9998;
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease;
}
.seb8-menu-overlay.seb8-show { opacity: 1; pointer-events: auto; }
.seb8-menu-close {
  position: absolute; top: 1.2rem; right: 1.2rem;
  background: transparent; border: none; color: var(--seb8-primary);
  font-size: 2.2rem; cursor: pointer;
}
.seb8-mobile-menu h3 {
  font-size: 1.4rem; color: var(--seb8-primary); margin: 1.6rem 0 0.6rem;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.seb8-mobile-menu a {
  display: block; padding: 0.9rem 0.8rem;
  border-bottom: 1px solid #3a3a3a;
  color: var(--seb8-text); font-size: 1.35rem;
}
.seb8-mobile-menu a:hover { background: rgba(255,204,2,0.08); color: var(--seb8-primary); }

/* ============================================================ Hero / Carousel */
.seb8-main { padding-top: var(--seb8-header-h); }
.seb8-hero { position: relative; width: 100%; height: 200px; overflow: hidden; background: #000; }
.seb8-hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; }
.seb8-hero-slide.seb8-active { opacity: 1; }
.seb8-hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.seb8-hero-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 0.8rem 1.2rem;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.8));
  color: #fff; font-size: 1.3rem; font-weight: 600;
}
.seb8-hero-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,0.45); border: none; color: #fff;
  width: 34px; height: 34px; border-radius: 50%;
  font-size: 1.6rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.seb8-hero-nav:hover { background: rgba(255,204,2,0.7); color: #1a1a1a; }
#seb8-hero-prev { left: 6px; }
#seb8-hero-next { right: 6px; }
.seb8-hero-dots {
  position: absolute; left: 0; right: 0; bottom: 8px;
  display: flex; justify-content: center; gap: 6px;
}
.seb8-hero-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.4); cursor: pointer; }
.seb8-hero-dot.seb8-active { background: var(--seb8-primary); }

/* ============================================================ Section + buttons */
.seb8-section { padding: 1.6rem 1.2rem; }
.seb8-section-title {
  font-size: 1.55rem; font-weight: 700; color: var(--seb8-primary);
  margin: 0 0 1rem; padding-left: 10px;
  border-left: 4px solid var(--seb8-yellow);
  line-height: 1.4;
}
.seb8-section-title em { font-style: normal; color: var(--seb8-accent); }
.seb8-text-link { color: var(--seb8-primary); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.seb8-text-link:hover { color: var(--seb8-yellow); }
.seb8-btn-cta {
  display: inline-block;
  background: linear-gradient(135deg, var(--seb8-primary), var(--seb8-warm));
  color: #1a1a1a;
  padding: 0.9rem 2.2rem; border-radius: 30px;
  font-weight: 800; font-size: 1.35rem; border: none; cursor: pointer;
  box-shadow: 0 4px 14px rgba(255,204,2,0.3);
}
.seb8-btn-cta:hover { transform: translateY(-2px); color: #1a1a1a; }
.seb8-card {
  background: var(--seb8-surface);
  border-radius: var(--seb8-radius);
  padding: 1.2rem;
  box-shadow: var(--seb8-shadow-soft);
  margin-bottom: 1rem;
}

/* ============================================================ Game grid */
.seb8-game-search {
  width: 100%; padding: 0.7rem 1rem;
  border-radius: 22px; border: 1px solid #444;
  background: #1a1a1a; color: var(--seb8-text);
  font-size: 1.3rem; margin-bottom: 1rem;
}
.seb8-game-search:focus { outline: 2px solid var(--seb8-primary); }
.seb8-cat-title {
  font-size: 1.35rem; color: var(--seb8-accent);
  margin: 1.4rem 0 0.6rem;
  display: flex; align-items: center; gap: 0.6rem;
}
.seb8-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; }
.seb8-game {
  display: block; text-align: center; cursor: pointer;
  background: var(--seb8-bg-alt);
  border-radius: 10px; padding: 0.5rem;
  transition: transform .15s ease, box-shadow .15s ease;
}
.seb8-game:hover { transform: translateY(-3px); box-shadow: 0 6px 14px rgba(255,204,2,0.25); }
.seb8-game img {
  width: 100%; aspect-ratio: 1/1;
  object-fit: cover; border-radius: 8px; border: 1px solid #333;
}
.seb8-game-name {
  margin-top: 0.4rem; font-size: 1.05rem; color: var(--seb8-text);
  font-weight: 600; line-height: 1.2;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ============================================================ Info / FAQ / lists */
.seb8-prose p { margin: 0 0 1rem; color: var(--seb8-text-dim); }
.seb8-prose strong { color: var(--seb8-text); }
.seb8-features { display: grid; grid-template-columns: 1fr; gap: 0.8rem; }
.seb8-feature {
  display: flex; gap: 0.8rem; align-items: flex-start;
  background: var(--seb8-bg-alt);
  padding: 0.9rem; border-radius: 10px;
  border-left: 3px solid var(--seb8-primary);
}
.seb8-feature-icon {
  flex: 0 0 36px; width: 36px; height: 36px;
  border-radius: 50%; background: rgba(255,204,2,0.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--seb8-primary); font-size: 1.6rem;
}
.seb8-feature h4 { margin: 0 0 0.3rem; font-size: 1.3rem; color: var(--seb8-text); }
.seb8-feature p { margin: 0; font-size: 1.2rem; color: var(--seb8-text-dim); }

.seb8-faq-item {
  background: var(--seb8-bg-alt);
  border-radius: 10px; margin-bottom: 0.7rem;
  overflow: hidden; border: 1px solid #333;
}
.seb8-faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.9rem 1rem;
  font-weight: 700; font-size: 1.25rem; color: var(--seb8-text);
  cursor: pointer; background: transparent; border: none;
  width: 100%; text-align: left;
}
.seb8-faq-q::after { content: "+"; color: var(--seb8-primary); font-size: 1.6rem; }
.seb8-faq-item.seb8-active .seb8-faq-q::after { content: "-"; }
.seb8-faq-a {
  max-height: 0; overflow: hidden; padding: 0 1rem;
  color: var(--seb8-text-dim);
  transition: max-height .3s ease, padding .3s ease;
}
.seb8-faq-item.seb8-active .seb8-faq-a { max-height: 320px; padding: 0 1rem 1rem; }

.seb8-rtp-table { width: 100%; border-collapse: collapse; font-size: 1.2rem; }
.seb8-rtp-table th, .seb8-rtp-table td { padding: 0.6rem 0.7rem; border-bottom: 1px solid #3a3a3a; text-align: left; }
.seb8-rtp-table th { color: var(--seb8-primary); }
.seb8-rtp-badge {
  display: inline-block; padding: 2px 8px;
  background: var(--seb8-primary); color: #1a1a1a;
  border-radius: 10px; font-weight: 700; font-size: 1.1rem;
}

.seb8-testimonials { display: grid; gap: 0.8rem; }
.seb8-testimonial {
  background: var(--seb8-bg-alt);
  border-radius: 10px; padding: 0.9rem;
  border-left: 3px solid var(--seb8-accent);
}
.seb8-testimonial-stars { color: var(--seb8-yellow); margin-bottom: 0.3rem; }
.seb8-testimonial p { margin: 0 0 0.4rem; font-size: 1.2rem; color: var(--seb8-text); }
.seb8-testimonial cite { color: var(--seb8-text-dim); font-style: normal; font-size: 1.1rem; }

.seb8-winners { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem; font-size: 1.2rem; }
.seb8-winner { background: var(--seb8-bg-alt); border-radius: 8px; padding: 0.6rem 0.8rem; }
.seb8-winner span { color: var(--seb8-primary); font-weight: 700; }

.seb8-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.seb8-chip {
  background: var(--seb8-bg-alt); color: var(--seb8-text);
  padding: 0.5rem 0.9rem; border-radius: 20px;
  font-size: 1.2rem; border: 1px solid #3a3a3a;
}

.seb8-app-cta {
  background: linear-gradient(135deg, var(--seb8-bg-alt), #2c2c2c);
  border-radius: var(--seb8-radius);
  padding: 1.4rem; text-align: center;
  border: 1px solid var(--seb8-primary);
}
.seb8-app-cta h3 { margin: 0 0 0.6rem; color: var(--seb8-primary); font-size: 1.4rem; }
.seb8-app-cta p { margin: 0 0 1rem; color: var(--seb8-text-dim); font-size: 1.2rem; }
.seb8-app-btns { display: flex; justify-content: center; gap: 0.6rem; flex-wrap: wrap; }

/* ============================================================ Footer */
.seb8-footer {
  background: #141414;
  padding: 2rem 1.2rem 6rem;
  border-top: 2px solid var(--seb8-primary);
  margin-top: 1.5rem;
}
.seb8-footer-about { color: var(--seb8-text-dim); font-size: 1.2rem; margin-bottom: 1.2rem; }
.seb8-footer-promo { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.2rem; }
.seb8-footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem 0.8rem; margin-bottom: 1.2rem; }
.seb8-footer-links a { color: var(--seb8-text-dim); font-size: 1.15rem; }
.seb8-footer-links a:hover { color: var(--seb8-primary); }
.seb8-copyright { text-align: center; color: #777; font-size: 1.1rem; border-top: 1px solid #2a2a2a; padding-top: 1rem; }

/* ============================================================ Mobile bottom nav */
.seb8-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  height: var(--seb8-bottomnav-h);
  background: linear-gradient(180deg, #1f1f1f, #141414);
  border-top: 2px solid var(--seb8-primary);
  z-index: 1000;
  display: flex; justify-content: space-around; align-items: stretch;
}
.seb8-bottom-btn {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 2px;
  color: var(--seb8-text-dim);
  background: transparent; border: none; cursor: pointer;
  text-decoration: none; font-size: 1rem; padding: 0.4rem 0;
  transition: color .15s ease, transform .15s ease;
  min-width: 60px; min-height: 60px;
}
.seb8-bottom-btn .material-icons,
.seb8-bottom-btn ion-icon,
.seb8-bottom-btn i { font-size: 22px; line-height: 1; }
.seb8-bottom-btn:hover { color: var(--seb8-primary); }
.seb8-bottom-btn:active { transform: scale(0.92); }
.seb8-bottom-btn.seb8-active { color: var(--seb8-primary); }
.seb8-bottom-btn-label { font-size: 1rem; line-height: 1; }

.seb8-back-top {
  position: fixed; right: 14px;
  bottom: calc(var(--seb8-bottomnav-h) + 14px);
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--seb8-primary); color: #1a1a1a;
  border: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; cursor: pointer;
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease, transform .15s ease;
  z-index: 999;
}
.seb8-back-top.seb8-show { opacity: 1; pointer-events: auto; }
.seb8-back-top:hover { transform: translateY(-2px); }

/* ============================================================ Desktop layout (>768px) */
@media (min-width: 769px) {
  .seb8-bottom-nav { display: none; }
  .seb8-wrapper { max-width: 760px; }
  .seb8-header-inner { max-width: 760px; }
  main { padding-bottom: 40px; }
  .seb8-grid { grid-template-columns: repeat(5, 1fr); }
  .seb8-hero { height: 320px; }
  .seb8-footer { padding-bottom: 2rem; }
}

/* Accessibility focus */
:focus-visible { outline: 2px solid var(--seb8-yellow); outline-offset: 2px; }
