/* ============================================================
 * okbet-free-spin.click - design.css
 * Mobile-first design. All custom classes use the gc18- prefix.
 * Palette: #1C2833 (dark bg) | #CD5C5C (accent) | #FFFACD (light text) | #B22222 (strong accent)
 * ============================================================ */

:root {
  --gc18-bg: #1C2833;
  --gc18-bg-alt: #243447;
  --gc18-bg-deep: #121a23;
  --gc18-primary: #CD5C5C;
  --gc18-primary-strong: #B22222;
  --gc18-text: #FFFACD;
  --gc18-text-dim: #d6d1a8;
  --gc18-text-muted: #9aa3ad;
  --gc18-border: rgba(255, 250, 205, 0.12);
  --gc18-card: #2a3b4e;
  --gc18-card-hover: #324a63;
  --gc18-gold: #f2c94c;
  --gc18-radius: 12px;
  --gc18-shadow: 0 6px 22px rgba(0, 0, 0, 0.35);
  --gc18-maxw: 430px;
}

/* Base reset */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 62.5%; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  background: var(--gc18-bg);
  color: var(--gc18-text);
  font-size: 1.5rem;
  line-height: 1.5rem * 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--gc18-text); text-decoration: none; }
h1, h2, h3, h4 { margin: 0 0 .6em; line-height: 1.25; font-weight: 700; }
h1 { font-size: 2.2rem; }
h2 { font-size: 1.9rem; color: var(--gc18-text); }
h3 { font-size: 1.65rem; color: var(--gc18-gold); }
p { margin: 0 0 1em; }

/* Layout containers */
.gc18-wrapper {
  max-width: var(--gc18-maxw);
  margin: 0 auto;
  position: relative;
  background: var(--gc18-bg);
}
.gc18-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 14px;
}

/* ============ Header ============ */
.gc18-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #1C2833 0%, #243447 100%);
  border-bottom: 1px solid var(--gc18-border);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}
.gc18-header-inner {
  max-width: 430px;
  margin: 0 auto;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
}
.gc18-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--gc18-text);
}
.gc18-logo img {
  width: 28px; height: 28px;
  border-radius: 6px;
}
.gc18-logo-text { white-space: nowrap; }
.gc18-logo-text span { color: var(--gc18-primary); }

.gc18-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.gc18-menu-btn {
  background: transparent;
  border: 1px solid var(--gc18-border);
  color: var(--gc18-text);
  width: 38px; height: 38px;
  border-radius: 8px;
  font-size: 1.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* ============ Buttons ============ */
.gc18-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: none;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 1.35rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s ease, filter .15s ease, background .15s ease;
  min-height: 38px;
}
.gc18-btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.gc18-btn-login {
  background: transparent;
  color: var(--gc18-text);
  border: 1px solid var(--gc18-primary);
}
.gc18-btn-register {
  background: linear-gradient(135deg, #CD5C5C 0%, #B22222 100%);
  color: #fff;
  box-shadow: 0 3px 10px rgba(178, 34, 34, 0.4);
}
.gc18-btn-cta {
  background: linear-gradient(135deg, #f2c94c 0%, #CD5C5C 100%);
  color: #1C2833;
  font-weight: 800;
  padding: 12px 22px;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(205, 92, 92, 0.45);
}
.gc18-btn-ghost {
  background: rgba(255, 250, 205, 0.08);
  color: var(--gc18-text);
  border: 1px solid var(--gc18-border);
}

.gc18-link-text {
  color: var(--gc18-gold);
  font-weight: 700;
  text-decoration: underline;
}

/* ============ Mobile Menu ============ */
.gc18-mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  background: var(--gc18-bg-deep);
  border-top: 1px solid var(--gc18-border);
}
.gc18-mobile-menu.gc18-menu-open {
  max-height: 560px;
}
.gc18-mobile-menu-inner {
  max-width: 430px;
  margin: 0 auto;
  padding: 8px 14px 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.gc18-mobile-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--gc18-card);
  color: var(--gc18-text);
  font-size: 1.35rem;
  border: 1px solid var(--gc18-border);
}
.gc18-mobile-menu a:active { background: var(--gc18-card-hover); }
.gc18-mobile-menu-title {
  grid-column: 1 / -1;
  font-size: 1.2rem;
  color: var(--gc18-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 6px;
}

/* ============ Spacer ============ */
.gc18-header-spacer { height: 56px; }

/* ============ Carousel ============ */
.gc18-carousel {
  position: relative;
  border-radius: 0 0 16px 16px;
  overflow: hidden;
  margin-bottom: 14px;
}
.gc18-slides { position: relative; }
.gc18-slide {
  display: none;
  position: relative;
  cursor: pointer;
}
.gc18-slide.gc18-slide-active { display: block; }
.gc18-slide img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.gc18-slide-overlay {
  position: absolute;
  left: 14px; right: 14px; bottom: 14px;
  background: linear-gradient(180deg, rgba(28,40,51,0) 0%, rgba(28,40,51,0.92) 100%);
  padding: 30px 12px 12px;
  border-radius: 10px;
}
.gc18-slide-overlay h2 {
  color: var(--gc18-gold);
  font-size: 1.6rem;
  margin: 0 0 4px;
}
.gc18-slide-overlay p {
  margin: 0;
  font-size: 1.2rem;
  color: var(--gc18-text-dim);
}
.gc18-dots {
  position: absolute;
  bottom: 8px; left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
}
.gc18-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255, 250, 205, 0.4);
  cursor: pointer;
  border: none;
}
.gc18-dot.gc18-dot-active { background: var(--gc18-gold); }

