/* ============================================================
 * Orion Play - design.css
 * Mobile-first casino / gaming site styles.
 * All custom classes use the g841- prefix.
 * Palette: #00FFFF / #CD853F / #00CED1 / #C71585 / #262626
 * ============================================================ */

:root {
  --g841-primary: #00CED1;
  --g841-cyan: #00FFFF;
  --g841-gold: #CD853F;
  --g841-magenta: #C71585;
  --g841-bg: #262626;
  --g841-bg-deep: #1b1b1b;
  --g841-bg-card: #2f2f2f;
  --g841-text: #ffffff;
  --g841-text-soft: #d8d8d8;
  --g841-text-muted: #9a9a9a;
  --g841-border: rgba(0, 255, 255, 0.18);
  --g841-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  --g841-radius: 14px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: radial-gradient(circle at 20% 0%, #2d3b3b 0%, var(--g841-bg) 55%, var(--g841-bg-deep) 100%);
  color: var(--g841-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  overflow-x: hidden;
}

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

a { color: var(--g841-cyan); text-decoration: none; }
a:hover { color: var(--g841-gold); }

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

main { padding-bottom: 90px; }

/* ---------- Header ---------- */
.g841-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(13,13,13,0.96), rgba(38,38,38,0.92));
  border-bottom: 1px solid var(--g841-border);
  backdrop-filter: blur(6px);
}

.g841-header-inner {
  max-width: 430px;
  margin: 0 auto;
  padding: 0.55rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.g841-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex: 1;
  min-width: 0;
}

.g841-brand img {
  width: 30px; height: 30px;
  border-radius: 8px;
  border: 1px solid var(--g841-primary);
}

.g841-brand-name {
  font-size: 1.6rem;
  font-weight: 800;
  background: linear-gradient(90deg, var(--g841-cyan), var(--g841-gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

.g841-brand-tag {
  font-size: 1rem;
  color: var(--g841-text-muted);
}

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

.g841-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: none;
  border-radius: 999px;
  padding: 0.7rem 1.2rem;
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
  min-height: 38px;
  white-space: nowrap;
  font-family: inherit;
}

.g841-btn:active { transform: scale(0.94); }

.g841-btn-login {
  background: transparent;
  color: var(--g841-cyan);
  border: 1px solid var(--g841-primary);
  padding: 0.6rem 1rem;
}

.g841-btn-register {
  background: linear-gradient(90deg, var(--g841-magenta), var(--g841-gold));
  color: #fff;
  box-shadow: 0 4px 14px rgba(199, 21, 133, 0.45);
}

.g841-menu-toggle {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--g841-bg-card);
  color: var(--g841-cyan);
  border: 1px solid var(--g841-border);
  font-size: 1.6rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Mobile slide menu ---------- */
.g841-mobile-menu {
  position: fixed;
  top: 0; right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: var(--g841-bg-deep);
  border-left: 1px solid var(--g841-border);
  z-index: 9999;
  padding: 6rem 1.4rem 2rem;
  transition: right .28s ease;
  overflow-y: auto;
}

.g841-mobile-menu.g841-menu-open { right: 0; }

.g841-mobile-menu h4 {
  font-size: 1.25rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--g841-gold);
  margin: 1.4rem 0 0.6rem;
}

.g841-mobile-menu a {
  display: block;
  padding: 0.85rem 0.4rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: var(--g841-text-soft);
  font-size: 1.3rem;
}

.g841-mobile-menu a:hover { color: var(--g841-cyan); padding-left: 0.8rem; }

.g841-menu-close {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 36px; height: 36px;
  background: transparent;
  border: 1px solid var(--g841-border);
  color: var(--g841-text);
  border-radius: 8px;
  font-size: 1.4rem;
  cursor: pointer;
}

.g841-menu-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 9998;
  display: none;
}
.g841-menu-overlay.g841-menu-open { display: block; }

/* ---------- Hero / Carousel ---------- */
.g841-hero {
  margin-top: 6.4rem;
  padding-top: 0.8rem;
}

.g841-carousel {
  position: relative;
  border-radius: var(--g841-radius);
  overflow: hidden;
  box-shadow: var(--g841-shadow);
  border: 1px solid var(--g841-border);
}

.g841-slide {
  display: none;
  position: relative;
  cursor: pointer;
}

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

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

.g841-slide-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 0.8rem 1rem;
  background: linear-gradient(0deg, rgba(0,0,0,0.85), transparent);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}

