/* ===========================================================
   88clb link 88clb - theme-edd2.css
   Prefix: gd26-
   Palette: #F08080 | #ADB5BD | #FFB347 | #262626
   Mobile-first, max 430px
   =========================================================== */

:root {
  --gd26-coral: #F08080;
  --gd26-gray: #ADB5BD;
  --gd26-orange: #FFB347;
  --gd26-dark: #262626;
  --gd26-darker: #1c1c1c;
  --gd26-card: #2f2f2f;
  --gd26-light: #f5f5f5;
  --gd26-muted: #cfcfcf;
  --gd26-shadow: 0 4px 18px rgba(0,0,0,.35);
  --gd26-radius: 14px;
}

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

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

body {
  font-family: "Segoe UI", "Roboto", "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  background: var(--gd26-dark);
  color: var(--gd26-light);
  line-height: 1.6;
  font-size: 1.5rem;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--gd26-orange); text-decoration: none; }
a:hover { color: var(--gd26-coral); }
img { max-width: 100%; display: block; }

/* ============ Header ============ */
.gd26-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: linear-gradient(135deg, #1f1f1f 0%, #2a2a2a 100%);
  border-bottom: 2px solid var(--gd26-coral);
  box-shadow: var(--gd26-shadow);
}
.gd26-logo-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}
.gd26-logo-img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--gd26-orange);
  object-fit: cover;
}
.gd26-logo-text {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gd26-orange);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: .3px;
}
.gd26-logo-text small {
  display: block;
  font-size: 1rem;
  color: var(--gd26-gray);
  font-weight: 400;
}

.gd26-header-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
.gd26-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.3rem;
  padding: 9px 14px;
  border-radius: 30px;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}
.gd26-btn:active { transform: scale(.95); }
.gd26-btn-login {
  background: transparent;
  color: var(--gd26-light);
  border: 1.5px solid var(--gd26-gray);
}
.gd26-btn-login:hover { color: var(--gd26-orange); border-color: var(--gd26-orange); }
.gd26-btn-register {
  background: linear-gradient(135deg, var(--gd26-coral), var(--gd26-orange));
  color: #1a1a1a;
  box-shadow: 0 4px 12px rgba(240,128,128,.45);
}
.gd26-btn-register:hover { opacity: .92; }

.gd26-menu-toggle {
  background: transparent;
  border: none;
  color: var(--gd26-light);
  font-size: 2.2rem;
  cursor: pointer;
  padding: 4px 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============ Mobile menu drawer ============ */
.gd26-menu-mask {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease;
}
.gd26-menu-mask.gd26-show { opacity: 1; visibility: visible; }
.gd26-mobile-menu {
  position: fixed;
  top: 0;
  right: -80%;
  width: 80%;
  max-width: 320px;
  height: 100%;
  background: #202020;
  z-index: 9999;
  padding: 20px 16px;
  overflow-y: auto;
  transition: right .3s ease;
  border-left: 2px solid var(--gd26-coral);
}
.gd26-mobile-menu.gd26-open { right: 0; }
.gd26-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid #3a3a3a;
}
.gd26-menu-title {
  color: var(--gd26-orange);
  font-weight: 700;
  font-size: 1.7rem;
}
.gd26-menu-close {
  background: transparent;
  border: none;
  color: var(--gd26-light);
  font-size: 2rem;
  cursor: pointer;
}
.gd26-menu-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 10px;
  color: var(--gd26-light);
  border-radius: 10px;
  font-size: 1.4rem;
  border-bottom: 1px solid #333;
  transition: background .15s ease;
}
.gd26-menu-link:hover, .gd26-menu-link:focus {
  background: rgba(255,179,71,.12);
  color: var(--gd26-orange);
}
.gd26-menu-link i { width: 22px; text-align: center; color: var(--gd26-coral); }

/* ============ Hero / Slider ============ */
.gd26-hero {
  position: relative;
  margin: 12px;
  border-radius: var(--gd26-radius);
  overflow: hidden;
  box-shadow: var(--gd26-shadow);
}
.gd26-slider { position: relative; }
.gd26-slide {
  display: none;
  position: relative;
  min-height: 200px;
}
.gd26-slide.gd26-active { display: block; }
.gd26-slide img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.gd26-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(38,38,38,.1) 0%, rgba(38,38,38,.85) 100%);
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
}
.gd26-slide-title {
  font-size: 1.9rem;
  font-weight: 800;
  margin-bottom: 4px;
  color: var(--gd26-orange);
  text-shadow: 0 2px 6px rgba(0,0,0,.6);
}
.gd26-slide-desc {
  font-size: 1.25rem;
  color: #f0f0f0;
  margin-bottom: 10px;
}
.gd26-slide-cta {
  align-self: flex-start;
  background: linear-gradient(135deg, var(--gd26-coral), var(--gd26-orange));
  color: #1a1a1a;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 24px;
  font-size: 1.25rem;
}
.gd26-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,.5);
  color: #fff;
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1.6rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}
.gd26-slider-arrow:hover { background: var(--gd26-coral); }
.gd26-arrow-prev { left: 8px; }
.gd26-arrow-next { right: 8px; }
.gd26-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 5;
}
.gd26-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  border: none;
  cursor: pointer;
}
.gd26-dot.gd26-active { background: var(--gd26-coral); width: 18px; border-radius: 4px; }

