/* ==========================================================================
   777perya theme stylesheet
   All custom classes use the gdc2- prefix for namespace isolation.
   Palette: #0A0A0A (base bg) | #004D40 (deep teal) | #808080 (muted gray)
            #AFEEEE (light cyan accent / text highlight)
   Mobile-first, max-width 430px container.
   ========================================================================== */

:root {
  --gdc2-bg: #0A0A0A;
  --gdc2-bg-soft: #141414;
  --gdc2-surface: #1c1c1c;
  --gdc2-primary: #004D40;
  --gdc2-primary-soft: #00695C;
  --gdc2-accent: #AFEEEE;
  --gdc2-accent-2: #6FE7DD;
  --gdc2-muted: #808080;
  --gdc2-text: #F5F9F9;
  --gdc2-border: rgba(175, 238, 238, 0.14);
  --gdc2-gold: #E0C66A;
  --gdc2-danger: #E05666;
  --gdc2-radius: 14px;
  --gdc2-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
  --gdc2-header-h: 58px;
  --gdc2-bottom-h: 62px;
  font-size: 62.5%;
}

* { box-sizing: border-box; }

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

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

a { color: var(--gdc2-accent); text-decoration: none; }
a:hover { color: var(--gdc2-accent-2); text-decoration: underline; }

.gdc2-wrapper {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
  min-height: 100vh;
  background:
    radial-gradient(120% 60% at 50% -10%, rgba(0, 77, 64, 0.55), transparent 60%),
    linear-gradient(180deg, #0d0d0d 0%, #060606 100%);
}

/* ===================== Header ===================== */
.gdc2-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--gdc2-header-h);
  padding: 0 14px;
  background: linear-gradient(180deg, rgba(0, 77, 64, 0.95), rgba(10, 10, 10, 0.95));
  border-bottom: 1px solid var(--gdc2-border);
  backdrop-filter: blur(10px);
}
.gdc2-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gdc2-accent);
  font-weight: 800;
  font-size: 1.9rem;
  letter-spacing: 0.5px;
}
.gdc2-brand img { width: 30px; height: 30px; border-radius: 6px; }
.gdc2-brand small { color: var(--gdc2-muted); font-size: 1.05rem; font-weight: 500; }

.gdc2-header__actions { display: flex; align-items: center; gap: 8px; }
.gdc2-icon-btn {
  width: 38px; height: 38px;
  border: 1px solid var(--gdc2-border);
  background: rgba(175, 238, 238, 0.06);
  color: var(--gdc2-accent);
  border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.gdc2-icon-btn:active { transform: scale(0.92); }

.gdc2-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: none;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 1.35rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
  min-height: 40px;
  text-decoration: none;
}
.gdc2-btn:active { transform: scale(0.95); }
.gdc2-btn--primary {
  background: linear-gradient(135deg, var(--gdc2-primary), var(--gdc2-primary-soft));
  color: var(--gdc2-accent);
  box-shadow: 0 4px 14px rgba(0, 105, 92, 0.5);
}
.gdc2-btn--accent {
  background: linear-gradient(135deg, var(--gdc2-accent), var(--gdc2-accent-2));
  color: #02201c;
  box-shadow: 0 4px 14px rgba(175, 238, 238, 0.35);
}
.gdc2-btn--ghost {
  background: transparent;
  border: 1px solid var(--gdc2-accent);
  color: var(--gdc2-accent);
}

/* ===================== Mobile menu ===================== */
.gdc2-mobile-menu {
  position: absolute;
  top: var(--gdc2-header-h);
  left: 0;
  right: 0;
  background: rgba(8, 8, 8, 0.98);
  border-bottom: 1px solid var(--gdc2-border);
  padding: 14px 16px 18px;
  display: none;
  flex-direction: column;
  gap: 6px;
  z-index: 9999;
  box-shadow: var(--gdc2-shadow);
}
.gdc2-mobile-menu.gdc2-menu-open { display: flex; }
.gdc2-mobile-menu a {
  color: var(--gdc2-text);
  padding: 11px 10px;
  border-radius: 10px;
  font-size: 1.45rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.gdc2-mobile-menu a:hover { background: rgba(175, 238, 238, 0.07); text-decoration: none; }
.gdc2-menu-divider { height: 1px; background: var(--gdc2-border); margin: 4px 0; }

/* ===================== Main ===================== */
.gdc2-main { padding: 12px 14px 0; }
@media (max-width: 768px) {
  .gdc2-main { padding-bottom: 90px; }
}

.gdc2-section { margin: 22px 0; }
.gdc2-section__title {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--gdc2-accent);
  margin: 0 0 4px;
  display: flex; align-items: center; gap: 8px;
}
.gdc2-section__title .material-icons,
.gdc2-section__title i { color: var(--gdc2-gold); font-size: 22px; }
.gdc2-section__sub {
  color: var(--gdc2-muted);
  font-size: 1.3rem;
  margin: 0 0 12px;
}

