/**
 * JL18 Casino - Core Stylesheet
 * File: css/design-781f.css
 * All classes use prefix: vf61-
 */

:root {
  --vf61-primary: #48D1CC;
  --vf61-accent: #FFAA00;
  --vf61-secondary: #6495ED;
  --vf61-light: #87CEFA;
  --vf61-bg: #34495E;
  --vf61-bg-dark: #2C3E50;
  --vf61-bg-card: #3D566E;
  --vf61-text: #F0F8FF;
  --vf61-text-muted: #B0C4DE;
  --vf61-border: rgba(72, 209, 204, 0.3);
  --vf61-radius: 10px;
  --vf61-radius-sm: 6px;
  --vf61-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--vf61-bg);
  color: var(--vf61-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 430px;
  margin: 0 auto;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}
a { color: var(--vf61-primary); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* Container */
.vf61-container { width: 100%; padding: 0 1.2rem; }

/* Header */
.vf61-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--vf61-bg-dark);
  border-bottom: 2px solid var(--vf61-primary);
  max-width: 430px; margin: 0 auto;
}
.vf61-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.6rem 1.2rem; height: 50px;
}
.vf61-logo-wrap { display: flex; align-items: center; gap: 0.6rem; }
.vf61-logo-wrap img { width: 28px; height: 28px; border-radius: 6px; }
.vf61-logo-text { font-size: 1.8rem; font-weight: 800; color: var(--vf61-accent); letter-spacing: 0.5px; }
.vf61-header-actions { display: flex; align-items: center; gap: 0.6rem; }
.vf61-btn-register, .vf61-btn-login {
  border: none; border-radius: var(--vf61-radius-sm); padding: 0.5rem 1rem;
  font-size: 1.2rem; font-weight: 700; cursor: pointer; min-height: 32px;
  transition: all 0.2s;
}
.vf61-btn-register { background: var(--vf61-accent); color: var(--vf61-bg-dark); }
.vf61-btn-register:active { background: #e69900; transform: scale(0.95); }
.vf61-btn-login { background: transparent; color: var(--vf61-primary); border: 1.5px solid var(--vf61-primary); }
.vf61-btn-login:active { background: rgba(72, 209, 204, 0.15); transform: scale(0.95); }
.vf61-hamburger {
  background: none; border: none; color: var(--vf61-text); font-size: 2rem;
  cursor: pointer; padding: 0.4rem; line-height: 1;
}
.vf61-hamburger:active { opacity: 0.7; }

/* Mobile Menu */
.vf61-mobile-menu {
  position: fixed; top: 0; right: -280px; width: 280px; height: 100vh;
  background: var(--vf61-bg-dark); z-index: 9999;
  transition: right 0.3s ease; overflow-y: auto;
  border-left: 2px solid var(--vf61-primary);
}
.vf61-menu-active { right: 0 !important; }
.vf61-menu-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 1.6rem; border-bottom: 1px solid var(--vf61-border);
}
.vf61-menu-title { font-size: 1.6rem; font-weight: 700; color: var(--vf61-accent); }
.vf61-menu-close {
  background: none; border: none; color: var(--vf61-text); font-size: 2.2rem;
  cursor: pointer; line-height: 1;
}
.vf61-menu-links { padding: 0.8rem 0; }
.vf61-menu-link {
  display: block; padding: 1rem 1.6rem; color: var(--vf61-text);
  font-size: 1.4rem; border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.2s;
}
.vf61-menu-link:active { background: rgba(72, 209, 204, 0.12); }
.vf61-menu-link i, .vf61-menu-link .material-icons { margin-right: 0.8rem; font-size: 1.8rem; vertical-align: middle; }

/* Menu Overlay */
.vf61-menu-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6); z-index: 9998;
  display: none; opacity: 0; transition: opacity 0.3s;
}
.vf61-overlay-active { display: block; opacity: 1; }

/* Main Content */
.vf61-main { padding-top: 50px; padding-bottom: 1rem; }

/* Carousel */
.vf61-carousel {
  position: relative; overflow: hidden; cursor: pointer;
  margin: 0; background: var(--vf61-bg-dark);
}
.vf61-carousel-slide {
  display: none; width: 100%;
}
.vf61-slide-active { display: block; }
.vf61-carousel-slide img { width: 100%; height: auto; aspect-ratio: 430/200; object-fit: cover; }
.vf61-carousel-dots {
  position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px;
}
.vf61-carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.4); border: none; cursor: pointer;
  transition: all 0.3s;
}
.vf61-dot-active { background: var(--vf61-accent); transform: scale(1.3); }

