/*!
 * Bingo Game Patterns - Core Stylesheet
 * File: css/design-cd75.css
 * Prefix: scd7-
 * Palette: #FFDEAD | #DEE2E6 | #F4A460 | #2E4057 | #FAF0E6
 * Dark (#2E4057) backgrounds, light (#FAF0E6/#FFDEAD) text.
 */
:root {
  --scd7-primary: #F4A460;
  --scd7-accent: #FFDEAD;
  --scd7-bg: #2E4057;
  --scd7-bg-2: #243447;
  --scd7-bg-3: #1c2a39;
  --scd7-text: #FAF0E6;
  --scd7-muted: #DEE2E6;
  --scd7-border: rgba(244, 164, 96, 0.25);
  --scd7-shadow: 0 6px 22px rgba(0, 0, 0, 0.35);
  --scd7-radius: 14px;
  --scd7-radius-sm: 10px;
  --scd7-max: 430px;
  font-size: 62.5%;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: "Segoe UI", "Helvetica Neue", Roboto, system-ui, sans-serif;
  background: var(--scd7-bg);
  color: var(--scd7-text);
  font-size: 1.5rem;
  line-height: 1.5;
  overflow-x: hidden;
  padding-bottom: 80px;
}
a { color: var(--scd7-accent); text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }

.scd7-wrapper {
  width: 100%;
  max-width: var(--scd7-max);
  margin: 0 auto;
  padding: 0 1.2rem;
}
.scd7-container { width: 100%; }

/* ============ Header ============ */
.scd7-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(28,42,57,0.98), rgba(46,64,87,0.95));
  border-bottom: 1px solid var(--scd7-border);
  backdrop-filter: blur(10px);
}
.scd7-header-inner {
  max-width: var(--scd7-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1.2rem;
  gap: 0.6rem;
}
.scd7-logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--scd7-text);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.3px;
}
.scd7-logo img {
  width: 30px; height: 30px;
  border-radius: 8px;
  border: 1px solid var(--scd7-primary);
}
.scd7-logo .scd7-logo-mark {
  color: var(--scd7-primary);
}
.scd7-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.scd7-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 38px;
  padding: 0 1.1rem;
  border: none;
  border-radius: 999px;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  white-space: nowrap;
  font-family: inherit;
}
.scd7-btn:active { transform: scale(0.95); }
.scd7-btn-primary {
  background: linear-gradient(135deg, #F4A460, #FFDEAD);
  color: #2E4057;
  box-shadow: 0 4px 14px rgba(244, 164, 96, 0.45);
}
.scd7-btn-secondary {
  background: transparent;
  color: var(--scd7-accent);
  border: 1.5px solid var(--scd7-primary);
}
.scd7-btn-block {
  width: 100%;
  padding: 1rem 1.2rem;
  font-size: 1.5rem;
}
.scd7-menu-toggle {
  background: transparent;
  border: 1px solid var(--scd7-border);
  color: var(--scd7-text);
  width: 38px; height: 38px;
  border-radius: 10px;
  font-size: 1.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* ============ Mobile slide menu ============ */
.scd7-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 9998;
}
.scd7-backdrop-show { opacity: 1; pointer-events: auto; }
.scd7-mobile-menu {
  position: fixed;
  top: 0; right: -85%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: var(--scd7-bg-2);
  padding: 1.4rem 1.2rem 2rem;
  z-index: 9999;
  transition: right 0.28s ease;
  overflow-y: auto;
  border-left: 1px solid var(--scd7-border);
}
.scd7-menu-open { right: 0; }
.scd7-menu-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.2rem;
}
.scd7-menu-head h3 { color: var(--scd7-primary); font-size: 1.7rem; }
.scd7-menu-close {
  background: transparent;
  border: none;
  color: var(--scd7-text);
  font-size: 2.2rem;
  cursor: pointer;
  line-height: 1;
}
.scd7-menu-list li { margin-bottom: 0.7rem; }
.scd7-menu-list a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 0.9rem;
  border-radius: var(--scd7-radius-sm);
  background: var(--scd7-bg-3);
  color: var(--scd7-text);
  font-size: 1.35rem;
}
.scd7-menu-list a:hover { background: var(--scd7-primary); color: var(--scd7-bg); }
.scd7-menu-list .material-icons { font-size: 20px; color: var(--scd7-primary); }
.scd7-menu-promo {
  margin-top: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

/* ============ Hero / Carousel ============ */
.scd7-hero {
  margin-top: 64px;
  padding: 0.9rem 0 0;
}
.scd7-carousel {
  position: relative;
  border-radius: var(--scd7-radius);
  overflow: hidden;
  box-shadow: var(--scd7-shadow);
}
.scd7-carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}
.scd7-slide {
  position: relative;
  min-width: 100%;
  height: 200px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease;
}
.scd7-slide-active { opacity: 1; visibility: visible; }
.scd7-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.scd7-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(28,42,57,0.15), rgba(28,42,57,0.78));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.1rem 1.2rem;
  gap: 0.45rem;
}
.scd7-slide-title {
  color: var(--scd7-accent);
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.2;
}
.scd7-slide-sub {
  color: var(--scd7-text);
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}
.scd7-dots {
  position: absolute;
  bottom: 8px; left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  z-index: 2;
}
.scd7-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255, 222, 173, 0.4);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.scd7-dot-active { background: var(--scd7-primary); transform: scale(1.35); }

