/**
 * Luck Key - Main Stylesheet
 * File: css/style-0e1f.css
 * Prefix: vff7-
 * Colors: #262626 | #BA55D3 | #FF69B4 | #FFB6C1
 */

:root {
  --vff7-bg: #262626;
  --vff7-bg-light: #2f2f2f;
  --vff7-bg-card: #333333;
  --vff7-primary: #BA55D3;
  --vff7-primary-dark: #9b30c4;
  --vff7-accent: #FF69B4;
  --vff7-accent-light: #FFB6C1;
  --vff7-text: #FFB6C1;
  --vff7-text-light: #ffffff;
  --vff7-text-muted: #c9a0b0;
  --vff7-border: #4a3a4a;
  --vff7-shadow: rgba(186, 85, 211, 0.25);
  --vff7-radius: 8px;
}

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

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--vff7-bg);
  color: var(--vff7-text-light);
  line-height: 1.5rem;
  max-width: 430px;
  margin: 0 auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ===== Header ===== */
.vff7-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 56px;
  background: linear-gradient(135deg, #1e1e1e 0%, #2d1f33 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.2rem;
  z-index: 1000;
  border-bottom: 1px solid var(--vff7-primary);
  box-shadow: 0 2px 12px var(--vff7-shadow);
}

.vff7-logo-area {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.vff7-logo-area img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.vff7-logo-area span {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--vff7-primary);
  letter-spacing: 0.5px;
}

.vff7-header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.vff7-btn-register, .vff7-btn-login {
  padding: 0.5rem 1.2rem;
  border-radius: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.vff7-btn-register {
  background: linear-gradient(135deg, var(--vff7-primary), var(--vff7-accent));
  color: #fff;
}

.vff7-btn-login {
  background: transparent;
  border: 1.5px solid var(--vff7-primary);
  color: var(--vff7-primary);
}

.vff7-btn-register:hover, .vff7-btn-login:hover {
  transform: scale(1.05);
  box-shadow: 0 0 10px var(--vff7-shadow);
}

.vff7-menu-btn {
  background: none;
  border: none;
  color: var(--vff7-primary);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.4rem;
}

/* ===== Mobile Menu ===== */
.vff7-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100%;
  background: linear-gradient(180deg, #1a1a2e 0%, #262626 100%);
  z-index: 9999;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 2rem 1.5rem;
  overflow-y: auto;
}

.vff7-menu-active { right: 0 !important; }

.vff7-mobile-menu .vff7-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--vff7-border);
}

.vff7-mobile-menu .vff7-menu-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--vff7-primary);
}

.vff7-close-btn {
  background: none;
  border: none;
  color: var(--vff7-text-light);
  font-size: 2rem;
  cursor: pointer;
}

.vff7-mobile-menu a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 0;
  color: var(--vff7-text-light);
  text-decoration: none;
  font-size: 1.4rem;
  border-bottom: 1px solid var(--vff7-border);
  transition: color 0.2s, padding-left 0.2s;
}

.vff7-mobile-menu a:hover {
  color: var(--vff7-accent);
  padding-left: 0.5rem;
}

.vff7-mobile-menu a i, .vff7-mobile-menu a .material-icons {
  font-size: 1.8rem;
  color: var(--vff7-primary);
}

.vff7-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9998;
  display: none;
}

.vff7-overlay-active { display: block !important; }

/* ===== Main Content ===== */
.vff7-main {
  padding-top: 56px;
  min-height: 100vh;
}

/* ===== Carousel ===== */
.vff7-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 0 0 1.2rem 1.2rem;
}

.vff7-slide {
  display: none;
  width: 100%;
  cursor: pointer;
}

.vff7-slide img {
  width: 100%;
  height: auto;
  display: block;
}

.vff7-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
}

.vff7-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background 0.3s;
  border: none;
}

.vff7-dot-active { background: var(--vff7-accent) !important; }

/* ===== Section Layout ===== */
.vff7-section {
  padding: 2rem 1.2rem;
}

.vff7-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--vff7-primary);
  margin-bottom: 1.5rem;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid var(--vff7-primary);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.vff7-section-title i {
  font-size: 2rem;
}

/* ===== Game Grid ===== */
.vff7-game-category {
  margin-bottom: 2rem;
}

.vff7-game-cat-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--vff7-accent);
  margin-bottom: 1rem;
  padding-left: 0.5rem;
  border-left: 3px solid var(--vff7-accent);
}

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

.vff7-game-item {
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s;
}

.vff7-game-item:hover { transform: translateY(-3px); }

.vff7-game-item img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--vff7-radius);
  border: 1px solid var(--vff7-border);
  object-fit: cover;
}

