/* 33win78 - layout.css
   All custom classes use the "pged-" prefix. Comments in English only. */

:root {
  --pged-primary: #AD1457;
  --pged-accent: #FF4500;
  --pged-bg: #0A0A0A;
  --pged-yellow: #FFF176;
  --pged-pink: #FF69B4;
  --pged-text: #ffffff;
  --pged-muted: #c9c9c9;
  --pged-card: #181818;
  --pged-card-2: #221318;
  --pged-border: rgba(255, 105, 180, 0.18);
  --pged-radius: 14px;
  --pged-header-h: 58px;
  --pged-bottom-h: 62px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  background: radial-gradient(circle at 20% -10%, #2a0d1c 0%, var(--pged-bg) 55%);
  color: var(--pged-text);
  line-height: 1.5;
  overflow-x: hidden;
  max-width: 430px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

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

h1, h2, h3 { margin: 0 0 .8rem; line-height: 1.25; }
h1 { font-size: 2.2rem; }
h2 { font-size: 1.9rem; color: var(--pged-yellow); }
h3 { font-size: 1.5rem; color: var(--pged-pink); }
p { margin: 0 0 1rem; }

.pged-wrapper { width: 100%; }

.pged-container {
  width: 100%;
  padding: 0 1.2rem;
}

main { padding-bottom: calc(var(--pged-bottom-h) + 24px); }

/* ========= Header ========= */
.pged-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--pged-header-h);
  background: linear-gradient(90deg, var(--pged-bg), #1a0610);
  border-bottom: 2px solid var(--pged-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  z-index: 1000;
  max-width: 430px;
  margin: 0 auto;
}

.pged-brand { display: flex; align-items: center; gap: .6rem; }
.pged-brand__logo {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--pged-accent), var(--pged-pink));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.4rem; font-weight: 700;
}
.pged-brand__name {
  font-size: 1.5rem; font-weight: 800;
  background: linear-gradient(90deg, var(--pged-yellow), var(--pged-pink));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

.pged-header__actions { display: flex; align-items: center; gap: .4rem; }

.pged-icon-btn {
  width: 38px; height: 38px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--pged-border);
  border-radius: 10px;
  color: var(--pged-text);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 1.8rem;
}
.pged-icon-btn--active { background: var(--pged-primary); }

.pged-btn {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .6rem 1.1rem;
  border-radius: 999px;
  font-size: 1.3rem; font-weight: 700;
  cursor: pointer;
  border: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.pged-btn--login {
  background: rgba(255, 255, 255, .08);
  color: var(--pged-text);
  border: 1px solid var(--pged-border);
}
.pged-btn--register {
  background: linear-gradient(90deg, var(--pged-accent), var(--pged-pink));
  color: #fff;
  box-shadow: 0 4px 14px rgba(255, 69, 0, .35);
}
.pged-btn:active { transform: scale(.95); }

/* ========= Mobile Menu ========= */
.pged-mobile-menu {
  position: fixed;
  top: var(--pged-header-h); left: 0; right: 0;
  background: #120010;
  border-bottom: 1px solid var(--pged-border);
  max-height: 0; overflow: hidden;
  transition: max-height .28s ease;
  z-index: 9999;
  max-width: 430px;
  margin: 0 auto;
}
.pged-mobile-menu--open { max-height: 420px; }
.pged-mobile-menu a {
  display: block;
  padding: 1.1rem 1.4rem;
  font-size: 1.35rem;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
  color: var(--pged-text);
}
.pged-mobile-menu a:active { background: rgba(173, 20, 87, .25); }

/* ========= Hero / Carousel ========= */
.pged-hero {
  margin-top: var(--pged-header-h);
  padding: 1rem 1.2rem .4rem;
}
.pged-carousel {
  position: relative;
  border-radius: var(--pged-radius);
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .45);
}
.pged-slide {
  display: none;
  position: relative;
  cursor: pointer;
}
.pged-slide--active { display: block; }
.pged-slide img { width: 100%; height: 180px; object-fit: cover; }
.pged-slide__caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.4rem 1rem .9rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, .85));
  font-size: 1.35rem; font-weight: 700;
}
.pged-slide-dots {
  position: absolute; bottom: 8px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 6px;
}
.pged-slide-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255, 255, 255, .45);
  cursor: pointer;
}
.pged-slide-dot--active { background: var(--pged-yellow); }

/* ========= Sections ========= */
.pged-section {
  padding: 1.6rem 1.2rem;
}
.pged-section__head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1rem;
}
.pged-section__title {
  font-size: 1.7rem; font-weight: 800;
  display: flex; align-items: center; gap: .5rem;
}
.pged-section__title i { color: var(--pged-pink); }
.pged-section__more {
  font-size: 1.2rem; color: var(--pged-yellow);
}

.pged-cta-band {
  background: linear-gradient(90deg, var(--pged-primary), var(--pged-accent));
  padding: 1rem 1.2rem;
  border-radius: var(--pged-radius);
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  margin: 1.2rem 0;
}
.pged-cta-band__text { font-size: 1.35rem; font-weight: 700; }

.pged-link-text {
  color: var(--pged-yellow);
  font-weight: 700;
  border-bottom: 1px dashed var(--pged-pink);
}

