/* ph3.homes theme - prefix: gde8- */
/* Palette: #262626 (bg) | #DEB887 (gold accent) | #A0522D (sienna) | #BC8F8F (rosy) */

:root {
  --gde8-bg: #262626;
  --gde8-bg2: #1f1d1c;
  --gde8-surface: #2f2c2a;
  --gde8-surface2: #3a3531;
  --gde8-gold: #DEB887;
  --gde8-sienna: #A0522D;
  --gde8-rosy: #BC8F8F;
  --gde8-text: #f4ece1;
  --gde8-muted: #c4b6a4;
  --gde8-white: #ffffff;
  --gde8-shadow: 0 8px 24px rgba(0,0,0,.35);
  --gde8-radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }

html { font-size: 62.5%; scroll-behavior: smooth; }

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

a { color: var(--gde8-gold); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.gde8-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 1.6rem; }
.gde8-wrap { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 1.6rem; }

/* ============ HEADER ============ */
.gde8-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(38,38,38,.98), rgba(38,38,38,.92));
  border-bottom: 1px solid rgba(222,184,135,.25);
  backdrop-filter: blur(8px);
}
.gde8-header-inner {
  max-width: 1100px; margin: 0 auto; padding: 1rem 1.6rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.gde8-brand { display: flex; align-items: center; gap: .8rem; }
.gde8-logo {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, var(--gde8-gold), var(--gde8-sienna));
  display: grid; place-items: center; color: #2a1d10; font-weight: 800; font-size: 1.6rem;
  box-shadow: var(--gde8-shadow);
}
.gde8-brand-name { font-size: 2rem; font-weight: 800; color: var(--gde8-gold); letter-spacing: .5px; }
.gde8-brand-name span { color: var(--gde8-rosy); }
.gde8-header-actions { display: flex; align-items: center; gap: .8rem; }
.gde8-hamburger {
  background: transparent; border: 0; color: var(--gde8-text); font-size: 2.2rem; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
}
.gde8-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .9rem 1.6rem; border-radius: 999px; font-weight: 700; font-size: 1.4rem;
  border: 0; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
  text-decoration: none; line-height: 1;
}
.gde8-btn:hover { text-decoration: none; transform: translateY(-1px); filter: brightness(1.05); }
.gde8-btn-login {
  background: transparent; color: var(--gde8-gold); border: 1.5px solid var(--gde8-gold);
}
.gde8-btn-register {
  background: linear-gradient(135deg, var(--gde8-gold), var(--gde8-sienna));
  color: #2a1d10; box-shadow: 0 6px 18px rgba(160,82,45,.4);
}
.gde8-btn-block { display: flex; width: 100%; padding: 1.2rem; font-size: 1.6rem; }

/* ============ DESKTOP NAV ============ */
.gde8-desktop-nav { display: none; }
@media (min-width: 769px) {
  .gde8-desktop-nav { display: flex; gap: 1.8rem; align-items: center; }
  .gde8-desktop-nav a { color: var(--gde8-muted); font-size: 1.4rem; font-weight: 600; }
  .gde8-desktop-nav a:hover { color: var(--gde8-gold); }
  .gde8-hamburger { display: none; }
}

/* ============ MOBILE MENU ============ */
.gde8-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,.6);
  z-index: 9998; opacity: 0; visibility: hidden; transition: opacity .25s ease;
}
.gde8-backdrop.gde8-show { opacity: 1; visibility: visible; }
.gde8-mobile-menu {
  position: fixed; top: 0; right: -86%; width: 80%; max-width: 320px; height: 100vh;
  background: var(--gde8-bg2); z-index: 9999; transition: right .3s ease;
  padding: 2rem 1.6rem; overflow-y: auto; border-left: 1px solid rgba(222,184,135,.2);
}
.gde8-mobile-menu.gde8-open { right: 0; }
.gde8-menu-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.6rem; }
.gde8-menu-head h3 { color: var(--gde8-gold); font-size: 1.8rem; }
.gde8-menu-close { background: transparent; border: 0; color: var(--gde8-text); font-size: 2.2rem; cursor: pointer; }
.gde8-menu-link {
  display: block; padding: 1.2rem 1rem; border-radius: 10px; color: var(--gde8-text);
  font-size: 1.5rem; font-weight: 600; border-bottom: 1px solid rgba(222,184,135,.1);
}
.gde8-menu-link:hover { background: var(--gde8-surface); color: var(--gde8-gold); text-decoration: none; }

