/* ============================================================
   fairplay login - Core Stylesheet (w46e2- prefix)
   Palette: #DDA0DD | #00CED1 | #262626 | #00E5FF | #DA70D6
   Mobile-first, max-width 430px.
   ============================================================ */

:root {
  --w46e2-primary: #00CED1;
  --w46e2-accent: #DA70D6;
  --w46e2-accent-soft: #DDA0DD;
  --w46e2-cyan: #00E5FF;
  --w46e2-bg: #262626;
  --w46e2-bg-dark: #1a1a1a;
  --w46e2-bg-card: #2f2f2f;
  --w46e2-text: #ffffff;
  --w46e2-text-dim: #c9c9c9;
  --w46e2-gold: #ffd54a;
  --w46e2-radius: 14px;
  --w46e2-shadow: 0 6px 22px rgba(0, 0, 0, 0.45);
  --w46e2-header-h: 60px;
  --w46e2-bottom-h: 62px;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

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

img { max-width: 100%; display: block; }
a { color: var(--w46e2-cyan); text-decoration: none; }

/* ---------- Layout ---------- */
.w46e2-wrapper {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
  min-height: 100vh;
}

.w46e2-container {
  padding: 0 1.4rem;
  width: 100%;
}

main.w46e2-main {
  padding-top: calc(var(--w46e2-header-h) + 6px);
  padding-bottom: calc(var(--w46e2-bottom-h) + 24px);
}

/* ---------- Header ---------- */
.w46e2-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--w46e2-header-h);
  background: linear-gradient(90deg, #1f1f1f 0%, #2f2f2f 100%);
  border-bottom: 2px solid var(--w46e2-primary);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  transition: box-shadow .25s ease;
}

.w46e2-header-scrolled {
  box-shadow: 0 4px 18px rgba(0, 229, 255, 0.25);
}

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

.w46e2-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--w46e2-text);
  font-weight: 700;
  font-size: 1.6rem;
}

.w46e2-brand img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}

.w46e2-brand-name {
  background: linear-gradient(90deg, var(--w46e2-cyan), var(--w46e2-accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.w46e2-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.w46e2-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: none;
  border-radius: 30px;
  padding: 0.7rem 1.2rem;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  min-height: 38px;
}

.w46e2-btn:active { transform: scale(0.95); }

.w46e2-btn-register {
  background: linear-gradient(135deg, var(--w46e2-accent), var(--w46e2-cyan));
  color: #0d0d0d;
  box-shadow: 0 4px 14px rgba(218, 112, 214, 0.4);
}

.w46e2-btn-login {
  background: transparent;
  color: var(--w46e2-cyan);
  border: 2px solid var(--w46e2-cyan);
}

.w46e2-btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, var(--w46e2-gold), var(--w46e2-accent));
  color: #1a1a1a;
  padding: 1rem 2rem;
  font-size: 1.6rem;
  font-weight: 800;
  border-radius: 40px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(255, 213, 74, 0.35);
}

.w46e2-menu-toggle {
  background: transparent;
  border: none;
  color: var(--w46e2-text);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.3rem 0.5rem;
  display: inline-flex;
  align-items: center;
}

/* ---------- Mobile slide menu ---------- */
.w46e2-mobile-menu {
  position: fixed;
  top: 0; right: -85%;
  width: 80%;
  height: 100%;
  background: #1c1c1c;
  z-index: 9999;
  padding: 2.2rem 1.4rem;
  transition: right .28s ease;
  overflow-y: auto;
}

.w46e2-menu-open { right: 0; }

.w46e2-mobile-menu h3 {
  font-size: 1.5rem;
  color: var(--w46e2-cyan);
  margin: 1.4rem 0 0.6rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.w46e2-mobile-menu a {
  display: block;
  padding: 0.85rem 0.6rem;
  border-bottom: 1px solid #333;
  color: var(--w46e2-text);
  font-size: 1.4rem;
}

.w46e2-mobile-menu a:hover { color: var(--w46e2-accent); }

.w46e2-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease;
}

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

/* ---------- Hero carousel ---------- */
.w46e2-carousel {
  position: relative;
  border-radius: var(--w46e2-radius);
  overflow: hidden;
  margin: 1rem 0;
  box-shadow: var(--w46e2-shadow);
}

.w46e2-slide {
  display: none;
  position: relative;
}

.w46e2-slide-active { display: block; }

.w46e2-slide img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.w46e2-slide-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1rem 1.4rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
}

.w46e2-slide-cap h2 {
  margin: 0;
  font-size: 1.8rem;
  color: var(--w46e2-cyan);
}

.w46e2-slide-cap p {
  margin: 0.3rem 0 0;
  color: var(--w46e2-text-dim);
  font-size: 1.25rem;
}

.w46e2-dots {
  position: absolute;
  bottom: 8px;
  right: 12px;
  display: flex;
  gap: 6px;
}

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

.w46e2-dot-active { background: var(--w46e2-cyan); }

/* ---------- Sections ---------- */
.w46e2-section {
  margin: 2.4rem 0;
}

.w46e2-section-title {
  font-size: 1.9rem;
  font-weight: 800;
  margin: 0 0 1.2rem;
  padding-left: 0.8rem;
  border-left: 4px solid var(--w46e2-primary);
  color: var(--w46e2-text);
}

