/* =========================================================
 * c54366.click - theme stylesheet
 * All custom classes use prefix "gd4c-".
 * Palette: #00E5FF (primary) | #0E1621 (bg) | #B2DFDB (soft)
 * Mobile-first. Root font-size 62.5% => 1rem = 10px.
 * ========================================================= */

:root {
  --gd4c-primary: #00E5FF;
  --gd4c-primary-dark: #00b8cc;
  --gd4c-bg: #0E1621;
  --gd4c-bg-2: #14202e;
  --gd4c-bg-3: #1c2a3a;
  --gd4c-soft: #B2DFDB;
  --gd4c-text: #eaf6f6;
  --gd4c-text-dim: #9fb3bd;
  --gd4c-accent: #ffd34d;
  --gd4c-danger: #ff5a6e;
  --gd4c-radius: 14px;
  --gd4c-shadow: 0 6px 20px rgba(0, 0, 0, .35);
  --gd4c-header-h: 56px;
  --gd4c-bottom-h: 62px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Roboto, Arial, sans-serif;
  background: var(--gd4c-bg);
  color: var(--gd4c-text);
  font-size: 1.5rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--gd4c-primary); text-decoration: none; }
a:hover { color: var(--gd4c-soft); }

h1, h2, h3, h4 { line-height: 1.3; margin: 0 0 1rem; }

.gd4c-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.4rem;
}

.gd4c-wrapper { width: 100%; }

/* ---------- Header ---------- */
.gd4c-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--gd4c-header-h);
  background: rgba(14, 22, 33, .96);
  border-bottom: 1px solid rgba(0, 229, 255, .25);
  z-index: 1000;
  display: flex;
  align-items: center;
}
.gd4c-header .gd4c-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.gd4c-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: var(--gd4c-text);
  font-weight: 800;
  font-size: 1.9rem;
}
.gd4c-logo img { width: 28px; height: 28px; border-radius: 6px; }
.gd4c-logo span { background: linear-gradient(90deg, var(--gd4c-primary), var(--gd4c-soft)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.gd4c-header-actions { display: flex; align-items: center; gap: .6rem; }

.gd4c-menu-toggle {
  background: transparent;
  border: 1px solid rgba(0, 229, 255, .35);
  color: var(--gd4c-primary);
  width: 36px; height: 36px;
  border-radius: 8px;
  font-size: 1.8rem;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}

.gd4c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  border: none;
  border-radius: 999px;
  padding: .7rem 1.2rem;
  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  min-height: 38px;
}
.gd4c-btn-primary {
  background: linear-gradient(135deg, var(--gd4c-primary), var(--gd4c-primary-dark));
  color: #06222a;
  box-shadow: 0 4px 12px rgba(0, 229, 255, .35);
}
.gd4c-btn-ghost {
  background: transparent;
  color: var(--gd4c-primary);
  border: 1px solid var(--gd4c-primary);
}
.gd4c-btn-accent {
  background: linear-gradient(135deg, var(--gd4c-accent), #f7a300);
  color: #2a1a00;
  box-shadow: 0 4px 12px rgba(255, 211, 77, .35);
}
.gd4c-btn:hover { transform: translateY(-1px); }
.gd4c-btn:active { transform: scale(.97); }

/* ---------- Expandable nav menu ---------- */
.gd4c-nav-menu {
  position: fixed;
  top: var(--gd4c-header-h);
  left: 0; right: 0;
  background: var(--gd4c-bg-2);
  border-bottom: 1px solid rgba(0, 229, 255, .2);
  max-height: 0;
  overflow: hidden;
  transition: max-height .28s ease;
  z-index: 9999;
}
.gd4c-nav-menu.gd4c-open { max-height: 480px; }
.gd4c-nav-menu .gd4c-container {
  padding: 1rem 1.4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .8rem;
}
.gd4c-nav-menu a {
  display: block;
  padding: .8rem 1rem;
  background: var(--gd4c-bg-3);
  border-radius: 10px;
  color: var(--gd4c-text);
  font-size: 1.35rem;
  font-weight: 600;
}
.gd4c-nav-menu a::before {
  content: "\f054";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--gd4c-primary);
  margin-right: .5rem;
  font-size: 1rem;
}

/* ---------- Main ---------- */
.gd4c-main { padding-top: calc(var(--gd4c-header-h) + 1rem); }

/* ---------- Hero carousel ---------- */
.gd4c-hero {
  position: relative;
  border-radius: var(--gd4c-radius);
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: var(--gd4c-shadow);
}
.gd4c-slide {
  display: none;
  position: relative;
  cursor: pointer;
}
.gd4c-slide.gd4c-active { display: block; }
.gd4c-slide img { width: 100%; height: 180px; object-fit: cover; }
.gd4c-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14,22,33,.15) 30%, rgba(14,22,33,.85));
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.gd4c-slide-overlay h2 { color: var(--gd4c-text); font-size: 1.9rem; margin-bottom: .4rem; }
.gd4c-slide-overlay p { color: var(--gd4c-soft); font-size: 1.3rem; margin: 0 0 .8rem; }
.gd4c-dots {
  position: absolute;
  bottom: 8px; left: 0; right: 0;
  display: flex; justify-content: center; gap: .5rem;
}
.gd4c-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.4); cursor: pointer;
}
.gd4c-dot.gd4c-active { background: var(--gd4c-primary); width: 20px; border-radius: 4px; }

