/* bd999 CSS - All classes use gd7f- prefix */
/* Root: 62.5% for rem units */
html { font-size: 62.5%; }
:root {
  --gd7f-bg: #141414;
  --gd7f-bg2: #1a1a2e;
  --gd7f-bg3: #16213e;
  --gd7f-text: #E0FFFF;
  --gd7f-text2: #D3D3D3;
  --gd7f-accent: #E0FFFF;
  --gd7f-accent2: #00d4ff;
  --gd7f-card: #1c1c3a;
  --gd7f-border: #2a2a4a;
  --gd7f-btn: #0f3460;
  --gd7f-btn2: #533483;
  --gd7f-gold: #ffd700;
  --gd7f-success: #00e676;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--gd7f-bg);
  color: var(--gd7f-text);
  line-height: 1.5rem;
  overflow-x: hidden;
  max-width: 430px;
  margin: 0 auto;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--gd7f-accent2); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* === HEADER === */
.gd7f-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(135deg, var(--gd7f-bg2), var(--gd7f-bg3));
  border-bottom: 1px solid var(--gd7f-border);
  max-width: 430px; margin: 0 auto;
  height: 56px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.2rem;
}
.gd7f-logo-area {
  display: flex; align-items: center; gap: 0.8rem;
}
.gd7f-logo-area img { width: 28px; height: 28px; border-radius: 6px; }
.gd7f-logo-area span { font-size: 1.6rem; font-weight: 700; color: var(--gd7f-gold); letter-spacing: 0.5px; }
.gd7f-header-actions { display: flex; align-items: center; gap: 0.6rem; }
.gd7f-btn-reg {
  background: linear-gradient(135deg, #e91e63, #ff5722);
  color: #fff; border: none; padding: 0.6rem 1.2rem; border-radius: 20px;
  font-size: 1.2rem; font-weight: 600; cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.gd7f-btn-login {
  background: transparent; color: var(--gd7f-accent);
  border: 1px solid var(--gd7f-accent); padding: 0.5rem 1.0rem;
  border-radius: 20px; font-size: 1.2rem; cursor: pointer;
  transition: all 0.2s;
}
.gd7f-btn-reg:hover, .gd7f-btn-login:hover { transform: scale(1.05); }
.gd7f-menu-toggle {
  background: none; border: none; color: var(--gd7f-text);
  font-size: 2.0rem; cursor: pointer; padding: 0.4rem;
  display: flex; align-items: center; justify-content: center;
}

/* === MOBILE MENU === */
.gd7f-mobile-menu {
  display: none; position: fixed; top: 56px; left: 0; right: 0; bottom: 0;
  background: rgba(20,20,20,0.97); z-index: 9999;
  max-width: 430px; margin: 0 auto;
  padding: 2rem 1.5rem; overflow-y: auto;
}
.pro7fe-menu-active { display: block !important; }
.gd7f-mobile-menu a {
  display: block; padding: 1.4rem 1rem; color: var(--gd7f-text2);
  font-size: 1.5rem; border-bottom: 1px solid var(--gd7f-border);
  transition: color 0.2s, padding-left 0.2s;
}
.gd7f-mobile-menu a:hover { color: var(--gd7f-accent2); padding-left: 1.5rem; }

/* === MAIN CONTENT === */
.gd7f-main {
  padding-top: 56px; min-height: 100vh;
}
@media (max-width: 768px) {
  .gd7f-main { padding-bottom: 80px; }
}

/* === CAROUSEL === */
.gd7f-carousel {
  position: relative; overflow: hidden; width: 100%;
  border-radius: 0 0 12px 12px;
}
.gd7f-carousel-track {
  display: flex; transition: transform 0.5s ease; will-change: transform;
}
.gd7f-carousel-slide {
  min-width: 100%; position: relative; cursor: pointer;
}
.gd7f-carousel-slide img {
  width: 100%; height: 180px; object-fit: cover;
}
.gd7f-carousel-dots {
  position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px;
}
.gd7f-carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.4); cursor: pointer;
  transition: background 0.3s;
}
.pro7fe-dot-active { background: var(--gd7f-gold) !important; }

/* === SECTION TITLES === */
.gd7f-section-title {
  font-size: 1.8rem; font-weight: 700; color: var(--gd7f-gold);
  padding: 1.5rem 1.2rem 0.8rem; border-bottom: 2px solid var(--gd7f-border);
  margin-bottom: 1rem; display: flex; align-items: center; gap: 0.6rem;
}
.gd7f-section-title i, .gd7f-section-title .material-icons {
  font-size: 2.0rem; color: var(--gd7f-accent2);
}

