/* ============================================================
 * tablegane.click - Design stylesheet
 * Prefix: gfc7-
 * Palette: #FF1493 | #F4A460 | #FF69B4 | #F5DEB3 | #212F3D
 * ============================================================ */

:root {
  --gfc7-primary: #FF1493;
  --gfc7-secondary: #F4A460;
  --gfc7-accent: #FF69B4;
  --gfc7-soft: #F5DEB3;
  --gfc7-bg: #212F3D;
  --gfc7-bg-2: #18222d;
  --gfc7-bg-3: #0f1721;
  --gfc7-text: #ffffff;
  --gfc7-text-soft: #f5deb3;
  --gfc7-muted: #c2ccd6;
  --gfc7-border: rgba(255, 105, 180, 0.18);
  --gfc7-radius: 14px;
  --gfc7-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
  --gfc7-gradient: linear-gradient(135deg, #FF1493 0%, #FF69B4 50%, #F4A460 100%);
}

* { box-sizing: border-box; }

html { font-size: 62.5%; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  font-size: 1.5rem;
  line-height: 1.5;
  color: var(--gfc7-text);
  background: var(--gfc7-bg);
  background-image:
    radial-gradient(circle at 12% 12%, rgba(255, 20, 147, 0.18), transparent 55%),
    radial-gradient(circle at 88% 18%, rgba(244, 164, 96, 0.14), transparent 55%),
    radial-gradient(circle at 50% 100%, rgba(255, 105, 180, 0.14), transparent 60%);
  min-height: 100vh;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--gfc7-soft); text-decoration: none; }

.gfc7-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 14px;
}

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

main { padding-bottom: 90px; }

/* =========== Header =========== */
.gfc7-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(33, 47, 61, 0.98) 0%, rgba(24, 34, 45, 0.96) 100%);
  border-bottom: 1px solid var(--gfc7-border);
  backdrop-filter: blur(8px);
}
.gfc7-header-inner {
  max-width: 430px;
  margin: 0 auto;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.gfc7-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gfc7-text);
  font-weight: 800;
  font-size: 1.9rem;
  letter-spacing: 0.3px;
}
.gfc7-brand img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(255, 105, 180, 0.5);
}
.gfc7-brand span mark {
  background: var(--gfc7-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.gfc7-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.gfc7-btn {
  border: none;
  cursor: pointer;
  font-weight: 700;
  border-radius: 30px;
  padding: 9px 16px;
  font-size: 1.35rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
}
.gfc7-btn:active { transform: scale(0.96); }
.gfc7-btn-login {
  background: transparent;
  color: var(--gfc7-soft);
  border: 1px solid rgba(245, 222, 179, 0.45);
}
.gfc7-btn-register {
  background: var(--gfc7-gradient);
  color: #fff;
  box-shadow: 0 4px 14px rgba(255, 20, 147, 0.35);
}
.gfc7-icon-btn {
  background: transparent;
  border: 1px solid var(--gfc7-border);
  border-radius: 10px;
  width: 38px; height: 38px;
  color: var(--gfc7-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.gfc7-icon-btn:active { transform: scale(0.95); }

/* =========== Mobile menu =========== */
.gfc7-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}
.gfc7-overlay-active { opacity: 1; pointer-events: auto; }
.gfc7-mobile-menu {
  position: fixed;
  top: 0; right: -86%;
  width: 84%;
  max-width: 360px;
  height: 100vh;
  background: var(--gfc7-bg-2);
  z-index: 9999;
  padding: 22px 18px;
  transform: translateX(0);
  transition: right 0.28s ease;
  overflow-y: auto;
  border-left: 1px solid var(--gfc7-border);
}
.gfc7-menu-active { right: 0; }
.gfc7-menu-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.gfc7-menu-head h3 {
  margin: 0;
  font-size: 1.8rem;
  color: var(--gfc7-soft);
}
.gfc7-menu-close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}
.gfc7-menu-list {
  list-style: none;
  padding: 0; margin: 0;
}
.gfc7-menu-list li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.gfc7-menu-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 8px;
  color: #fff;
  font-weight: 600;
  font-size: 1.5rem;
}
.gfc7-menu-list a:active { color: var(--gfc7-accent); }
.gfc7-menu-cta {
  margin-top: 18px;
  width: 100%;
  justify-content: center;
  padding: 12px;
  font-size: 1.55rem;
}

/* =========== Hero / Carousel =========== */
.gfc7-hero {
  margin-top: 72px;
  padding: 14px 0 4px;
}
.gfc7-carousel {
  position: relative;
  border-radius: var(--gfc7-radius);
  overflow: hidden;
  box-shadow: var(--gfc7-shadow);
}
.gfc7-slides { position: relative; }
.gfc7-slide {
  position: relative;
  display: none;
  cursor: pointer;
}
.gfc7-slide-active { display: block; }
.gfc7-slide img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.gfc7-slide-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 18px 14px 12px;
  background: linear-gradient(0deg, rgba(15, 23, 33, 0.92), transparent);
}
.gfc7-slide-caption h2 {
  margin: 0 0 4px;
  font-size: 1.7rem;
  color: #fff;
}
.gfc7-slide-caption p {
  margin: 0;
  font-size: 1.25rem;
  color: var(--gfc7-soft);
}
.gfc7-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(15, 23, 33, 0.6);
  border: 1px solid var(--gfc7-border);
  color: #fff;
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 1.5rem;
}
.gfc7-carousel-arrow:hover { background: var(--gfc7-primary); }
.gfc7-arrow-prev { left: 8px; }
.gfc7-arrow-next { right: 8px; }
.gfc7-dots {
  display: flex;
  gap: 6px;
  justify-content: center;
  padding: 8px 0 2px;
}
.gfc7-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
}
.gfc7-dot-active { background: var(--gfc7-primary); }

