/* ============================================================
 * Online casino - online-casino.homes
 * Core stylesheet (prefix: g674-)
 * Palette: #DEE2E6 (light) | #FF4500 (accent) | #8B0000 (deep)
 *          #0A0A0A (background)
 * Mobile-first. Root font: 62.5% (1rem = 10px).
 * ============================================================ */

:root {
  --g674-bg: #0A0A0A;
  --g674-bg-soft: #161616;
  --g674-bg-card: #1f1f1f;
  --g674-text: #DEE2E6;
  --g674-text-dim: #b9bdc2;
  --g674-primary: #FF4500;
  --g674-primary-dark: #c33700;
  --g674-deep: #8B0000;
  --g674-border: #2a2a2a;
  --g674-gold: #e8b500;
  --g674-radius: 12px;
  --g674-radius-lg: 18px;
  --g674-shadow: 0 6px 18px rgba(0,0,0,.45);
  --g674-header-h: 58px;
  --g674-bottom-h: 62px;
}

* { box-sizing: border-box; }

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

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

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

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

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

.g674-wrapper { width: 100%; }

/* ---------- Header ---------- */
.g674-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--g674-header-h);
  background: linear-gradient(180deg, #141414 0%, #0a0a0a 100%);
  border-bottom: 1px solid var(--g674-border);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.g674-header-inner {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.g674-brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  flex: 1;
  min-width: 0;
}
.g674-brand img { width: 30px; height: 30px; border-radius: 6px; }
.g674-brand-name {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--g674-text);
  letter-spacing: .3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.g674-brand-name span { color: var(--g674-primary); }

.g674-header-actions { display: flex; align-items: center; gap: .6rem; }

.g674-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  border: none;
  border-radius: 999px;
  font-size: 1.3rem;
  font-weight: 700;
  padding: .7rem 1.2rem;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease;
  min-height: 36px;
  text-decoration: none;
  line-height: 1;
}
.g674-btn:active { transform: scale(.96); }
.g674-btn-primary { background: linear-gradient(135deg, #FF4500, #8B0000); color: #fff; }
.g674-btn-ghost { background: transparent; color: var(--g674-text); border: 1px solid var(--g674-border); }
.g674-btn-block { width: 100%; padding: 1.1rem; font-size: 1.5rem; }

.g674-menu-btn {
  background: transparent;
  border: 1px solid var(--g674-border);
  color: var(--g674-text);
  width: 38px; height: 38px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* ---------- Mobile menu drawer ---------- */
.g674-menu-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.6);
  opacity: 0; visibility: hidden;
  transition: opacity .25s ease;
  z-index: 9998;
}
.g674-overlay-show { opacity: 1; visibility: visible; }

.g674-mobile-menu {
  position: fixed;
  top: 0; right: -85%;
  width: 80%; max-width: 320px;
  height: 100%;
  background: #111;
  border-left: 1px solid var(--g674-border);
  z-index: 9999;
  padding: 2rem 1.6rem;
  overflow-y: auto;
  transition: right .28s ease;
}
.g674-menu-open { right: 0; }

.g674-menu-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.4rem;
}
.g674-menu-title { font-size: 1.7rem; font-weight: 800; color: var(--g674-primary); }
.g674-menu-close {
  background: transparent; border: none; color: var(--g674-text);
  font-size: 1.8rem; cursor: pointer;
}

.g674-menu-list { list-style: none; padding: 0; margin: 0; }
.g674-menu-list li { margin-bottom: .4rem; }
.g674-menu-list a {
  display: block;
  padding: 1.1rem 1rem;
  color: var(--g674-text);
  border-radius: 8px;
  font-size: 1.4rem;
  font-weight: 600;
  border: 1px solid transparent;
}
.g674-menu-list a:hover, .g674-menu-list a:focus {
  background: var(--g674-bg-card);
  border-color: var(--g674-border);
  color: var(--g674-primary);
}
.g674-menu-cta { margin-top: 1.4rem; display: flex; flex-direction: column; gap: .8rem; }

/* ---------- Main / sections ---------- */
.g674-main { padding-top: calc(var(--g674-header-h) + 8px); padding-bottom: 80px; }

.g674-section { padding: 2.2rem 0; }
.g674-section-alt { background: var(--g674-bg-soft); }