/* Section Title */
.vf61-section-title {
  font-size: 1.6rem; font-weight: 700; color: var(--vf61-accent);
  padding: 1.2rem 1.2rem 0.6rem; border-bottom: 2px solid var(--vf61-primary);
  margin: 0.6rem 1.2rem 0;
  display: flex; align-items: center; gap: 0.6rem;
}
.vf61-section-title i, .vf61-section-title .material-icons { font-size: 2rem; color: var(--vf61-primary); }

/* Game Grid - 4 columns compact */
.vf61-game-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem; padding: 0.8rem 1.2rem;
}
.vf61-game-item {
  text-align: center; cursor: pointer;
  transition: transform 0.2s;
}
.vf61-game-item:active { transform: scale(0.93); }
.vf61-game-item img {
  width: 100%; aspect-ratio: 1; border-radius: var(--vf61-radius-sm);
  border: 1.5px solid var(--vf61-border); object-fit: cover;
  margin-bottom: 0.3rem;
}
.vf61-game-name {
  font-size: 1rem; color: var(--vf61-text-muted);
  line-height: 1.2; overflow: hidden; text-overflow: ellipsis;
  white-space: nowrap; padding: 0 0.2rem;
}

/* H1 Title */
.vf61-page-h1 {
  font-size: 1.8rem; font-weight: 800; color: var(--vf61-accent);
  padding: 1rem 1.2rem 0.5rem; line-height: 1.3;
}

/* Content Modules */
.vf61-content-block {
  padding: 1rem 1.2rem; margin: 0.5rem 1.2rem;
  background: var(--vf61-bg-card); border-radius: var(--vf61-radius);
  border: 1px solid var(--vf61-border);
}
.vf61-content-block h2 {
  font-size: 1.5rem; color: var(--vf61-primary); margin-bottom: 0.6rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.vf61-content-block h3 { font-size: 1.3rem; color: var(--vf61-accent); margin: 0.5rem 0 0.3rem; }
.vf61-content-block p {
  font-size: 1.3rem; line-height: 1.6; color: var(--vf61-text-muted); margin-bottom: 0.5rem;
}

/* Promo Button */
.vf61-promo-btn {
  display: inline-block; background: var(--vf61-accent);
  color: var(--vf61-bg-dark); font-weight: 700; font-size: 1.3rem;
  padding: 0.7rem 1.6rem; border-radius: var(--vf61-radius-sm);
  border: none; cursor: pointer; transition: all 0.2s;
  text-align: center;
}
.vf61-promo-btn:active { background: #e69900; transform: scale(0.95); }

/* Promo Text Link */
.vf61-promo-link {
  color: var(--vf61-accent); font-weight: 700; text-decoration: underline;
  cursor: pointer;
}

/* Internal Link */
.vf61-internal-link {
  color: var(--vf61-secondary); text-decoration: underline;
  font-weight: 500;
}

/* Winners Table */
.vf61-winners-list { list-style: none; padding: 0; }
.vf61-winner-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.5rem 0; border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 1.2rem;
}
.vf61-winner-name { color: var(--vf61-primary); font-weight: 600; }
.vf61-winner-game { color: var(--vf61-text-muted); }
.vf61-winner-amount { color: var(--vf61-accent); font-weight: 700; }

/* RTP Table */
.vf61-rtp-table { width: 100%; border-collapse: collapse; font-size: 1.2rem; }
.vf61-rtp-table th {
  background: var(--vf61-primary); color: var(--vf61-bg-dark);
  padding: 0.5rem; text-align: left; font-size: 1.1rem;
}
.vf61-rtp-table td {
  padding: 0.4rem 0.5rem; border-bottom: 1px solid rgba(255,255,255,0.06);
  color: var(--vf61-text-muted);
}
.vf61-rtp-table tr:nth-child(even) td { background: rgba(72, 209, 204, 0.05); }

/* Testimonials */
.vf61-testimonial {
  background: rgba(72, 209, 204, 0.08); border-radius: var(--vf61-radius-sm);
  padding: 0.8rem 1rem; margin-bottom: 0.6rem; border-left: 3px solid var(--vf61-primary);
}
.vf61-testimonial-text { font-size: 1.2rem; color: var(--vf61-text-muted); line-height: 1.5; font-style: italic; }
.vf61-testimonial-author { font-size: 1.1rem; color: var(--vf61-accent); margin-top: 0.3rem; font-weight: 600; }

/* Payment Icons */
.vf61-payment-row { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 0.5rem; }
.vf61-payment-item {
  background: rgba(255,255,255,0.08); padding: 0.4rem 0.8rem;
  border-radius: var(--vf61-radius-sm); font-size: 1.1rem; color: var(--vf61-light);
}

/* Footer */
.vf61-footer {
  background: var(--vf61-bg-dark); padding: 1.5rem 1.2rem 2rem;
  border-top: 2px solid var(--vf61-primary); margin-top: 1rem;
}
.vf61-footer-brand { font-size: 1.2rem; color: var(--vf61-text-muted); line-height: 1.5; margin-bottom: 1rem; }
.vf61-footer-promos { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.vf61-footer-promo-btn {
  background: var(--vf61-accent); color: var(--vf61-bg-dark);
  font-weight: 700; font-size: 1.1rem; padding: 0.4rem 0.8rem;
  border-radius: var(--vf61-radius-sm); border: none; cursor: pointer;
}
.vf61-footer-promo-btn:active { opacity: 0.8; }
.vf61-footer-links {
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.2rem; margin-bottom: 1rem;
}
.vf61-footer-link { color: var(--vf61-primary); font-size: 1.2rem; }
.vf61-footer-copyright { font-size: 1.1rem; color: var(--vf61-text-muted); text-align: center; margin-top: 0.8rem; }

/* Bottom Navigation */
.vf61-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: var(--vf61-bg-dark); border-top: 2px solid var(--vf61-primary);
  height: 58px; max-width: 430px; margin: 0 auto;
  display: flex; justify-content: space-around; align-items: center;
}
.vf61-bottom-nav-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 60px; min-height: 54px; background: none; border: none;
  color: var(--vf61-text-muted); cursor: pointer; transition: all 0.2s;
  font-size: 1rem; gap: 0.2rem; padding: 0;
}
.vf61-bottom-nav-btn i, .vf61-bottom-nav-btn .material-icons { font-size: 22px; transition: all 0.2s; }
.vf61-bottom-nav-btn span { font-size: 1rem; line-height: 1; }
.vf61-bottom-nav-btn:active { transform: scale(0.9); }
.vf61-bottom-nav-btn:active i, .vf61-bottom-nav-btn:active .material-icons { color: var(--vf61-accent); }
.vf61-nav-current { color: var(--vf61-accent) !important; }
.vf61-nav-current i, .vf61-nav-current .material-icons { color: var(--vf61-accent) !important; }