/* ===================== Carousel ===================== */
.gdc2-carousel {
  position: relative;
  border-radius: var(--gdc2-radius);
  overflow: hidden;
  box-shadow: var(--gdc2-shadow);
  margin: 6px 0 4px;
}
.gdc2-slides { position: relative; height: 180px; }
.gdc2-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  cursor: pointer;
}
.gdc2-slide img { width: 100%; height: 180px; object-fit: cover; }
.gdc2-slide::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.7));
}
.gdc2-slide-active { opacity: 1; }
.gdc2-slide__caption {
  position: absolute;
  left: 14px; bottom: 14px;
  color: var(--gdc2-accent);
  font-weight: 800;
  font-size: 1.7rem;
  z-index: 2;
}
.gdc2-slide__cta {
  position: absolute;
  right: 14px; bottom: 12px;
  z-index: 2;
}
.gdc2-dots {
  position: absolute;
  bottom: 8px; left: 0; right: 0;
  display: flex; justify-content: center;
  gap: 6px;
  z-index: 3;
}
.gdc2-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(175, 238, 238, 0.4);
  cursor: pointer;
}
.gdc2-dot-active { background: var(--gdc2-accent); width: 20px; border-radius: 4px; }

/* ===================== Hero / Quick stats ===================== */
.gdc2-hero {
  background: linear-gradient(135deg, rgba(0, 77, 64, 0.55), rgba(10, 10, 10, 0.7));
  border: 1px solid var(--gdc2-border);
  border-radius: var(--gdc2-radius);
  padding: 18px 16px;
  margin: 6px 0 14px;
  text-align: center;
}
.gdc2-hero h1 {
  font-size: 2.3rem;
  line-height: 1.35;
  margin: 0 0 8px;
  color: var(--gdc2-accent);
  text-shadow: 0 2px 12px rgba(0, 105, 92, 0.55);
}
.gdc2-hero p { color: var(--gdc2-text); font-size: 1.4rem; margin: 0 0 14px; }
.gdc2-cta-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

.gdc2-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 14px 0;
}
.gdc2-stat {
  background: var(--gdc2-surface);
  border: 1px solid var(--gdc2-border);
  border-radius: 12px;
  padding: 10px 6px;
  text-align: center;
}
.gdc2-stat__num {
  display: block;
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--gdc2-accent);
}
.gdc2-stat__label { color: var(--gdc2-muted); font-size: 1.1rem; }

