/* 78 vin - theme.css
   All custom class names use prefix "g4ea-".
   CSS variables use --g4ea-* prefix.
   Mobile-first responsive design (max-width: 430px).
   Comments in English.
*/
:root {
  --g4ea-primary: #EE82EE;       /* hot pink */
  --g4ea-silver: #C0C0C0;        /* light silver text */
  --g4ea-magenta: #8B008B;       /* deep magenta */
  --g4ea-dark: #333333;          /* dark text base */
  --g4ea-purple: #9400D3;         /* vivid purple */
  --g4ea-tan: #CD853F;           /* warm tan */
  --g4ea-bg: #1a1020;            /* page background (deep dark) */
  --g4ea-bg-2: #241633;           /* secondary background */
  --g4ea-card: #2a1a3e;           /* card background */
  --g4ea-text: #f3e6fb;          /* primary text on dark */
  --g4ea-muted: #b9a9cf;         /* muted text */
  --g4ea-accent: #EE82EE;
  --g4ea-border: rgba(238, 130, 238, 0.25);
  --g4ea-shadow: 0 6px 22px rgba(0, 0, 0, 0.45);
  --g4ea-radius: 14px;
  --g4ea-header-h: 56px;
  --g4ea-bottom-h: 60px;
}

* { box-sizing: border-box; }
html { font-size: 62.5%; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  background: radial-gradient(120% 80% at 50% 0%, #2a1845 0%, var(--g4ea-bg) 60%, #15080f 100%);
  color: var(--g4ea-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  min-height: 100vh;
  overflow-x: hidden;
}

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

.g4ea-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 1.2rem; }
.g4ea-wrapper { padding-top: var(--g4ea-header-h); }

/* ===== Header ===== */
.g4ea-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--g4ea-header-h);
  background: linear-gradient(90deg, #2a0d2e 0%, #3a1452 50%, #2a0d2e 100%);
  border-bottom: 1px solid var(--g4ea-border);
  z-index: 1000;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 12px rgba(0,0,0,.5);
}
.g4ea-header-inner {
  width: 100%; max-width: 430px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1rem; height: 100%;
}
.g4ea-logo {
  display: flex; align-items: center; gap: .8rem;
  color: var(--g4ea-text); font-weight: 700;
}
.g4ea-logo img { width: 26px; height: 26px; border-radius: 6px; }
.g4ea-logo .g4ea-logo-name { font-size: 1.55rem; letter-spacing: .3px;
  background: linear-gradient(90deg, var(--g4ea-primary), var(--g4ea-tan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.g4ea-header-actions { display: flex; align-items: center; gap: .6rem; }
.g4ea-btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.3rem; padding: .55rem 1.1rem;
  border-radius: 999px; border: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.g4ea-btn:active { transform: scale(.94); }
.g4ea-btn-register {
  background: linear-gradient(135deg, var(--g4ea-primary), var(--g4ea-purple));
  color: #fff; box-shadow: 0 4px 14px rgba(238,130,238,.4);
}
.g4ea-btn-login {
  background: transparent; color: var(--g4ea-text);
  border: 1.5px solid var(--g4ea-border);
}
.g4ea-btn-block {
  display: flex; width: 100%; padding: 1rem; font-size: 1.5rem; margin: .4rem 0;
}
.g4ea-menu-toggle {
  background: transparent; border: none; color: var(--g4ea-text);
  font-size: 2rem; cursor: pointer; padding: .4rem .6rem; border-radius: 8px;
}

/* ===== Mobile menu ===== */
.g4ea-menu-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.55);
  opacity: 0; pointer-events: none; transition: opacity .25s ease; z-index: 9998;
}
.g4ea-menu-overlay.g4ea-overlay-visible { opacity: 1; pointer-events: auto; }
.g4ea-mobile-menu {
  position: fixed; top: 0; right: -85%; width: 78%; max-width: 320px;
  height: 100%; background: var(--g4ea-bg-2);
  border-left: 1px solid var(--g4ea-border);
  transform: translateX(0); transition: right .3s ease; z-index: 9999;
  padding: 1.4rem; overflow-y: auto;
}
.g4ea-mobile-menu.g4ea-menu-open { right: 0; }
.g4ea-menu-close {
  background: transparent; border: none; color: var(--g4ea-text);
  font-size: 2.4rem; cursor: pointer; float: right; margin-bottom: 1rem;
}
.g4ea-menu-list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.g4ea-menu-list li { margin: .4rem 0; }
.g4ea-menu-list a, .g4ea-menu-list button {
  display: block; width: 100%; text-align: left;
  background: transparent; border: none; color: var(--g4ea-text);
  padding: 1rem; font-size: 1.4rem; border-radius: 10px; cursor: pointer;
}
.g4ea-menu-list a:active, .g4ea-menu-list button:active { background: rgba(238,130,238,.12); }

/* ===== Carousel ===== */
.g4ea-carousel {
  position: relative; width: 100%; border-radius: var(--g4ea-radius);
  overflow: hidden; margin: 1.2rem 0; box-shadow: var(--g4ea-shadow);
}
.g4ea-carousel-track { position: relative; width: 100%; aspect-ratio: 16/9; }
.g4ea-carousel-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .5s ease;
}
.g4ea-carousel-slide.g4ea-slide-active { opacity: 1; }
.g4ea-carousel-slide img {
  width: 100%; height: 100%; object-fit: cover; cursor: pointer;
}
.g4ea-carousel-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 1.4rem 1rem 1rem; cursor: pointer;
  background: linear-gradient(to top, rgba(0,0,0,.85), transparent);
  color: #fff;
}
.g4ea-carousel-caption h2 { margin: 0 0 .2rem; font-size: 1.7rem; color: var(--g4ea-primary); }
.g4ea-carousel-caption p { margin: 0; font-size: 1.2rem; color: var(--g4ea-silver); }
.g4ea-carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,.45); color: #fff; border: none;
  width: 36px; height: 36px; border-radius: 50%; cursor: pointer;
  font-size: 1.8rem; display: flex; align-items: center; justify-content: center;
}
.g4ea-carousel-prev { left: 8px; }
.g4ea-carousel-next { right: 8px; }
.g4ea-carousel-dots {
  position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px;
}
.g4ea-carousel-dot {
  width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.4);
  border: none; cursor: pointer; transition: background .2s ease;
}
.g4ea-carousel-dot.g4ea-dot-active { background: var(--g4ea-primary); }