/* ============ HERO ============ */
.gde8-hero {
  position: relative; overflow: hidden;
  padding: 2.4rem 0 1rem;
}
.gde8-slider { position: relative; border-radius: 18px; overflow: hidden; box-shadow: var(--gde8-shadow); }
.gde8-slide {
  display: none; position: relative; min-height: 200px;
  background: linear-gradient(135deg, var(--gde8-sienna), var(--gde8-bg));
  padding: 2rem; flex-direction: column; justify-content: flex-end;
}
.gde8-slide.gde8-active { display: flex; }
.gde8-slide::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(222,184,135,.35), transparent 60%);
}
.gde8-slide-content { position: relative; z-index: 2; }
.gde8-slide-tag {
  display: inline-block; background: var(--gde8-gold); color: #2a1d10;
  padding: .3rem 1rem; border-radius: 999px; font-size: 1.2rem; font-weight: 700; margin-bottom: .8rem;
}
.gde8-slide-title { font-size: 2.4rem; font-weight: 800; color: #fff; line-height: 1.2; }
.gde8-slide-sub { color: var(--gde8-muted); margin-top: .5rem; font-size: 1.4rem; }
.gde8-slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,.4); color: #fff; border: 0; width: 36px; height: 36px;
  border-radius: 50%; font-size: 1.6rem; cursor: pointer; z-index: 3;
}
.gde8-slider-arrow.prev { left: 8px; }
.gde8-slider-arrow.next { right: 8px; }
.gde8-dots { display: flex; gap: .6rem; justify-content: center; margin-top: 1rem; }
.gde8-dot {
  width: 8px; height: 8px; border-radius: 50%; background: rgba(222,184,135,.3);
  border: 0; cursor: pointer; padding: 0; transition: all .2s ease;
}
.gde8-dot.gde8-active { background: var(--gde8-gold); width: 22px; border-radius: 999px; }

/* ============ HERO CTA + stats ============ */
.gde8-hero-cta { margin-top: 1.6rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.gde8-stats {
  display: grid; grid-template-columns: repeat(3,1fr); gap: .8rem; margin-top: 1.6rem;
}
.gde8-stat {
  background: var(--gde8-surface); border-radius: 12px; padding: 1rem .6rem; text-align: center;
  border: 1px solid rgba(222,184,135,.15);
}
.gde8-stat-num { color: var(--gde8-gold); font-weight: 800; font-size: 1.8rem; }
.gde8-stat-label { color: var(--gde8-muted); font-size: 1.1rem; margin-top: .2rem; }

/* ============ SECTION ============ */
.gde8-section { padding: 2.4rem 0; }
.gde8-section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.4rem; }
.gde8-section-title {
  font-size: 2rem; font-weight: 800; color: #fff;
  border-left: 4px solid var(--gde8-gold); padding-left: 1rem;
}
.gde8-section-sub { color: var(--gde8-muted); font-size: 1.3rem; margin-top: .3rem; }
.gde8-section-more { color: var(--gde8-gold); font-size: 1.3rem; font-weight: 600; }

/* ============ CHIPS ============ */
.gde8-chips { display: flex; gap: .8rem; overflow-x: auto; padding-bottom: .8rem; margin-bottom: 1.2rem; scrollbar-width: none; }
.gde8-chips::-webkit-scrollbar { display: none; }
.gde8-chip {
  background: var(--gde8-surface); border: 1px solid rgba(222,184,135,.2); color: var(--gde8-muted);
  padding: .7rem 1.4rem; border-radius: 999px; font-size: 1.3rem; font-weight: 600; cursor: pointer;
  white-space: nowrap; transition: all .15s ease;
}
.gde8-chip:hover { color: var(--gde8-gold); }
.gde8-chip.gde8-chip-active {
  background: linear-gradient(135deg, var(--gde8-gold), var(--gde8-sienna));
  color: #2a1d10; border-color: transparent;
}