/* ---------- Section heading ---------- */
.gd4c-section { margin-bottom: 2.2rem; }
.gd4c-section-title {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: 1.7rem;
  margin-bottom: 1rem;
  color: var(--gd4c-text);
  border-left: 4px solid var(--gd4c-primary);
  padding-left: .8rem;
}
.gd4c-section-title i { color: var(--gd4c-primary); }

/* ---------- Category tabs ---------- */
.gd4c-cat-tabs {
  display: flex;
  gap: .6rem;
  overflow-x: auto;
  padding-bottom: .6rem;
  margin-bottom: 1rem;
  scrollbar-width: none;
}
.gd4c-cat-tabs::-webkit-scrollbar { display: none; }
.gd4c-cat-tab {
  flex: 0 0 auto;
  padding: .55rem 1.1rem;
  border-radius: 999px;
  background: var(--gd4c-bg-3);
  color: var(--gd4c-text-dim);
  font-size: 1.25rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}
.gd4c-cat-tab.gd4c-active {
  background: var(--gd4c-primary);
  color: #06222a;
}

/* ---------- Game grid ---------- */
.gd4c-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .8rem;
}
.gd4c-card {
  background: var(--gd4c-bg-2);
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  cursor: pointer;
  border: 1px solid rgba(0, 229, 255, .12);
  transition: transform .15s ease, border-color .15s ease;
}
.gd4c-card:hover { transform: translateY(-2px); border-color: var(--gd4c-primary); }
.gd4c-card img { width: 100%; height: 88px; object-fit: cover; }
.gd4c-card-name {
  font-size: 1.15rem;
  padding: .5rem .4rem;
  color: var(--gd4c-text);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- Info / feature blocks ---------- */
.gd4c-card-info {
  background: var(--gd4c-bg-2);
  border-radius: var(--gd4c-radius);
  padding: 1.4rem;
  border: 1px solid rgba(0, 229, 255, .12);
  margin-bottom: 1rem;
}
.gd4c-card-info h3 { color: var(--gd4c-primary); font-size: 1.45rem; }
.gd4c-card-info p { color: var(--gd4c-text-dim); margin: 0; }

.gd4c-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .8rem;
}
.gd4c-feature {
  background: var(--gd4c-bg-2);
  padding: 1.1rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 229, 255, .12);
  text-align: center;
}
.gd4c-feature i { font-size: 2.2rem; color: var(--gd4c-primary); margin-bottom: .4rem; display: inline-block; }
.gd4c-feature h4 { font-size: 1.3rem; margin: 0 0 .3rem; color: var(--gd4c-text); }
.gd4c-feature p { font-size: 1.15rem; color: var(--gd4c-text-dim); margin: 0; }

/* ---------- Prominent promo CTA ---------- */
.gd4c-cta {
  background: linear-gradient(135deg, rgba(0,229,255,.18), rgba(178,223,219,.08));
  border-radius: var(--gd4c-radius);
  padding: 1.6rem;
  text-align: center;
  border: 1px solid rgba(0, 229, 255, .3);
  margin-bottom: 1.5rem;
}
.gd4c-cta h3 { color: var(--gd4c-primary); font-size: 1.8rem; }
.gd4c-cta p { color: var(--gd4c-text-dim); margin: .3rem 0 1rem; }