/* ============ Section blocks ============ */
.scd7-section {
  padding: 1.6rem 0 0.4rem;
}
.scd7-section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 0.9rem;
}
.scd7-section-title {
  font-size: 1.65rem;
  color: var(--scd7-text);
  font-weight: 700;
  position: relative;
  padding-left: 0.8rem;
}
.scd7-section-title::before {
  content: "";
  position: absolute;
  left: 0; top: 6px; bottom: 6px;
  width: 4px;
  background: var(--scd7-primary);
  border-radius: 4px;
}
.scd7-section-title .scd7-mark { color: var(--scd7-primary); }
.scd7-section-more {
  font-size: 1.2rem;
  color: var(--scd7-accent);
  font-weight: 600;
}

.scd7-h1 {
  font-size: 1.85rem;
  line-height: 1.25;
  margin: 1rem 0 0.6rem;
  color: var(--scd7-text);
}
.scd7-h1 span { color: var(--scd7-primary); }

.scd7-lead {
  color: var(--scd7-muted);
  font-size: 1.32rem;
  margin-bottom: 0.9rem;
}

/* ============ Chips ============ */
.scd7-chips {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.2rem 0 0.8rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.scd7-chips::-webkit-scrollbar { display: none; }
.scd7-chip {
  flex: 0 0 auto;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: var(--scd7-bg-3);
  color: var(--scd7-text);
  font-size: 1.2rem;
  border: 1px solid var(--scd7-border);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.scd7-chip-active {
  background: var(--scd7-primary);
  color: var(--scd7-bg);
  border-color: var(--scd7-primary);
  font-weight: 700;
}

/* ============ Game grids ============ */
.scd7-cat-section { margin-bottom: 1.4rem; }
.scd7-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}
.scd7-grid-4 { grid-template-columns: repeat(4, 1fr); }
.scd7-game-card {
  background: var(--scd7-bg-2);
  border-radius: var(--scd7-radius-sm);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  border: 1px solid var(--scd7-border);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.scd7-game-card:active { transform: scale(0.96); }
.scd7-game-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--scd7-bg-3);
  overflow: hidden;
}
.scd7-game-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.scd7-game-badge {
  position: absolute;
  top: 5px; left: 5px;
  background: linear-gradient(135deg, #F4A460, #FFDEAD);
  color: #2E4057;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.1rem 0.45rem;
  border-radius: 5px;
  line-height: 1.4;
}
.scd7-game-play {
  position: absolute;
  inset: 0;
  background: rgba(28, 42, 57, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.scd7-game-card:hover .scd7-game-play { opacity: 1; }
.scd7-game-play .material-icons,
.scd7-game-play i { font-size: 28px; color: var(--scd7-accent); }
.scd7-game-name {
  padding: 0.45rem 0.4rem 0.55rem;
  font-size: 1.15rem;
  color: var(--scd7-text);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 600;
}

/* ============ Feature / Promo cards ============ */
.scd7-feature {
  background: linear-gradient(135deg, var(--scd7-bg-2), var(--scd7-bg-3));
  border-radius: var(--scd7-radius);
  padding: 1.1rem 1.2rem;
  margin-bottom: 1rem;
  border: 1px solid var(--scd7-border);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.scd7-feature-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.scd7-feature-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(244, 164, 96, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.scd7-feature-icon .material-icons,
.scd7-feature-icon i { color: var(--scd7-primary); font-size: 26px; }
.scd7-feature h3 {
  font-size: 1.5rem;
  color: var(--scd7-text);
  margin-bottom: 0.2rem;
}
.scd7-feature p { color: var(--scd7-muted); font-size: 1.25rem; }

/* ============ Steps ============ */
.scd7-steps {
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.scd7-step {
  background: var(--scd7-bg-2);
  border-radius: var(--scd7-radius-sm);
  padding: 0.9rem 1rem 0.9rem 3.2rem;
  position: relative;
  border: 1px solid var(--scd7-border);
}
.scd7-step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0.7rem; top: 50%;
  transform: translateY(-50%);
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--scd7-primary);
  color: var(--scd7-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.4rem;
}
.scd7-step h4 { font-size: 1.32rem; color: var(--scd7-text); margin-bottom: 0.2rem; }
.scd7-step p { color: var(--scd7-muted); font-size: 1.2rem; }

/* ============ SEO content ============ */
.scd7-content p {
  color: var(--scd7-muted);
  margin-bottom: 0.8rem;
  font-size: 1.3rem;
}
.scd7-content h2 {
  color: var(--scd7-text);
  font-size: 1.6rem;
  margin: 1.2rem 0 0.6rem;
}
.scd7-content h3 {
  color: var(--scd7-primary);
  font-size: 1.4rem;
  margin: 0.9rem 0 0.5rem;
}
.scd7-content a {
  color: var(--scd7-accent);
  font-weight: 600;
  border-bottom: 1px dashed var(--scd7-primary);
}
.scd7-content ul.bullet {
  list-style: disc;
  padding-left: 1.4rem;
  margin-bottom: 0.9rem;
}
.scd7-content ul.bullet li {
  color: var(--scd7-muted);
  margin-bottom: 0.4rem;
  font-size: 1.25rem;
}

/* ============ FAQ ============ */
.scd7-faq-item {
  background: var(--scd7-bg-2);
  border: 1px solid var(--scd7-border);
  border-radius: var(--scd7-radius-sm);
  margin-bottom: 0.55rem;
  overflow: hidden;
}
.scd7-faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 0.9rem 1rem;
  color: var(--scd7-text);
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  font-family: inherit;
}
.scd7-faq-question .scd7-faq-icon { color: var(--scd7-primary); transition: transform 0.25s ease; }
.scd7-faq-open .scd7-faq-question .scd7-faq-icon { transform: rotate(45deg); }
.scd7-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 1rem;
  color: var(--scd7-muted);
  font-size: 1.22rem;
}
.scd7-faq-open .scd7-faq-answer { padding-bottom: 0.9rem; }

/* ============ CTA banner ============ */
.scd7-cta {
  background: linear-gradient(135deg, #F4A460, #FFDEAD);
  color: #2E4057;
  border-radius: var(--scd7-radius);
  padding: 1.3rem 1.2rem;
  text-align: center;
  margin: 1.2rem 0;
  box-shadow: var(--scd7-shadow);
}
.scd7-cta h2 { color: #2E4057; font-size: 1.7rem; margin-bottom: 0.3rem; }
.scd7-cta p { color: #2E4057; font-size: 1.25rem; margin-bottom: 0.8rem; opacity: 0.85; }
.scd7-cta .scd7-btn { background: #2E4057; color: var(--scd7-accent); }

/* ============ Footer ============ */
.scd7-footer {
  background: var(--scd7-bg-3);
  padding: 1.6rem 0 2rem;
  margin-top: 1.5rem;
  border-top: 1px solid var(--scd7-border);
}
.scd7-footer h4 {
  color: var(--scd7-primary);
  font-size: 1.4rem;
  margin: 0.9rem 0 0.5rem;
}
.scd7-footer p { color: var(--scd7-muted); font-size: 1.2rem; margin-bottom: 0.6rem; }
.scd7-footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem 0.8rem;
  margin: 0.6rem 0 1rem;
}
.scd7-footer-links a {
  color: var(--scd7-text);
  font-size: 1.18rem;
}
.scd7-footer-links a:hover { color: var(--scd7-primary); }
.scd7-footer-promos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.8rem 0;
}
.scd7-footer-promos .scd7-btn { font-size: 1.18rem; padding: 0.5rem 0.9rem; }
.scd7-footer-copy {
  text-align: center;
  color: var(--scd7-muted);
  font-size: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid var(--scd7-border);
}

/* ============ Bottom nav ============ */
.scd7-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 62px;
  background: linear-gradient(180deg, rgba(36, 52, 71, 0.99), rgba(28, 42, 57, 1));
  border-top: 1px solid var(--scd7-border);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  z-index: 1000;
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.35);
}
.scd7-bottom-nav-btn {
  flex: 1;
  min-width: 60px;
  min-height: 60px;
  background: transparent;
  border: none;
  color: var(--scd7-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  font-size: 1.05rem;
  font-family: inherit;
  position: relative;
  transition: color 0.18s ease, transform 0.18s ease;
}
.scd7-bottom-nav-btn .material-icons,
.scd7-bottom-nav-btn i,
.scd7-bottom-nav-btn ion-icon {
  font-size: 22px;
}
.scd7-bottom-nav-btn .scd7-bn-icon-fa { font-size: 20px; }
.scd7-bottom-nav-btn:active { transform: scale(0.92); }
.scd7-bottom-nav-btn.scd7-bottom-active { color: var(--scd7-primary); }
.scd7-bottom-nav-btn.scd7-bottom-active::before {
  content: "";
  position: absolute;
  top: 0;
  width: 26px; height: 3px;
  background: var(--scd7-primary);
  border-radius: 0 0 4px 4px;
}
.scd7-bottom-nav-btn.scd7-bottom-promo {
  color: var(--scd7-accent);
}
.scd7-bottom-nav-btn.scd7-bottom-promo .scd7-bn-label { font-weight: 700; }

/* ============ Back to top ============ */
.scd7-back-top {
  position: fixed;
  right: 14px; bottom: 80px;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--scd7-primary);
  color: var(--scd7-bg);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.2s ease;
  box-shadow: var(--scd7-shadow);
}
.scd7-back-top-show { opacity: 1; pointer-events: auto; }
.scd7-back-top:active { transform: scale(0.9); }

/* ============ Reveal animation ============ */
.scd7-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.scd7-revealed { opacity: 1; transform: translateY(0); }

/* ============ Helpers ============ */
.scd7-text-center { text-align: center; }
.scd7-mt-1 { margin-top: 0.5rem; }
.scd7-mt-2 { margin-top: 1rem; }
.scd7-divider {
  height: 1px;
  background: var(--scd7-border);
  margin: 1.2rem 0;
}

/* ============ Desktop / tablet ============ */
@media (min-width: 769px) {
  .scd7-bottom-nav { display: none; }
  body { padding-bottom: 0; }
  .scd7-wrapper { max-width: 760px; }
  .scd7-grid { grid-template-columns: repeat(5, 1fr); }
  .scd7-grid-4 { grid-template-columns: repeat(6, 1fr); }
}
@media (min-width: 1024px) {
  .scd7-wrapper { max-width: 980px; }
  .scd7-grid { grid-template-columns: repeat(6, 1fr); }
  .scd7-slide { height: 280px; }
}
