/* phfun style.css - gbe6 prefix */
:root {
  --gbe6-primary: #9932CC;
  --gbe6-coral: #FF8A80;
  --gbe6-bg: #333333;
  --gbe6-bg-dark: #1f1f1f;
  --gbe6-bg-card: #3d3d3d;
  --gbe6-lavender: #E6E6FA;
  --gbe6-mint: #BAFFC9;
  --gbe6-text: #E6E6FA;
  --gbe6-text-muted: #b8b8d0;
  --gbe6-white: #ffffff;
  --gbe6-radius: 0.8rem;
  --gbe6-header-h: 5.6rem;
  --gbe6-bottom-h: 6.2rem;
  --gbe6-max: 43rem;
}

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

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.4rem;
  line-height: 1.5rem;
  background: var(--gbe6-bg);
  color: var(--gbe6-text);
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: var(--gbe6-mint); text-decoration: none; }
a:hover { color: var(--gbe6-coral); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }

.gbe6-wrapper {
  max-width: var(--gbe6-max);
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
  background: var(--gbe6-bg-dark);
}

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

/* Header */
.gbe6-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--gbe6-header-h);
  background: linear-gradient(135deg, #2a1a3a 0%, #333333 60%, #1f1f1f 100%);
  border-bottom: 2px solid var(--gbe6-primary);
  box-shadow: 0 2px 12px rgba(153, 50, 204, 0.35);
}

.gbe6-header-inner {
  max-width: var(--gbe6-max);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  gap: 0.6rem;
}

.gbe6-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
  color: var(--gbe6-lavender);
  font-weight: 700;
  font-size: 1.5rem;
}

.gbe6-logo img {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 0.6rem;
}

.gbe6-header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.gbe6-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 4.4rem;
  min-width: 4.4rem;
  padding: 0.6rem 1.2rem;
  border-radius: 2.2rem;
  font-size: 1.2rem;
  font-weight: 700;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  cursor: pointer;
  white-space: nowrap;
}

.gbe6-btn:active { transform: scale(0.95); }

.gbe6-btn-register {
  background: linear-gradient(135deg, var(--gbe6-primary), #7b1fa2);
  color: var(--gbe6-white);
  box-shadow: 0 2px 8px rgba(153, 50, 204, 0.45);
}

.gbe6-btn-login {
  background: linear-gradient(135deg, var(--gbe6-coral), #e57373);
  color: var(--gbe6-white);
  box-shadow: 0 2px 8px rgba(255, 138, 128, 0.4);
}

.gbe6-btn-promo {
  background: linear-gradient(135deg, var(--gbe6-mint), #81c784);
  color: #1a1a1a;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(186, 255, 201, 0.35);
}

.gbe6-btn-outline {
  border: 1.5px solid var(--gbe6-primary);
  color: var(--gbe6-lavender);
  background: transparent;
}

.gbe6-menu-toggle {
  width: 4.4rem;
  height: 4.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gbe6-lavender);
  font-size: 2.4rem;
  border-radius: 0.8rem;
}

.gbe6-menu-toggle:hover { background: rgba(153, 50, 204, 0.25); }

/* Mobile menu */
.gbe6-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s;
}

.gbe6-overlay-show {
  opacity: 1;
  visibility: visible;
}

.gbe6-mobile-menu {
  position: fixed;
  top: 0;
  right: -28rem;
  width: 26rem;
  max-width: 85vw;
  height: 100%;
  background: linear-gradient(180deg, #2a1a3a, #1f1f1f);
  z-index: 9999;
  transition: right 0.3s ease;
  overflow-y: auto;
  padding: 2rem 0;
  border-left: 2px solid var(--gbe6-primary);
}

.gbe6-menu-open { right: 0; }

.gbe6-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.6rem 1.6rem;
  border-bottom: 1px solid rgba(153, 50, 204, 0.4);
  margin-bottom: 1rem;
}

.gbe6-menu-close {
  width: 4.4rem;
  height: 4.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gbe6-coral);
  font-size: 2.4rem;
}

.gbe6-menu-list a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.6rem;
  color: var(--gbe6-lavender);
  font-size: 1.4rem;
  font-weight: 600;
  min-height: 4.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.2s, color 0.2s;
}