/* ============ Section ============ */
.gc18-section {
  padding: 18px 0;
}
.gc18-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.gc18-section-head h2 {
  font-size: 1.75rem;
  position: relative;
  padding-left: 12px;
}
.gc18-section-head h2::before {
  content: '';
  position: absolute;
  left: 0; top: 4px; bottom: 4px;
  width: 4px;
  background: linear-gradient(180deg, var(--gc18-gold), var(--gc18-primary-strong));
  border-radius: 3px;
}
.gc18-section-more {
  font-size: 1.2rem;
  color: var(--gc18-gold);
}

/* ============ Game grid ============ */
.gc18-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.gc18-game-card {
  background: var(--gc18-card);
  border-radius: 10px;
  padding: 8px;
  text-align: center;
  border: 1px solid var(--gc18-border);
  transition: transform .15s ease, box-shadow .15s ease;
  cursor: pointer;
  display: block;
}
.gc18-game-card:hover { transform: translateY(-2px); box-shadow: var(--gc18-shadow); }
.gc18-game-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 6px;
}
.gc18-game-name {
  font-size: 1.15rem;
  color: var(--gc18-text);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gc18-game-tag {
  display: inline-block;
  font-size: 1rem;
  color: var(--gc18-gold);
  margin-top: 2px;
}

/* ============ Category chips ============ */
.gc18-cat-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 8px;
}
.gc18-cat-chip {
  flex: 0 0 auto;
  padding: 6px 14px;
  border-radius: 20px;
  background: var(--gc18-card);
  border: 1px solid var(--gc18-border);
  font-size: 1.2rem;
  color: var(--gc18-text);
  font-weight: 600;
}

/* ============ Cards / Features ============ */
.gc18-card {
  background: var(--gc18-card);
  border: 1px solid var(--gc18-border);
  border-radius: var(--gc18-radius);
  padding: 14px;
  margin-bottom: 12px;
}
.gc18-card h3 { margin-bottom: 8px; }
.gc18-card p { margin-bottom: 8px; color: var(--gc18-text-dim); }

.gc18-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.gc18-feature {
  background: var(--gc18-card);
  border-radius: 10px;
  padding: 12px;
  border: 1px solid var(--gc18-border);
  text-align: center;
}
.gc18-feature .gc18-feature-icon {
  font-size: 2.4rem;
  color: var(--gc18-gold);
  margin-bottom: 6px;
}
.gc18-feature h4 {
  font-size: 1.3rem;
  margin: 0 0 4px;
  color: var(--gc18-text);
}
.gc18-feature p {
  font-size: 1.15rem;
  color: var(--gc18-text-muted);
  margin: 0;
}

