/* css/design-e9af.css
 * luckyplay ph login - main stylesheet
 * All custom classes use the vf7d- prefix for namespace isolation.
 * Palette: #E65100 (deep orange) | #2D2D2D (charcoal) | #FFB347 (warm orange)
 *          #FFF176 (sunlight yellow) | #B8860B (dark gold)
 */

:root {
  --vf7d-primary: #E65100;
  --vf7d-primary-dark: #B43E00;
  --vf7d-bg-dark: #2D2D2D;
  --vf7d-bg-deeper: #1F1F1F;
  --vf7d-orange: #FFB347;
  --vf7d-yellow: #FFF176;
  --vf7d-gold: #B8860B;
  --vf7d-card: #3A3A3A;
  --vf7d-card-soft: #353535;
  --vf7d-text: #FFFFFF;
  --vf7d-text-muted: #E0E0E0;
  --vf7d-text-dim: #B5B5B5;
  --vf7d-border: rgba(255, 179, 71, 0.22);
  --vf7d-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
  --vf7d-shadow-soft: 0 2px 8px rgba(0, 0, 0, 0.3);
  --vf7d-radius: 14px;
  --vf7d-radius-sm: 10px;
}

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

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

body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  background: linear-gradient(180deg, #2D2D2D 0%, #1F1F1F 100%);
  color: var(--vf7d-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  min-height: 100vh;
}

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

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

/* ===== HEADER ===== */
.vf7d-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(90deg, #E65100 0%, #B8860B 100%);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  padding: 0.55rem 1rem;
}

.vf7d-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 430px;
  margin: 0 auto;
  gap: 0.5rem;
}

.vf7d-logo {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: #fff;
  font-weight: 800;
  font-size: 1.4rem;
  line-height: 1.1;
}

.vf7d-logo img {
  width: 30px; height: 30px;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.vf7d-header-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.vf7d-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.55rem 1rem;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1.2rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease;
  min-height: 34px;
  text-decoration: none;
}

.vf7d-btn:active { transform: scale(0.95); }

.vf7d-btn-login {
  background: #fff;
  color: var(--vf7d-primary);
}

.vf7d-btn-register {
  background: var(--vf7d-yellow);
  color: var(--vf7d-bg-dark);
}

.vf7d-btn-promo {
  background: linear-gradient(90deg, #E65100 0%, #FFB347 100%);
  color: #fff;
  padding: 0.85rem 1.6rem;
  font-size: 1.35rem;
  box-shadow: 0 4px 12px rgba(230, 81, 0, 0.45);
  border: none;
  border-radius: 30px;
  cursor: pointer;
}

.vf7d-menu-toggle {
  background: rgba(255, 255, 255, 0.18);
  border: none;
  color: #fff;
  font-size: 1.6rem;
  padding: 0.4rem 0.7rem;
  border-radius: 8px;
  cursor: pointer;
}

/* ===== MOBILE MENU ===== */
.vf7d-mobile-menu {
  position: fixed;
  top: 54px; left: 0; right: 0;
  background: var(--vf7d-bg-deeper);
  padding: 0.5rem 1rem 1rem;
  z-index: 9999;
  transform: translateY(-160%);
  transition: transform 0.32s ease;
  border-bottom: 2px solid var(--vf7d-orange);
  max-height: calc(100vh - 54px);
  overflow-y: auto;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5);
}

.vf7d-mobile-menu.vf7d-menu-open { transform: translateY(0); }

.vf7d-mobile-menu a {
  display: block;
  padding: 0.8rem 0.6rem;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 1.3rem;
}

.vf7d-mobile-menu a:hover {
  background: rgba(230, 81, 0, 0.25);
  color: var(--vf7d-yellow);
}

/* ===== MAIN ===== */
.vf7d-main {
  padding-top: 58px;
  padding-bottom: 1rem;
}

@media (max-width: 768px) {
  .vf7d-main { padding-bottom: 84px; }
}

/* ===== HERO CAROUSEL ===== */
.vf7d-carousel {
  position: relative;
  width: 100%;
  margin: 0.8rem 0 1rem;
  border-radius: var(--vf7d-radius);
  overflow: hidden;
  box-shadow: var(--vf7d-shadow);
}

.vf7d-slides {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111;
}

.vf7d-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  cursor: pointer;
}

.vf7d-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.vf7d-slide.vf7d-slide-active { opacity: 1; }

.vf7d-dots {
  position: absolute;
  bottom: 8px;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 2;
}