.gbe6-menu-list a:hover,
.gbe6-menu-list a:active {
  background: rgba(153, 50, 204, 0.25);
  color: var(--gbe6-mint);
}

.gbe6-menu-list i,
.gbe6-menu-list .material-icons,
.gbe6-menu-list ion-icon {
  font-size: 2rem;
  width: 2.4rem;
  text-align: center;
  color: var(--gbe6-coral);
}

/* Main content */
.gbe6-main {
  padding-top: calc(var(--gbe6-header-h) + 0.8rem);
  padding-bottom: 2rem;
}

@media (max-width: 768px) {
  .gbe6-main { padding-bottom: 8rem; }
}

/* Slider */
.gbe6-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--gbe6-radius);
  margin-bottom: 1.6rem;
  aspect-ratio: 16 / 9;
  background: var(--gbe6-bg-card);
}

.gbe6-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  cursor: pointer;
}

.gbe6-slide-active { opacity: 1; z-index: 1; }

.gbe6-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gbe6-slider-dots {
  position: absolute;
  bottom: 1rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  z-index: 2;
}

.gbe6-dot {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.gbe6-dot-active {
  background: var(--gbe6-coral);
  transform: scale(1.3);
}

/* Hero / H1 */
.gbe6-hero {
  text-align: center;
  padding: 1.2rem 0 1.6rem;
}

.gbe6-hero h1 {
  font-size: 1.8rem;
  line-height: 2.4rem;
  color: var(--gbe6-white);
  margin-bottom: 0.8rem;
  font-weight: 800;
}

.gbe6-hero p {
  font-size: 1.3rem;
  line-height: 1.9rem;
  color: var(--gbe6-text-muted);
  margin-bottom: 1.2rem;
}

/* Section */
.gbe6-section {
  padding: 1.6rem 0;
  border-bottom: 1px solid rgba(153, 50, 204, 0.15);
}

.gbe6-section-title {
  font-size: 1.6rem;
  line-height: 2.2rem;
  color: var(--gbe6-white);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
}

.gbe6-section-title i,
.gbe6-section-title .material-icons,
.gbe6-section-title ion-icon {
  color: var(--gbe6-coral);
  font-size: 2rem;
}

.gbe6-section-text {
  font-size: 1.3rem;
  line-height: 2rem;
  color: var(--gbe6-text-muted);
  margin-bottom: 1rem;
}

.gbe6-section-text a {
  color: var(--gbe6-mint);
  font-weight: 700;
  text-decoration: underline;
}

/* Game grid */
.gbe6-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}

.gbe6-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.2s;
  min-height: 4.4rem;
}

.gbe6-game-item:active { transform: scale(0.94); }

.gbe6-game-item img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 0.8rem;
  object-fit: cover;
  border: 1.5px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: var(--gbe6-bg-card);
}

.gbe6-game-item:hover img {
  border-color: var(--gbe6-primary);
  box-shadow: 0 0 10px rgba(153, 50, 204, 0.5);
}

.gbe6-game-item span {
  font-size: 1rem;
  line-height: 1.3rem;
  color: var(--gbe6-text-muted);
  text-align: center;
  margin-top: 0.4rem;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
}

/* Cards */
.gbe6-card {
  background: var(--gbe6-bg-card);
  border-radius: var(--gbe6-radius);
  padding: 1.4rem;
  margin-bottom: 1.2rem;
  border: 1px solid rgba(153, 50, 204, 0.25);
}

.gbe6-card h3 {
  font-size: 1.4rem;
  color: var(--gbe6-lavender);
  margin-bottom: 0.8rem;
  font-weight: 700;
}

.gbe6-card p {
  font-size: 1.3rem;
  line-height: 2rem;
  color: var(--gbe6-text-muted);
  margin-bottom: 0.8rem;
}

/* Features grid */
.gbe6-feat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.gbe6-feat-item {
  background: var(--gbe6-bg-card);
  border-radius: var(--gbe6-radius);
  padding: 1.2rem;
  text-align: center;
  border: 1px solid rgba(255, 138, 128, 0.2);
}

