/* winbeat.cyou - core base stylesheet */
/* All custom classes use the dynamic prefix: pg73- */
/* Mobile-first design, max-width 430px, rem units (root font 62.5%) */

:root {
  --pg73-primary: #66CDAA;
  --pg73-accent: #FF8000;
  --pg73-light: #9AFF9A;
  --pg73-pink: #FFC0CB;
  --pg73-dark: #333333;
  --pg73-bg: #1a1f24;
  --pg73-bg-alt: #232a31;
  --pg73-text: #f4f7f6;
  --pg73-text-muted: #b9c4c2;
  --pg73-border: rgba(102, 205, 170, 0.25);
  --pg73-radius: 12px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: "Hind Siliguri", "Noto Sans Bengali", "Segoe UI", system-ui, sans-serif;
  background: var(--pg73-bg);
  color: var(--pg73-text);
  line-height: 1.5rem;
  font-size: 1.5rem;
  overflow-x: hidden;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
}

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

/* ===== Header ===== */
.pg73-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(90deg, var(--pg73-dark), #2c3540);
  border-bottom: 2px solid var(--pg73-primary);
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 430px;
  margin: 0 auto;
}
.pg73-logo { display: flex; align-items: center; gap: 0.6rem; }
.pg73-logo img { width: 28px; height: 28px; border-radius: 6px; }
.pg73-logo span {
  font-size: 1.7rem; font-weight: 700;
  color: var(--pg73-primary); letter-spacing: 0.5px;
}
.pg73-header-actions { display: flex; align-items: center; gap: 0.5rem; }
.pg73-btn {
  border: none; border-radius: 8px;
  padding: 0.6rem 1.1rem; font-size: 1.25rem; font-weight: 600;
  cursor: pointer; min-height: 36px; display: inline-flex; align-items: center; gap: 0.3rem;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.pg73-btn:active { transform: scale(0.96); }
.pg73-btn-login {
  background: transparent; color: var(--pg73-primary);
  border: 1px solid var(--pg73-primary);
}
.pg73-btn-register {
  background: linear-gradient(90deg, var(--pg73-accent), #ff9a33);
  color: #fff; box-shadow: 0 2px 6px rgba(255,128,0,0.35);
}
.pg73-menu-btn {
  background: transparent; border: none; color: var(--pg73-primary);
  font-size: 2rem; cursor: pointer; padding: 0.2rem 0.5rem; min-width: 40px; min-height: 40px;
}

/* ===== Mobile menu (expandable) ===== */
.pg73-mobile-menu {
  position: fixed; top: 56px; left: 0; right: 0;
  background: var(--pg73-bg-alt);
  border-bottom: 2px solid var(--pg73-primary);
  z-index: 9999;
  max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease;
  max-width: 430px; margin: 0 auto;
}
.pg73-menu-open { max-height: 420px; }
.pg73-mobile-menu ul { list-style: none; padding: 0.5rem 0; }
.pg73-mobile-menu li a {
  display: block; padding: 1rem 1.5rem; color: var(--pg73-text);
  border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 1.4rem;
}
.pg73-mobile-menu li a:active { background: rgba(102,205,170,0.12); }

/* ===== Main layout ===== */
.pg73-main { padding-top: 64px; padding-bottom: 80px; }
.pg73-section { padding: 1.6rem 1rem; }
.pg73-section-title {
  font-size: 1.9rem; font-weight: 700; color: var(--pg73-primary);
  margin-bottom: 0.8rem; border-left: 4px solid var(--pg73-accent);
  padding-left: 0.8rem;
}

/* ===== Carousel ===== */
.pg73-carousel {
  position: relative; margin: 1rem; border-radius: var(--pg73-radius);
  overflow: hidden; aspect-ratio: 16/9; background: #000;
}
.pg73-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s ease;
}
.pg73-slide-active { opacity: 1; }
.pg73-slide img { width: 100%; height: 100%; object-fit: cover; }
.pg73-slide a { display: block; width: 100%; height: 100%; }
.pg73-carousel-controls {
  position: absolute; bottom: 8px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 0.4rem;
}
.pg73-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.5); display: inline-block;
}
.pg73-dot-active { background: var(--pg73-accent); }

