/*!
 * okada play time - design-1477.css
 * Mobile-first responsive stylesheet. All custom classes use the g778- prefix.
 * Color palette: #D2691E | #FA8072 | #6F4E37 | #1C2833 | #FFE4B5
 * Code comments in English.
 */

:root {
  --g778-primary: #D2691E;
  --g778-accent: #FA8072;
  --g778-coffee: #6F4E37;
  --g778-bg: #1C2833;
  --g778-bg-alt: #243447;
  --g778-card: #2b3d52;
  --g778-cream: #FFE4B5;
  --g778-text: #FFE4B5;
  --g778-text-soft: #d9c4a3;
  --g778-white: #fff7ec;
  --g778-gold: #f3b04b;
  --g778-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  --g778-radius: 14px;
  --g778-radius-sm: 10px;
}

* { 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(--g778-bg);
  color: var(--g778-text);
  line-height: 1.5rem;
  font-size: 1.5rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--g778-accent); text-decoration: none; }
a:hover { color: var(--g778-cream); }

.g778-wrapper {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
}

/* ===== Header ===== */
.g778-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, #1C2833 0%, #2b3d52 100%);
  border-bottom: 2px solid var(--g778-primary);
  box-shadow: var(--g778-shadow);
}
.g778-header-inner {
  max-width: 430px;
  margin: 0 auto;
  padding: 0.7rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}
.g778-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
}
.g778-logo img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}
.g778-logo b {
  font-size: 1.55rem;
  color: var(--g778-cream);
  letter-spacing: 0.3px;
  white-space: nowrap;
}
.g778-logo b span { color: var(--g778-primary); }
.g778-head-actions { display: flex; align-items: center; gap: 0.5rem; }
.g778-menu-btn {
  background: transparent;
  border: 1px solid var(--g778-primary);
  color: var(--g778-cream);
  width: 36px;
  height: 36px;
  border-radius: 8px;
  font-size: 1.6rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.g778-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: none;
  cursor: pointer;
  font-weight: 700;
  border-radius: 30px;
  padding: 0.7rem 1.2rem;
  font-size: 1.3rem;
  min-height: 38px;
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
  text-decoration: none;
}
.g778-btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.g778-btn-primary {
  background: linear-gradient(135deg, #D2691E, #FA8072);
  color: #fff;
  box-shadow: 0 4px 12px rgba(210, 105, 30, 0.4);
}
.g778-btn-ghost {
  background: transparent;
  color: var(--g778-cream);
  border: 1px solid var(--g778-cream);
}
.g778-btn-gold {
  background: linear-gradient(135deg, #f3b04b, #D2691E);
  color: #1C2833;
}

/* ===== Mobile dropdown menu ===== */
.g778-mobile-menu {
  max-height: 0;
  overflow: hidden;
  background: var(--g778-bg-alt);
  transition: max-height 0.35s ease;
}
.g778-mobile-menu.g778-menu-open { max-height: 460px; }
.g778-mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0.4rem 1rem 0.8rem;
  max-width: 430px;
  margin: 0 auto;
}
.g778-mobile-menu li { border-bottom: 1px solid rgba(255, 228, 181, 0.08); }
.g778-mobile-menu a {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--g778-text);
  padding: 0.85rem 0.5rem;
  font-size: 1.4rem;
}
.g778-mobile-menu a i { color: var(--g778-primary); width: 22px; text-align: center; }

/* ===== Main / Sections ===== */
main.g778-main {
  padding-top: 72px;
  padding-bottom: 96px;
  max-width: 430px;
  margin: 0 auto;
}
.g778-section {
  padding: 2rem 1.3rem;
}
.g778-section h2 {
  font-size: 2rem;
  margin: 0 0 0.5rem;
  color: var(--g778-cream);
  border-left: 4px solid var(--g778-primary);
  padding-left: 0.8rem;
}
.g778-section h3 {
  font-size: 1.6rem;
  margin: 1.2rem 0 0.4rem;
  color: var(--g778-accent);
}
.g778-section p { margin: 0 0 1rem; color: var(--g778-text-soft); }
.g778-eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 1.1rem;
  color: var(--g778-gold);
  margin-bottom: 0.4rem;
}