.gbe6-feat-item .gbe6-feat-icon {
  font-size: 2.4rem;
  color: var(--gbe6-coral);
  margin-bottom: 0.6rem;
}

.gbe6-feat-item h3 {
  font-size: 1.3rem;
  color: var(--gbe6-lavender);
  margin-bottom: 0.4rem;
}

.gbe6-feat-item p {
  font-size: 1.1rem;
  line-height: 1.6rem;
  color: var(--gbe6-text-muted);
}

/* FAQ */
.gbe6-faq-item {
  background: var(--gbe6-bg-card);
  border-radius: var(--gbe6-radius);
  padding: 1.2rem;
  margin-bottom: 0.8rem;
  border-left: 3px solid var(--gbe6-primary);
}

.gbe6-faq-item h3 {
  font-size: 1.3rem;
  color: var(--gbe6-mint);
  margin-bottom: 0.6rem;
  font-weight: 700;
}

.gbe6-faq-item p {
  font-size: 1.2rem;
  line-height: 1.8rem;
  color: var(--gbe6-text-muted);
}

/* RTP table */
.gbe6-rtp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
}

.gbe6-rtp-table th,
.gbe6-rtp-table td {
  padding: 0.8rem;
  text-align: left;
  border-bottom: 1px solid rgba(153, 50, 204, 0.2);
}

.gbe6-rtp-table th {
  color: var(--gbe6-coral);
  font-weight: 700;
  background: rgba(153, 50, 204, 0.15);
}

.gbe6-rtp-table td { color: var(--gbe6-text-muted); }

.gbe6-rtp-high { color: var(--gbe6-mint) !important; font-weight: 700; }

/* Testimonials */
.gbe6-review {
  background: var(--gbe6-bg-card);
  border-radius: var(--gbe6-radius);
  padding: 1.2rem;
  margin-bottom: 0.8rem;
  border: 1px solid rgba(186, 255, 201, 0.15);
}

.gbe6-review-top {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.6rem;
}

.gbe6-review-avatar {
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gbe6-primary), var(--gbe6-coral));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gbe6-white);
  font-weight: 700;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.gbe6-review-name {
  font-size: 1.3rem;
  color: var(--gbe6-lavender);
  font-weight: 700;
}

.gbe6-review-stars { color: #ffd700; font-size: 1.2rem; }

.gbe6-review p {
  font-size: 1.2rem;
  line-height: 1.8rem;
  color: var(--gbe6-text-muted);
}

/* Winners */
.gbe6-winner-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1rem;
  background: var(--gbe6-bg-card);
  border-radius: 0.6rem;
  margin-bottom: 0.6rem;
  font-size: 1.2rem;
}

.gbe6-winner-name { color: var(--gbe6-lavender); font-weight: 600; }
.gbe6-winner-game { color: var(--gbe6-text-muted); }
.gbe6-winner-amount { color: var(--gbe6-mint); font-weight: 700; }

/* Payment */
.gbe6-pay-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}

.gbe6-pay-item {
  background: var(--gbe6-bg-card);
  border-radius: 0.6rem;
  padding: 0.8rem 1.2rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gbe6-lavender);
  border: 1px solid rgba(153, 50, 204, 0.3);
  min-height: 4.4rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* CTA box */
.gbe6-cta {
  background: linear-gradient(135deg, rgba(153, 50, 204, 0.35), rgba(255, 138, 128, 0.25));
  border: 1.5px solid var(--gbe6-primary);
  border-radius: var(--gbe6-radius);
  padding: 2rem 1.4rem;
  text-align: center;
  margin: 1.6rem 0;
}

.gbe6-cta h2 {
  font-size: 1.6rem;
  color: var(--gbe6-white);
  margin-bottom: 0.8rem;
}

.gbe6-cta p {
  font-size: 1.3rem;
  line-height: 1.9rem;
  color: var(--gbe6-text-muted);
  margin-bottom: 1.4rem;
}

.gbe6-cta-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}

/* Text promo links */
.gbe6-text-link {
  color: var(--gbe6-coral);
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
}

.gbe6-text-link:hover { color: var(--gbe6-mint); }

/* Explore more */
.gbe6-explore {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1rem;
}

