/* 33win5 theme - mobile-first gaming site styles */
/* All custom classes use the gc5e- prefix for namespace isolation */

:root {
  --gc5e-primary: #FFB74D;
  --gc5e-secondary: #4B0082;
  --gc5e-bg: #0F0F23;
  --gc5e-gold: #FFD700;
  --gc5e-text: #F8F8FF;
  --gc5e-muted: #9aa0c0;
  --gc5e-card: #181838;
  --gc5e-card-2: #1f1f4a;
  --gc5e-border: rgba(255, 183, 77, 0.22);
  --gc5e-radius: 14px;
  --gc5e-shadow: 0 6px 22px rgba(0, 0, 0, 0.45);
}

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

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

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

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

a { color: var(--gc5e-primary); text-decoration: none; }

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

/* ===== Header ===== */
.gc5e-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  max-width: 430px; margin: 0 auto;
  background: linear-gradient(135deg, #0F0F23 0%, #1a0f3a 60%, #4B0082 100%);
  border-bottom: 2px solid var(--gc5e-primary);
  box-shadow: var(--gc5e-shadow);
}
.gc5e-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.6rem 1rem; min-height: 56px;
}
.gc5e-logo { display: flex; align-items: center; gap: 0.6rem; }
.gc5e-logo img { width: 30px; height: 30px; border-radius: 6px; }
.gc5e-logo span { font-size: 1.6rem; font-weight: 800; color: var(--gc5e-gold); letter-spacing: 0.5px; }
.gc5e-head-actions { display: flex; align-items: center; gap: 0.5rem; }
.gc5e-menu-btn {
  background: transparent; border: 1px solid var(--gc5e-border);
  color: var(--gc5e-text); border-radius: 8px; padding: 0.5rem 0.7rem;
  font-size: 1.3rem; cursor: pointer; min-width: 44px; min-height: 44px;
}
.gc5e-btn {
  border: none; border-radius: 10px; padding: 0.7rem 1.2rem;
  font-size: 1.3rem; font-weight: 700; cursor: pointer;
  min-height: 44px; transition: transform 0.15s, filter 0.15s;
}
.gc5e-btn:active { transform: scale(0.96); }
.gc5e-btn-register {
  background: linear-gradient(135deg, var(--gc5e-gold), var(--gc5e-primary));
  color: #0F0F23;
}
.gc5e-btn-login {
  background: transparent; color: var(--gc5e-text);
  border: 1px solid var(--gc5e-primary);
}

/* ===== Mobile menu (expandable) ===== */
.gc5e-mobile-menu {
  max-height: 0; overflow: hidden; transition: max-height 0.28s ease;
  background: #120a2e; border-top: 1px solid var(--gc5e-border);
}
.gc5e-mobile-menu.appb7c-menu-open { max-height: 460px; }
.gc5e-mobile-menu ul { list-style: none; padding: 0.4rem 1rem 0.8rem; }
.gc5e-mobile-menu li a {
  display: block; padding: 0.9rem 0.6rem; color: var(--gc5e-text);
  font-size: 1.35rem; border-bottom: 1px dashed rgba(255,183,77,0.15);
}
.gc5e-mobile-menu li a:active { color: var(--gc5e-primary); }

/* ===== Main spacing ===== */
.gc5e-main { padding-top: 70px; padding-bottom: 80px; }

/* ===== Carousel ===== */
.gc5e-carousel {
  position: relative; margin: 1rem 0; border-radius: var(--gc5e-radius);
  overflow: hidden; box-shadow: var(--gc5e-shadow);
}
.gc5e-slide {
  position: relative; display: none; cursor: pointer;
}
.gc5e-slide.appb7c-slide-active { display: block; }
.gc5e-slide img { width: 100%; height: 200px; object-fit: cover; }
.gc5e-slide-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 0.8rem 1rem; background: linear-gradient(transparent, rgba(15,15,35,0.92));
  color: var(--gc5e-text); font-size: 1.3rem; font-weight: 600;
}
.gc5e-dots {
  position: absolute; bottom: 8px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 6px; z-index: 5;
}
.gc5e-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(248,248,255,0.5); cursor: pointer; border: none;
}
.gc5e-dot.appb7c-dot-active { background: var(--gc5e-gold); }

/* ===== Section title ===== */
.gc5e-sec { margin: 1.6rem 0; }
.gc5e-sec-title {
  font-size: 1.7rem; font-weight: 800; color: var(--gc5e-gold);
  margin: 0.4rem 0 1rem; padding-left: 0.8rem;
  border-left: 4px solid var(--gc5e-primary);
}
.gc5e-h1 {
  font-size: 1.9rem; font-weight: 800; color: var(--gc5e-text);
  margin: 1rem 0; line-height: 1.35;
}
.gc5e-h1 b { color: var(--gc5e-gold); }