/* ========= Game grid ========= */
.pged-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .8rem;
}
.pged-game {
  background: var(--pged-card);
  border: 1px solid var(--pged-border);
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.pged-game:active { transform: scale(.95); }
.pged-game__img {
  width: 100%; aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #000;
}
.pged-game__name {
  font-size: 1.15rem;
  padding: .5rem .3rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  color: var(--pged-text);
}
.pged-game__badge {
  display: inline-block;
  font-size: 1rem; padding: .15rem .5rem;
  border-radius: 6px;
  background: var(--pged-accent);
  color: #fff;
  margin-top: -.4rem;
}

.pged-cat-tag {
  display: inline-block;
  font-size: 1.15rem;
  padding: .25rem .7rem;
  border-radius: 999px;
  background: rgba(255, 241, 118, .12);
  color: var(--pged-yellow);
  margin-bottom: .8rem;
}

/* ========= Cards ========= */
.pged-card {
  background: var(--pged-card);
  border: 1px solid var(--pged-border);
  border-radius: var(--pged-radius);
  padding: 1.2rem;
  margin-bottom: 1rem;
}
.pged-card--accent {
  background: linear-gradient(135deg, #1a0610, #221017);
  border-color: var(--pged-primary);
}
.pged-card__row {
  display: flex; align-items: center; gap: .8rem;
  padding: .6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
}
.pged-card__row:last-child { border-bottom: none; }
.pged-card__icon {
  width: 36px; height: 36px; flex-shrink: 0;
  border-radius: 10px;
  background: rgba(255, 105, 180, .15);
  display: flex; align-items: center; justify-content: center;
  color: var(--pged-pink); font-size: 1.8rem;
}

.pged-list { padding-left: 1.4rem; margin: 0 0 1rem; }
.pged-list li { margin-bottom: .5rem; font-size: 1.3rem; }

/* ========= Testimonial ========= */
.pged-testimonial {
  background: var(--pged-card);
  border-left: 3px solid var(--pged-pink);
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: .8rem;
}
.pged-testimonial__author {
  font-size: 1.15rem; color: var(--pged-yellow); font-weight: 700;
  margin-top: .5rem;
}

/* ========= Payment chips ========= */
.pged-chips {
  display: flex; flex-wrap: wrap; gap: .6rem;
}
.pged-chip {
  background: var(--pged-card-2);
  border: 1px solid var(--pged-border);
  border-radius: 999px;
  padding: .5rem .9rem;
  font-size: 1.15rem;
  display: inline-flex; align-items: center; gap: .4rem;
}

/* ========= Winners ========= */
.pged-winner {
  display: flex; justify-content: space-between; align-items: center;
  padding: .55rem .2rem;
  border-bottom: 1px dashed rgba(255, 255, 255, .08);
  font-size: 1.2rem;
}
.pged-winner__amount { color: var(--pged-yellow); font-weight: 700; }

/* ========= FAQ ========= */
.pged-faq__item {
  background: var(--pged-card);
  border: 1px solid var(--pged-border);
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: .7rem;
}
.pged-faq__q { font-weight: 700; color: var(--pged-pink); margin-bottom: .3rem; font-size: 1.3rem; }
.pged-faq__a { font-size: 1.25rem; color: var(--pged-muted); }

/* ========= Footer ========= */
.pged-footer {
  background: #050003;
  border-top: 2px solid var(--pged-primary);
  padding: 1.6rem 1.2rem 2rem;
  margin-top: 1.4rem;
}
.pged-footer__brand { font-size: 1.25rem; color: var(--pged-muted); margin-bottom: 1rem; }
.pged-footer__links {
  display: flex; flex-wrap: wrap; gap: .5rem .9rem;
  margin-bottom: 1rem;
}
.pged-footer__links a {
  font-size: 1.15rem; color: var(--pged-text);
}
.pged-footer__promo {
  display: flex; flex-wrap: wrap; gap: .5rem;
  margin: .8rem 0;
}
.pged-footer__copyright {
  font-size: 1.1rem; color: var(--pged-muted);
  border-top: 1px solid rgba(255, 255, 255, .06);
  padding-top: .8rem;
}

/* ========= Bottom Nav ========= */
.pged-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--pged-bottom-h);
  background: linear-gradient(180deg, #1a0610, #050003);
  border-top: 2px solid var(--pged-primary);
  display: flex; justify-content: space-around; align-items: center;
  z-index: 1000;
  max-width: 430px;
  margin: 0 auto;
}
.pged-bottom-nav__btn {
  flex: 1;
  min-width: 60px; min-height: 60px;
  background: transparent; border: none;
  color: var(--pged-muted);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px;
  cursor: pointer;
  font-size: 1rem;
  transition: color .15s ease, transform .15s ease;
}
.pged-bottom-nav__btn i,
.pged-bottom-nav__btn span.material-icons,
.pged-bottom-nav__btn ion-icon,
.pged-bottom-nav__btn bi {
  font-size: 22px;
}
.pged-bottom-nav__btn ion-icon { font-size: 24px; }
.pged-bottom-nav__btn:active { transform: scale(.92); color: var(--pged-yellow); }
.pged-bottom-nav__btn--active { color: var(--pged-pink); }
.pged-bottom-nav__btn--promo {
  color: var(--pged-yellow);
  position: relative;
}
.pged-bottom-nav__btn--promo::before {
  content: "";
  position: absolute;
  top: 4px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--pged-accent);
}

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

/* ========= Desktop ========= */
@media (min-width: 769px) {
  .pged-bottom-nav { display: none; }
  body { max-width: 430px; }
  main { padding-bottom: 32px; }
}

/* ========= Small helpers ========= */
.pged-text-center { text-align: center; }
.pged-mt-1 { margin-top: .6rem; }
.pged-mt-2 { margin-top: 1.2rem; }
.pged-highlight {
  background: rgba(255, 241, 118, .14);
  padding: .15rem .35rem; border-radius: 4px;
  color: var(--pged-yellow); font-weight: 700;
}