/* ===== Hero carousel ===== */
.g778-hero { padding: 1rem 1.3rem 0.4rem; }
.g778-carousel {
  position: relative;
  border-radius: var(--g778-radius);
  overflow: hidden;
  box-shadow: var(--g778-shadow);
  height: 200px;
}
.g778-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.g778-slide img { width: 100%; height: 100%; object-fit: cover; }
.g778-slide-active { opacity: 1; }
.g778-slide-cap {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: rgba(28, 40, 51, 0.78);
  padding: 0.6rem 1rem;
  border-radius: 10px;
  font-size: 1.3rem;
  color: var(--g778-cream);
}
.g778-slide-cap b { color: var(--g778-accent); display: block; font-size: 1.55rem; }
.g778-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.45);
  color: #fff;
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.4rem;
}
.g778-arrow:hover { background: var(--g778-primary); }
.g778-arrow-prev { left: 8px; }
.g778-arrow-next { right: 8px; }
.g778-dots {
  position: absolute;
  bottom: 8px;
  right: 10px;
  display: flex;
  gap: 6px;
}
.g778-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(255, 228, 181, 0.4);
  border: none; cursor: pointer;
}
.g778-dot-active { background: var(--g778-primary); }

/* ===== Hero CTA banner ===== */
.g778-hero-cta {
  background: linear-gradient(135deg, #6F4E37, #D2691E);
  margin: 1.3rem;
  padding: 1.3rem;
  border-radius: var(--g778-radius);
  text-align: center;
}
.g778-hero-cta h1 {
  font-size: 2.1rem;
  margin: 0 0 0.4rem;
  color: #fff;
  line-height: 1.25;
}
.g778-hero-cta p { color: var(--g778-cream); margin: 0 0 1rem; font-size: 1.35rem; }

/* ===== Game grid ===== */
.g778-cat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 1.4rem 0 0.8rem;
}
.g778-cat-head h2 { border-left: none; padding-left: 0; margin: 0; font-size: 1.8rem; }
.g778-cat-tag {
  background: rgba(210, 105, 30, 0.18);
  color: var(--g778-gold);
  padding: 0.3rem 0.9rem;
  border-radius: 20px;
  font-size: 1.15rem;
}
.g778-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}
.g778-card {
  background: var(--g778-card);
  border-radius: var(--g778-radius-sm);
  padding: 0.5rem;
  text-align: center;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.2s ease;
  border: 1px solid rgba(255, 228, 181, 0.06);
}
.g778-card:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(210, 105, 30, 0.35); }
.g778-card img {
  width: 100%;
  height: 78px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 0.4rem;
}
.g778-card-name {
  font-size: 1.15rem;
  color: var(--g778-cream);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===== Features / promo blocks ===== */
.g778-feature-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem;
  margin-top: 0.8rem;
}
.g778-feature {
  background: var(--g778-bg-alt);
  border-radius: var(--g778-radius-sm);
  padding: 1rem;
  text-align: center;
  border: 1px solid rgba(210, 105, 30, 0.18);
}
.g778-feature i { font-size: 2.4rem; color: var(--g778-primary); margin-bottom: 0.4rem; }
.g778-feature b { color: var(--g778-cream); display: block; font-size: 1.25rem; }
.g778-feature span { color: var(--g778-text-soft); font-size: 1.15rem; }

.g778-promo {
  background: linear-gradient(135deg, #2b3d52, #6F4E37);
  border-radius: var(--g778-radius);
  padding: 1.3rem;
  margin: 1.2rem 0;
  border: 1px dashed var(--g778-gold);
}
.g778-promo h3 { margin-top: 0; }
.g778-promo-list { list-style: none; padding: 0; margin: 0 0 1rem; }
.g778-promo-list li {
  padding: 0.55rem 0;
  border-bottom: 1px dashed rgba(255, 228, 181, 0.15);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--g778-text-soft);
  font-size: 1.25rem;
}
.g778-promo-list li i { color: var(--g778-gold); }

/* ===== RTP compact table ===== */
.g778-rtp-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.6rem;
  font-size: 1.2rem;
}
.g778-rtp-table th, .g778-rtp-table td {
  border: 1px solid rgba(255, 228, 181, 0.12);
  padding: 0.55rem 0.6rem;
  text-align: left;
}
.g778-rtp-table th { background: var(--g778-bg-alt); color: var(--g778-cream); }
.g778-rtp-table td { color: var(--g778-text-soft); }
.g778-rtp-high { color: #5fd08a; font-weight: 700; }
.g778-rtp-mid { color: var(--g778-gold); font-weight: 700; }

/* ===== Testimonials ===== */
.g778-testimonials { display: grid; gap: 0.8rem; margin-top: 0.8rem; }
.g778-testi {
  background: var(--g778-card);
  border-radius: var(--g778-radius-sm);
  padding: 1rem;
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
}
.g778-testi-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #D2691E, #FA8072);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 1.4rem;
  flex-shrink: 0;
}
.g778-testi b { color: var(--g778-cream); }
.g778-testi small { color: var(--g778-gold); }
.g778-testi p { margin: 0.3rem 0 0; font-size: 1.2rem; }
.g778-stars { color: #f3b04b; font-size: 1.1rem; letter-spacing: 1px; }

/* ===== Payment methods ===== */
.g778-pay-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-top: 0.8rem;
}
.g778-pay {
  background: var(--g778-bg-alt);
  border-radius: 8px;
  padding: 0.6rem 0.3rem;
  text-align: center;
  font-size: 1.05rem;
  color: var(--g778-text-soft);
  border: 1px solid rgba(255, 228, 181, 0.08);
}
.g778-pay i { font-size: 1.8rem; color: var(--g778-accent); display: block; margin-bottom: 0.2rem; }