/* Mobile bottom padding */
@media (max-width: 768px) {
  .vf61-main { padding-bottom: 68px; }
  .vf61-footer { padding-bottom: 76px; }
}

/* Desktop: hide bottom nav */
@media (min-width: 769px) {
  .vf61-bottom-nav { display: none; }
  .vf61-main { padding-bottom: 1rem; }
  .vf61-footer { padding-bottom: 2rem; }
}

/* App Download CTA */
.vf61-app-cta {
  display: flex; align-items: center; gap: 1rem;
  padding: 0.8rem; background: linear-gradient(135deg, var(--vf61-primary), var(--vf61-secondary));
  border-radius: var(--vf61-radius); margin: 0.5rem 0;
}
.vf61-app-cta-text { flex: 1; }
.vf61-app-cta-title { font-size: 1.4rem; font-weight: 700; color: var(--vf61-bg-dark); }
.vf61-app-cta-desc { font-size: 1.1rem; color: var(--vf61-bg-dark); opacity: 0.85; }

/* Category Highlights */
.vf61-cat-highlights { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.vf61-cat-tag {
  background: rgba(100, 149, 237, 0.2); border: 1px solid var(--vf61-secondary);
  border-radius: 20px; padding: 0.3rem 0.8rem; font-size: 1.1rem; color: var(--vf61-light);
}

/* Help Page Styles */
.vf61-help-block { margin-bottom: 0.8rem; }
.vf61-help-block h2 { font-size: 1.4rem; color: var(--vf61-primary); margin-bottom: 0.4rem; }
.vf61-help-block p { font-size: 1.2rem; color: var(--vf61-text-muted); line-height: 1.5; }
.vf61-step-list { list-style: none; padding: 0; counter-reset: step-counter; }
.vf61-step-list li {
  counter-increment: step-counter; padding: 0.5rem 0 0.5rem 2.5rem;
  position: relative; font-size: 1.2rem; color: var(--vf61-text-muted); line-height: 1.5;
}
.vf61-step-list li::before {
  content: counter(step-counter);
  position: absolute; left: 0; top: 0.4rem;
  width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--vf61-primary); color: var(--vf61-bg-dark);
  font-weight: 700; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
}

/* Utility */
.vf61-text-center { text-align: center; }
.vf61-mt-1 { margin-top: 0.5rem; }
.vf61-mb-1 { margin-bottom: 0.5rem; }
.vf61-hidden { display: none; }
