/* ============================================================
 * Staje (staje.click) - design-2380.css
 * All custom classes use the g803- prefix.
 * Palette: #0F0F23 (bg) | #FF7F50 (coral) | #A0522D (sienna)
 *          #B03060 (maroon)  + light tints for text
 * Mobile-first: max-width 430px container, root font 62.5%
 * ========================================================== */

:root {
  --g803-primary: #FF7F50;        /* coral - accent / CTA */
  --g803-secondary: #B03060;      /* maroon - deep accent */
  --g803-tertiary: #A0522D;       /* sienna - supporting */
  --g803-bg: #0F0F23;             /* dark base background */
  --g803-bg-alt: #161634;         /* slightly lighter panel */
  --g803-bg-card: #1c1c40;        /* card surface */
  --g803-text: #f5f0ff;           /* primary light text */
  --g803-text-muted: #b8b3d8;     /* secondary text */
  --g803-border: #2a2a55;
  --g803-gold: #ffd479;
  --g803-shadow: 0 6px 24px rgba(0,0,0,.38);
  --g803-radius: 14px;
  --g803-radius-sm: 9px;
  --g803-header-h: 58px;
  --g803-bnav-h: 62px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  font-size: 62.5%; /* 1rem = 10px */
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", system-ui, sans-serif;
  background: radial-gradient(circle at 20% 0%, #1b1b3f 0%, var(--g803-bg) 55%);
  color: var(--g803-text);
  font-size: 1.5rem;
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
}

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

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

.g803-wrapper {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.4rem;
}

/* ---------------- Header ---------------- */
.g803-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(15,15,35,.96), rgba(15,15,35,.88));
  border-bottom: 1px solid var(--g803-border);
  backdrop-filter: blur(6px);
}
.g803-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--g803-header-h);
  padding: 0 1.2rem;
  max-width: 1100px;
  margin: 0 auto;
}
.g803-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: var(--g803-text);
  font-weight: 800;
  font-size: 1.9rem;
  letter-spacing: .5px;
}
.g803-logo img {
  width: 30px; height: 30px; border-radius: 8px;
  box-shadow: 0 0 0 2px rgba(255,127,80,.35);
}
.g803-logo span { color: var(--g803-primary); }

.g803-header-actions {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.g803-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 38px;
  padding: 0 1.1rem;
  border-radius: 999px;
  border: none;
  font-size: 1.35rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, background .2s;
  font-family: inherit;
}
.g803-btn:hover { transform: translateY(-1px); }
.g803-btn-login {
  background: transparent;
  color: var(--g803-text);
  border: 1px solid var(--g803-border);
}
.g803-btn-register {
  background: linear-gradient(135deg, var(--g803-primary), var(--g803-secondary));
  color: #fff;
  box-shadow: 0 4px 14px rgba(255,127,80,.35);
}
.g803-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--g803-bg-card);
  border: 1px solid var(--g803-border);
  color: var(--g803-text);
  font-size: 2rem;
  cursor: pointer;
}

/* ---------------- Mobile slide-down menu ---------------- */
.g803-mobile-menu {
  display: none;
  position: fixed;
  top: var(--g803-header-h);
  left: 0; right: 0;
  z-index: 9999;
  background: var(--g803-bg-alt);
  border-bottom: 1px solid var(--g803-border);
  padding: 1rem 1.2rem 1.4rem;
  max-height: 75vh;
  overflow-y: auto;
  box-shadow: var(--g803-shadow);
}
.g803-mobile-menu.g803-menu-open { display: block; }
.g803-mobile-menu a {
  display: block;
  padding: .85rem .6rem;
  color: var(--g803-text);
  font-size: 1.45rem;
  border-bottom: 1px dashed var(--g803-border);
}
.g803-mobile-menu a:hover { color: var(--g803-primary); padding-left: 1rem; }

/* ---------------- Hero / Carousel ---------------- */
.g803-hero {
  margin-top: 1rem;
  border-radius: var(--g803-radius);
  overflow: hidden;
  position: relative;
  box-shadow: var(--g803-shadow);
}
.g803-carousel { position: relative; }
.g803-slide {
  display: none;
  position: relative;
  height: 200px;
}
.g803-slide.g803-slide-active { display: block; }
.g803-slide img {
  width: 100%; height: 100%; object-fit: cover;
}
.g803-slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,15,35,.15) 30%, rgba(15,15,35,.85));
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 1.2rem;
}
.g803-slide-title {
  font-size: 1.9rem; font-weight: 800; margin: 0 0 .3rem;
  color: #fff;
}
.g803-slide-sub {
  font-size: 1.25rem; color: var(--g803-text-muted); margin: 0 0 .8rem;
}
.g803-slide-cta {
  display: inline-block;
  background: linear-gradient(135deg, var(--g803-primary), var(--g803-secondary));
  color: #fff;
  padding: .55rem 1.1rem;
  border-radius: 999px;
  font-weight: 700; font-size: 1.25rem;
  align-self: flex-start;
}
.g803-dots {
  position: absolute; bottom: 8px; left: 0; right: 0;
  display: flex; justify-content: center; gap: .5rem; z-index: 3;
}
.g803-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,.45); cursor: pointer;
}
.g803-dot.g803-dot-active { background: var(--g803-primary); width: 18px; border-radius: 5px; }