/* ---------- FAQ ---------- */
.gd4c-faq-item {
  background: var(--gd4c-bg-2);
  border-radius: 10px;
  margin-bottom: .7rem;
  overflow: hidden;
  border: 1px solid rgba(0, 229, 255, .1);
}
.gd4c-faq-q {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  color: var(--gd4c-text);
  font-weight: 700;
  font-size: 1.35rem;
  padding: 1rem 1.2rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.gd4c-faq-q i { color: var(--gd4c-primary); transition: transform .2s; }
.gd4c-faq-item.gd4c-open .gd4c-faq-q i { transform: rotate(45deg); }
.gd4c-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
  padding: 0 1.2rem;
  color: var(--gd4c-text-dim);
}
.gd4c-faq-item.gd4c-open .gd4c-faq-a { max-height: 280px; padding-bottom: 1rem; }

/* ---------- Testimonial ---------- */
.gd4c-testi {
  background: var(--gd4c-bg-2);
  border-radius: 12px;
  padding: 1.1rem;
  margin-bottom: .8rem;
  border-left: 3px solid var(--gd4c-primary);
}
.gd4c-testi .gd4c-stars { color: var(--gd4c-accent); font-size: 1.2rem; margin-bottom: .3rem; }
.gd4c-testi p { margin: 0 0 .5rem; color: var(--gd4c-text); }
.gd4c-testi span { color: var(--gd4c-text-dim); font-size: 1.15rem; }

/* ---------- Footer ---------- */
.gd4c-footer {
  background: var(--gd4c-bg-2);
  border-top: 1px solid rgba(0, 229, 255, .2);
  padding: 2rem 0 6rem;
}
.gd4c-footer h4 { color: var(--gd4c-primary); font-size: 1.4rem; margin-bottom: .8rem; }
.gd4c-footer p { color: var(--gd4c-text-dim); font-size: 1.25rem; }
.gd4c-footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .6rem;
  margin: 1rem 0;
}
.gd4c-footer-links a {
  color: var(--gd4c-text);
  font-size: 1.25rem;
  padding: .4rem .2rem;
}
.gd4c-footer-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin: 1rem 0;
}
.gd4c-copyright {
  text-align: center;
  color: var(--gd4c-text-dim);
  font-size: 1.15rem;
  margin-top: 1.4rem;
}

/* ---------- Mobile bottom navigation ---------- */
.gd4c-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--gd4c-bottom-h);
  background: rgba(14, 22, 33, .98);
  border-top: 1px solid rgba(0, 229, 255, .25);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  padding: 0 .3rem;
}
.gd4c-bottom-nav button {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--gd4c-text-dim);
  font-size: 1.1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .2rem;
  min-width: 60px;
  min-height: 60px;
  cursor: pointer;
  border-radius: 10px;
  transition: color .15s, transform .15s;
}
.gd4c-bottom-nav button i,
.gd4c-bottom-nav button .material-icons-outlined {
  font-size: 22px;
}
.gd4c-bottom-nav button:hover { color: var(--gd4c-primary); }
.gd4c-bottom-nav button:active { transform: scale(.9); }
.gd4c-bottom-nav button.gd4c-current,
.gd4c-bottom-nav button.gd4c-promo {
  color: var(--gd4c-primary);
}

/* ---------- Promo text link styling ---------- */
.gd4c-promo-link {
  color: var(--gd4c-accent);
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}
.gd4c-promo-link:hover { color: var(--gd4c-primary); }

/* ---------- Desktop rules ---------- */
@media (min-width: 769px) {
  body { background: #0a1119; }
  .gd4c-container { max-width: 960px; }
  .gd4c-bottom-nav { display: none; }
  .gd4c-footer { padding-bottom: 2rem; }
  .gd4c-grid { grid-template-columns: repeat(6, 1fr); }
  .gd4c-features { grid-template-columns: repeat(4, 1fr); }
  .gd4c-footer-links { grid-template-columns: repeat(3, 1fr); }
  .gd4c-slide img { height: 320px; }
}

/* Mobile bottom padding for content clearance */
@media (max-width: 768px) {
  .gd4c-main { padding-bottom: calc(var(--gd4c-bottom-h) + 1.5rem); }
}