.vf7d-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  border: none;
  padding: 0;
}

.vf7d-dot.vf7d-dot-active {
  background: var(--vf7d-yellow);
  transform: scale(1.25);
}

/* ===== SECTIONS ===== */
.vf7d-section { padding: 1.3rem 0; }

.vf7d-section-title {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--vf7d-yellow);
  margin-bottom: 0.6rem;
  padding-left: 0.6rem;
  border-left: 4px solid var(--vf7d-primary);
  line-height: 1.3;
}

.vf7d-section-subtitle {
  color: var(--vf7d-orange);
  font-size: 1.3rem;
  margin: 0.4rem 0 0.7rem;
  font-weight: 700;
}

.vf7d-p {
  margin: 0.5rem 0;
  color: var(--vf7d-text-muted);
}

.vf7d-card {
  background: var(--vf7d-card);
  border-radius: var(--vf7d-radius);
  padding: 1rem 1.1rem;
  box-shadow: var(--vf7d-shadow-soft);
  border: 1px solid var(--vf7d-border);
  margin-bottom: 0.9rem;
}

/* ===== HERO TEXT ===== */
.vf7d-h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--vf7d-yellow);
  text-align: center;
  margin: 0.4rem 0 0.3rem;
  line-height: 1.3;
}

.vf7d-tagline {
  text-align: center;
  color: var(--vf7d-orange);
  font-weight: 600;
  margin-bottom: 0.8rem;
  font-size: 1.3rem;
}

/* ===== GAME GRID ===== */
.vf7d-game-group { margin: 1rem 0; }

.vf7d-game-group-title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.45rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.6rem;
  padding: 0.4rem 0.6rem;
  background: linear-gradient(90deg, rgba(230, 81, 0, 0.7), transparent);
  border-radius: 8px;
}

.vf7d-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}

.vf7d-game-item {
  text-align: center;
  cursor: pointer;
  background: var(--vf7d-card);
  border-radius: var(--vf7d-radius-sm);
  padding: 0.35rem 0.2rem;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.vf7d-game-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(230, 81, 0, 0.4);
  border-color: var(--vf7d-orange);
}

.vf7d-game-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 0.25rem;
}

.vf7d-game-name {
  font-size: 1.05rem;
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 2px;
}

/* ===== FEATURES LIST ===== */
.vf7d-feature-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
}

.vf7d-feature {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  padding: 0.7rem;
  background: var(--vf7d-card);
  border-radius: var(--vf7d-radius-sm);
  border-left: 3px solid var(--vf7d-orange);
}

.vf7d-feature-icon {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(230, 81, 0, 0.3);
  color: var(--vf7d-yellow);
  font-size: 1.6rem;
}

.vf7d-feature-body h4 {
  color: var(--vf7d-yellow);
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.vf7d-feature-body p {
  color: var(--vf7d-text-muted);
  font-size: 1.2rem;
  margin: 0;
}

/* ===== STEPS ===== */
.vf7d-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  counter-reset: step;
}

.vf7d-step {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  padding: 0.6rem 0.7rem;
  background: var(--vf7d-card-soft);
  border-radius: var(--vf7d-radius-sm);
  counter-increment: step;
}

.vf7d-step-num {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--vf7d-primary);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

/* ===== TESTIMONIALS ===== */
.vf7d-testimonial {
  background: var(--vf7d-card);
  border-radius: var(--vf7d-radius-sm);
  padding: 0.85rem;
  margin-bottom: 0.6rem;
  border-left: 4px solid var(--vf7d-yellow);
}

.vf7d-stars { color: var(--vf7d-yellow); margin-bottom: 0.25rem; font-size: 1.2rem; }
.vf7d-testimonial p { color: var(--vf7d-text-muted); font-size: 1.2rem; }
.vf7d-testimonial-author { color: var(--vf7d-orange); font-weight: 700; font-size: 1.15rem; margin-top: 0.3rem; }

/* ===== PAY GRID ===== */
.vf7d-pay-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.vf7d-pay-item {
  background: #fff;
  border-radius: 8px;
  padding: 0.65rem 0.35rem;
  text-align: center;
  color: var(--vf7d-bg-dark);
  font-weight: 700;
  font-size: 1.1rem;
  border: 1px solid var(--vf7d-border);
}

/* ===== WINNERS ===== */
.vf7d-winner-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 0.4rem;
  padding: 0.5rem 0.6rem;
  background: var(--vf7d-card);
  border-radius: 8px;
  margin-bottom: 0.35rem;
  font-size: 1.15rem;
  align-items: center;
}

