/* ============================================================
   Lucky Taya - Core stylesheet (mobile-first)
   Prefix : gc7d-
   Site   : luckytaya.cyou
   Palette: #141414 | #FF4500 | #FF1493
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --gc7d-bg: #141414;
  --gc7d-bg-elev: #1f1f1f;
  --gc7d-bg-card: #2a2a2a;
  --gc7d-bg-deep: #0d0d0d;
  --gc7d-primary: #FF4500;
  --gc7d-primary-dark: #cc3700;
  --gc7d-secondary: #FF1493;
  --gc7d-secondary-dark: #c90f72;
  --gc7d-gold: #FFD700;
  --gc7d-text: #ffffff;
  --gc7d-text-muted: #b8b8b8;
  --gc7d-border: rgba(255, 255, 255, 0.08);
  --gc7d-radius: 12px;
  --gc7d-radius-lg: 18px;
  --gc7d-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  --gc7d-header-h: 56px;
  --gc7d-bottomnav-h: 62px;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--gc7d-bg);
  color: var(--gc7d-text);
  line-height: 1.5;
  font-size: 1.5rem;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }

/* ---------- Layout ---------- */
.gc7d-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 1.2rem; }
.gc7d-wrapper { min-height: 100vh; display: flex; flex-direction: column; }
main.gc7d-main { flex: 1; padding-top: var(--gc7d-header-h); }

/* ---------- Header ---------- */
.gc7d-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--gc7d-header-h);
  background: linear-gradient(90deg, #141414 0%, #1c1c1c 100%);
  border-bottom: 1px solid var(--gc7d-border);
  display: flex; align-items: center;
}
.gc7d-header-inner {
  width: 100%; max-width: 430px; margin: 0 auto; padding: 0 1rem;
  display: flex; align-items: center; justify-content: space-between; gap: 0.6rem;
}
.gc7d-brand { display: flex; align-items: center; gap: 0.6rem; }
.gc7d-logo { width: 30px; height: 30px; border-radius: 8px; object-fit: cover; }
.gc7d-brand-name {
  font-size: 1.8rem; font-weight: 800; letter-spacing: 0.3px; white-space: nowrap;
  background: linear-gradient(90deg, var(--gc7d-primary), var(--gc7d-secondary));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.gc7d-header-actions { display: flex; align-items: center; gap: 0.5rem; }
.gc7d-menu-btn {
  width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: var(--gc7d-text); border-radius: 10px;
}

/* ---------- Buttons ---------- */
.gc7d-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.7rem 1.2rem; font-size: 1.3rem; font-weight: 700; border-radius: 999px;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
  min-height: 38px; line-height: 1; white-space: nowrap;
}
.gc7d-btn:active { transform: scale(0.96); }
.gc7d-btn-primary {
  background: linear-gradient(90deg, var(--gc7d-primary), var(--gc7d-secondary));
  color: #fff; box-shadow: 0 4px 14px rgba(255, 69, 0, 0.35);
}
.gc7d-btn-secondary {
  background: rgba(255, 255, 255, 0.08); color: var(--gc7d-text);
  border: 1px solid var(--gc7d-border);
}
.gc7d-btn-gold { background: linear-gradient(90deg, var(--gc7d-gold), #ffb300); color: #1a1a1a; }
.gc7d-btn-block { display: flex; width: 100%; }
.gc7d-btn-lg { padding: 1rem 1.4rem; font-size: 1.5rem; min-height: 46px; }

/* ---------- Mobile menu ---------- */
.gc7d-mobile-menu {
  position: fixed; top: 0; right: -85%; width: 80%; max-width: 320px; height: 100vh;
  background: var(--gc7d-bg-elev); z-index: 9999;
  transition: right .3s ease; padding: 5.6rem 1.2rem 2rem; overflow-y: auto;
  border-left: 1px solid var(--gc7d-border); box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
}
.gc7d-mobile-menu.gc7d-open { right: 0; }
.gc7d-overlay {
  position: fixed; inset: 0; background: rgba(0, 0, 0, 0.6); z-index: 9998;
  opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease;
}
.gc7d-overlay.gc7d-open { opacity: 1; visibility: visible; }
.gc7d-menu-close {
  position: absolute; top: 1rem; right: 1rem; width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center; font-size: 2rem; color: var(--gc7d-text);
}
.gc7d-menu-title {
  font-size: 1.2rem; color: var(--gc7d-text-muted); margin-bottom: 0.8rem;
  text-transform: uppercase; letter-spacing: 1px;
}
.gc7d-menu-list { display: flex; flex-direction: column; gap: 0.2rem; }
.gc7d-menu-list a {
  display: flex; align-items: center; gap: 0.8rem; padding: 1rem 0.8rem;
  border-radius: 10px; font-size: 1.4rem; font-weight: 600; color: var(--gc7d-text);
  transition: background .15s ease;
}
.gc7d-menu-list a:hover, .gc7d-menu-list a:active { background: rgba(255, 69, 0, 0.12); }
.gc7d-menu-list .material-icons-outlined, .gc7d-menu-list .material-icons { font-size: 22px; color: var(--gc7d-primary); }
.gc7d-menu-promos { margin-top: 1.4rem; display: flex; flex-direction: column; gap: 0.7rem; }

/* ---------- Hero / Carousel ---------- */
.gc7d-hero { margin: 1rem 0 0.5rem; }
.gc7d-carousel { position: relative; border-radius: var(--gc7d-radius-lg); overflow: hidden; box-shadow: var(--gc7d-shadow); }
.gc7d-slides { display: flex; transition: transform .4s ease; }
.gc7d-slide { min-width: 100%; position: relative; cursor: pointer; }
.gc7d-slide img { width: 100%; height: 180px; object-fit: cover; }
.gc7d-slide-overlay {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1rem 1.2rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.88));
}
.gc7d-slide-title { font-size: 1.8rem; font-weight: 800; margin-bottom: 0.3rem; color: #fff; }
.gc7d-slide-sub { font-size: 1.2rem; color: rgba(255, 255, 255, 0.85); margin-bottom: 0.7rem; }
.gc7d-carousel-dots { display: flex; justify-content: center; gap: 0.5rem; padding: 0.6rem 0; }
.gc7d-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.3); transition: all .2s ease; cursor: pointer; }
.gc7d-dot.gc7d-active { background: var(--gc7d-primary); width: 22px; border-radius: 4px; }