/* ===== Winners ticker ===== */
.g778-winners {
  background: var(--g778-bg-alt);
  border-radius: var(--g778-radius-sm);
  padding: 0.6rem 0.9rem;
  display: grid;
  gap: 0.4rem;
}
.g778-winner {
  display: flex;
  justify-content: space-between;
  font-size: 1.2rem;
  color: var(--g778-text-soft);
}
.g778-winner b { color: #5fd08a; }

/* ===== FAQ ===== */
.g778-faq-item {
  background: var(--g778-card);
  border-radius: var(--g778-radius-sm);
  padding: 0.9rem 1rem;
  margin-bottom: 0.6rem;
  border-left: 3px solid var(--g778-primary);
}
.g778-faq-item h3 { margin: 0 0 0.3rem; font-size: 1.3rem; color: var(--g778-cream); }
.g778-faq-item p { margin: 0; font-size: 1.2rem; }

/* ===== App download CTA ===== */
.g778-app-cta {
  background: linear-gradient(135deg, #1C2833, #6F4E37);
  border-radius: var(--g778-radius);
  padding: 1.3rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  margin: 1rem 0;
}
.g778-app-cta img { width: 90px; height: 90px; border-radius: 12px; object-fit: cover; }
.g778-app-cta b { color: var(--g778-cream); font-size: 1.4rem; display: block; }
.g778-app-cta p { font-size: 1.15rem; margin: 0.3rem 0 0.7rem; }
.g778-app-btns { display: flex; gap: 0.5rem; flex-wrap: wrap; }

/* ===== Stats ===== */
.g778-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem;
  margin: 0.8rem 0;
}
.g778-stat {
  background: var(--g778-card);
  border-radius: var(--g778-radius-sm);
  padding: 1rem;
  text-align: center;
}
.g778-stat b {
  display: block;
  font-size: 2rem;
  color: var(--g778-gold);
}
.g778-stat span { color: var(--g778-text-soft); font-size: 1.15rem; }

/* ===== Footer ===== */
.g778-footer {
  background: #14202b;
  border-top: 3px solid var(--g778-primary);
  padding: 1.6rem 1.3rem 2rem;
  color: var(--g778-text-soft);
  font-size: 1.2rem;
}
.g778-footer h4 { color: var(--g778-cream); margin: 0.6rem 0; font-size: 1.3rem; }
.g778-footer p { margin: 0 0 0.8rem; line-height: 1.4; }
.g778-footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.4rem 0.8rem;
  margin: 0.6rem 0;
}
.g778-footer-links a { color: var(--g778-text-soft); font-size: 1.15rem; }
.g778-footer-links a:hover { color: var(--g778-accent); }
.g778-foot-promo {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.7rem 0;
}
.g777-foot-copy { margin-top: 1rem; font-size: 1.1rem; color: rgba(255, 228, 181, 0.6); text-align: center; }

/* ===== Bottom navigation (mobile only) ===== */
.g778-bottombar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 62px;
  background: linear-gradient(180deg, #2b3d52, #1C2833);
  border-top: 2px solid var(--g778-primary);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.4);
}
.g778-bottombar a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--g778-text-soft);
  font-size: 1.05rem;
  gap: 2px;
  min-width: 60px;
  min-height: 60px;
  transition: color 0.2s ease, transform 0.18s ease;
}
.g778-bottombar a i { font-size: 22px; }
.g778-bottombar a:active { transform: scale(0.92); }
.g778-bottombar a.g778-active { color: var(--g778-primary); }
.g778-bottombar a.g778-bottombar-center {
  position: relative;
}
.g778-bottombar a.g778-bottombar-center i {
  background: linear-gradient(135deg, #D2691E, #FA8072);
  color: #fff;
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-top: -18px;
  box-shadow: 0 4px 10px rgba(210, 105, 30, 0.5);
  font-size: 24px;
}

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

/* ===== Desktop: hide bottom bar ===== */
@media (min-width: 769px) {
  .g778-bottombar { display: none; }
  main.g778-main { padding-bottom: 2rem; }
  body { padding-bottom: 0; }
}

/* Mobile padding insurance for content clearance */
@media (max-width: 768px) {
  main.g778-main { padding-bottom: 90px; }
}