.vf7d-winner-name { color: #fff; font-weight: 600; }
.vf7d-winner-game { color: var(--vf7d-orange); font-size: 1.05rem; }
.vf7d-winner-amount { color: var(--vf7d-yellow); font-weight: 800; text-align: right; }

/* ===== FAQ ===== */
.vf7d-faq-item {
  background: var(--vf7d-card);
  border-radius: var(--vf7d-radius-sm);
  margin-bottom: 0.5rem;
  overflow: hidden;
}

.vf7d-faq-q {
  padding: 0.8rem 1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--vf7d-yellow);
  font-weight: 700;
  font-size: 1.22rem;
  gap: 0.5rem;
}

.vf7d-faq-a {
  padding: 0 1rem 0.85rem;
  color: var(--vf7d-text-muted);
  font-size: 1.2rem;
  display: none;
}

/* ===== CTA BOX ===== */
.vf7d-cta-box {
  background: linear-gradient(135deg, #E65100 0%, #B8860B 100%);
  border-radius: var(--vf7d-radius);
  padding: 1.1rem;
  text-align: center;
  margin: 1rem 0;
  color: #fff;
  box-shadow: var(--vf7d-shadow);
}

.vf7d-cta-box h3 {
  color: var(--vf7d-yellow);
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
}

.vf7d-cta-box p {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 0.7rem;
}

.vf7d-promo-text { color: var(--vf7d-yellow); font-weight: 700; }
.vf7d-keyword-link { color: var(--vf7d-yellow); font-weight: 700; text-decoration: underline; }
.vf7d-promo-link { color: var(--vf7d-yellow); font-weight: 800; text-decoration: underline; }

/* ===== FOOTER ===== */
.vf7d-footer {
  background: var(--vf7d-bg-deeper);
  padding: 1.5rem 1rem 1rem;
  margin-top: 1.4rem;
  border-top: 3px solid var(--vf7d-primary);
  color: var(--vf7d-text-muted);
}

.vf7d-footer-brand {
  color: var(--vf7d-orange);
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.vf7d-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.8rem;
  margin: 0.8rem 0;
}

.vf7d-footer-links a {
  color: var(--vf7d-text-muted);
  font-size: 1.15rem;
  text-decoration: underline;
}

.vf7d-footer-links a:hover { color: var(--vf7d-yellow); }

.vf7d-footer-promo {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.7rem 0;
}

.vf7d-copyright {
  text-align: center;
  font-size: 1.1rem;
  color: #888;
  margin-top: 0.7rem;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* ===== BOTTOM NAV ===== */
.vf7d-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  background: linear-gradient(90deg, #E65100 0%, #B8860B 100%);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -3px 12px rgba(0, 0, 0, 0.5);
}

.vf7d-bottom-nav-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  padding: 0.3rem;
  min-width: 60px;
  min-height: 60px;
  transition: transform 0.15s, color 0.15s, background 0.15s;
  text-decoration: none;
  font-family: inherit;
}

.vf7d-bottom-nav-btn:active { transform: scale(0.9); }

.vf7d-bottom-nav-btn .material-icons,
.vf7d-bottom-nav-btn .fas,
.vf7d-bottom-nav-btn .far,
.vf7d-bottom-nav-btn ion-icon,
.vf7d-bottom-nav-btn .bi {
  font-size: 22px;
}

.vf7d-bottom-nav-btn.vf7d-nav-active {
  color: var(--vf7d-yellow);
  background: rgba(255, 255, 255, 0.14);
  border-radius: 8px;
}

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

/* ===== UTILITIES ===== */
.vf7d-text-center { text-align: center; }
.vf7d-mt-1 { margin-top: 0.5rem; }
.vf7d-mt-2 { margin-top: 1rem; }
.vf7d-flex { display: flex; }
.vf7d-gap-1 { gap: 0.5rem; }

.vf7d-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.vf7d-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ===== DESKTOP ===== */
@media (min-width: 769px) {
  body { background: #1F1F1F; }
  .vf7d-container { max-width: 768px; padding: 0 2rem; }
  .vf7d-game-grid { grid-template-columns: repeat(6, 1fr); }
  .vf7d-header-inner { max-width: 768px; }
  .vf7d-pay-grid { grid-template-columns: repeat(5, 1fr); }
  .vf7d-feature-list { grid-template-columns: 1fr 1fr; }
  .vf7d-steps { grid-template-columns: 1fr 1fr; }
}