/* === GAME GRID === */
.gd7f-game-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem; padding: 0.5rem 1rem 1.5rem;
}
.gd7f-game-item {
  text-align: center; cursor: pointer;
  transition: transform 0.2s;
  border-radius: 10px; overflow: hidden;
  background: var(--gd7f-card);
  padding: 0.6rem 0.3rem;
}
.gd7f-game-item:hover { transform: translateY(-3px); }
.gd7f-game-item img {
  width: 64px; height: 64px; margin: 0 auto 0.4rem;
  border-radius: 12px; object-fit: cover;
}
.gd7f-game-item span {
  font-size: 1.1rem; color: var(--gd7f-text2);
  display: block; line-height: 1.3rem;
  overflow: hidden; text-overflow: ellipsis;
  white-space: nowrap; max-width: 90px; margin: 0 auto;
}

/* === CONTENT CARDS === */
.gd7f-card {
  background: var(--gd7f-card); border-radius: 12px;
  margin: 1rem 1.2rem; padding: 1.5rem;
  border: 1px solid var(--gd7f-border);
}
.gd7f-card h2 {
  font-size: 1.7rem; color: var(--gd7f-gold); margin-bottom: 1rem;
}
.gd7f-card h3 {
  font-size: 1.4rem; color: var(--gd7f-accent2); margin: 1rem 0 0.5rem;
}
.gd7f-card p {
  font-size: 1.3rem; color: var(--gd7f-text2); line-height: 1.6rem;
  margin-bottom: 0.8rem;
}
.gd7f-card ul {
  list-style: none; padding: 0;
}
.gd7f-card ul li {
  font-size: 1.3rem; color: var(--gd7f-text2);
  padding: 0.5rem 0; padding-left: 1.5rem; position: relative;
}
.gd7f-card ul li::before {
  content: ''; position: absolute; left: 0; top: 1rem;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gd7f-accent2);
}

/* === PROMO BUTTONS === */
.gd7f-promo-btn {
  display: inline-block; background: linear-gradient(135deg, #e91e63, #ff5722);
  color: #fff; padding: 1rem 2rem; border-radius: 25px;
  font-size: 1.4rem; font-weight: 700; cursor: pointer;
  border: none; text-align: center; transition: transform 0.2s, box-shadow 0.2s;
  margin: 0.5rem 0;
}
.gd7f-promo-btn:hover { transform: scale(1.05); box-shadow: 0 4px 15px rgba(233,30,99,0.4); }
.gd7f-promo-link {
  color: var(--gd7f-accent2); font-weight: 600;
  text-decoration: underline; cursor: pointer;
}

/* === FOOTER === */
.gd7f-footer {
  background: linear-gradient(135deg, var(--gd7f-bg2), #0a0a1a);
  padding: 2rem 1.2rem 8rem; margin-top: 2rem;
  border-top: 1px solid var(--gd7f-border);
}
.gd7f-footer-brand {
  font-size: 1.4rem; color: var(--gd7f-text2); margin-bottom: 1.5rem;
  line-height: 1.6rem;
}
.gd7f-footer-links {
  display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.5rem;
}
.gd7f-footer-links a {
  font-size: 1.2rem; color: var(--gd7f-accent2);
  padding: 0.4rem 0.8rem; background: var(--gd7f-card);
  border-radius: 15px; border: 1px solid var(--gd7f-border);
}
.gd7f-footer-copy {
  font-size: 1.1rem; color: #666; text-align: center;
  padding-top: 1rem; border-top: 1px solid var(--gd7f-border);
}

/* === BOTTOM NAVIGATION === */
.gd7f-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(135deg, #0a0a2e, #1a1a3e);
  border-top: 1px solid var(--gd7f-border);
  height: 60px; display: flex; justify-content: space-around; align-items: center;
  max-width: 430px; margin: 0 auto;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.5);
}
.gd7f-bottom-nav-btn {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; min-width: 60px; min-height: 56px;
  background: none; border: none; cursor: pointer;
  color: var(--gd7f-text2); transition: all 0.25s;
  position: relative;
}
.gd7f-bottom-nav-btn i,
.gd7f-bottom-nav-btn .material-icons,
.gd7f-bottom-nav-btn ion-icon {
  font-size: 22px; margin-bottom: 2px;
}
.gd7f-bottom-nav-btn span {
  font-size: 1.0rem; white-space: nowrap;
}
.gd7f-bottom-nav-btn:hover { color: var(--gd7f-gold); transform: scale(1.1); }
.gd7f-bottom-nav-btn:active { transform: scale(0.95); }
.gd7f-nav-active { color: var(--gd7f-gold) !important; }
.gd7f-nav-active::after {
  content: ''; position: absolute; top: -2px;
  left: 50%; transform: translateX(-50%);
  width: 20px; height: 3px; border-radius: 2px;
  background: var(--gd7f-gold);
}

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

/* === WINNER SHOWCASE === */
.gd7f-winner-list {
  display: flex; flex-direction: column; gap: 0.6rem;
}
.gd7f-winner-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.8rem 1rem; background: var(--gd7f-bg3);
  border-radius: 8px; border-left: 3px solid var(--gd7f-gold);
}
.gd7f-winner-item .gd7f-winner-name {
  font-size: 1.2rem; color: var(--gd7f-text);
  font-weight: 600;
}
.gd7f-winner-item .gd7f-winner-amount {
  font-size: 1.3rem; color: var(--gd7f-gold);
  font-weight: 700;
}

