/* OK Games - theme-fac7.css
 * Mobile-first casino styling. Every custom class uses the gc78- prefix.
 * Color palette: #C9C9FF | #FA8072 | #00FF7F | #FFB3BA | #273746
 */

:root {
  --gc78-bg: #273746;
  --gc78-bg-soft: #1f2c38;
  --gc78-bg-card: #2d3f51;
  --gc78-primary: #00FF7F;
  --gc78-secondary: #FA8072;
  --gc78-tertiary: #C9C9FF;
  --gc78-pink: #FFB3BA;
  --gc78-text: #f4f7fb;
  --gc78-text-muted: #aab8c6;
  --gc78-border: rgba(255, 255, 255, 0.08);
  --gc78-radius: 12px;
  --gc78-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: linear-gradient(160deg, var(--gc78-bg) 0%, var(--gc78-bg-soft) 100%);
  color: var(--gc78-text);
  line-height: 1.5rem;
  -webkit-font-smoothing: antialiased;
  max-width: 430px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

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

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

.gc78-container {
  width: 100%;
  padding: 0 1.4rem;
}

.gc78-wrapper {
  padding: 1rem 1.4rem;
}

main {
  padding-bottom: 80px;
}

/* ---------- Header ---------- */
.gc78-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  background: rgba(39, 55, 70, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gc78-border);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1.2rem;
}

.gc78-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--gc78-text);
  font-weight: 700;
  font-size: 1.5rem;
}

.gc78-brand img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.gc78-brand small {
  display: block;
  font-size: 1rem;
  color: var(--gc78-primary);
  font-weight: 500;
}

.gc78-header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.gc78-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 0.15s ease, box-shadow 0.15s ease;
  min-height: 36px;
}

.gc78-btn:active {
  transform: scale(0.96);
}

.gc78-btn-login {
  background: transparent;
  color: var(--gc78-text);
  border: 1px solid var(--gc78-tertiary);
}

.gc78-btn-register {
  background: linear-gradient(135deg, var(--gc78-primary), #00d968);
  color: #062013;
  box-shadow: 0 4px 14px rgba(0, 255, 127, 0.35);
}

.gc78-btn-promo {
  background: linear-gradient(135deg, var(--gc78-secondary), var(--gc78-pink));
  color: #2a0f0c;
}

.gc78-menu-toggle {
  background: transparent;
  border: none;
  color: var(--gc78-text);
  font-size: 1.6rem;
  cursor: pointer;
  padding: 0.4rem 0.6rem;
}

/* ---------- Mobile dropdown menu ---------- */
.gc78-mobile-menu {
  position: fixed;
  top: 56px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  background: var(--gc78-bg-card);
  border-bottom: 1px solid var(--gc78-border);
  padding: 0.6rem 1.2rem 1rem;
  z-index: 9999;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.gc78-mobile-menu.gc78-menu-open {
  max-height: 420px;
}

.gc78-mobile-menu a {
  display: block;
  padding: 0.8rem 0.4rem;
  color: var(--gc78-text);
  border-bottom: 1px solid var(--gc78-border);
  font-size: 1.25rem;
}

.gc78-mobile-menu a:hover {
  color: var(--gc78-primary);
}

/* ---------- Hero / Carousel ---------- */
.gc78-hero {
  margin-top: 72px;
  padding: 0 1.2rem;
}

.gc78-carousel {
  position: relative;
  border-radius: var(--gc78-radius);
  overflow: hidden;
  box-shadow: var(--gc78-shadow);
}

.gc78-slide {
  display: none;
  position: relative;
}

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

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

.gc78-slide-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.9rem 1.1rem;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,0.75));
  color: var(--gc78-text);
}

.gc78-slide-caption h2 {
  margin: 0 0 0.3rem;
  font-size: 1.5rem;
  color: var(--gc78-primary);
}

.gc78-slide-caption p {
  margin: 0;
  font-size: 1.1rem;
  color: var(--gc78-tertiary);
}