/* ===================== Filter chips ===================== */
.gdc2-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 6px 0 12px;
  -webkit-overflow-scrolling: touch;
}
.gdc2-chip {
  flex: 0 0 auto;
  background: var(--gdc2-surface);
  border: 1px solid var(--gdc2-border);
  color: var(--gdc2-text);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 1.25rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.gdc2-chip-active {
  background: linear-gradient(135deg, var(--gdc2-primary), var(--gdc2-primary-soft));
  color: var(--gdc2-accent);
  border-color: transparent;
}

/* ===================== Game grid ===================== */
.gdc2-cat-block { margin: 18px 0; }
.gdc2-cat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.gdc2-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
@media (min-width: 380px) {
  .gdc2-grid { grid-template-columns: repeat(4, 1fr); }
}
.gdc2-card {
  background: var(--gdc2-surface);
  border: 1px solid var(--gdc2-border);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}
.gdc2-card:hover { transform: translateY(-2px); border-color: var(--gdc2-accent); }
.gdc2-card:active { transform: scale(0.96); }
.gdc2-card__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #000;
}
.gdc2-card__name {
  font-size: 1.1rem;
  color: var(--gdc2-text);
  padding: 5px 6px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gdc2-card__tag {
  position: absolute;
  top: 4px; left: 4px;
  background: var(--gdc2-gold);
  color: #1a1a1a;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 6px;
}
.gdc2-card--hot { position: relative; }
.gdc2-card--hot::before {
  content: "HOT";
  position: absolute;
  top: 4px; right: 4px;
  background: linear-gradient(135deg, #ff5e62, #ff9966);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 6px;
  z-index: 2;
}

/* ===================== Feature blocks ===================== */
.gdc2-panel {
  background: var(--gdc2-surface);
  border: 1px solid var(--gdc2-border);
  border-radius: var(--gdc2-radius);
  padding: 16px;
  margin: 14px 0;
}
.gdc2-panel h2,
.gdc2-panel h3 { color: var(--gdc2-accent); margin: 0 0 8px; }
.gdc2-panel h2 { font-size: 1.85rem; }
.gdc2-panel h3 { font-size: 1.55rem; }
.gdc2-panel p { color: var(--gdc2-text); font-size: 1.35rem; margin: 0 0 10px; }
.gdc2-panel ul { margin: 0; padding-left: 18px; color: var(--gdc2-text); }
.gdc2-panel li { margin-bottom: 6px; font-size: 1.3rem; }

.gdc2-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 10px;
}
.gdc2-feature {
  background: rgba(0, 77, 64, 0.25);
  border: 1px solid var(--gdc2-border);
  border-radius: 10px;
  padding: 12px;
  text-align: center;
}
.gdc2-feature i, .gdc2-feature .material-icons { color: var(--gdc2-gold); font-size: 26px; }
.gdc2-feature h4 { margin: 6px 0 4px; font-size: 1.35rem; color: var(--gdc2-accent); }
.gdc2-feature p { margin: 0; font-size: 1.15rem; color: var(--gdc2-muted); }

/* ===================== RTP table ===================== */
.gdc2-rtp-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  font-size: 1.25rem;
}
.gdc2-rtp-table th, .gdc2-rtp-table td {
  border: 1px solid var(--gdc2-border);
  padding: 8px 10px;
  text-align: left;
}
.gdc2-rtp-table th { background: rgba(0, 77, 64, 0.45); color: var(--gdc2-accent); }
.gdc2-rtp-bar {
  height: 8px; border-radius: 4px;
  background: linear-gradient(90deg, var(--gdc2-primary), var(--gdc2-accent-2));
  margin-top: 4px;
}

/* ===================== Testimonials ===================== */
.gdc2-testimonials { display: grid; gap: 10px; }
.gdc2-testimonial {
  background: var(--gdc2-surface);
  border-left: 3px solid var(--gdc2-accent);
  padding: 12px 14px;
  border-radius: 10px;
}
.gdc2-testimonial p { margin: 0 0 8px; font-size: 1.3rem; color: var(--gdc2-text); }
.gdc2-testimonial cite { color: var(--gdc2-muted); font-size: 1.15rem; font-style: normal; }