/* ---------------- Section heading ---------------- */
.g803-section { margin: 2.2rem 0 1.4rem; }
.g803-section-title {
  font-size: 1.85rem; font-weight: 800; margin: 0 0 .4rem;
  display: flex; align-items: center; gap: .6rem;
}
.g803-section-title i { color: var(--g803-primary); }
.g803-section-sub {
  color: var(--g803-text-muted); font-size: 1.3rem; margin: 0 0 1rem;
}

.g803-h1 {
  font-size: 2.1rem; font-weight: 900; line-height: 1.3;
  margin: 1.2rem 0 .6rem;
}
.g803-lead {
  color: var(--g803-text-muted); font-size: 1.35rem; margin: 0 0 1rem;
}

/* ---------------- Category chips ---------------- */
.g803-chips {
  display: flex; gap: .55rem; flex-wrap: wrap; margin: .6rem 0 1rem;
}
.g803-chip {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .45rem .9rem;
  border-radius: 999px;
  background: var(--g803-bg-card);
  border: 1px solid var(--g803-border);
  color: var(--g803-text-muted);
  font-size: 1.25rem; font-weight: 600;
  cursor: pointer;
  min-height: 32px;
}
.g803-chip:hover { color: var(--g803-primary); border-color: var(--g803-primary); }
.g803-chip.g803-chip-active {
  background: linear-gradient(135deg, var(--g803-primary), var(--g803-secondary));
  color: #fff; border-color: transparent;
}

/* ---------------- Game grid ---------------- */
.g803-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .8rem;
}
.g803-game-card {
  background: var(--g803-bg-card);
  border: 1px solid var(--g803-border);
  border-radius: var(--g803-radius-sm);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: transform .15s, box-shadow .15s, border-color .2s;
  display: block;
  text-align: center;
}
.g803-game-card:hover {
  transform: translateY(-3px);
  border-color: var(--g803-primary);
  box-shadow: 0 8px 20px rgba(255,127,80,.25);
}
.g803-game-thumb {
  width: 100%; aspect-ratio: 1 / 1;
  background: #0a0a1c;
  position: relative;
}
.g803-game-thumb img { width: 100%; height: 100%; object-fit: cover; }
.g803-game-thumb::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(15,15,35,.65));
  pointer-events: none;
}
.g803-game-name {
  font-size: 1.15rem; font-weight: 600;
  color: var(--g803-text);
  padding: .45rem .3rem .55rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.g803-game-badge {
  position: absolute; top: 5px; left: 5px;
  background: var(--g803-primary);
  color: #fff; font-size: 1rem; font-weight: 700;
  padding: .1rem .4rem; border-radius: 5px;
  z-index: 2;
}

/* ---------------- Cards / panels ---------------- */
.g803-card {
  background: var(--g803-bg-card);
  border: 1px solid var(--g803-border);
  border-radius: var(--g803-radius);
  padding: 1.2rem;
  box-shadow: var(--g803-shadow);
  margin-bottom: 1rem;
}
.g803-card h2, .g803-card h3 { margin-top: 0; }
.g803-card h2 { font-size: 1.7rem; color: var(--g803-primary); }
.g803-card h3 { font-size: 1.4rem; color: var(--g803-text); }
.g803-card p { color: var(--g803-text-muted); margin: .5rem 0; }

.g803-feature-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem;
}
.g803-feature {
  background: var(--g803-bg-alt);
  border-radius: var(--g803-radius-sm);
  padding: 1rem;
  border: 1px solid var(--g803-border);
}
.g803-feature i { color: var(--g803-primary); font-size: 2.2rem; }
.g803-feature h4 { margin: .4rem 0 .2rem; font-size: 1.3rem; color: var(--g803-text); }
.g803-feature p { margin: 0; font-size: 1.15rem; color: var(--g803-text-muted); }

/* ---------------- Testimonials ---------------- */
.g803-testimonial {
  background: var(--g803-bg-alt);
  border-left: 4px solid var(--g803-primary);
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: .8rem;
}
.g803-testimonial p { margin: 0 0 .4rem; font-style: italic; color: var(--g803-text); }
.g803-testimonial cite { color: var(--g803-text-muted); font-size: 1.15rem; }

/* ---------------- Winners ticker ---------------- */
.g803-winner {
  display: flex; justify-content: space-between; align-items: center;
  padding: .55rem .2rem;
  border-bottom: 1px dashed var(--g803-border);
  font-size: 1.2rem;
}
.g803-winner:last-child { border-bottom: none; }
.g803-winner strong { color: var(--g803-gold); }