.gc78-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 0;
}

.gc78-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
}

.gc78-dot.gc78-dot-active {
  background: var(--gc78-primary);
  width: 20px;
  border-radius: 6px;
}

/* ---------- Section base ---------- */
.gc78-section {
  padding: 1.6rem 1.4rem;
}

.gc78-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.gc78-section-head h2 {
  font-size: 1.6rem;
  margin: 0;
  color: var(--gc78-text);
}

.gc78-section-head h2 span {
  color: var(--gc78-primary);
}

.gc78-section-head a {
  font-size: 1.1rem;
  color: var(--gc78-secondary);
}

.gc78-lead {
  font-size: 1.2rem;
  color: var(--gc78-text-muted);
  margin: 0 0 1rem;
}

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

.gc78-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.gc78-game-card {
  background: var(--gc78-bg-card);
  border-radius: var(--gc78-radius);
  overflow: hidden;
  border: 1px solid var(--gc78-border);
  text-align: center;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.gc78-game-card:hover {
  transform: translateY(-3px);
  border-color: var(--gc78-primary);
}

.gc78-game-card img {
  width: 100%;
  height: 84px;
  object-fit: cover;
}

.gc78-game-card .gc78-game-name {
  display: block;
  padding: 0.5rem 0.3rem;
  font-size: 1.05rem;
  color: var(--gc78-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gc78-cat-tag {
  display: inline-block;
  font-size: 1rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: rgba(0,255,127,0.15);
  color: var(--gc78-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ---------- Chips / filter rail ---------- */
.gc78-chips {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.8rem;
}

.gc78-chip {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--gc78-border);
  background: var(--gc78-bg-card);
  color: var(--gc78-text-muted);
  font-size: 1.1rem;
  cursor: pointer;
}

.gc78-chip.gc78-chip-active {
  background: var(--gc78-primary);
  color: #062013;
  border-color: var(--gc78-primary);
  font-weight: 700;
}

.gc78-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}

/* ---------- Text / SEO blocks ---------- */
.gc78-prose {
  background: var(--gc78-bg-card);
  border-radius: var(--gc78-radius);
  padding: 1.2rem;
  border: 1px solid var(--gc78-border);
}

.gc78-prose h3 {
  margin: 0 0 0.6rem;
  font-size: 1.4rem;
  color: var(--gc78-tertiary);
}

.gc78-prose p,
.gc78-prose li {
  font-size: 1.18rem;
  color: var(--gc78-text);
}

.gc78-prose ul,
.gc78-prose ol {
  padding-left: 1.4rem;
}

.gc78-prose strong {
  color: var(--gc78-primary);
}

.gc78-feature-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem;
  margin-top: 0.8rem;
}

.gc78-feature {
  background: var(--gc78-bg-soft);
  border-radius: var(--gc78-radius);
  padding: 0.9rem;
  border-left: 3px solid var(--gc78-primary);
}

.gc78-feature h4 {
  margin: 0 0 0.3rem;
  font-size: 1.2rem;
  color: var(--gc78-primary);
}

.gc78-feature p {
  margin: 0;
  font-size: 1.08rem;
  color: var(--gc78-text-muted);
}

/* ---------- Promo CTA band ---------- */
.gc78-cta {
  background: linear-gradient(135deg, var(--gc78-secondary), var(--gc78-pink));
  border-radius: var(--gc78-radius);
  padding: 1.4rem;
  color: #2a0f0c;
  text-align: center;
  margin: 1.2rem 0;
}

.gc78-cta h3 {
  margin: 0 0 0.4rem;
  font-size: 1.5rem;
}

.gc78-cta p {
  margin: 0 0 0.8rem;
  font-size: 1.15rem;
}

/* ---------- FAQ ---------- */
.gc78-faq-item {
  background: var(--gc78-bg-card);
  border-radius: var(--gc78-radius);
  margin-bottom: 0.6rem;
  border: 1px solid var(--gc78-border);
  overflow: hidden;
}

.gc78-faq-q {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 0.9rem 1rem;
  color: var(--gc78-text);
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
}

.gc78-faq-a {
  max-height: 0;
  overflow: hidden;
  padding: 0 1rem;
  color: var(--gc78-text-muted);
  font-size: 1.1rem;
  transition: max-height 0.25s ease, padding 0.25s ease;
}

.gc78-faq-item.gc78-faq-open .gc78-faq-a {
  max-height: 300px;
  padding: 0 1rem 1rem;
}

/* ---------- Testimonials ---------- */
.gc78-testimonials {
  display: grid;
  gap: 0.7rem;
}

.gc78-testimonial {
  background: var(--gc78-bg-card);
  border-radius: var(--gc78-radius);
  padding: 1rem;
  border-left: 3px solid var(--gc78-tertiary);
}

.gc78-testimonial .gc78-stars {
  color: #ffd166;
  font-size: 1.1rem;
}

.gc78-testimonial p {
  margin: 0.4rem 0;
  font-size: 1.12rem;
}

.gc78-testimonial cite {
  color: var(--gc78-secondary);
  font-style: normal;
  font-size: 1.05rem;
}

/* ---------- Payment / winners ---------- */
.gc78-payment-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.gc78-payment-row span {
  background: var(--gc78-bg-soft);
  border: 1px solid var(--gc78-border);
  color: var(--gc78-text);
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  font-size: 1.1rem;
}

.gc78-winners {
  background: var(--gc78-bg-card);
  border-radius: var(--gc78-radius);
  overflow: hidden;
}

.gc78-winners-row {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0.9rem;
  border-bottom: 1px solid var(--gc78-border);
  font-size: 1.1rem;
}

.gc78-winners-row:last-child {
  border-bottom: none;
}

.gc78-winners-row .gc78-amount {
  color: var(--gc78-primary);
  font-weight: 700;
}

/* ---------- Footer ---------- */
.gc78-footer {
  background: var(--gc78-bg-soft);
  padding: 1.6rem 1.4rem 2rem;
  border-top: 1px solid var(--gc78-border);
}

.gc78-footer h4 {
  margin: 0 0 0.6rem;
  font-size: 1.3rem;
  color: var(--gc78-tertiary);
}

.gc78-footer p {
  font-size: 1.12rem;
  color: var(--gc78-text-muted);
  margin: 0 0 1rem;
}

.gc78-footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  margin: 0.8rem 0;
}

.gc78-footer-links a {
  color: var(--gc78-text);
  font-size: 1.1rem;
}

.gc78-footer-promos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.8rem 0;
}