/* ===================== Winners ===================== */
.gdc2-winners {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.gdc2-winner {
  background: rgba(0, 77, 64, 0.3);
  border: 1px solid var(--gdc2-border);
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 1.2rem;
}
.gdc2-winner b { color: var(--gdc2-gold); display: block; }

/* ===================== Payment ===================== */
.gdc2-payments {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.gdc2-pay {
  background: var(--gdc2-surface);
  border: 1px solid var(--gdc2-border);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 1.2rem;
  color: var(--gdc2-text);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ===================== FAQ ===================== */
.gdc2-faq-item {
  background: var(--gdc2-surface);
  border: 1px solid var(--gdc2-border);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 8px;
}
.gdc2-faq-item h3 {
  margin: 0 0 6px;
  font-size: 1.4rem;
  color: var(--gdc2-accent);
}
.gdc2-faq-item p { margin: 0; font-size: 1.25rem; color: var(--gdc2-text); }

/* ===================== CTA banner ===================== */
.gdc2-cta-banner {
  background: linear-gradient(135deg, var(--gdc2-primary), #002821);
  border: 1px solid var(--gdc2-border);
  border-radius: var(--gdc2-radius);
  padding: 18px 16px;
  text-align: center;
  margin: 18px 0;
  position: relative;
  overflow: hidden;
}
.gdc2-cta-banner h3 { margin: 0 0 6px; color: var(--gdc2-accent); font-size: 1.9rem; }
.gdc2-cta-banner p { margin: 0 0 12px; color: var(--gdc2-text); }
.gdc2-countdown {
  display: inline-block;
  font-family: monospace;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gdc2-gold);
  background: rgba(0,0,0,0.4);
  padding: 4px 10px;
  border-radius: 8px;
  margin-bottom: 8px;
}

/* ===================== Footer ===================== */
.gdc2-footer {
  background: #050505;
  border-top: 1px solid var(--gdc2-border);
  padding: 22px 16px 30px;
  margin-top: 26px;
  color: var(--gdc2-text);
}
.gdc2-footer__brand { color: var(--gdc2-accent); font-weight: 800; font-size: 1.7rem; margin-bottom: 6px; }
.gdc2-footer__desc { color: var(--gdc2-muted); font-size: 1.2rem; margin-bottom: 12px; }
.gdc2-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 14px;
}
.gdc2-footer__links a {
  flex: 1 1 45%;
  background: var(--gdc2-surface);
  border: 1px solid var(--gdc2-border);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 1.15rem;
  color: var(--gdc2-text);
  text-align: center;
}
.gdc2-footer__links a:hover { background: rgba(0, 77, 64, 0.4); text-decoration: none; }
.gdc2-footer__copy { color: var(--gdc2-muted); font-size: 1.1rem; text-align: center; margin-top: 12px; }

/* ===================== Bottom nav ===================== */
.gdc2-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--gdc2-bottom-h);
  background: linear-gradient(180deg, rgba(0, 77, 64, 0.96), rgba(8, 8, 8, 0.98));
  border-top: 1px solid var(--gdc2-border);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  z-index: 1000;
  padding-bottom: env(safe-area-inset-bottom, 0);
  box-shadow: 0 -4px 18px rgba(0,0,0,0.55);
}
.gdc2-bottom-nav__btn {
  flex: 1;
  min-width: 60px;
  min-height: 60px;
  background: transparent;
  border: none;
  color: var(--gdc2-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  font-size: 1.05rem;
  position: relative;
  transition: color 0.2s ease, transform 0.15s ease;
}
.gdc2-bottom-nav__btn i,
.gdc2-bottom-nav__btn .material-icons,
.gdc2-bottom-nav__btn ion-icon { font-size: 24px; }
.gdc2-bottom-nav__btn:active { transform: scale(0.9); }
.gdc2-bottom-nav__btn--active { color: var(--gdc2-accent); }
.gdc2-bottom-nav__btn--promo {
  color: var(--gdc2-gold);
}
.gdc2-bottom-nav__badge {
  position: absolute;
  top: 6px; right: 18px;
  background: var(--gdc2-danger);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 999px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  display: flex; align-items: center; justify-content: center;
}
.gdc2-bottom-nav__btn--center {
  position: relative;
  transform: translateY(-14px);
  background: linear-gradient(135deg, var(--gdc2-accent), var(--gdc2-accent-2));
  color: #02201c;
  width: 56px; height: 56px;
  border-radius: 50%;
  margin-top: -10px;
  box-shadow: 0 6px 16px rgba(175, 238, 238, 0.45);
  border: 3px solid #02201c;
}

@media (min-width: 769px) {
  .gdc2-bottom-nav { display: none; }
  .gdc2-wrapper { max-width: 430px; }
}

.gdc2-inline-link {
  color: var(--gdc2-accent);
  font-weight: 700;
  text-decoration: underline;
}
.gdc2-promo-text {
  color: var(--gdc2-gold);
  font-weight: 700;
}

.gdc2-marquee {
  background: linear-gradient(90deg, var(--gdc2-primary), #002821);
  color: var(--gdc2-accent);
  font-size: 1.2rem;
  padding: 6px 12px;
  border-radius: 8px;
  margin: 8px 0;
  overflow: hidden;
  white-space: nowrap;
  font-weight: 600;
}

.gdc2-trust-row {
  display: flex; gap: 6px; flex-wrap: wrap;
  margin: 8px 0;
}
.gdc2-trust {
  background: rgba(175, 238, 238, 0.08);
  border: 1px solid var(--gdc2-border);
  color: var(--gdc2-accent);
  font-size: 1.1rem;
  padding: 6px 10px;
  border-radius: 999px;
}