/* ============ Steps ============ */
.gc18-steps { counter-reset: step; }
.gc18-step {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  align-items: flex-start;
}
.gc18-step-num {
  flex: 0 0 30px;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gc18-primary), var(--gc18-primary-strong));
  color: #fff;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}
.gc18-step-body h4 {
  font-size: 1.35rem;
  margin: 0 0 4px;
  color: var(--gc18-text);
}
.gc18-step-body p {
  margin: 0;
  font-size: 1.2rem;
  color: var(--gc18-text-muted);
}

/* ============ RTP table ============ */
.gc18-rtp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.2rem;
}
.gc18-rtp-table th, .gc18-rtp-table td {
  padding: 8px 6px;
  border-bottom: 1px solid var(--gc18-border);
  text-align: left;
}
.gc18-rtp-table th { color: var(--gc18-gold); }
.gc18-rtp-table td.gc18-rtp-high { color: #6ee7a8; font-weight: 700; }

/* ============ FAQ ============ */
.gc18-faq-item {
  background: var(--gc18-card);
  border: 1px solid var(--gc18-border);
  border-radius: 8px;
  margin-bottom: 8px;
  overflow: hidden;
}
.gc18-faq-q {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 12px;
  color: var(--gc18-text);
  font-weight: 700;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.gc18-faq-q .gc18-faq-icon { color: var(--gc18-gold); transition: transform .2s; }
.gc18-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
  padding: 0 12px;
  color: var(--gc18-text-dim);
}
.gc18-faq-item.gc18-faq-open .gc18-faq-a {
  max-height: 320px;
  padding: 0 12px 12px;
}
.gc18-faq-item.gc18-faq-open .gc18-faq-icon { transform: rotate(45deg); }

/* ============ Testimonials ============ */
.gc18-testi {
  background: var(--gc18-card);
  border-left: 3px solid var(--gc18-gold);
  padding: 10px 12px;
  border-radius: 8px;
  margin-bottom: 8px;
}
.gc18-testi p { margin: 0 0 6px; font-size: 1.2rem; color: var(--gc18-text-dim); }
.gc18-testi-meta { font-size: 1.1rem; color: var(--gc18-gold); font-weight: 700; }

/* ============ Winners ============ */
.gc18-winner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--gc18-card);
  padding: 8px 10px;
  border-radius: 8px;
  margin-bottom: 6px;
  border: 1px solid var(--gc18-border);
}
.gc18-winner-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gc18-primary), var(--gc18-gold));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 1.2rem;
  flex: 0 0 32px;
}
.gc18-winner-info { flex: 1; }
.gc18-winner-name { font-size: 1.2rem; color: var(--gc18-text); font-weight: 700; }
.gc18-winner-game { font-size: 1.05rem; color: var(--gc18-text-muted); }
.gc18-winner-amount { color: #6ee7a8; font-weight: 800; font-size: 1.3rem; }

/* ============ Payment ============ */
.gc18-pay-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.gc18-pay-item {
  background: var(--gc18-card);
  border: 1px solid var(--gc18-border);
  border-radius: 8px;
  padding: 10px 4px;
  text-align: center;
  font-size: 1.05rem;
  color: var(--gc18-text-dim);
}
.gc18-pay-item .gc18-pay-icon { font-size: 1.8rem; color: var(--gc18-gold); }

/* ============ App download CTA ============ */
.gc18-app-cta {
  background: linear-gradient(135deg, #2a3b4e 0%, #B22222 140%);
  border-radius: var(--gc18-radius);
  padding: 16px;
  text-align: center;
  border: 1px solid var(--gc18-border);
}
.gc18-app-cta h3 { color: var(--gc18-gold); margin-bottom: 6px; }
.gc18-app-cta p { color: var(--gc18-text-dim); margin-bottom: 12px; }

/* ============ Promo banner ============ */
.gc18-promo-banner {
  background: linear-gradient(135deg, #CD5C5C 0%, #B22222 100%);
  border-radius: var(--gc18-radius);
  padding: 14px;
  color: #fff;
  text-align: center;
  margin-bottom: 12px;
}
.gc18-promo-banner h3 { color: #FFFACD; margin-bottom: 6px; }
.gc18-promo-banner p { color: rgba(255, 250, 205, 0.92); margin: 0 0 10px; }

/* ============ SEO content ============ */
.gc18-seo-content {
  color: var(--gc18-text-dim);
  font-size: 1.3rem;
  line-height: 1.65;
}
.gc18-seo-content h2 { color: var(--gc18-text); margin-top: 1.2em; }
.gc18-seo-content h3 { color: var(--gc18-gold); margin-top: 1em; }
.gc18-seo-content p { margin-bottom: 0.9em; }
.gc18-seo-content strong { color: var(--gc18-gold); }

/* ============ Footer ============ */
.gc18-footer {
  background: var(--gc18-bg-deep);
  border-top: 1px solid var(--gc18-border);
  padding: 20px 14px 24px;
  margin-top: 20px;
}
.gc18-footer-brand {
  font-weight: 800;
  font-size: 1.5rem;
  margin-bottom: 6px;
  color: var(--gc18-text);
}
.gc18-footer-brand span { color: var(--gc18-primary); }
.gc18-footer-desc {
  font-size: 1.2rem;
  color: var(--gc18-text-muted);
  margin-bottom: 14px;
}
.gc18-footer-promos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.gc18-footer-promos .gc18-btn {
  flex: 1 1 calc(50% - 8px);
  font-size: 1.2rem;
  padding: 8px 10px;
}
.gc18-footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 14px;
}
.gc18-footer-links a {
  font-size: 1.15rem;
  color: var(--gc18-text-dim);
  padding: 4px 0;
}
.gc18-footer-links a:hover { color: var(--gc18-gold); }
.gc18-footer-copy {
  font-size: 1.1rem;
  color: var(--gc18-text-muted);
  text-align: center;
  border-top: 1px solid var(--gc18-border);
  padding-top: 12px;
}

/* ============ Mobile bottom nav ============ */
.gc18-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 62px;
  background: linear-gradient(180deg, #243447 0%, #121a23 100%);
  border-top: 1px solid var(--gc18-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -3px 14px rgba(0, 0, 0, 0.4);
}
.gc18-bottom-nav-link {
  flex: 1;
  min-width: 60px;
  min-height: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--gc18-text-muted);
  font-size: 1.05rem;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color .15s, transform .15s;
  text-decoration: none;
  position: relative;
}
.gc18-bottom-nav-link:active { transform: scale(0.92); }
.gc18-bottom-nav-link .gc18-bn-icon { font-size: 2.2rem; line-height: 1; }
.gc18-bottom-nav-link.gc18-bottom-nav-active { color: var(--gc18-gold); }
.gc18-bottom-nav-link.gc18-bottom-nav-active::before {
  content: '';
  position: absolute;
  top: 0;
  width: 26px; height: 3px;
  background: var(--gc18-gold);
  border-radius: 0 0 3px 3px;
}
.gc18-bn-promo {
  color: var(--gc18-text);
}
.gc18-bn-promo .gc18-bn-icon {
  background: linear-gradient(135deg, var(--gc18-gold), var(--gc18-primary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Bottom padding so content isn't hidden behind bottom nav */
.gc18-main { padding-bottom: 80px; }

/* Desktop: hide bottom nav */
@media (min-width: 769px) {
  .gc18-bottom-nav { display: none; }
  .gc18-main { padding-bottom: 20px; }
  .gc18-wrapper { box-shadow: 0 0 40px rgba(0,0,0,0.5); }
}

/* Utility */
.gc18-text-center { text-align: center; }
.gc18-mt-8 { margin-top: 8px; }
.gc18-mt-16 { margin-top: 16px; }
.gc18-mb-12 { margin-bottom: 12px; }
.gc18-hidden { display: none !important; }
.gc18-prose-intro {
  background: var(--gc18-card);
  border-radius: var(--gc18-radius);
  padding: 14px;
  border: 1px solid var(--gc18-border);
  margin-bottom: 14px;
}