/* ---------- Section ---------- */
.gc7d-section { padding: 1.6rem 0 0.4rem; scroll-margin-top: 64px; }
.gc7d-section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.gc7d-section-title {
  font-size: 1.7rem; font-weight: 800; display: flex; align-items: center; gap: 0.5rem;
}
.gc7d-section-title .gc7d-bar {
  width: 4px; height: 18px; background: linear-gradient(var(--gc7d-primary), var(--gc7d-secondary));
  border-radius: 2px;
}
.gc7d-section-link { font-size: 1.2rem; color: var(--gc7d-primary); font-weight: 600; }

/* ---------- Category tag ---------- */
.gc7d-cat-tag {
  display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.3rem 0.9rem;
  font-size: 1.1rem; font-weight: 700; border-radius: 999px; margin-bottom: 0.7rem;
  background: rgba(255, 20, 147, 0.15); color: var(--gc7d-secondary);
}
.gc7d-cat-tag.gc7d-tag-hot { background: rgba(255, 69, 0, 0.18); color: var(--gc7d-primary); }
.gc7d-cat-tag.gc7d-tag-slot { background: rgba(255, 215, 0, 0.15); color: var(--gc7d-gold); }

/* ---------- Game grid ---------- */
.gc7d-game-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem; }
.gc7d-game-card {
  display: flex; flex-direction: column; align-items: center; gap: 0.3rem;
  background: var(--gc7d-bg-elev); border-radius: var(--gc7d-radius); padding: 0.5rem;
  border: 1px solid var(--gc7d-border);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  text-align: center;
}
.gc7d-game-card:active { transform: scale(0.96); }
.gc7d-game-card:hover { box-shadow: 0 6px 18px rgba(255, 69, 0, 0.22); border-color: rgba(255, 69, 0, 0.45); }
.gc7d-game-thumb { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; background: #000; }
.gc7d-game-name {
  font-size: 1.1rem; font-weight: 600; color: var(--gc7d-text); line-height: 1.25; min-height: 2.6em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* ---------- Generic card ---------- */
.gc7d-card {
  background: var(--gc7d-bg-elev); border-radius: var(--gc7d-radius-lg); padding: 1.2rem;
  border: 1px solid var(--gc7d-border); box-shadow: var(--gc7d-shadow);
}
.gc7d-card h2 { font-size: 1.6rem; font-weight: 800; margin-bottom: 0.6rem; }
.gc7d-card h3 { font-size: 1.4rem; font-weight: 700; margin: 0.9rem 0 0.4rem; color: var(--gc7d-primary); }
.gc7d-card p { color: var(--gc7d-text-muted); margin-bottom: 0.6rem; font-size: 1.3rem; }
.gc7d-card p strong { color: var(--gc7d-text); }
.gc7d-card a.gc7d-link-text { color: var(--gc7d-primary); font-weight: 700; }

/* ---------- Steps ---------- */
.gc7d-steps { display: flex; flex-direction: column; gap: 0.8rem; }
.gc7d-steps li { display: flex; gap: 0.8rem; align-items: flex-start; }
.gc7d-step-num {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: linear-gradient(var(--gc7d-primary), var(--gc7d-secondary));
  color: #fff; font-weight: 800; font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
}
.gc7d-step-text { font-size: 1.3rem; color: var(--gc7d-text-muted); line-height: 1.5; }
.gc7d-step-text strong { color: var(--gc7d-text); }

/* ---------- Feature grid ---------- */
.gc7d-feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
.gc7d-feature {
  background: var(--gc7d-bg-card); border-radius: var(--gc7d-radius); padding: 1rem;
  text-align: center; border: 1px solid var(--gc7d-border);
}
.gc7d-feature-ic { font-size: 2.6rem; color: var(--gc7d-primary); margin-bottom: 0.4rem; }
.gc7d-feature h4 { font-size: 1.3rem; font-weight: 700; margin-bottom: 0.3rem; }
.gc7d-feature p { font-size: 1.15rem; color: var(--gc7d-text-muted); }

/* ---------- RTP rows ---------- */
.gc7d-rtp-list { display: flex; flex-direction: column; gap: 0.6rem; }
.gc7d-rtp-row {
  display: flex; align-items: center; gap: 0.8rem; padding: 0.6rem 0.8rem;
  background: var(--gc7d-bg-card); border-radius: 10px; border: 1px solid var(--gc7d-border);
}
.gc7d-rtp-thumb { width: 38px; height: 38px; border-radius: 8px; object-fit: cover; flex: none; }
.gc7d-rtp-info { flex: 1; min-width: 0; }
.gc7d-rtp-name { font-size: 1.2rem; font-weight: 700; }
.gc7d-rtp-bar { height: 5px; background: rgba(255, 255, 255, 0.1); border-radius: 3px; margin-top: 0.3rem; overflow: hidden; }
.gc7d-rtp-bar-fill { height: 100%; background: linear-gradient(90deg, var(--gc7d-primary), var(--gc7d-gold)); border-radius: 3px; }
.gc7d-rtp-pct { font-size: 1.4rem; font-weight: 800; color: var(--gc7d-gold); flex: none; }

/* ---------- Promo banner ---------- */
.gc7d-promo-banner {
  background: linear-gradient(120deg, rgba(255, 69, 0, 0.25), rgba(255, 20, 147, 0.25));
  border: 1px solid rgba(255, 69, 0, 0.4); border-radius: var(--gc7d-radius-lg);
  padding: 1.2rem; text-align: center; margin: 1rem 0;
}
.gc7d-promo-banner h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 0.3rem; color: var(--gc7d-gold); }
.gc7d-promo-banner p { font-size: 1.2rem; color: var(--gc7d-text-muted); margin-bottom: 0.8rem; }

/* ---------- Winners ---------- */
.gc7d-winners { display: flex; flex-direction: column; gap: 0.5rem; }
.gc7d-winner {
  display: flex; align-items: center; gap: 0.7rem; padding: 0.6rem 0.8rem;
  background: var(--gc7d-bg-card); border-radius: 10px; border: 1px solid var(--gc7d-border);
}
.gc7d-winner-avatar {
  width: 32px; height: 32px; border-radius: 50%; flex: none;
  background: linear-gradient(var(--gc7d-primary), var(--gc7d-secondary));
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.2rem; color: #fff;
}
.gc7d-winner-info { flex: 1; min-width: 0; }
.gc7d-winner-name { font-size: 1.2rem; font-weight: 700; }
.gc7d-winner-game { font-size: 1.05rem; color: var(--gc7d-text-muted); }
.gc7d-winner-amount { font-size: 1.3rem; font-weight: 800; color: var(--gc7d-gold); flex: none; }

/* ---------- Testimonials ---------- */
.gc7d-testi-grid { display: grid; grid-template-columns: 1fr; gap: 0.7rem; }
.gc7d-testi { background: var(--gc7d-bg-card); border-radius: var(--gc7d-radius); padding: 1rem; border: 1px solid var(--gc7d-border); }
.gc7d-testi-head { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.4rem; }
.gc7d-testi-av {
  width: 30px; height: 30px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, var(--gc7d-secondary), var(--gc7d-primary));
  display: flex; align-items: center; justify-content: center; font-weight: 800; color: #fff; font-size: 1.2rem;
}
.gc7d-testi-name { font-size: 1.2rem; font-weight: 700; }
.gc7d-testi-stars { color: var(--gc7d-gold); font-size: 1.1rem; }
.gc7d-testi-text { font-size: 1.2rem; color: var(--gc7d-text-muted); }