/* =========== Sections =========== */
.gfc7-section {
  margin: 22px 0;
}
.gfc7-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.gfc7-section-title {
  font-size: 1.7rem;
  font-weight: 800;
  color: #fff;
  display: flex; align-items: center; gap: 8px;
  margin: 0;
}
.gfc7-section-title .gfc7-bar {
  width: 5px; height: 20px;
  border-radius: 4px;
  background: var(--gfc7-gradient);
}
.gfc7-section-more {
  color: var(--gfc7-accent);
  font-size: 1.3rem;
  font-weight: 600;
}

/* =========== Game grid =========== */
.gfc7-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.gfc7-card {
  background: var(--gfc7-bg-2);
  border: 1px solid var(--gfc7-border);
  border-radius: var(--gfc7-radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  display: flex;
  flex-direction: column;
}
.gfc7-card:active { transform: scale(0.96); }
.gfc7-card:hover { box-shadow: var(--gfc7-shadow); }
.gfc7-card-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #0f1721;
}
.gfc7-card-name {
  font-size: 1.2rem;
  color: var(--gfc7-text-soft);
  text-align: center;
  padding: 6px 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gfc7-badge {
  display: inline-block;
  font-size: 1rem;
  padding: 2px 8px;
  border-radius: 20px;
  background: var(--gfc7-primary);
  color: #fff;
  font-weight: 700;
  margin-left: 6px;
}

/* =========== Info blocks =========== */
.gfc7-card-info {
  background: var(--gfc7-bg-2);
  border: 1px solid var(--gfc7-border);
  border-radius: var(--gfc7-radius);
  padding: 14px;
  margin-bottom: 12px;
}
.gfc7-card-info h3 {
  margin: 0 0 6px;
  font-size: 1.55rem;
  color: var(--gfc7-soft);
}
.gfc7-card-info p {
  margin: 0;
  font-size: 1.32rem;
  color: var(--gfc7-muted);
}
.gfc7-card-info a {
  color: var(--gfc7-accent);
  font-weight: 700;
}

.gfc7-list {
  list-style: none;
  padding: 0; margin: 0;
}
.gfc7-list li {
  padding: 9px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 1.35rem;
  color: var(--gfc7-muted);
  display: flex; align-items: center; gap: 8px;
}
.gfc7-list li::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gfc7-gradient);
  flex: 0 0 7px;
}

/* =========== CTA banner =========== */
.gfc7-cta {
  background: var(--gfc7-gradient);
  border-radius: var(--gfc7-radius);
  padding: 16px;
  color: #fff;
  text-align: center;
  margin: 18px 0;
  box-shadow: 0 6px 18px rgba(255, 20, 147, 0.35);
}
.gfc7-cta h3 { margin: 0 0 6px; font-size: 1.8rem; }
.gfc7-cta p { margin: 0 0 12px; font-size: 1.3rem; opacity: 0.95; }
.gfc7-cta .gfc7-btn {
  background: #fff;
  color: var(--gfc7-primary);
  font-size: 1.45rem;
  padding: 10px 22px;
}