.g841-dots {
  position: absolute;
  bottom: 8px; left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 2;
}

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

.g841-dot.g841-dot-active { background: var(--g841-cyan); transform: scale(1.3); }

/* ---------- Sections ---------- */
.g841-section {
  margin-top: 2rem;
}

.g841-section-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1rem;
}

.g841-section-head .g841-bar {
  width: 4px; height: 22px;
  background: linear-gradient(180deg, var(--g841-cyan), var(--g841-magenta));
  border-radius: 2px;
}

.g841-section-head h2 {
  font-size: 1.6rem;
  margin: 0;
  font-weight: 800;
}

.g841-section-head .g841-more {
  margin-left: auto;
  font-size: 1.15rem;
  color: var(--g841-gold);
}

.g841-intro {
  color: var(--g841-text-soft);
  font-size: 1.3rem;
  margin: 0 0 1rem;
}

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

.g841-game-card {
  background: var(--g841-bg-card);
  border: 1px solid var(--g841-border);
  border-radius: 12px;
  padding: 0.5rem;
  text-align: center;
  cursor: pointer;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
  display: block;
}

.g841-game-card:hover {
  transform: translateY(-3px);
  border-color: var(--g841-primary);
  box-shadow: 0 6px 16px rgba(0, 205, 209, 0.25);
}

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

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

.g841-game-card:hover .g841-game-name { color: var(--g841-cyan); }

/* ---------- Cards & modules ---------- */
.g841-card {
  background: var(--g841-bg-card);
  border: 1px solid var(--g841-border);
  border-radius: var(--g841-radius);
  padding: 1.2rem;
  margin-bottom: 1rem;
}

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

.g841-card p {
  margin: 0 0 0.6rem;
  color: var(--g841-text-soft);
  font-size: 1.25rem;
}

.g841-feature-row {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding: 0.7rem 0;
  border-bottom: 1px dashed rgba(255,255,255,0.08);
}

.g841-feature-row:last-child { border-bottom: none; }

.g841-feature-row .g841-ic {
  flex: 0 0 36px;
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(0, 205, 209, 0.12);
  color: var(--g841-cyan);
  font-size: 1.6rem;
}

.g841-feature-row h4 { margin: 0 0 0.2rem; font-size: 1.25rem; color: #fff; }
.g841-feature-row p { margin: 0; font-size: 1.15rem; color: var(--g841-text-muted); }

/* Steps (How to play) */
.g841-steps { counter-reset: step; padding: 0; list-style: none; margin: 0; }
.g841-steps li {
  position: relative;
  padding: 0.6rem 0 0.6rem 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: var(--g841-text-soft);
  font-size: 1.2rem;
}
.g841-steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0; top: 0.5rem;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--g841-magenta), var(--g841-gold));
  color: #fff;
  font-weight: 800;
  font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
}

/* FAQ */
.g841-faq { border-top: 1px solid rgba(255,255,255,0.06); }
.g841-faq h4 {
  margin: 0.9rem 0 0.3rem;
  font-size: 1.25rem;
  color: var(--g841-gold);
}
.g841-faq p { margin: 0 0 0.8rem; font-size: 1.18rem; color: var(--g841-text-soft); }

/* Promo CTA */
.g841-cta {
  background: linear-gradient(135deg, rgba(199,21,133,0.22), rgba(205,133,63,0.22));
  border: 1px solid var(--g841-magenta);
  border-radius: var(--g841-radius);
  padding: 1.4rem;
  text-align: center;
  margin: 1.4rem 0;
}
.g841-cta h3 { margin: 0 0 0.4rem; color: #fff; font-size: 1.5rem; }
.g841-cta p { margin: 0 0 0.9rem; color: var(--g841-text-soft); font-size: 1.2rem; }
.g841-cta .g841-btn { font-size: 1.35rem; padding: 0.9rem 1.8rem; }

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

/* Tags / pills */
.g841-pill {
  display: inline-block;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: rgba(0, 205, 209, 0.15);
  color: var(--g841-cyan);
  font-size: 1.05rem;
  font-weight: 700;
  margin-right: 0.3rem;
}

/* Payment / winner grid */
.g841-chip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}
.g841-chip {
  background: var(--g841-bg-card);
  border: 1px solid var(--g841-border);
  border-radius: 10px;
  padding: 0.6rem 0.3rem;
  text-align: center;
  font-size: 1rem;
  color: var(--g841-text-soft);
}
.g841-chip .g841-ic { font-size: 1.5rem; color: var(--g841-gold); }