/* ============ Marquee notice ============ */
.gd26-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #1f1f1f;
  margin: 0 12px 12px;
  padding: 8px 12px;
  border-radius: 10px;
  border-left: 3px solid var(--gd26-orange);
  font-size: 1.25rem;
}
.gd26-notice i { color: var(--gd26-coral); }
.gd26-notice span { color: var(--gd26-muted); }

/* ============ Section ============ */
.gd26-section {
  padding: 14px 12px 8px;
}
.gd26-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--gd26-light);
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--gd26-coral);
}
.gd26-section-title i { color: var(--gd26-orange); font-size: 2rem; }
.gd26-section-title small {
  margin-left: auto;
  font-size: 1.15rem;
  color: var(--gd26-gray);
  font-weight: 400;
}

/* ============ Filter tabs ============ */
.gd26-filter-bar {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 4px 12px 12px;
  scrollbar-width: none;
}
.gd26-filter-bar::-webkit-scrollbar { display: none; }
.gd26-filter-tab {
  flex: 0 0 auto;
  padding: 7px 14px;
  background: #2a2a2a;
  color: var(--gd26-muted);
  border-radius: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid #3a3a3a;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.gd26-filter-tab.gd26-active {
  background: linear-gradient(135deg, var(--gd26-coral), var(--gd26-orange));
  color: #1a1a1a;
  border-color: transparent;
}

/* ============ Game grid ============ */
.gd26-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 4px 12px 12px;
}
.gd26-game-card {
  background: var(--gd26-card);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  transition: transform .15s ease, box-shadow .15s ease;
  border: 1px solid #3a3a3a;
  display: block;
  color: var(--gd26-light);
}
.gd26-game-card:active { transform: scale(.96); }
.gd26-game-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #222;
}
.gd26-game-name {
  font-size: 1.15rem;
  font-weight: 600;
  padding: 6px 8px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--gd26-light);
}
.gd26-game-tag {
  position: absolute;
  top: 6px;
  left: 6px;
  background: var(--gd26-coral);
  color: #1a1a1a;
  font-size: .95rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 6px;
  z-index: 2;
}
.gd26-game-tag.hot { background: var(--gd26-orange); }

/* Featured 2-col */
.gd26-featured-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 4px 12px 12px;
}
.gd26-featured-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  min-height: 130px;
  display: flex;
  align-items: flex-end;
  background: #222;
  border: 1px solid #3a3a3a;
}
.gd26-featured-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gd26-featured-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 10px;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.85) 100%);
}
.gd26-featured-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.gd26-featured-sub {
  font-size: 1.1rem;
  color: var(--gd26-orange);
}

/* ============ Promo banner CTA ============ */
.gd26-promo-banner {
  margin: 14px 12px;
  padding: 18px 16px;
  background: linear-gradient(135deg, var(--gd26-coral) 0%, var(--gd26-orange) 100%);
  border-radius: var(--gd26-radius);
  color: #1a1a1a;
  text-align: center;
  box-shadow: var(--gd26-shadow);
}
.gd26-promo-banner h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 6px;
}
.gd26-promo-banner p {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: #2a2a2a;
}
.gd26-promo-banner .gd26-btn {
  background: #1a1a1a;
  color: var(--gd26-orange);
  padding: 10px 22px;
  font-size: 1.35rem;
}

/* ============ SEO content ============ */
.gd26-seo-content {
  padding: 8px 14px 14px;
  font-size: 1.35rem;
  color: var(--gd26-muted);
  line-height: 1.7;
}
.gd26-seo-content h2 {
  color: var(--gd26-orange);
  font-size: 1.7rem;
  margin: 16px 0 8px;
  font-weight: 800;
}
.gd26-seo-content h3 {
  color: var(--gd26-coral);
  font-size: 1.45rem;
  margin: 14px 0 6px;
  font-weight: 700;
}
.gd26-seo-content p { margin-bottom: 10px; }
.gd26-seo-content ul { margin: 8px 0 10px 20px; }
.gd26-seo-content li { margin-bottom: 6px; list-style: disc; }
.gd26-seo-content strong { color: var(--gd26-light); }
.gd26-seo-content a { color: var(--gd26-orange); text-decoration: underline; }