.g674-section-title {
  font-size: 2rem;
  font-weight: 800;
  margin: 0 0 1.4rem;
  color: var(--g674-text);
  position: relative;
  padding-left: 1.2rem;
}
.g674-section-title::before {
  content: "";
  position: absolute; left: 0; top: 4px; bottom: 4px;
  width: 4px; border-radius: 2px;
  background: linear-gradient(180deg, #FF4500, #8B0000);
}
.g674-section-title small {
  display: block; font-size: 1.2rem; font-weight: 500;
  color: var(--g674-text-dim); margin-top: .3rem;
}

.g674-lead {
  font-size: 1.45rem;
  color: var(--g674-text-dim);
  line-height: 2.4rem;
}

/* ---------- Hero carousel ---------- */
.g674-hero {
  position: relative;
  border-radius: var(--g674-radius-lg);
  overflow: hidden;
  margin-bottom: 1rem;
  box-shadow: var(--g674-shadow);
}
.g674-hero-slide {
  display: none;
  position: relative;
  cursor: pointer;
}
.g674-hero-slide.g674-hero-active { display: block; }
.g674-hero-slide img { width: 100%; height: 200px; object-fit: cover; }
.g674-hero-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.4rem 1.4rem 1.6rem;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.85));
  color: #fff;
}
.g674-hero-caption h2 { margin: 0 0 .4rem; font-size: 1.7rem; font-weight: 800; }
.g674-hero-caption p { margin: 0; font-size: 1.2rem; color: var(--g674-text-dim); }

.g674-hero-dots {
  position: absolute; bottom: 8px; left: 0; right: 0;
  display: flex; justify-content: center; gap: .5rem; z-index: 2;
}
.g674-hero-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,.4); cursor: pointer;
}
.g674-dot-active { background: var(--g674-primary); width: 18px; border-radius: 4px; }

/* ---------- Game grid ---------- */
.g674-cat-head {
  display: flex; align-items: center; gap: .6rem;
  margin: 1.8rem 0 1rem;
}
.g674-cat-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  background: linear-gradient(135deg, #FF4500, #8B0000);
  color: #fff; font-size: 1.2rem; font-weight: 700;
  padding: .4rem .9rem; border-radius: 999px;
}
.g674-cat-title { font-size: 1.6rem; font-weight: 800; color: var(--g674-text); }

.g674-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .9rem;
}
.g674-game {
  display: flex; flex-direction: column; align-items: center;
  background: var(--g674-bg-card);
  border: 1px solid var(--g674-border);
  border-radius: var(--g674-radius);
  padding: .7rem .5rem;
  cursor: pointer;
  transition: transform .15s ease, border-color .2s ease;
  text-align: center;
}
.g674-game:hover, .g674-game:focus {
  transform: translateY(-2px);
  border-color: var(--g674-primary);
}
.g674-game img {
  width: 60px; height: 60px; border-radius: 10px; object-fit: cover; margin-bottom: .5rem;
}
.g674-game-name {
  font-size: 1.15rem;
  color: var(--g674-text);
  font-weight: 600;
  line-height: 1.3rem;
  max-height: 2.6rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* ---------- Cards / generic ---------- */
.g674-card {
  background: var(--g674-bg-card);
  border: 1px solid var(--g674-border);
  border-radius: var(--g674-radius);
  padding: 1.6rem;
  margin-bottom: 1.2rem;
}
.g674-card h3 { margin: 0 0 .8rem; font-size: 1.55rem; color: var(--g674-primary); }
.g674-card p { margin: 0 0 .8rem; color: var(--g674-text-dim); line-height: 2.3rem; font-size: 1.35rem; }

.g674-feature-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .9rem;
}
.g674-feature {
  background: var(--g674-bg-card);
  border: 1px solid var(--g674-border);
  border-radius: var(--g674-radius);
  padding: 1.2rem;
  text-align: center;
}
.g674-feature i, .g674-feature span.material-icons-outlined {
  font-size: 26px; color: var(--g674-primary); margin-bottom: .5rem;
}
.g674-feature h4 { margin: 0 0 .4rem; font-size: 1.3rem; color: var(--g674-text); }
.g674-feature p { margin: 0; font-size: 1.15rem; color: var(--g674-text-dim); line-height: 1.8rem; }

.g674-steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.g674-steps li {
  position: relative;
  padding: 1rem 1rem 1rem 3.6rem;
  margin-bottom: .8rem;
  background: var(--g674-bg-card);
  border: 1px solid var(--g674-border);
  border-radius: var(--g674-radius);
  color: var(--g674-text-dim);
  font-size: 1.3rem;
  line-height: 2.1rem;
}
.g674-steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute; left: .8rem; top: 50%; transform: translateY(-50%);
  width: 2.4rem; height: 2.4rem; line-height: 2.4rem; text-align: center;
  background: linear-gradient(135deg, #FF4500, #8B0000);
  color: #fff; border-radius: 50%; font-weight: 800; font-size: 1.3rem;
}