.vff7-game-name {
  font-size: 1.05rem;
  color: var(--vff7-text-light);
  margin-top: 0.4rem;
  line-height: 1.3rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ===== Content Cards ===== */
.vff7-card {
  background: var(--vff7-bg-card);
  border-radius: var(--vff7-radius);
  padding: 1.5rem;
  margin-bottom: 1.2rem;
  border: 1px solid var(--vff7-border);
}

.vff7-card h3 {
  font-size: 1.5rem;
  color: var(--vff7-accent);
  margin-bottom: 1rem;
}

.vff7-card p {
  font-size: 1.3rem;
  color: var(--vff7-text-muted);
  line-height: 2rem;
}

/* ===== Promo Buttons ===== */
.vff7-promo-btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: linear-gradient(135deg, var(--vff7-primary), var(--vff7-accent));
  color: #fff;
  border-radius: 25px;
  font-size: 1.4rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.vff7-promo-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px var(--vff7-shadow);
}

.vff7-promo-link {
  color: var(--vff7-accent);
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

.vff7-promo-link:hover { color: var(--vff7-primary); }

/* ===== Footer ===== */
.vff7-footer {
  background: linear-gradient(180deg, var(--vff7-bg-card) 0%, #1a1a1a 100%);
  padding: 2rem 1.2rem 1rem;
  border-top: 1px solid var(--vff7-border);
}

.vff7-footer-brand {
  font-size: 1.3rem;
  color: var(--vff7-text-muted);
  line-height: 2rem;
  margin-bottom: 1.5rem;
}

.vff7-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.vff7-footer-links a {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--vff7-bg);
  border: 1px solid var(--vff7-border);
  color: var(--vff7-text-light);
  border-radius: 20px;
  font-size: 1.1rem;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.vff7-footer-links a:hover {
  border-color: var(--vff7-primary);
  color: var(--vff7-primary);
}

.vff7-footer-copy {
  text-align: center;
  font-size: 1.1rem;
  color: #666;
  padding-top: 1rem;
  border-top: 1px solid var(--vff7-border);
}

/* ===== Bottom Nav ===== */
.vff7-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 60px;
  background: linear-gradient(180deg, #2a1f30 0%, #1a1120 100%);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 1000;
  border-top: 1px solid var(--vff7-primary);
  box-shadow: 0 -2px 10px rgba(186, 85, 211, 0.2);
}

.vff7-bottom-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 60px;
  background: none;
  border: none;
  color: var(--vff7-text-muted);
  cursor: pointer;
  transition: color 0.2s, transform 0.15s;
  text-decoration: none;
  padding: 0.4rem;
}

.vff7-bottom-btn:hover, .vff7-bottom-btn:focus {
  color: var(--vff7-accent);
  transform: scale(1.1);
}

.vff7-bottom-btn-active {
  color: var(--vff7-primary) !important;
}

.vff7-bottom-btn i, .vff7-bottom-btn .material-icons,
.vff7-bottom-btn ion-icon, .vff7-bottom-btn bi {
  font-size: 2.2rem;
}

.vff7-bottom-btn span {
  font-size: 1rem;
  margin-top: 0.2rem;
}

/* ===== Testimonials ===== */
.vff7-testimonial {
  background: var(--vff7-bg-card);
  border-radius: var(--vff7-radius);
  padding: 1.2rem;
  margin-bottom: 1rem;
  border-left: 3px solid var(--vff7-accent);
}

.vff7-testimonial-name {
  font-weight: 600;
  color: var(--vff7-accent);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.vff7-testimonial-text {
  font-size: 1.2rem;
  color: var(--vff7-text-muted);
  line-height: 1.8rem;
}

/* ===== Payment Methods ===== */
.vff7-payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.vff7-payment-item {
  background: var(--vff7-bg-card);
  border-radius: var(--vff7-radius);
  padding: 0.8rem 1.2rem;
  border: 1px solid var(--vff7-border);
  font-size: 1.2rem;
  color: var(--vff7-text-light);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ===== Winners ===== */
.vff7-winner-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid var(--vff7-border);
}

.vff7-winner-name {
  font-size: 1.3rem;
  color: var(--vff7-text-light);
  font-weight: 500;
}

.vff7-winner-amount {
  font-size: 1.4rem;
  color: #FFD700;
  font-weight: 700;
}

.vff7-winner-game {
  font-size: 1.1rem;
  color: var(--vff7-text-muted);
}

/* ===== Utilities ===== */
.vff7-text-center { text-align: center; }
.vff7-mt-1 { margin-top: 1rem; }
.vff7-mt-2 { margin-top: 2rem; }
.vff7-mb-1 { margin-bottom: 1rem; }
.vff7-mb-2 { margin-bottom: 2rem; }
.vff7-hidden { display: none; }

.vff7-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  background: var(--vff7-primary);
  color: #fff;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
}

/* ===== Responsive ===== */
@media (min-width: 769px) {
  .vff7-bottom-nav { display: none; }
  .vff7-header { max-width: 430px; }
}

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

@media (max-width: 360px) {
  .vff7-game-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