/* ---------- Payment ---------- */
.gc7d-pay-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6rem; }
.gc7d-pay {
  background: var(--gc7d-bg-card); border-radius: 10px; padding: 0.7rem 0.4rem; text-align: center;
  border: 1px solid var(--gc7d-border); font-size: 1.05rem; font-weight: 600;
}
.gc7d-pay-ic { font-size: 2rem; color: var(--gc7d-primary); margin-bottom: 0.2rem; }

/* ---------- CTA ---------- */
.gc7d-cta {
  background: linear-gradient(120deg, var(--gc7d-primary), var(--gc7d-secondary));
  border-radius: var(--gc7d-radius-lg); padding: 1.6rem 1.2rem; text-align: center; margin: 1.2rem 0;
  box-shadow: 0 10px 30px rgba(255, 20, 147, 0.3);
}
.gc7d-cta h3 { font-size: 1.8rem; font-weight: 800; margin-bottom: 0.4rem; color: #fff; }
.gc7d-cta p { font-size: 1.2rem; color: rgba(255, 255, 255, 0.9); margin-bottom: 1rem; }
.gc7d-cta .gc7d-btn { background: #fff; color: var(--gc7d-primary); }

/* ---------- App download ---------- */
.gc7d-app-card {
  background: linear-gradient(120deg, #1f1f1f, #2a1a22);
  border: 1px solid rgba(255, 69, 0, 0.3); border-radius: var(--gc7d-radius-lg);
  padding: 1.2rem; display: flex; align-items: center; gap: 1rem;
}
.gc7d-app-ic {
  flex: none; width: 56px; height: 56px; border-radius: 14px;
  background: linear-gradient(135deg, var(--gc7d-primary), var(--gc7d-secondary));
  display: flex; align-items: center; justify-content: center; font-size: 2.6rem; color: #fff;
}
.gc7d-app-text { flex: 1; min-width: 0; }
.gc7d-app-text h3 { font-size: 1.4rem; font-weight: 800; }
.gc7d-app-text p { font-size: 1.1rem; color: var(--gc7d-text-muted); margin: 0.2rem 0 0.5rem; }

/* ---------- Category highlights ---------- */
.gc7d-cat-highlights { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.7rem; }
.gc7d-cat-hl {
  border-radius: var(--gc7d-radius); overflow: hidden; padding: 1rem; min-height: 84px;
  display: flex; flex-direction: column; justify-content: flex-end; color: #fff;
  border: 1px solid var(--gc7d-border);
}
.gc7d-cat-hl h4 { font-size: 1.3rem; font-weight: 800; }
.gc7d-cat-hl span { font-size: 1.05rem; opacity: 0.92; }
.gc7d-cat-hl.gc7d-hl-1 { background: linear-gradient(135deg, #ff4500, #ff1493); }
.gc7d-cat-hl.gc7d-hl-2 { background: linear-gradient(135deg, #ff1493, #8a0e51); }
.gc7d-cat-hl.gc7d-hl-3 { background: linear-gradient(135deg, #ff4500, #b03100); }
.gc7d-cat-hl.gc7d-hl-4 { background: linear-gradient(135deg, #FFD700, #ff4500); color: #1a1a1a; }

/* ---------- FAQ ---------- */
.gc7d-faq-item {
  background: var(--gc7d-bg-card); border-radius: var(--gc7d-radius); padding: 0.9rem 1rem;
  border: 1px solid var(--gc7d-border); margin-bottom: 0.6rem;
}
.gc7d-faq-q { font-size: 1.3rem; font-weight: 700; color: var(--gc7d-text); margin-bottom: 0.3rem; }
.gc7d-faq-a { font-size: 1.2rem; color: var(--gc7d-text-muted); }

/* ---------- Footer ---------- */
.gc7d-footer {
  background: var(--gc7d-bg-deep); border-top: 1px solid var(--gc7d-border);
  padding: 1.6rem 0 calc(var(--gc7d-bottomnav-h) + 1.6rem); margin-top: 1.4rem;
}
.gc7d-footer-brand { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.8rem; }
.gc7d-footer-desc { font-size: 1.2rem; color: var(--gc7d-text-muted); margin-bottom: 1rem; line-height: 1.6; }
.gc7d-footer-promos { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.gc7d-footer-promos .gc7d-btn { font-size: 1.15rem; padding: 0.5rem 1rem; min-height: 34px; }
.gc7d-footer-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; margin-bottom: 1rem; }
.gc7d-footer-links a { font-size: 1.15rem; color: var(--gc7d-text-muted); }
.gc7d-footer-links a:hover { color: var(--gc7d-primary); }
.gc7d-footer-copy { font-size: 1.1rem; color: #6a6a6a; padding-top: 0.8rem; border-top: 1px solid var(--gc7d-border); }

/* ---------- Bottom nav ---------- */
.gc7d-bottomnav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000;
  height: var(--gc7d-bottomnav-h);
  background: rgba(13, 13, 13, 0.97); backdrop-filter: blur(10px);
  border-top: 1px solid var(--gc7d-border);
  display: flex; justify-content: space-around; align-items: stretch;
  padding-bottom: env(safe-area-inset-bottom);
}
.gc7d-nav-item {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.2rem; color: var(--gc7d-text-muted); font-size: 1rem; font-weight: 600;
  min-width: 60px; min-height: 60px; transition: color .15s ease; position: relative;
}
.gc7d-nav-item .material-icons-outlined, .gc7d-nav-item .material-icons { font-size: 24px; }
.gc7d-nav-item i.fas, .gc7d-nav-item i.far, .gc7d-nav-item i.fad { font-size: 22px; }
.gc7d-nav-item ion-icon { font-size: 24px; }
.gc7d-nav-item:active { transform: scale(0.92); }
.gc7d-nav-item.gc7d-active { color: var(--gc7d-primary); }
.gc7d-nav-item.gc7d-active::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 30px; height: 3px; border-radius: 0 0 3px 3px; background: var(--gc7d-primary);
}
.gc7d-nav-item.gc7d-promo { color: #fff; background: linear-gradient(180deg, transparent, rgba(255, 69, 0, 0.18)); }
.gc7d-nav-item.gc7d-promo i, .gc7d-nav-item.gc7d-promo ion-icon { color: var(--gc7d-gold); }

/* ---------- Text helpers ---------- */
.gc7d-text-muted { color: var(--gc7d-text-muted); }
.gc7d-link-text { color: var(--gc7d-primary); font-weight: 700; }
.gc7d-link-text:hover { text-decoration: underline; }
.gc7d-kw { color: var(--gc7d-gold); font-weight: 700; }
.gc7d-divider { height: 1px; background: var(--gc7d-border); margin: 1rem 0; }

/* ---------- Responsive ---------- */
@media (min-width: 769px) {
  .gc7d-bottomnav { display: none; }
  .gc7d-container, .gc7d-header-inner { max-width: 430px; }
  .gc7d-footer { padding-bottom: 2rem; }
}
@media (max-width: 768px) {
  main.gc7d-main { padding-bottom: calc(var(--gc7d-bottomnav-h) + 1.2rem); }
}
@media (max-width: 360px) {
  .gc7d-game-grid { gap: 0.5rem; }
  .gc7d-game-name { font-size: 1rem; }
  .gc7d-brand-name { font-size: 1.6rem; }
}
