/**
 * Hann Casino Resort - Layout Stylesheet
 * Prefix: v7bb-
 * Color Palette: #E6E6FA, #FF69B4, #DDA0DD, #2C3E50, #8470FF
 * Dark background with lavender/pink accents
 */

/* CSS Variables */
:root {
  --v7bb-primary: #8470FF;
  --v7bb-secondary: #FF69B4;
  --v7bb-accent: #DDA0DD;
  --v7bb-bg-dark: #2C3E50;
  --v7bb-bg-darker: #1a2535;
  --v7bb-bg-card: #34495e;
  --v7bb-text-light: #E6E6FA;
  --v7bb-text-white: #ffffff;
  --v7bb-text-muted: #b0b8c1;
  --v7bb-border: rgba(132, 112, 255, 0.3);
  --v7bb-gradient: linear-gradient(135deg, #8470FF, #FF69B4);
  --v7bb-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  --v7bb-radius: 12px;
  --v7bb-radius-sm: 8px;
}

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

/* Container */
.v7bb-container { width: 100%; padding: 0 12px; }
.v7bb-wrapper { padding: 0 16px; }

/* Header */
.v7bb-header {
  position: fixed; top: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; z-index: 1000;
  background: linear-gradient(180deg, var(--v7bb-bg-darker), var(--v7bb-bg-dark));
  border-bottom: 1px solid var(--v7bb-border);
  padding: 8px 12px;
  display: flex; align-items: center; justify-content: space-between;
}
.v7bb-header-left { display: flex; align-items: center; gap: 8px; }
.v7bb-header-logo { width: 28px; height: 28px; border-radius: 6px; }
.v7bb-header-name {
  font-size: 1.4rem; font-weight: 700; color: var(--v7bb-text-white);
  background: var(--v7bb-gradient); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}
.v7bb-header-right { display: flex; align-items: center; gap: 6px; }
.v7bb-menu-btn {
  background: none; border: none; color: var(--v7bb-text-light);
  font-size: 2rem; cursor: pointer; padding: 4px 6px; line-height: 1;
}

/* Buttons */
.v7bb-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 8px 14px; border-radius: var(--v7bb-radius-sm);
  font-size: 1.2rem; font-weight: 600; cursor: pointer;
  border: none; transition: all 0.3s ease; min-height: 36px;
}
.v7bb-btn-register {
  background: var(--v7bb-gradient); color: var(--v7bb-text-white);
  box-shadow: 0 2px 8px rgba(132, 112, 255, 0.4);
}
.v7bb-btn-register:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(132, 112, 255, 0.6); }
.v7bb-btn-login {
  background: transparent; color: var(--v7bb-secondary);
  border: 1px solid var(--v7bb-secondary);
}
.v7bb-btn-login:hover { background: rgba(255, 105, 180, 0.15); }
.v7bb-btn-promo {
  background: var(--v7bb-gradient); color: var(--v7bb-text-white);
  padding: 12px 24px; border-radius: 30px; font-size: 1.4rem;
  font-weight: 700; box-shadow: 0 4px 15px rgba(132, 112, 255, 0.5);
  display: block; width: fit-content; margin: 16px auto;
  transition: all 0.3s ease;
}
.v7bb-btn-promo:hover { transform: scale(1.05); box-shadow: 0 6px 20px rgba(132, 112, 255, 0.7); }

/* Slider */
.v7bb-slider {
  position: relative; width: 100%; margin-top: 52px;
  aspect-ratio: 16/9; overflow: hidden;
  border-radius: 0 0 var(--v7bb-radius) var(--v7bb-radius);
}
.v7bb-slide {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0; transition: opacity 0.6s ease; cursor: pointer;
}
.v7bb-slide img { width: 100%; height: 100%; object-fit: cover; }
.v7bb-slider-dots {
  position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px; z-index: 5;
}
.v7bb-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.5); cursor: pointer;
}
.v7bb-dot.active { background: var(--v7bb-secondary); }

/* Main Content */
.v7bb-main { padding-top: 56px; padding-bottom: 20px; }
@media (max-width: 768px) {
  .v7bb-main { padding-bottom: 80px; }
}

/* Sections */
.v7bb-section {
  padding: 20px 16px;
  border-bottom: 1px solid rgba(132, 112, 255, 0.1);
}
.v7bb-section-title {
  font-size: 1.8rem; font-weight: 700; color: var(--v7bb-text-white);
  margin-bottom: 14px; padding-left: 10px;
  border-left: 3px solid var(--v7bb-primary);
}
.v7bb-section-subtitle {
  font-size: 1.4rem; font-weight: 600; color: var(--v7bb-accent);
  margin: 16px 0 10px;
}