.g674-rtp-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: .8rem 0; border-bottom: 1px dashed var(--g674-border);
  font-size: 1.3rem;
}
.g674-rtp-row:last-child { border-bottom: none; }
.g674-rtp-name { color: var(--g674-text); font-weight: 600; }
.g674-rtp-bar {
  flex: 1; margin: 0 1rem; height: 6px; border-radius: 4px;
  background: #2a2a2a; overflow: hidden;
}
.g674-rtp-bar i { display: block; height: 100%; background: linear-gradient(90deg, #FF4500, #e8b500); }
.g674-rtp-value { color: var(--g674-gold); font-weight: 700; }

.g674-testimonial {
  background: var(--g674-bg-card);
  border-left: 3px solid var(--g674-primary);
  border-radius: 8px;
  padding: 1.1rem 1.3rem;
  margin-bottom: .8rem;
}
.g674-testimonial p { margin: 0 0 .5rem; font-size: 1.3rem; color: var(--g674-text); line-height: 2rem; }
.g674-testimonial cite { font-size: 1.15rem; color: var(--g674-text-dim); font-style: normal; }

.g674-promo-inline {
  color: var(--g674-primary);
  font-weight: 700;
  cursor: pointer;
}
.g674-promo-inline:hover { text-decoration: underline; color: var(--g674-text); }

.g674-cta-band {
  background: linear-gradient(135deg, #FF4500, #8B0000);
  border-radius: var(--g674-radius-lg);
  padding: 2rem 1.6rem;
  text-align: center;
  margin: 1.4rem 0;
}
.g674-cta-band h3 { margin: 0 0 .6rem; color: #fff; font-size: 1.8rem; }
.g674-cta-band p { margin: 0 0 1.2rem; color: rgba(255,255,255,.9); font-size: 1.3rem; }
.g674-cta-band .g674-btn { background: #fff; color: #8B0000; }

.g674-payment-row, .g674-winner-row {
  display: flex; flex-wrap: wrap; gap: .6rem;
}
.g674-chip {
  background: var(--g674-bg-card);
  border: 1px solid var(--g674-border);
  border-radius: 999px;
  padding: .6rem 1rem;
  font-size: 1.2rem; color: var(--g674-text);
  display: inline-flex; align-items: center; gap: .4rem;
}
.g674-winner {
  flex: 1 1 100%;
  display: flex; align-items: center; justify-content: space-between;
  background: var(--g674-bg-card);
  border: 1px solid var(--g674-border);
  border-radius: 8px; padding: .7rem 1rem; margin-bottom: .5rem;
  font-size: 1.2rem;
}
.g674-winner b { color: var(--g674-gold); }

/* ---------- Footer ---------- */
.g674-footer {
  background: #050505;
  border-top: 1px solid var(--g674-border);
  padding: 2.4rem 0 1.4rem;
  margin-top: 1.4rem;
}
.g674-footer p { color: var(--g674-text-dim); font-size: 1.25rem; line-height: 2rem; }
.g674-footer-links {
  display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0;
}
.g674-footer-links a {
  flex: 1 1 45%;
  background: var(--g674-bg-card);
  border: 1px solid var(--g674-border);
  border-radius: 8px;
  padding: .7rem .9rem;
  font-size: 1.15rem;
  color: var(--g674-text);
  text-align: center;
}
.g674-footer-links a:hover { color: var(--g674-primary); border-color: var(--g674-primary); }
.g674-copy { text-align: center; font-size: 1.1rem; color: #666; margin-top: 1.4rem; }

/* ---------- Mobile bottom nav ---------- */
.g674-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--g674-bottom-h);
  background: linear-gradient(180deg, #141414, #050505);
  border-top: 1px solid var(--g674-border);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  z-index: 1000;
}
.g674-bottom-nav a, .g674-bottom-nav button {
  flex: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 2px;
  background: transparent;
  border: none;
  color: var(--g674-text-dim);
  font-size: 1.05rem;
  text-decoration: none;
  min-width: 60px;
  min-height: 60px;
  padding: 6px 2px;
  cursor: pointer;
  transition: color .2s ease, transform .15s ease;
}
.g674-bottom-nav a i,
.g674-bottom-nav a .material-icons-outlined,
.g674-bottom-nav button i,
.g674-bottom-nav button .material-icons-outlined {
  font-size: 22px;
}
.g674-bottom-nav a:active,
.g674-bottom-nav button:active { transform: scale(.92); }
.g674-bottom-nav a:hover,
.g674-bottom-nav button:hover { color: var(--g674-primary); }
.g674-bottom-nav .g674-nav-current { color: var(--g674-primary); }
.g674-bottom-nav .g674-nav-promo {
  position: relative; color: var(--g674-gold);
}
.g674-bottom-nav .g674-nav-promo::after {
  content: "HOT";
  position: absolute; top: 4px; right: 10px;
  background: var(--g674-primary); color: #fff;
  font-size: .85rem; font-weight: 800; padding: 1px 5px;
  border-radius: 6px; line-height: 1.4;
}

/* ---------- Desktop: hide bottom nav ---------- */
@media (min-width: 769px) {
  .g674-bottom-nav { display: none; }
  .g674-container { max-width: 760px; }
}
@media (min-width: 768px) {
  .g674-main { padding-bottom: 0; }
}

/* Accessibility: reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