/* ===== Hero ===== */
.pg73-hero {
  padding: 1.6rem 1.2rem; text-align: center;
  background: linear-gradient(135deg, rgba(102,205,170,0.18), rgba(255,128,0,0.12));
}
.pg73-hero h1 { font-size: 2.2rem; color: #fff; margin-bottom: 0.6rem; line-height: 1.3; }
.pg73-hero p { color: var(--pg73-text-muted); font-size: 1.4rem; margin-bottom: 1rem; }
.pg73-hero-cta {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: linear-gradient(90deg, var(--pg73-accent), #ff9a33);
  color: #fff; padding: 0.9rem 1.8rem; border-radius: 30px;
  font-weight: 700; font-size: 1.4rem; box-shadow: 0 4px 10px rgba(255,128,0,0.4);
}

/* ===== Filter tabs ===== */
.pg73-filter {
  display: flex; gap: 0.5rem; overflow-x: auto; padding: 0.5rem 1rem;
  -webkit-overflow-scrolling: touch;
}
.pg73-filter-tab {
  flex: 0 0 auto; padding: 0.5rem 1.1rem; border-radius: 20px;
  background: var(--pg73-bg-alt); color: var(--pg73-text-muted);
  font-size: 1.25rem; border: 1px solid var(--pg73-border); cursor: pointer;
  white-space: nowrap;
}
.pg73-filter-tab-active { background: var(--pg73-primary); color: var(--pg73-dark); font-weight: 700; }

/* ===== Game grid ===== */
.pg73-game-group { margin-bottom: 1.4rem; }
.pg73-game-group-title {
  font-size: 1.7rem; color: var(--pg73-accent); font-weight: 700;
  margin: 1rem 1rem 0.6rem; display: flex; align-items: center; gap: 0.5rem;
}
.pg73-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; padding: 0 1rem;
}
.pg73-card {
  background: var(--pg73-bg-alt); border-radius: 10px; overflow: hidden;
  border: 1px solid var(--pg73-border); transition: transform 0.15s ease;
  text-align: center;
}
.pg73-card:active { transform: scale(0.97); }
.pg73-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.pg73-card-name {
  font-size: 1.1rem; padding: 0.4rem 0.3rem; color: var(--pg73-text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ===== Info / feature modules ===== */
.pg73-info-card {
  background: var(--pg73-bg-alt); border-radius: var(--pg73-radius);
  padding: 1.2rem; margin: 1rem; border: 1px solid var(--pg73-border);
}
.pg73-info-card h3 { color: var(--pg73-primary); font-size: 1.6rem; margin-bottom: 0.5rem; }
.pg73-info-card p { color: var(--pg73-text-muted); font-size: 1.3rem; margin-bottom: 0.5rem; }
.pg73-info-card ul { padding-left: 1.5rem; color: var(--pg73-text-muted); font-size: 1.3rem; }
.pg73-info-card li { margin-bottom: 0.3rem; }
.pg73-text-link { color: var(--pg73-accent); font-weight: 600; text-decoration: underline; }

/* ===== Features list ===== */
.pg73-feature-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 0.6rem; padding: 0 1rem; }
.pg73-feature-item {
  background: var(--pg73-bg-alt); border-radius: 10px; padding: 1rem; text-align: center;
  border: 1px solid var(--pg73-border);
}
.pg73-feature-item .material-icons, .pg73-feature-item .fas { font-size: 26px; color: var(--pg73-accent); }
.pg73-feature-item h4 { color: #fff; font-size: 1.3rem; margin: 0.4rem 0; }
.pg73-feature-item p { color: var(--pg73-text-muted); font-size: 1.15rem; }

/* ===== Testimonials ===== */
.pg73-testimonial {
  background: var(--pg73-bg-alt); border-radius: 10px; padding: 1rem; margin: 0.5rem 1rem;
  border-left: 3px solid var(--pg73-pink);
}
.pg73-testimonial .pg73-quote { font-size: 1.3rem; color: var(--pg73-text); font-style: italic; }
.pg73-testimonial .pg73-author { font-size: 1.15rem; color: var(--pg73-primary); margin-top: 0.4rem; }

/* ===== Winners ===== */
.pg73-winner-row {
  display: flex; justify-content: space-between; padding: 0.6rem 0;
  border-bottom: 1px dashed rgba(255,255,255,0.08); font-size: 1.25rem;
}
.pg73-winner-name { color: var(--pg73-light); font-weight: 600; }
.pg73-winner-amount { color: var(--pg73-accent); font-weight: 700; }

/* ===== Payment ===== */
.pg73-pay-grid { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0 1rem; }
.pg73-pay-chip {
  background: var(--pg73-bg-alt); border: 1px solid var(--pg73-border);
  border-radius: 8px; padding: 0.5rem 0.9rem; font-size: 1.2rem; color: var(--pg73-text);
  display: inline-flex; align-items: center; gap: 0.3rem;
}

/* ===== Footer ===== */
.pg73-footer {
  background: #15191e; padding: 1.6rem 1rem 1rem; border-top: 2px solid var(--pg73-primary);
  margin-top: 1.5rem;
}
.pg73-footer-brand { color: var(--pg73-text-muted); font-size: 1.25rem; margin-bottom: 0.8rem; }
.pg73-footer-links { display: flex; flex-wrap: wrap; gap: 0.4rem 0.8rem; margin-bottom: 0.8rem; }
.pg73-footer-links a { color: var(--pg73-primary); font-size: 1.2rem; }
.pg73-footer-promo {
  display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.8rem 0;
}
.pg73-footer-promo button {
  flex: 1 1 auto; min-width: 110px; padding: 0.6rem 0.8rem; border-radius: 8px; border: none;
  background: linear-gradient(90deg, var(--pg73-accent), #ff9a33); color: #fff;
  font-size: 1.2rem; font-weight: 600; cursor: pointer;
}
.pg73-footer-copy { color: #7a8784; font-size: 1.1rem; text-align: center; padding-top: 0.6rem; border-top: 1px solid rgba(255,255,255,0.05); }

/* ===== Bottom nav (mobile) ===== */
.pg73-bottomnav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  height: 60px; background: linear-gradient(180deg, #2c3540, var(--pg73-dark));
  border-top: 2px solid var(--pg73-primary);
  display: flex; justify-content: space-around; align-items: center;
  max-width: 430px; margin: 0 auto;
}
.pg73-bottomnav-btn {
  flex: 1; min-width: 60px; min-height: 60px; background: transparent; border: none;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  color: var(--pg73-text-muted); cursor: pointer; transition: color 0.15s ease, transform 0.15s ease;
}
.pg73-bottomnav-btn:active { transform: scale(0.92); }
.pg73-bottomnav-btn i, .pg73-bottomnav-btn .material-icons, .pg73-bottomnav-btn .icon { font-size: 24px; }
.pg73-bottomnav-btn span { font-size: 1rem; }
.pg73-bottomnav-active { color: var(--pg73-accent); }
.pg73-bottomnav-active i, .pg73-bottomnav-active .material-icons { color: var(--pg73-accent); }

/* ===== Desktop: hide bottom nav ===== */
@media (min-width: 769px) {
  .pg73-bottomnav { display: none; }
  body { max-width: 430px; }
}

/* ===== Responsive tweaks ===== */
@media (max-width: 360px) {
  .pg73-grid { grid-template-columns: repeat(2, 1fr); }
  .pg73-feature-grid { grid-template-columns: 1fr; }
}