/* Game Grid */
.v7bb-game-category { margin-bottom: 20px; }
.v7bb-category-label {
  font-size: 1.3rem; font-weight: 600; color: var(--v7bb-primary);
  margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.5px;
}
.v7bb-game-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 8px; padding: 0 4px;
}
.v7bb-game-item {
  text-align: center; cursor: pointer; transition: transform 0.2s;
  border-radius: var(--v7bb-radius-sm); padding: 6px;
  background: var(--v7bb-bg-card);
}
.v7bb-game-item:hover { transform: scale(1.05); }
.v7bb-game-item img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: var(--v7bb-radius-sm); margin-bottom: 4px;
}
.v7bb-game-name {
  font-size: 1.05rem; color: var(--v7bb-text-light);
  line-height: 1.3; overflow: hidden;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* Content Blocks */
.v7bb-content-block {
  background: var(--v7bb-bg-card); border-radius: var(--v7bb-radius);
  padding: 16px; margin-bottom: 16px;
  border: 1px solid var(--v7bb-border);
}
.v7bb-content-block h2 {
  font-size: 1.6rem; color: var(--v7bb-text-white); margin-bottom: 10px;
}
.v7bb-content-block h3 {
  font-size: 1.4rem; color: var(--v7bb-primary); margin: 12px 0 6px;
}
.v7bb-content-block p {
  font-size: 1.3rem; line-height: 1.6; color: var(--v7bb-text-muted);
  margin-bottom: 8px;
}
.v7bb-content-block ul, .v7bb-content-block ol {
  padding-left: 20px; margin-bottom: 10px;
}
.v7bb-content-block li {
  font-size: 1.3rem; line-height: 1.6; color: var(--v7bb-text-muted);
  margin-bottom: 4px;
}

/* Promo Link in Text */
.v7bb-text-link {
  color: var(--v7bb-secondary); font-weight: 600; cursor: pointer;
  text-decoration: underline;
}
.v7bb-text-link:hover { color: var(--v7bb-accent); }

/* Card Layout */
.v7bb-card {
  background: var(--v7bb-bg-card); border-radius: var(--v7bb-radius);
  padding: 14px; margin-bottom: 12px;
  border: 1px solid var(--v7bb-border);
  transition: border-color 0.3s;
}
.v7bb-card:hover { border-color: var(--v7bb-primary); }
.v7bb-card-title {
  font-size: 1.4rem; font-weight: 700; color: var(--v7bb-text-white);
  margin-bottom: 6px;
}
.v7bb-card-text { font-size: 1.2rem; color: var(--v7bb-text-muted); line-height: 1.5; }

/* Testimonial */
.v7bb-testimonial {
  background: linear-gradient(135deg, rgba(132,112,255,0.1), rgba(255,105,180,0.1));
  border-radius: var(--v7bb-radius); padding: 14px; margin-bottom: 10px;
  border-left: 3px solid var(--v7bb-secondary);
}
.v7bb-testimonial-name {
  font-size: 1.2rem; font-weight: 700; color: var(--v7bb-secondary);
  margin-bottom: 4px;
}
.v7bb-testimonial-text { font-size: 1.2rem; color: var(--v7bb-text-muted); line-height: 1.5; }

/* Payment Methods */
.v7bb-payment-grid {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
}
.v7bb-payment-item {
  background: var(--v7bb-bg-card); border-radius: var(--v7bb-radius-sm);
  padding: 10px 16px; font-size: 1.2rem; color: var(--v7bb-text-light);
  border: 1px solid var(--v7bb-border);
}

/* Winner Strip */
.v7bb-winner-strip {
  display: flex; align-items: center; gap: 10px;
  background: var(--v7bb-bg-card); border-radius: var(--v7bb-radius-sm);
  padding: 8px 12px; margin-bottom: 6px;
}
.v7bb-winner-name { font-size: 1.2rem; color: var(--v7bb-primary); font-weight: 600; }
.v7bb-winner-game { font-size: 1.1rem; color: var(--v7bb-text-muted); }
.v7bb-winner-amount { font-size: 1.2rem; color: var(--v7bb-secondary); font-weight: 700; margin-left: auto; }

/* Footer */
.v7bb-footer {
  background: var(--v7bb-bg-darker); padding: 24px 16px 16px;
  border-top: 1px solid var(--v7bb-border); text-align: center;
}
.v7bb-footer-brand { font-size: 1.3rem; color: var(--v7bb-text-muted); line-height: 1.6; margin-bottom: 16px; }
.v7bb-footer-links {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  margin-bottom: 16px;
}
.v7bb-footer-link {
  font-size: 1.1rem; color: var(--v7bb-text-light); cursor: pointer;
  padding: 4px 10px; border-radius: 4px; transition: all 0.3s;
}
.v7bb-footer-link:hover { color: var(--v7bb-secondary); background: rgba(255,105,180,0.1); }
.v7bb-footer-copy {
  font-size: 1.1rem; color: rgba(230,230,250,0.4); margin-top: 12px;
  padding-top: 12px; border-top: 1px solid rgba(132,112,255,0.1);
}
.v7bb-footer-partners {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
  margin-bottom: 16px;
}
.v7bb-footer-partners img { height: 24px; opacity: 0.7; }

/* Mobile Side Menu */
.v7bb-mobile-menu {
  position: fixed; top: 0; left: 0; width: 280px; height: 100vh;
  background: var(--v7bb-bg-darker); z-index: 9999;
  transform: translateX(-100%); transition: transform 0.3s ease, visibility 0.3s;
  visibility: hidden; overflow-y: auto; padding-top: 20px;
}
.v7bb-mobile-menu.v7bb-menu-open { transform: translateX(0); visibility: visible; }
.v7bb-menu-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
  background: rgba(0,0,0,0.6); z-index: 9998; display: none; opacity: 0;
  transition: opacity 0.3s;
}
.v7bb-menu-header {
  padding: 12px 16px; display: flex; align-items: center;
  justify-content: space-between; border-bottom: 1px solid var(--v7bb-border);
}
.v7bb-menu-header-title { font-size: 1.6rem; color: var(--v7bb-text-white); font-weight: 700; }
.v7bb-menu-close {
  background: none; border: none; color: var(--v7bb-text-light);
  font-size: 2.4rem; cursor: pointer; line-height: 1;
}
.v7bb-menu-links { padding: 8px 0; }
.v7bb-menu-link {
  display: block; padding: 12px 20px; font-size: 1.4rem;
  color: var(--v7bb-text-light); transition: all 0.2s;
  border-bottom: 1px solid rgba(132,112,255,0.05);
}
.v7bb-menu-link:hover { color: var(--v7bb-secondary); background: rgba(255,105,180,0.08); padding-left: 26px; }