.w46e2-h1 {
  font-size: 2.3rem;
  font-weight: 900;
  margin: 1.2rem 0;
  line-height: 1.3;
  background: linear-gradient(90deg, var(--w46e2-cyan), var(--w46e2-accent-soft));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.w46e2-text p {
  color: var(--w46e2-text-dim);
  margin: 0 0 1rem;
  font-size: 1.4rem;
}

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

.w46e2-game-card {
  background: var(--w46e2-bg-card);
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  padding: 0.6rem;
  transition: transform .15s ease;
  cursor: pointer;
  border: 1px solid #3a3a3a;
}

.w46e2-game-card:active { transform: scale(0.95); }

.w46e2-game-card img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 0.4rem;
}

.w46e2-game-name {
  font-size: 1.15rem;
  color: var(--w46e2-text);
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.w46e2-cat-label {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  border-radius: 20px;
  background: rgba(0, 229, 255, 0.12);
  color: var(--w46e2-cyan);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.9rem;
  text-transform: uppercase;
}

/* ---------- Card / Feature blocks ---------- */
.w46e2-card {
  background: var(--w46e2-bg-card);
  border-radius: var(--w46e2-radius);
  padding: 1.4rem;
  margin-bottom: 1.2rem;
  border: 1px solid #3a3a3a;
  box-shadow: var(--w46e2-shadow);
}

.w46e2-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.6rem;
  color: var(--w46e2-cyan);
}

.w46e2-feature-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.w46e2-feature-row .w46e2-ico {
  font-size: 2.4rem;
  color: var(--w46e2-accent);
  min-width: 32px;
  text-align: center;
}

.w46e2-rtp-row {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px dashed #444;
  font-size: 1.3rem;
}

.w46e2-rtp-row span:last-child { color: var(--w46e2-gold); font-weight: 700; }

.w46e2-testimonial {
  background: var(--w46e2-bg-card);
  border-left: 3px solid var(--w46e2-accent);
  padding: 1rem 1.2rem;
  border-radius: 8px;
  margin-bottom: 0.8rem;
}

.w46e2-testimonial p { margin: 0 0 0.4rem; font-size: 1.3rem; color: var(--w46e2-text-dim); }
.w46e2-testimonial strong { color: var(--w46e2-cyan); font-size: 1.2rem; }

.w46e2-payment-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.w46e2-chip {
  background: rgba(218, 112, 214, 0.12);
  color: var(--w46e2-accent-soft);
  border: 1px solid rgba(218, 112, 214, 0.4);
  padding: 0.5rem 1rem;
  border-radius: 30px;
  font-size: 1.2rem;
  font-weight: 600;
}

/* ---------- CTA banner ---------- */
.w46e2-cta-banner {
  background: linear-gradient(135deg, rgba(0, 206, 209, 0.18), rgba(218, 112, 214, 0.18));
  border: 1px solid var(--w46e2-primary);
  border-radius: var(--w46e2-radius);
  padding: 1.6rem;
  text-align: center;
  margin: 1.6rem 0;
}

.w46e2-cta-banner h3 {
  margin: 0 0 0.6rem;
  color: var(--w46e2-cyan);
  font-size: 1.7rem;
}

/* ---------- Inline promo link ---------- */
.w46e2-promo-link {
  color: var(--w46e2-gold);
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

/* ---------- Footer ---------- */
.w46e2-footer {
  background: #1a1a1a;
  padding: 2rem 1.4rem 2.4rem;
  border-top: 2px solid var(--w46e2-primary);
}

.w46e2-footer p { color: var(--w46e2-text-dim); font-size: 1.25rem; line-height: 1.6; }

.w46e2-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin: 1rem 0;
}

.w46e2-footer-links a {
  color: var(--w46e2-cyan);
  font-size: 1.2rem;
}

.w46e2-footer-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1rem 0;
}

.w46e2-footer-buttons .w46e2-btn {
  flex: 1 1 45%;
  font-size: 1.2rem;
  padding: 0.6rem 0.4rem;
}

.w46e2-copyright {
  text-align: center;
  color: #888;
  font-size: 1.1rem;
  margin-top: 1rem;
}

/* ---------- Bottom nav (mobile only) ---------- */
.w46e2-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--w46e2-bottom-h);
  background: #1c1c1c;
  border-top: 2px solid var(--w46e2-primary);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
}

.w46e2-bottom-nav-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--w46e2-text-dim);
  font-size: 1rem;
  gap: 2px;
  min-width: 60px;
  min-height: 60px;
  cursor: pointer;
  transition: color .15s ease, transform .15s ease;
  text-decoration: none;
  padding: 0;
}

.w46e2-bottom-nav-btn:active { transform: scale(0.92); }
.w46e2-bottom-nav-btn .w46e2-bn-icon { font-size: 2.2rem; line-height: 1; }
.w46e2-bottom-nav-active { color: var(--w46e2-cyan); }
.w46e2-bottom-nav-active .w46e2-bn-icon { color: var(--w46e2-accent); }

/* ---------- Desktop: hide bottom nav ---------- */
@media (min-width: 769px) {
  .w46e2-bottom-nav { display: none; }
  main.w46e2-main { padding-bottom: 3rem; }
}

/* ---------- Mobile small screens ---------- */
@media (max-width: 430px) {
  html { font-size: 58%; }
  .w46e2-h1 { font-size: 2rem; }
  .w46e2-grid { grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
  .w46e2-game-card img { height: 70px; }
  .w46e2-section-title { font-size: 1.7rem; }
  .w46e2-slide img { height: 170px; }
  .w46e2-btn { padding: 0.6rem 1rem; font-size: 1.2rem; }
}

@media (max-width: 360px) {
  .w46e2-grid { grid-template-columns: repeat(2, 1fr); }
  .w46e2-brand-name { font-size: 1.3rem; }
}