/* ---------------- Payment chips ---------------- */
.g803-pay-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem;
  text-align: center;
}
.g803-pay {
  background: var(--g803-bg-alt);
  border-radius: 8px;
  padding: .8rem .3rem;
  border: 1px solid var(--g803-border);
  font-size: 1.1rem;
  color: var(--g803-text);
}
.g803-pay i { font-size: 2rem; color: var(--g803-primary); display: block; margin-bottom: .3rem; }

/* ---------------- FAQ ---------------- */
.g803-faq { margin: .6rem 0; }
.g803-faq h3 {
  font-size: 1.35rem; color: var(--g803-primary);
  margin: 1rem 0 .3rem;
}
.g803-faq p { margin: 0 0 .6rem; color: var(--g803-text-muted); }

/* ---------------- CTA bar ---------------- */
.g803-cta-bar {
  background: linear-gradient(135deg, var(--g803-secondary), var(--g803-tertiary));
  border-radius: var(--g803-radius);
  padding: 1.2rem;
  text-align: center;
  margin: 1.4rem 0;
  box-shadow: var(--g803-shadow);
}
.g803-cta-bar h3 { margin: 0 0 .4rem; color: #fff; font-size: 1.6rem; }
.g803-cta-bar p { margin: 0 0 .8rem; color: #ffe6d5; font-size: 1.25rem; }
.g803-cta-bar .g803-btn-register { font-size: 1.4rem; padding: .7rem 1.6rem; }

/* ---------------- Footer ---------------- */
.g803-footer {
  background: #08081a;
  border-top: 1px solid var(--g803-border);
  padding: 2rem 0 calc(var(--g803-bnav-h) + 2rem);
  margin-top: 2rem;
}
.g803-footer-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem;
}
.g803-footer-col h4 {
  font-size: 1.3rem; color: var(--g803-primary); margin: 0 0 .5rem;
}
.g803-footer-col a {
  display: block; color: var(--g803-text-muted);
  padding: .25rem 0; font-size: 1.2rem;
}
.g803-footer-col a:hover { color: var(--g803-primary); }
.g803-footer-promos {
  display: flex; flex-wrap: wrap; gap: .5rem;
  margin: 1rem 0;
}
.g803-footer-promos .g803-btn { font-size: 1.2rem; padding: .4rem .9rem; min-height: 32px; }
.g803-footer-brand {
  color: var(--g803-text-muted); font-size: 1.2rem;
  margin: 1rem 0; line-height: 1.5;
}
.g803-copyright {
  text-align: center; color: var(--g803-text-muted);
  font-size: 1.1rem; padding-top: 1rem;
  border-top: 1px solid var(--g803-border);
}

/* ---------------- Mobile bottom nav ---------------- */
.g803-bnav {
  position: fixed; left: 0; right: 0; bottom: 0;
  height: var(--g803-bnav-h);
  background: linear-gradient(180deg, #14142e, #08081a);
  border-top: 1px solid var(--g803-border);
  display: flex; justify-content: space-around; align-items: stretch;
  z-index: 1000;
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.g803-bnav-btn {
  flex: 1; min-width: 60px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: .15rem;
  color: var(--g803-text-muted);
  background: transparent;
  border: none;
  font-size: 1rem; font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: color .15s, transform .15s;
  padding: .3rem;
}
.g803-bnav-btn i, .g803-bnav-btn span.material-symbols-outlined {
  font-size: 22px;
}
.g803-bnav-btn:hover { color: var(--g803-primary); transform: translateY(-1px); }
.g803-bnav-btn.g803-bnav-active { color: var(--g803-primary); }
.g803-bnav-btn.g803-bnav-promo {
  color: var(--g803-gold);
}

/* ---------------- Reveal animation ---------------- */
.g803-reveal {
  opacity: 0; transform: translateY(16px);
  transition: opacity .5s ease, transform .5s ease;
}
.g803-reveal.g803-revealed { opacity: 1; transform: translateY(0); }

/* ---------------- Desktop / tablet ---------------- */
@media (min-width: 769px) {
  .g803-bnav { display: none; }
  .g803-container { max-width: 1100px; padding: 0 1.4rem; }
  .g803-grid { grid-template-columns: repeat(6, 1fr); }
  .g803-feature-grid { grid-template-columns: repeat(4, 1fr); }
  .g803-footer-grid { grid-template-columns: repeat(4, 1fr); }
  .g803-slide { height: 340px; }
  .g803-hero { margin-top: 1.4rem; }
  body { font-size: 1.6rem; }
}

/* Mobile bottom padding clearance for content */
@media (max-width: 768px) {
  main.g803-main { padding-bottom: calc(var(--g803-bnav-h) + 16px); }
  .g803-header-actions .g803-btn span.g803-hide-sm { display: none; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
  .g803-reveal { opacity: 1; transform: none; }
}