/* Bottom Navigation */
.v7bb-bottom-nav {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; z-index: 1000;
  background: linear-gradient(180deg, var(--v7bb-bg-darker), #111b27);
  border-top: 1px solid var(--v7bb-border);
  display: flex; justify-content: space-around; align-items: center;
  height: 60px; padding: 4px 0;
}
.v7bb-bottom-btn {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; min-width: 60px; min-height: 52px;
  background: none; border: none; cursor: pointer;
  color: var(--v7bb-text-muted); transition: all 0.25s;
  border-radius: var(--v7bb-radius-sm); padding: 2px 4px;
}
.v7bb-bottom-btn:hover, .v7bb-bottom-btn.v7bb-active {
  color: var(--v7bb-secondary);
}
.v7bb-bottom-btn:hover { background: rgba(255,105,180,0.08); }
.v7bb-bottom-btn i, .v7bb-bottom-btn .material-icons,
.v7bb-bottom-btn ion-icon, .v7bb-bottom-btn bi {
  font-size: 22px; margin-bottom: 2px;
}
.v7bb-bottom-btn span {
  font-size: 1rem; line-height: 1.2; white-space: nowrap;
}

/* H1 Styling */
.v7bb-h1 {
  font-size: 2rem; font-weight: 800; color: var(--v7bb-text-white);
  text-align: center; padding: 20px 16px 10px; line-height: 1.3;
}
.v7bb-h1-accent {
  background: var(--v7bb-gradient); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}

/* FAQ Accordion */
.v7bb-faq-item {
  background: var(--v7bb-bg-card); border-radius: var(--v7bb-radius-sm);
  margin-bottom: 8px; overflow: hidden;
  border: 1px solid var(--v7bb-border);
}
.v7bb-faq-q {
  padding: 12px 14px; font-size: 1.3rem; font-weight: 600;
  color: var(--v7bb-text-white); cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
}
.v7bb-faq-q::after { content: '+'; font-size: 1.6rem; color: var(--v7bb-primary); }
.v7bb-faq-a {
  padding: 0 14px 12px; font-size: 1.2rem; color: var(--v7bb-text-muted);
  line-height: 1.5; display: none;
}

/* Feature List */
.v7bb-feature-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;
}
.v7bb-feature-item {
  background: var(--v7bb-bg-card); border-radius: var(--v7bb-radius-sm);
  padding: 12px; text-align: center;
  border: 1px solid var(--v7bb-border);
}
.v7bb-feature-icon { font-size: 2.4rem; color: var(--v7bb-primary); margin-bottom: 6px; }
.v7bb-feature-label { font-size: 1.1rem; color: var(--v7bb-text-light); font-weight: 600; }
.v7bb-feature-desc { font-size: 1rem; color: var(--v7bb-text-muted); margin-top: 4px; }

/* App Download CTA */
.v7bb-app-cta {
  background: linear-gradient(135deg, rgba(132,112,255,0.15), rgba(255,105,180,0.15));
  border-radius: var(--v7bb-radius); padding: 20px 16px;
  text-align: center; border: 1px solid var(--v7bb-border);
}
.v7bb-app-cta h3 { font-size: 1.6rem; color: var(--v7bb-text-white); margin-bottom: 8px; }
.v7bb-app-cta p { font-size: 1.2rem; color: var(--v7bb-text-muted); margin-bottom: 14px; }

/* Internal links */
.v7bb-internal-link {
  color: var(--v7bb-accent); text-decoration: underline;
  transition: color 0.3s;
}
.v7bb-internal-link:hover { color: var(--v7bb-secondary); }

/* Responsive */
@media (min-width: 769px) {
  .v7bb-bottom-nav { display: none; }
}
@media (max-width: 768px) {
  .v7bb-main { padding-bottom: 76px; }
}