/* Inline link list (internal pages) */
.gd26-inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 4px 14px 14px;
}
.gd26-inline-link {
  background: #2a2a2a;
  color: var(--gd26-light);
  padding: 6px 12px;
  border-radius: 18px;
  font-size: 1.15rem;
  border: 1px solid #3a3a3a;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.gd26-inline-link:hover { color: var(--gd26-orange); border-color: var(--gd26-orange); }

/* ============ FAQ ============ */
.gd26-faq-list { padding: 4px 14px 14px; }
.gd26-faq-item {
  background: var(--gd26-card);
  border-radius: 10px;
  margin-bottom: 10px;
  border: 1px solid #3a3a3a;
  overflow: hidden;
}
.gd26-faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  font-weight: 700;
  color: var(--gd26-light);
  cursor: pointer;
  font-size: 1.3rem;
}
.gd26-faq-q i { color: var(--gd26-orange); transition: transform .2s; }
.gd26-faq-item.gd26-open .gd26-faq-q i { transform: rotate(180deg); }
.gd26-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease, padding .25s ease;
  padding: 0 14px;
  color: var(--gd26-muted);
  font-size: 1.25rem;
}
.gd26-faq-item.gd26-open .gd26-faq-a {
  max-height: 400px;
  padding: 0 14px 12px;
}

/* ============ Footer ============ */
.gd26-footer {
  background: #1a1a1a;
  padding: 20px 14px 30px;
  margin-top: 12px;
  border-top: 2px solid var(--gd26-coral);
}
.gd26-footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.gd26-footer-col h4 {
  color: var(--gd26-orange);
  font-size: 1.35rem;
  margin-bottom: 8px;
  font-weight: 700;
}
.gd26-footer-col a {
  display: block;
  color: var(--gd26-muted);
  font-size: 1.2rem;
  padding: 3px 0;
}
.gd26-footer-col a:hover { color: var(--gd26-coral); }
.gd26-footer-about {
  grid-column: 1 / -1;
  color: var(--gd26-muted);
  font-size: 1.2rem;
  line-height: 1.6;
}
.gd26-footer-bottom {
  text-align: center;
  padding-top: 12px;
  border-top: 1px solid #333;
  color: var(--gd26-gray);
  font-size: 1.1rem;
}
.gd26-footer-social {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 12px;
}
.gd26-footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #2a2a2a;
  color: var(--gd26-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}
.gd26-footer-social a:hover { background: var(--gd26-coral); color: #1a1a1a; }

/* ============ Bottom nav ============ */
.gd26-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 62px;
  background: linear-gradient(180deg, #1f1f1f, #161616);
  border-top: 2px solid var(--gd26-coral);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -4px 16px rgba(0,0,0,.5);
}
.gd26-nav-btn {
  flex: 1;
  min-width: 60px;
  min-height: 60px;
  background: transparent;
  border: none;
  color: var(--gd26-gray);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  font-size: 1rem;
  padding: 4px;
  transition: color .15s ease, transform .15s ease;
}
.gd26-nav-btn i { font-size: 2.2rem; }
.gd26-nav-btn:hover, .gd26-nav-btn:focus { color: var(--gd26-orange); }
.gd26-nav-btn:active { transform: scale(.92); }
.gd26-nav-btn.gd26-nav-active { color: var(--gd26-coral); }
.gd26-nav-btn.gd26-nav-promo {
  color: var(--gd26-orange);
}
.gd26-nav-btn.gd26-nav-promo i {
  background: linear-gradient(135deg, var(--gd26-coral), var(--gd26-orange));
  color: #1a1a1a;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-top: -18px;
  box-shadow: 0 4px 10px rgba(240,128,128,.5);
  border: 3px solid #1f1f1f;
}

/* Main content padding-bottom for bottom nav */
main { padding-bottom: 80px; }

/* Back to top */
.gd26-back-top {
  position: fixed;
  right: 14px;
  bottom: 76px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gd26-coral);
  color: #1a1a1a;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  cursor: pointer;
  z-index: 999;
  box-shadow: var(--gd26-shadow);
  opacity: .9;
}

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

/* ============ Small screens fine-tune ============ */
@media (max-width: 360px) {
  .gd26-game-grid { grid-template-columns: repeat(2, 1fr); }
  .gd26-logo-text { font-size: 1.35rem; }
  .gd26-btn { padding: 8px 11px; font-size: 1.2rem; }
}