.gbe6-explore a {
  background: rgba(153, 50, 204, 0.2);
  border: 1px solid var(--gbe6-primary);
  border-radius: 2rem;
  padding: 0.6rem 1.2rem;
  font-size: 1.2rem;
  color: var(--gbe6-lavender);
  font-weight: 600;
  min-height: 4.4rem;
  display: inline-flex;
  align-items: center;
}

.gbe6-explore a:hover {
  background: var(--gbe6-primary);
  color: var(--gbe6-white);
}

/* Footer */
.gbe6-footer {
  background: linear-gradient(180deg, #1f1f1f, #151515);
  padding: 2.4rem 1.2rem 2rem;
  border-top: 2px solid var(--gbe6-primary);
}

.gbe6-footer-brand {
  font-size: 1.3rem;
  line-height: 2rem;
  color: var(--gbe6-text-muted);
  margin-bottom: 1.6rem;
  text-align: center;
}

.gbe6-footer-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  margin-bottom: 1.6rem;
}

.gbe6-footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-bottom: 1.6rem;
}

.gbe6-footer-links a {
  font-size: 1.2rem;
  color: var(--gbe6-lavender);
  padding: 0.6rem;
  min-height: 4.4rem;
  display: flex;
  align-items: center;
  border-radius: 0.4rem;
  transition: background 0.2s, color 0.2s;
}

.gbe6-footer-links a:hover {
  background: rgba(153, 50, 204, 0.2);
  color: var(--gbe6-mint);
}

.gbe6-footer-copy {
  text-align: center;
  font-size: 1.1rem;
  color: var(--gbe6-text-muted);
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Bottom nav - unique purple coral design */
.gbe6-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--gbe6-bottom-h);
  background: linear-gradient(0deg, #1a0f24 0%, #2a1a3a 100%);
  border-top: 2px solid var(--gbe6-coral);
  display: flex;
  justify-content: space-around;
  align-items: center;
  box-shadow: 0 -4px 16px rgba(255, 138, 128, 0.2);
  max-width: var(--gbe6-max);
  margin: 0 auto;
}

.gbe6-bnav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 6rem;
  min-height: 6rem;
  color: var(--gbe6-text-muted);
  font-size: 1rem;
  gap: 0.2rem;
  transition: color 0.2s, transform 0.2s;
  cursor: pointer;
  padding: 0.4rem;
  border-radius: 1rem;
  background: none;
  border: none;
  font-family: inherit;
  text-decoration: none;
}

.gbe6-bnav-item i,
.gbe6-bnav-item .material-icons,
.gbe6-bnav-item ion-icon,
.gbe6-bnav-item .bi,
.gbe6-bnav-item .ti {
  font-size: 2.2rem;
  line-height: 1;
}

.gbe6-bnav-item .material-icons { font-size: 2.4rem; }

.gbe6-bnav-item span {
  font-size: 1rem;
  line-height: 1.2rem;
  font-weight: 600;
}

.gbe6-bnav-item:active { transform: scale(0.9); }

.gbe6-bnav-item.gbe6-bnav-active {
  color: var(--gbe6-coral);
}

.gbe6-bnav-item.gbe6-bnav-active i,
.gbe6-bnav-item.gbe6-bnav-active .material-icons {
  color: var(--gbe6-coral);
  text-shadow: 0 0 8px rgba(255, 138, 128, 0.6);
}

.gbe6-bnav-promo {
  color: var(--gbe6-mint) !important;
}

.gbe6-bnav-promo i,
.gbe6-bnav-promo .material-icons,
.gbe6-bnav-promo ion-icon {
  color: var(--gbe6-mint) !important;
}

@media (min-width: 769px) {
  .gbe6-bottom-nav { display: none; }
  .gbe6-main { padding-bottom: 2rem; }
}

/* Desktop tweaks */
@media (min-width: 431px) {
  .gbe6-game-grid { grid-template-columns: repeat(5, 1fr); }
  .gbe6-hero h1 { font-size: 2.2rem; line-height: 2.8rem; }
}

/* Utility */
.gbe6-mt-1 { margin-top: 1rem; }
.gbe6-mb-1 { margin-bottom: 1rem; }
.gbe6-text-center { text-align: center; }
.gbe6-flex-center {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}