/* ============ GAME GRID ============ */
.gde8-game-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
@media (min-width: 600px) { .gde8-game-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 900px) { .gde8-game-grid { grid-template-columns: repeat(6, 1fr); } }
.gde8-card {
  background: var(--gde8-surface); border-radius: 14px; overflow: hidden;
  border: 1px solid rgba(222,184,135,.12); cursor: pointer; transition: transform .18s ease, box-shadow .18s ease;
  position: relative;
}
.gde8-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,0,.4); border-color: rgba(222,184,135,.4); }
.gde8-card-img {
  position: relative; aspect-ratio: 1/1; background: var(--gde8-bg2); overflow: hidden;
}
.gde8-card-img img { width: 100%; height: 100%; object-fit: cover; }
.gde8-card-overlay {
  position: absolute; inset: 0; background: rgba(38,38,38,.78);
  display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .2s ease;
}
.gde8-card:hover .gde8-card-overlay { opacity: 1; }
.gde8-card-play {
  background: linear-gradient(135deg, var(--gde8-gold), var(--gde8-sienna)); color: #2a1d10;
  padding: .6rem 1.2rem; border-radius: 999px; font-weight: 700; font-size: 1.2rem; display: inline-flex; gap: .3rem; align-items: center;
}
.gde8-card-name {
  padding: .8rem .6rem; text-align: center; font-size: 1.25rem; font-weight: 600; color: var(--gde8-text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.gde8-card-tag {
  position: absolute; top: 6px; left: 6px; background: var(--gde8-sienna); color: #fff;
  font-size: 1rem; font-weight: 700; padding: .15rem .5rem; border-radius: 6px; z-index: 2;
}
.gde8-card-tag.hot { background: #c0392b; }
.gde8-card-tag.new { background: #27ae60; }

/* ============ FEATURED ============ */
.gde8-featured {
  background: linear-gradient(135deg, var(--gde8-surface), var(--gde8-bg2));
  border-radius: 18px; padding: 1.6rem; border: 1px solid rgba(222,184,135,.2); margin-bottom: 1.2rem;
}
.gde8-featured-img { border-radius: 14px; overflow: hidden; margin-bottom: 1rem; aspect-ratio: 16/9; }
.gde8-featured-img img { width: 100%; height: 100%; object-fit: cover; }
.gde8-featured h3 { color: var(--gde8-gold); font-size: 1.8rem; margin-bottom: .5rem; }
.gde8-featured p { color: var(--gde8-muted); font-size: 1.35rem; }

/* ============ PROMO BANNER ============ */
.gde8-promo {
  background: linear-gradient(135deg, var(--gde8-sienna), #6e3a1e);
  border-radius: 18px; padding: 2rem 1.6rem; text-align: center; margin: 1.6rem 0;
  border: 1px solid rgba(222,184,135,.3);
}
.gde8-promo h3 { color: #fff; font-size: 2rem; margin-bottom: .6rem; }
.gde8-promo p { color: rgba(255,255,255,.85); margin-bottom: 1.2rem; font-size: 1.35rem; }

/* ============ FEATURES LIST ============ */
.gde8-features { display: grid; gap: 1rem; }
.gde8-feature {
  display: flex; gap: 1rem; align-items: flex-start; background: var(--gde8-surface);
  padding: 1.2rem; border-radius: 12px; border: 1px solid rgba(222,184,135,.12);
}
.gde8-feature-ico {
  width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--gde8-gold), var(--gde8-sienna)); color: #2a1d10; font-size: 2rem;
}
.gde8-feature h4 { color: #fff; font-size: 1.5rem; margin-bottom: .3rem; }
.gde8-feature p { color: var(--gde8-muted); font-size: 1.3rem; }

/* ============ SEO CONTENT ============ */
.gde8-seo { color: var(--gde8-muted); font-size: 1.4rem; line-height: 1.7; }
.gde8-seo h2 { color: var(--gde8-gold); font-size: 2rem; margin: 1.8rem 0 .8rem; }
.gde8-seo h3 { color: #fff; font-size: 1.6rem; margin: 1.4rem 0 .6rem; }
.gde8-seo p { margin-bottom: 1rem; }
.gde8-seo ul { padding-left: 1.6rem; margin-bottom: 1rem; }
.gde8-seo li { margin-bottom: .5rem; list-style: disc; }
.gde8-seo strong { color: var(--gde8-rosy); }
.gde8-seo a { color: var(--gde8-gold); }

/* ============ FAQ ============ */
.gde8-faq-item {
  background: var(--gde8-surface); border-radius: 12px; margin-bottom: .8rem;
  border: 1px solid rgba(222,184,135,.12); overflow: hidden;
}
.gde8-faq-q {
  width: 100%; text-align: left; background: transparent; border: 0; cursor: pointer;
  padding: 1.2rem 1.4rem; color: #fff; font-size: 1.4rem; font-weight: 700;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.gde8-faq-q i { color: var(--gde8-gold); transition: transform .2s ease; }
.gde8-faq-item.gde8-faq-open .gde8-faq-q i { transform: rotate(45deg); }
.gde8-faq-a {
  max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease;
  padding: 0 1.4rem; color: var(--gde8-muted); font-size: 1.35rem; line-height: 1.6;
}
.gde8-faq-item.gde8-faq-open .gde8-faq-a { max-height: 600px; padding: 0 1.4rem 1.2rem; }

/* ============ FOOTER ============ */
.gde8-footer {
  background: var(--gde8-bg2); border-top: 1px solid rgba(222,184,135,.2);
  padding: 2.4rem 0 1rem; margin-top: 2rem;
}
.gde8-footer-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; margin-bottom: 1.6rem;
}
@media (min-width: 600px) { .gde8-footer-grid { grid-template-columns: repeat(4,1fr); } }
.gde8-footer-col h4 { color: var(--gde8-gold); font-size: 1.4rem; margin-bottom: .8rem; }
.gde8-footer-col a { display: block; color: var(--gde8-muted); font-size: 1.25rem; padding: .3rem 0; }
.gde8-footer-col a:hover { color: var(--gde8-gold); }
.gde8-footer-bottom {
  border-top: 1px solid rgba(222,184,135,.12); padding-top: 1.2rem;
  text-align: center; color: var(--gde8-muted); font-size: 1.2rem;
}
.gde8-footer-pay { display: flex; gap: .6rem; flex-wrap: wrap; margin: 1rem 0; justify-content: center; }
.gde8-pay-chip {
  background: var(--gde8-surface); color: var(--gde8-gold); padding: .4rem .9rem;
  border-radius: 8px; font-size: 1.1rem; font-weight: 600; border: 1px solid rgba(222,184,135,.15);
}

/* ============ BOTTOM NAV ============ */
.gde8-bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000;
  background: linear-gradient(180deg, rgba(47,44,42,.98), rgba(31,29,28,1));
  border-top: 1px solid rgba(222,184,135,.25);
  display: flex; justify-content: space-around; align-items: stretch;
  padding: .4rem 0; height: 62px;
}
.gde8-bottom-nav-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .2rem; min-width: 60px; min-height: 54px; background: transparent; border: 0;
  color: var(--gde8-muted); cursor: pointer; text-decoration: none; padding: .2rem;
  transition: color .15s ease, transform .15s ease;
}
.gde8-bottom-nav-btn:hover { text-decoration: none; }
.gde8-bottom-nav-btn i, .gde8-bottom-nav-btn .material-icons-outlined { font-size: 22px; }
.gde8-bottom-nav-btn span { font-size: 1rem; font-weight: 600; }
.gde8-bottom-nav-btn.active { color: var(--gde8-gold); }
.gde8-bottom-nav-btn.cta {
  background: linear-gradient(135deg, var(--gde8-gold), var(--gde8-sienna));
  color: #2a1d10; border-radius: 14px 14px 0 0; margin: -10px .3rem 0;
  padding-top: 1rem; box-shadow: 0 -4px 14px rgba(160,82,45,.5);
}
.gde8-bottom-nav-btn.cta i { font-size: 26px; }
.gde8-bottom-nav-btn.cta span { font-size: 1.05rem; }

@media (min-width: 769px) {
  .gde8-bottom-nav { display: none; }
}

/* mobile bottom padding for content clearance */
@media (max-width: 768px) {
  main, .gde8-footer { padding-bottom: 80px; }
  body { padding-bottom: 0; }
}

/* ============ REVEAL ANIM ============ */
.gde8-reveal { opacity: 0; transform: translateY(20px); transition: opacity .5s ease, transform .5s ease; }
.gde8-reveal.gde8-in { opacity: 1; transform: translateY(0); }

/* ============ BACK TO TOP ============ */
.gde8-totop {
  position: fixed; right: 1.2rem; bottom: 78px; z-index: 900;
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: linear-gradient(135deg, var(--gde8-gold), var(--gde8-sienna)); color: #2a1d10;
  font-size: 1.8rem; box-shadow: var(--gde8-shadow);
  display: grid; place-items: center;
}

/* ============ DESKTOP LAYOUT ============ */
@media (min-width: 769px) {
  .gde8-wrap { padding: 0 2rem; }
  body { font-size: 1.6rem; }
}

/* ============ H1 MASTHEAD ============ */
.gde8-h1 { font-size: 2.2rem; font-weight: 800; color: var(--gde8-white); line-height: 1.25; }
.gde8-h1-sub { color: var(--gde8-muted); font-size: 1.35rem; margin-top: .5rem; }

/* ============ SLIDE PHOTO LAYER ============ */
.gde8-slide { cursor: pointer; }
.gde8-slide-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: .55; z-index: 0;
}
.gde8-slide::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(31,29,28,.12), rgba(31,29,28,.78));
}

/* bottom nav ion-icon sizing */
.gde8-bottom-nav-btn ion-icon { font-size: 22px; }

/* ============ ARTICLE / HELP PAGE COMPONENTS ============ */
.gde8-page-head { padding: 2rem 0 .6rem; }
.gde8-badge-row { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.1rem; }
.gde8-badge {
  background: var(--gde8-surface); border: 1px solid rgba(222,184,135,.25); color: var(--gde8-gold);
  font-size: 1.15rem; font-weight: 700; padding: .45rem .9rem; border-radius: 999px;
  display: inline-flex; align-items: center; gap: .4rem;
}
.gde8-step {
  display: flex; gap: 1.2rem; background: var(--gde8-surface);
  border: 1px solid rgba(222,184,135,.12); border-radius: 12px; padding: 1.2rem; margin-bottom: .9rem;
}
.gde8-step-num {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gde8-gold), var(--gde8-sienna));
  color: #2a1d10; font-weight: 800; display: grid; place-items: center; font-size: 1.4rem;
}
.gde8-step h3 { color: #fff; font-size: 1.5rem; margin-bottom: .3rem; }
.gde8-step p { color: var(--gde8-muted); font-size: 1.3rem; }
.gde8-check-list { list-style: none; padding: 0; }
.gde8-check-list li {
  padding: .75rem 0 .75rem 2.6rem; position: relative; color: var(--gde8-muted);
  font-size: 1.35rem; border-bottom: 1px solid rgba(222,184,135,.08);
}
.gde8-check-list li::before {
  content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  position: absolute; left: .3rem; color: var(--gde8-gold);
}
.gde8-mini-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; }
@media (min-width: 600px) { .gde8-mini-grid { grid-template-columns: repeat(6, 1fr); } }
.gde8-mini-card {
  background: var(--gde8-surface); border-radius: 10px; overflow: hidden;
  border: 1px solid rgba(222,184,135,.12); transition: transform .18s ease, border-color .18s ease;
}
.gde8-mini-card:hover { transform: translateY(-2px); border-color: rgba(222,184,135,.4); text-decoration: none; }
.gde8-mini-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.gde8-mini-card div {
  font-size: 1.05rem; text-align: center; padding: .4rem .2rem; color: var(--gde8-muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.gde8-pay-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.gde8-pay-item {
  background: var(--gde8-surface); border: 1px solid rgba(222,184,135,.12);
  border-radius: 12px; padding: 1rem; display: flex; gap: .8rem; align-items: center;
}
.gde8-pay-item i { color: var(--gde8-gold); font-size: 1.9rem; }
.gde8-pay-item h4 { color: #fff; font-size: 1.35rem; }
.gde8-pay-item p { color: var(--gde8-muted); font-size: 1.15rem; }
.gde8-trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.gde8-trust {
  background: var(--gde8-surface); border-radius: 12px; padding: 1.2rem; text-align: center;
  border: 1px solid rgba(222,184,135,.15);
}
.gde8-trust i { font-size: 2.4rem; color: var(--gde8-gold); margin-bottom: .5rem; }
.gde8-trust h4 { color: #fff; font-size: 1.35rem; margin-bottom: .3rem; }
.gde8-trust p { color: var(--gde8-muted); font-size: 1.15rem; }
.gde8-inline-cta { display: flex; gap: .9rem; flex-wrap: wrap; margin: 1.2rem 0; }
.gde8-seo .gde8-inline-cta { margin-top: 1.4rem; }