/* ===== Game grid ===== */
.gc5e-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem;
}
.gc5e-game {
  background: var(--gc5e-card); border: 1px solid var(--gc5e-border);
  border-radius: 10px; overflow: hidden; cursor: pointer;
  transition: transform 0.15s, border-color 0.15s;
}
.gc5e-game:active { transform: scale(0.96); border-color: var(--gc5e-primary); }
.gc5e-game img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.gc5e-game-name {
  padding: 0.4rem 0.5rem; font-size: 1.1rem; text-align: center;
  color: var(--gc5e-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ===== Cards ===== */
.gc5e-card {
  background: var(--gc5e-card); border: 1px solid var(--gc5e-border);
  border-radius: var(--gc5e-radius); padding: 1.2rem; margin: 1rem 0;
  box-shadow: var(--gc5e-shadow);
}
.gc5e-card h2 { color: var(--gc5e-gold); font-size: 1.6rem; margin-bottom: 0.6rem; }
.gc5e-card h3 { color: var(--gc5e-primary); font-size: 1.4rem; margin: 0.8rem 0 0.4rem; }
.gc5e-card p { margin: 0.4rem 0; color: var(--gc5e-text); }
.gc5e-card ul { padding-left: 1.4rem; margin: 0.5rem 0; }
.gc5e-card li { margin: 0.3rem 0; }

/* ===== Promo link (inline text + button) ===== */
.gc5e-promo-text {
  color: var(--gc5e-gold); font-weight: 800; cursor: pointer;
  border-bottom: 2px dotted var(--gc5e-primary);
}
.gc5e-promo-text:active { color: var(--gc5e-primary); }
.gc5e-cta {
  display: inline-block; margin: 0.8rem 0;
  background: linear-gradient(135deg, var(--gc5e-gold), var(--gc5e-primary));
  color: #0F0F23; font-weight: 800; padding: 0.9rem 1.6rem;
  border-radius: 12px; font-size: 1.4rem; cursor: pointer;
  border: none; min-height: 44px;
}
.gc5e-cta:active { transform: scale(0.96); }

/* ===== Feature / highlight grid ===== */
.gc5e-feat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
.gc5e-feat {
  background: var(--gc5e-card-2); border-radius: 10px; padding: 1rem;
  text-align: center; border: 1px solid var(--gc5e-border);
}
.gc5e-feat .material-icons, .gc5e-feat .bi, .gc5e-feat ion-icon { font-size: 26px; color: var(--gc5e-primary); }
.gc5e-feat h3 { font-size: 1.3rem; margin: 0.4rem 0; color: var(--gc5e-text); }
.gc5e-feat p { font-size: 1.15rem; color: var(--gc5e-muted); }

/* ===== Winners / testimonials ===== */
.gc5e-row { display: flex; gap: 0.8rem; overflow-x: auto; padding-bottom: 0.4rem; }
.gc5e-chip {
  flex: 0 0 auto; background: var(--gc5e-card-2); border-radius: 10px;
  padding: 0.7rem 1rem; border: 1px solid var(--gc5e-border); min-width: 160px;
}
.gc5e-chip b { color: var(--gc5e-gold); display: block; font-size: 1.2rem; }
.gc5e-chip span { color: var(--gc5e-muted); font-size: 1.1rem; }

/* ===== Payment icons ===== */
.gc5e-pay { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.gc5e-pay span {
  background: var(--gc5e-card-2); padding: 0.5rem 0.9rem; border-radius: 8px;
  font-size: 1.15rem; color: var(--gc5e-text); border: 1px solid var(--gc5e-border);
}

/* ===== Reveal animation ===== */
.gc5e-reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.5s, transform 0.5s; }
.gc5e-reveal.appb7c-reveal-in { opacity: 1; transform: none; }

/* ===== Footer ===== */
.gc5e-footer {
  background: #0a0820; border-top: 2px solid var(--gc5e-primary);
  padding: 1.4rem 1.2rem 2rem; margin-top: 1.5rem;
}
.gc5e-footer-brand { color: var(--gc5e-muted); font-size: 1.2rem; margin-bottom: 0.8rem; }
.gc5e-footer-links { display: flex; flex-wrap: wrap; gap: 0.5rem 0.8rem; margin: 0.6rem 0; }
.gc5e-footer-links a { color: var(--gc5e-text); font-size: 1.15rem; }
.gc5e-footer-promo { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.8rem 0; }
.gc5e-footer-copy { color: var(--gc5e-muted); font-size: 1.1rem; margin-top: 0.8rem; }

/* ===== Mobile bottom navigation ===== */
.gc5e-bnav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  max-width: 430px; margin: 0 auto;
  background: linear-gradient(180deg, #1a0f3a, #0F0F23);
  border-top: 2px solid var(--gc5e-primary);
  display: flex; justify-content: space-around; align-items: stretch;
  height: 62px;
}
.gc5e-bnav-btn {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 2px; background: transparent; border: none;
  color: var(--gc5e-muted); cursor: pointer; min-width: 60px; min-height: 60px;
  transition: color 0.15s, transform 0.15s; padding: 0;
}
.gc5e-bnav-btn .material-icons, .gc5e-bnav-btn .bi, .gc5e-bnav-btn ion-icon, .gc5e-bnav-btn i { font-size: 24px; }
.gc5e-bnav-btn span.gc5e-bnav-label { font-size: 11px; }
.gc5e-bnav-btn:active { transform: scale(0.92); color: var(--gc5e-gold); }
.gc5e-bnav-active { color: var(--gc5e-gold); }
.gc5e-bnav-active .material-icons, .gc5e-bnav-active .bi, .gc5e-bnav-active ion-icon, .gc5e-bnav-active i { color: var(--gc5e-gold); }
.gc5e-bnav-badge {
  position: absolute; top: 6px; right: 50%; transform: translateX(18px);
  background: #e23b3b; color: #fff; font-size: 9px; border-radius: 8px;
  padding: 1px 5px; line-height: 1.4;
}

/* ===== Desktop: hide bottom nav ===== */
@media (min-width: 769px) {
  .gc5e-bnav { display: none; }
}
@media (max-width: 768px) {
  .gc5e-main { padding-bottom: 80px; }
}