/* Winners */
.g841-winner {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 1.15rem;
}
.g841-winner .g841-amt { margin-left: auto; color: var(--g841-gold); font-weight: 800; }

/* RTP table */
.g841-rtp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.15rem;
}
.g841-rtp-table th, .g841-rtp-table td {
  padding: 0.55rem 0.4rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  text-align: left;
}
.g841-rtp-table th { color: var(--g841-cyan); font-size: 1.1rem; }
.g841-rtp-table td.g841-num { color: var(--g841-gold); font-weight: 700; }

/* Testimonials */
.g841-quote {
  background: var(--g841-bg-card);
  border-left: 3px solid var(--g841-magenta);
  border-radius: 10px;
  padding: 0.9rem 1rem;
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
  color: var(--g841-text-soft);
}
.g841-quote .g841-author { display:block; margin-top: 0.4rem; color: var(--g841-cyan); font-size: 1.05rem; font-weight:700; }

/* ---------- Footer ---------- */
.g841-footer {
  background: var(--g841-bg-deep);
  border-top: 1px solid var(--g841-border);
  padding: 1.8rem 1.2rem 2rem;
  color: var(--g841-text-soft);
  font-size: 1.15rem;
}

.g841-footer-brand { font-size: 1.3rem; font-weight: 800; color: var(--g841-cyan); margin-bottom: 0.4rem; }
.g841-footer p { margin: 0 0 0.8rem; color: var(--g841-text-muted); font-size: 1.15rem; }

.g841-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin: 0.8rem 0;
}
.g841-footer-links a {
  color: var(--g841-text-soft);
  font-size: 1.1rem;
}
.g841-footer-links a:hover { color: var(--g841-gold); }

.g841-footer-promos {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin: 0.8rem 0;
}
.g841-footer-promos button, .g841-footer-promos a {
  flex: 1 1 45%;
  text-align: center;
}

.g841-copyright {
  margin-top: 1rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  color: var(--g841-text-muted);
  font-size: 1.05rem;
  text-align: center;
}

/* ---------- Mobile bottom nav ---------- */
.g841-bottom-nav {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1000;
  height: 62px;
  background: linear-gradient(180deg, rgba(20,20,20,0.98), rgba(10,10,10,0.98));
  border-top: 1px solid var(--g841-border);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  box-shadow: 0 -4px 18px rgba(0,0,0,0.45);
}

.g841-bottom-nav button, .g841-bottom-nav a {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--g841-text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 1rem;
  text-decoration: none;
  padding: 6px 2px;
  cursor: pointer;
  min-width: 60px;
  min-height: 60px;
  position: relative;
  transition: color .15s ease, transform .15s ease;
  font-family: inherit;
}

.g841-bottom-nav button:active, .g841-bottom-nav a:active { transform: scale(0.9); }

.g841-bottom-nav .g841-ic { font-size: 22px; }
.g841-bottom-nav .material-icons { font-size: 24px; }
.g841-bottom-nav .ion { font-size: 24px; }

.g841-bottom-nav button:hover, .g841-bottom-nav a:hover { color: var(--g841-cyan); }

.g841-bottom-nav .g841-active { color: var(--g841-gold); }
.g841-bottom-nav .g841-active::before {
  content: "";
  position: absolute;
  top: 0; left: 30%; right: 30%;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--g841-cyan), var(--g841-gold));
}

.g841-nav-promo { color: var(--g841-gold) !important; }

/* ---------- Toast ---------- */
.g841-toast {
  position: fixed;
  left: 50%; bottom: 80px;
  transform: translate(-50%, 20px);
  background: rgba(199, 21, 133, 0.95);
  color: #fff;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-size: 1.2rem;
  font-weight: 700;
  z-index: 10000;
  opacity: 0;
  transition: opacity .25s ease, transform .25s ease;
  box-shadow: var(--g841-shadow);
}
.g841-toast.g841-toast-show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Scroll reveal ---------- */
.g841-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .5s ease, transform .5s ease;
}
.g841-reveal.g841-revealed { opacity: 1; transform: translateY(0); }

/* ---------- Desktop ---------- */
@media (min-width: 769px) {
  .g841-bottom-nav { display: none; }
  main { padding-bottom: 2rem; }
  .g841-wrapper { max-width: 760px; }
  .g841-header-inner { max-width: 760px; }
  .g841-game-grid { grid-template-columns: repeat(6, 1fr); }
  .g841-chip-grid { grid-template-columns: repeat(6, 1fr); }
}