.gc78-footer-promos button {
  flex: 1 1 45%;
}

.gc78-copyright {
  text-align: center;
  font-size: 1.05rem;
  color: var(--gc78-text-muted);
  margin-top: 1rem;
}

/* ---------- Bottom navigation ---------- */
.gc78-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 62px;
  background: rgba(39, 55, 70, 0.98);
  border-top: 1px solid var(--gc78-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  padding-bottom: env(safe-area-inset-bottom);
}

.gc78-bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 60px;
  color: var(--gc78-text-muted);
  font-size: 1rem;
  gap: 0.2rem;
  transition: color 0.15s ease, transform 0.15s ease;
}

.gc78-bottom-nav a:active {
  transform: scale(0.92);
}

.gc78-bottom-nav a.gc78-nav-current,
.gc78-bottom-nav a:hover {
  color: var(--gc78-primary);
}

.gc78-bottom-nav a .material-icons,
.gc78-bottom-nav a i {
  font-size: 22px;
}

/* ---------- Helpers ---------- */
.gc78-hide-mobile {
  display: none;
}

.gc78-text-link {
  color: var(--gc78-secondary);
  font-weight: 700;
}

@media (min-width: 769px) {
  .gc78-bottom-nav {
    display: none;
  }

  main {
    padding-bottom: 0;
  }

  body {
    max-width: 760px;
  }
}