/* ===== Section headings ===== */
.g4ea-section { margin: 2rem 0; }
.g4ea-section-title {
  font-size: 1.7rem; font-weight: 700; margin: .4rem 0 1rem;
  display: flex; align-items: center; gap: .6rem;
  color: var(--g4ea-text);
}
.g4ea-section-title::before {
  content: ""; width: 4px; height: 22px; border-radius: 4px;
  background: linear-gradient(180deg, var(--g4ea-primary), var(--g4ea-purple));
}
.g4ea-section-title .g4ea-sub {
  font-size: 1.2rem; color: var(--g4ea-muted); font-weight: 400; margin-left: auto;
}

/* H1 hero */
.g4ea-hero-h1 {
  font-size: 2rem; line-height: 1.35; margin: 1rem 0 .6rem;
  background: linear-gradient(90deg, var(--g4ea-primary), var(--g4ea-tan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ===== Game grid & cards ===== */
.g4ea-game-section[data-cat] { padding: .4rem 0; }
.g4ea-grid {
  display: grid; gap: .8rem;
  grid-template-columns: repeat(3, 1fr);
}
.g4ea-card {
  background: var(--g4ea-card); border: 1px solid var(--g4ea-border);
  border-radius: 12px; overflow: hidden; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
  position: relative; padding: 4px;
}
.g4ea-card:active { transform: scale(.96); }
.g4ea-card img {
  width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px;
}
.g4ea-card .g4ea-card-name {
  font-size: 1.05rem; color: var(--g4ea-text); text-align: center;
  padding: .35rem .2rem .5rem; white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis;
}
.g4ea-card-tag {
  position: absolute; top: 6px; left: 6px;
  background: linear-gradient(135deg, var(--g4ea-primary), var(--g4ea-magenta));
  color: #fff; font-size: .95rem; padding: .1rem .5rem; border-radius: 6px;
}

/* Promo link text styles */
.g4ea-promo-link {
  color: var(--g4ea-primary); font-weight: 700; cursor: pointer;
  text-decoration: underline; text-decoration-color: rgba(238,130,238,.5);
}
.g4ea-promo-btn {
  display: inline-block; cursor: pointer;
  background: linear-gradient(135deg, var(--g4ea-primary), var(--g4ea-purple));
  color: #fff; padding: .7rem 1.4rem; border-radius: 999px;
  font-weight: 700; font-size: 1.3rem; border: none;
}

/* Feature list */
.g4ea-feature-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem;
}
.g4ea-feature {
  background: var(--g4ea-card); padding: 1rem; border-radius: 12px;
  border: 1px solid var(--g4ea-border);
}
.g4ea-feature .g4ea-feature-ico { font-size: 1.8rem; color: var(--g4ea-primary); }
.g4ea-feature h3 { margin: .4rem 0; font-size: 1.3rem; }
.g4ea-feature p { margin: 0; font-size: 1.1rem; color: var(--g4ea-muted); }

/* FAQ */
.g4ea-faq-item {
  background: var(--g4ea-card); border: 1px solid var(--g4ea-border);
  border-radius: 10px; padding: .8rem 1rem; margin: .6rem 0;
}
.g4ea-faq-item h3 { font-size: 1.25rem; margin: 0 0 .4rem; color: var(--g4ea-primary); }
.g4ea-faq-item p { margin: 0; font-size: 1.15rem; color: var(--g4ea-silver); }
.g4ea-help-list { padding-left: 1.8rem; margin: .6rem 0; color: var(--g4ea-silver); }
.g4ea-help-list li { margin: .45rem 0; font-size: 1.15rem; }
.g4ea-inline-links { display: flex; flex-wrap: wrap; gap: .6rem; margin: .8rem 0; }
.g4ea-inline-links a { font-size: 1.1rem; color: var(--g4ea-primary); text-decoration: underline; }
.g4ea-stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; }
.g4ea-stat-card { background: var(--g4ea-card); border: 1px solid var(--g4ea-border); border-radius: 12px; padding: .9rem; }
.g4ea-stat-card strong { display: block; font-size: 1.45rem; color: var(--g4ea-primary); }
.g4ea-stat-card span { font-size: 1.05rem; color: var(--g4ea-silver); }

/* Text blocks */
.g4ea-text-block {
  background: var(--g4ea-bg-2); border: 1px solid var(--g4ea-border);
  border-radius: 12px; padding: 1rem; margin: 1rem 0;
}
.g4ea-text-block h2 { font-size: 1.55rem; margin: 0 0 .5rem; color: var(--g4ea-text); }
.g4ea-text-block h3 { font-size: 1.3rem; margin: .8rem 0 .3rem; color: var(--g4ea-primary); }
.g4ea-text-block p { font-size: 1.15rem; color: var(--g4ea-silver); margin: .3rem 0; }
.g4ea-text-block strong { color: var(--g4ea-text); }

/* Winner showcase */
.g4ea-winners {
  background: linear-gradient(135deg, var(--g4ea-magenta), var(--g4ea-purple));
  border-radius: 12px; padding: 1rem; color: #fff;
}
.g4ea-winners .g4ea-winner-row {
  display: flex; justify-content: space-between; padding: .4rem 0;
  font-size: 1.15rem; border-bottom: 1px dashed rgba(255,255,255,.2);
}
.g4ea-winners .g4ea-winner-row:last-child { border-bottom: none; }

/* Payment methods */
.g4ea-payments { display: flex; flex-wrap: wrap; gap: .6rem; }
.g4ea-payment-chip {
  background: var(--g4ea-card); color: var(--g4ea-text);
  border: 1px solid var(--g4ea-border); border-radius: 999px;
  padding: .4rem .9rem; font-size: 1.1rem;
}

/* ===== Footer ===== */
.g4ea-footer {
  background: var(--g4ea-bg-2); border-top: 1px solid var(--g4ea-border);
  padding: 1.5rem 1.2rem 2rem; margin-top: 2rem;
}
.g4ea-footer-brand { font-size: 1.5rem; font-weight: 700; color: var(--g4ea-primary); margin-bottom: .5rem; }
.g4ea-footer-desc { font-size: 1.1rem; color: var(--g4ea-muted); margin: .5rem 0 1rem; }
.g4ea-footer-buttons { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0; }
.g4ea-footer-links { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1rem 0; }
.g4ea-footer-links a { font-size: 1.1rem; color: var(--g4ea-silver); }
.g4ea-footer-links a:hover { color: var(--g4ea-primary); }
.g4ea-footer-copy { font-size: 1rem; color: var(--g4ea-muted); margin-top: 1rem; text-align: center; }

/* ===== Mobile bottom nav ===== */
.g4ea-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  height: var(--g4ea-bottom-h); z-index: 1000;
  background: linear-gradient(180deg, #2a0d2e 0%, #16081c 100%);
  border-top: 1px solid var(--g4ea-border);
  display: flex; justify-content: space-around; align-items: center;
  box-shadow: 0 -2px 14px rgba(0,0,0,.5);
}
.g4ea-nav-btn {
  flex: 1; min-width: 60px; min-height: 60px;
  background: transparent; border: none; color: var(--g4ea-silver);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; cursor: pointer; font-size: 1rem; padding: 4px 2px;
  transition: color .2s ease, transform .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.g4ea-nav-btn .g4ea-nav-ico { font-size: 24px; line-height: 1; }
.g4ea-nav-btn .g4ea-nav-label { font-size: 11px; line-height: 1.2; }
.g4ea-nav-btn:active { transform: scale(.9); }
.g4ea-nav-btn.g4ea-nav-active { color: var(--g4ea-primary); }
.g4ea-nav-btn.g4ea-nav-active .g4ea-nav-ico { text-shadow: 0 0 12px rgba(238,130,238,.7); }

/* Bottom padding so content isn't hidden behind nav */
main.g4ea-main { padding-bottom: calc(var(--g4ea-bottom-h) + 20px); }

/* ===== Desktop ===== */
@media (min-width: 769px) {
  body { background: radial-gradient(80% 70% at 50% 0%, #2a1845 0%, var(--g4ea-bg) 60%, #15080f 100%); }
  .g4ea-container { max-width: 760px; }
  .g4ea-header-inner { max-width: 760px; }
  .g4ea-grid { grid-template-columns: repeat(5, 1fr); }
  .g4ea-feature-grid { grid-template-columns: repeat(4, 1fr); }
  .g4ea-bottom-nav { display: none; }
  .g4ea-menu-toggle { display: none; }
  main.g4ea-main { padding-bottom: 20px; }
}