/* =========== Testimonials =========== */
.gfc7-testimonials {
  display: grid;
  gap: 10px;
}
.gfc7-testimonial {
  background: var(--gfc7-bg-2);
  border-left: 4px solid var(--gfc7-primary);
  border-radius: 10px;
  padding: 12px 14px;
}
.gfc7-testimonial p { margin: 0 0 8px; font-size: 1.3rem; color: var(--gfc7-muted); }
.gfc7-testimonial .gfc7-author {
  font-size: 1.2rem;
  color: var(--gfc7-soft);
  font-weight: 700;
}

/* =========== Payment methods =========== */
.gfc7-payments {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.gfc7-pay {
  flex: 1 1 calc(33.33% - 8px);
  background: var(--gfc7-bg-2);
  border: 1px solid var(--gfc7-border);
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  font-size: 1.2rem;
  color: var(--gfc7-text-soft);
  min-width: 0;
}
.gfc7-pay i, .gfc7-pay .material-icons {
  font-size: 22px;
  color: var(--gfc7-accent);
}

/* =========== Winners strip =========== */
.gfc7-winners {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.gfc7-winner {
  background: var(--gfc7-bg-2);
  border: 1px solid var(--gfc7-border);
  border-radius: 10px;
  padding: 10px;
  font-size: 1.22rem;
  color: var(--gfc7-muted);
}
.gfc7-winner b { color: var(--gfc7-soft); display: block; }
.gfc7-winner span { color: var(--gfc7-accent); font-weight: 700; }

/* =========== Footer =========== */
.gfc7-footer {
  background: var(--gfc7-bg-3);
  border-top: 1px solid var(--gfc7-border);
  padding: 22px 14px 18px;
  margin-top: 22px;
}
.gfc7-footer-inner { max-width: 430px; margin: 0 auto; }
.gfc7-footer-brand {
  font-size: 1.4rem;
  color: var(--gfc7-muted);
  margin-bottom: 14px;
}
.gfc7-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.gfc7-footer-links a {
  background: var(--gfc7-bg-2);
  border: 1px solid var(--gfc7-border);
  border-radius: 20px;
  padding: 6px 12px;
  font-size: 1.2rem;
  color: var(--gfc7-text-soft);
}
.gfc7-footer-copy {
  font-size: 1.18rem;
  color: var(--gfc7-muted);
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 12px;
}

/* =========== Bottom nav =========== */
.gfc7-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1000;
  height: 62px;
  background: linear-gradient(180deg, rgba(24, 34, 45, 0.98), rgba(15, 23, 33, 1));
  border-top: 1px solid var(--gfc7-border);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  padding-bottom: env(safe-area-inset-bottom);
}
.gfc7-navbtn {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--gfc7-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 60px;
  min-height: 60px;
  cursor: pointer;
  position: relative;
  padding: 6px 2px;
  font-family: inherit;
  transition: color 0.18s ease, transform 0.18s ease;
}
.gfc7-navbtn i,
.gfc7-navbtn .material-icons {
  font-size: 22px;
}
.gfc7-navbtn span {
  font-size: 1.05rem;
  font-weight: 600;
}
.gfc7-navbtn:active { transform: scale(0.92); }
.gfc7-navbtn-current { color: var(--gfc7-primary); }
.gfc7-navbtn-current::after {
  content: "";
  position: absolute;
  top: 0;
  width: 26px; height: 3px;
  border-radius: 0 0 4px 4px;
  background: var(--gfc7-gradient);
}
.gfc7-navbtn-promo {
  color: #fff;
}
.gfc7-navbtn-promo i,
.gfc7-navbtn-promo .material-icons { color: var(--gfc7-accent); }

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

/* =========== Desktop =========== */
@media (min-width: 769px) {
  .gfc7-bottom-nav { display: none; }
  .gfc7-container, .gfc7-wrapper, .gfc7-header-inner, .gfc7-footer-inner {
    max-width: 720px;
  }
  main { padding-bottom: 30px; }
}