/* === PAYMENT ICONS === */
.gd7f-payment-row {
  display: flex; justify-content: center; gap: 1rem;
  flex-wrap: wrap; padding: 1rem 0;
}
.gd7f-payment-item {
  background: var(--gd7f-bg3); border-radius: 10px;
  padding: 1rem 1.5rem; font-size: 1.2rem;
  color: var(--gd7f-text2); border: 1px solid var(--gd7f-border);
  text-align: center;
}

/* === FAQ === */
.gd7f-faq-item {
  padding: 1rem 0; border-bottom: 1px solid var(--gd7f-border);
}
.gd7f-faq-item h4 {
  font-size: 1.3rem; color: var(--gd7f-accent2); margin-bottom: 0.4rem;
}
.gd7f-faq-item p {
  font-size: 1.2rem; color: var(--gd7f-text2);
}

/* === FEATURE GRID === */
.gd7f-feature-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1rem; padding: 0.5rem 0;
}
.gd7f-feature-item {
  background: var(--gd7f-bg3); border-radius: 10px;
  padding: 1.2rem; text-align: center;
  border: 1px solid var(--gd7f-border);
}
.gd7f-feature-item i,
.gd7f-feature-item .material-icons {
  font-size: 2.4rem; color: var(--gd7f-accent2); margin-bottom: 0.6rem;
}
.gd7f-feature-item h4 {
  font-size: 1.2rem; color: var(--gd7f-text); margin-bottom: 0.3rem;
}
.gd7f-feature-item p {
  font-size: 1.0rem; color: var(--gd7f-text2);
}

/* === TESTIMONIAL === */
.gd7f-testimonial {
  background: var(--gd7f-bg3); border-radius: 10px;
  padding: 1.2rem; margin-bottom: 0.8rem;
  border-left: 3px solid var(--gd7f-gold);
}
.gd7f-testimonial p {
  font-size: 1.2rem; color: var(--gd7f-text2); font-style: italic;
}
.gd7f-testimonial strong {
  color: var(--gd7f-gold); font-size: 1.1rem;
}

/* === CTA SECTION === */
.gd7f-cta {
  text-align: center; padding: 2rem 1.2rem;
  background: linear-gradient(135deg, var(--gd7f-bg2), var(--gd7f-btn));
  border-radius: 12px; margin: 1rem 1.2rem;
}
.gd7f-cta h2 {
  font-size: 2.0rem; color: var(--gd7f-gold); margin-bottom: 0.8rem;
}
.gd7f-cta p {
  font-size: 1.3rem; color: var(--gd7f-text2); margin-bottom: 1.2rem;
}

/* === HELP PAGE STYLES === */
.gd7f-help-section {
  padding: 0.5rem 0;
}
.gd7f-help-section h2 {
  font-size: 1.6rem; color: var(--gd7f-gold); margin-bottom: 0.8rem;
  border-bottom: 1px solid var(--gd7f-border); padding-bottom: 0.5rem;
}
.gd7f-help-section h3 {
  font-size: 1.4rem; color: var(--gd7f-accent2); margin: 1rem 0 0.5rem;
}
.gd7f-help-section p {
  font-size: 1.3rem; color: var(--gd7f-text2); line-height: 1.7rem;
  margin-bottom: 0.6rem;
}
.gd7f-help-section ol, .gd7f-help-section ul {
  padding-left: 2rem; margin-bottom: 1rem;
}
.gd7f-help-section li {
  font-size: 1.3rem; color: var(--gd7f-text2); line-height: 1.6rem;
  margin-bottom: 0.4rem;
}

/* === UTILITY === */
.gd7f-text-center { text-align: center; }
.gd7f-mt-1 { margin-top: 1rem; }
.gd7f-mb-1 { margin-bottom: 1rem; }
.gd7f-p-1 { padding: 1rem; }
.gd7f-hidden { display: none; }
