/**
 * filbetcasinologin - Core Stylesheet
 * All classes use prefix "vb2e-" for namespace isolation
 * Color palette: #4DB6AC | #E8F5E8 | #008B8B | #D2B48C | #273746
 */

/* === CSS Variables === */
:root {
  --vb2e-primary: #4DB6AC;
  --vb2e-light: #E8F5E8;
  --vb2e-teal: #008B8B;
  --vb2e-gold: #D2B48C;
  --vb2e-dark: #273746;
  --vb2e-bg: #1a2332;
  --vb2e-card-bg: #1e2d3d;
  --vb2e-text: #E8F5E8;
  --vb2e-text-muted: #a0b4c8;
  --vb2e-accent: #4DB6AC;
  --vb2e-gold-accent: #D2B48C;
  --vb2e-border: rgba(77, 182, 172, 0.2);
  --vb2e-radius: 12px;
  --vb2e-radius-sm: 8px;
  --vb2e-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  font-size: 62.5%;
}

/* === Base Reset === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--vb2e-bg);
  color: var(--vb2e-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 430px;
  margin: 0 auto;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: var(--vb2e-accent);
}

img {
  max-width: 100%;
  height: auto;
}

/* === Header === */
.vb2e-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 1000;
  background: linear-gradient(135deg, var(--vb2e-dark), #1a2f42);
  border-bottom: 2px solid var(--vb2e-teal);
  padding: 0.8rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.vb2e-logo-area {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

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

.vb2e-logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--vb2e-primary);
  white-space: nowrap;
}

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

.vb2e-btn-register,
.vb2e-btn-login {
  padding: 0.5rem 1.2rem;
  border-radius: var(--vb2e-radius-sm);
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
}

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

.vb2e-btn-register:hover {
  transform: scale(1.05);
  box-shadow: 0 2px 12px rgba(77, 182, 172, 0.4);
}

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

.vb2e-btn-login:hover {
  background: rgba(210, 180, 140, 0.1);
}

.vb2e-menu-toggle {
  background: none;
  border: none;
  color: var(--vb2e-text);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* === Mobile Menu === */
.vb2e-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.vb2e-overlay-active {
  opacity: 1;
  visibility: visible;
}

.vb2e-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100%;
  background: linear-gradient(180deg, var(--vb2e-dark), #0d1922);
  z-index: 9999;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 2rem 1.5rem;
  overflow-y: auto;
}

.vb2e-menu-active {
  right: 0;
}

.vb2e-menu-close {
  background: none;
  border: none;
  color: var(--vb2e-text);
  font-size: 2.4rem;
  cursor: pointer;
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.vb2e-menu-links {
  list-style: none;
  margin-top: 2rem;
}

.vb2e-menu-links li {
  border-bottom: 1px solid rgba(77, 182, 172, 0.15);
}

.vb2e-menu-links a {
  display: block;
  padding: 1.2rem 0;
  color: var(--vb2e-text);
  font-size: 1.4rem;
  transition: color 0.2s;
}

.vb2e-menu-links a:hover {
  color: var(--vb2e-primary);
}

/* === Carousel === */
.vb2e-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 0 0 var(--vb2e-radius) var(--vb2e-radius);
}

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

.vb2e-slide-active {
  display: block;
  animation: vb2eFadeIn 0.5s ease;
}

@keyframes vb2eFadeIn {
  from { opacity: 0.3; }
  to { opacity: 1; }
}

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

.vb2e-carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

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

.vb2e-dot-active {
  background: var(--vb2e-primary);
  width: 20px;
  border-radius: 4px;
}

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

.vb2e-section {
  padding: 2rem 1.2rem;
}

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

.vb2e-section-title i,
.vb2e-section-title .material-icons {
  font-size: 2rem;
}

/* === Game Grid === */
.vb2e-category-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--vb2e-gold);
  margin: 1.6rem 0 1rem;
  padding-left: 0.8rem;
  border-left: 3px solid var(--vb2e-primary);
}

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

.vb2e-game-item {
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease;
  background: var(--vb2e-card-bg);
  border-radius: var(--vb2e-radius-sm);
  padding: 0.6rem 0.3rem;
  border: 1px solid var(--vb2e-border);
}

.vb2e-game-item:hover {
  transform: translateY(-2px);
  border-color: var(--vb2e-primary);
}

.vb2e-game-item img {
  width: 54px;
  height: 54px;
  border-radius: 10px;
  margin: 0 auto 0.4rem;
  display: block;
}

.vb2e-game-name {
  font-size: 1rem;
  color: var(--vb2e-text-muted);
  line-height: 1.2rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.vb2e-card h3 {
  font-size: 1.5rem;
  color: var(--vb2e-gold);
  margin-bottom: 0.8rem;
}

.vb2e-card p {
  color: var(--vb2e-text-muted);
  line-height: 1.6;
  margin-bottom: 0.8rem;
}

/* === Promo Button === */
.vb2e-promo-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--vb2e-primary), var(--vb2e-teal));
  color: #fff;
  padding: 1rem 2.4rem;
  border-radius: var(--vb2e-radius);
  font-size: 1.5rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(77, 182, 172, 0.3);
}

.vb2e-promo-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 25px rgba(77, 182, 172, 0.5);
}

.vb2e-promo-text {
  color: var(--vb2e-primary);
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s;
}

.vb2e-promo-text:hover {
  color: var(--vb2e-gold);
  text-decoration: underline;
}

/* === Feature List === */
.vb2e-feature-list {
  list-style: none;
}

.vb2e-feature-list li {
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(77, 182, 172, 0.1);
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  color: var(--vb2e-text-muted);
}

.vb2e-feature-list li i {
  color: var(--vb2e-primary);
  margin-top: 0.2rem;
}

/* === Testimonials === */
.vb2e-testimonial {
  background: linear-gradient(135deg, rgba(77, 182, 172, 0.1), rgba(0, 139, 139, 0.1));
  border-radius: var(--vb2e-radius-sm);
  padding: 1.2rem;
  margin-bottom: 1rem;
  border-left: 3px solid var(--vb2e-primary);
}

.vb2e-testimonial p {
  font-style: italic;
  color: var(--vb2e-text-muted);
  margin-bottom: 0.4rem;
}

.vb2e-testimonial-author {
  font-size: 1.1rem;
  color: var(--vb2e-gold);
  font-weight: 600;
}

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

.vb2e-payment-item {
  background: var(--vb2e-card-bg);
  border: 1px solid var(--vb2e-border);
  border-radius: var(--vb2e-radius-sm);
  padding: 0.8rem 1.4rem;
  font-size: 1.2rem;
  color: var(--vb2e-text-muted);
  text-align: center;
}

/* === Winners Showcase === */
.vb2e-winner-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(77, 182, 172, 0.08);
}

.vb2e-winner-name {
  color: var(--vb2e-primary);
  font-weight: 600;
  font-size: 1.2rem;
}

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

.vb2e-winner-amount {
  color: var(--vb2e-gold);
  font-weight: 700;
  font-size: 1.3rem;
}

/* === Footer === */
.vb2e-footer {
  background: linear-gradient(180deg, var(--vb2e-dark), #0d1922);
  padding: 2rem 1.2rem 6rem;
  border-top: 2px solid var(--vb2e-teal);
}

.vb2e-footer-desc {
  color: var(--vb2e-text-muted);
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

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

.vb2e-footer-links a {
  color: var(--vb2e-text-muted);
  font-size: 1.1rem;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--vb2e-border);
  border-radius: 4px;
  transition: all 0.2s;
}

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

.vb2e-footer-promo {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.vb2e-footer-promo-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--vb2e-teal), var(--vb2e-dark));
  color: var(--vb2e-primary);
  padding: 0.6rem 1.2rem;
  border-radius: var(--vb2e-radius-sm);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--vb2e-primary);
  transition: all 0.2s;
}

.vb2e-footer-promo-btn:hover {
  background: var(--vb2e-primary);
  color: #fff;
}

.vb2e-copyright {
  text-align: center;
  color: var(--vb2e-text-muted);
  font-size: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--vb2e-border);
}

/* === Bottom Navigation === */
.vb2e-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 60px;
  background: linear-gradient(135deg, var(--vb2e-dark), #0d1922);
  border-top: 2px solid var(--vb2e-teal);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.4);
}

.vb2e-bottom-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 54px;
  background: none;
  border: none;
  color: var(--vb2e-text-muted);
  cursor: pointer;
  transition: all 0.25s ease;
  padding: 0.4rem;
  border-radius: var(--vb2e-radius-sm);
}

.vb2e-bottom-btn:hover,
.vb2e-bottom-btn:focus {
  color: var(--vb2e-primary);
}

.vb2e-bottom-btn .material-icons,
.vb2e-bottom-btn i {
  font-size: 22px;
  margin-bottom: 2px;
  transition: transform 0.2s;
}

.vb2e-bottom-btn:hover .material-icons,
.vb2e-bottom-btn:hover i {
  transform: scale(1.15);
}

.vb2e-bottom-btn span {
  font-size: 1rem;
  line-height: 1.2rem;
}

.vb2e-bottom-btn.vb2e-btn-active {
  color: var(--vb2e-primary);
}

.vb2e-bottom-btn.vb2e-btn-active::after {
  content: '';
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--vb2e-primary);
  margin-top: 1px;
}

.vb2e-btn-touched {
  transform: scale(0.92);
}

/* === Desktop: Hide bottom nav === */
@media (min-width: 769px) {
  .vb2e-bottom-nav {
    display: none;
  }
  .vb2e-footer {
    padding-bottom: 2rem;
  }
}

/* === Mobile bottom padding === */
@media (max-width: 768px) {
  .vb2e-main {
    padding-bottom: 80px;
  }
}

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

/* === RTP Table === */
.vb2e-rtp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.2rem;
}

.vb2e-rtp-table th {
  background: var(--vb2e-teal);
  color: #fff;
  padding: 0.6rem 0.8rem;
  text-align: left;
  font-weight: 600;
}

.vb2e-rtp-table td {
  padding: 0.5rem 0.8rem;
  border-bottom: 1px solid var(--vb2e-border);
  color: var(--vb2e-text-muted);
}

.vb2e-rtp-table tr:hover td {
  background: rgba(77, 182, 172, 0.05);
}

/* === FAQ === */
.vb2e-faq-item {
  margin-bottom: 1rem;
  border: 1px solid var(--vb2e-border);
  border-radius: var(--vb2e-radius-sm);
  overflow: hidden;
}

.vb2e-faq-q {
  font-weight: 600;
  color: var(--vb2e-gold);
  padding: 1rem;
  background: rgba(77, 182, 172, 0.05);
  font-size: 1.3rem;
}

.vb2e-faq-a {
  padding: 1rem;
  color: var(--vb2e-text-muted);
  line-height: 1.6;
}

/* === App Download CTA === */
.vb2e-app-cta {
  background: linear-gradient(135deg, rgba(77, 182, 172, 0.15), rgba(0, 139, 139, 0.15));
  border-radius: var(--vb2e-radius);
  padding: 1.5rem;
  text-align: center;
  border: 1px solid var(--vb2e-border);
}

.vb2e-app-cta h3 {
  color: var(--vb2e-primary);
  font-size: 1.6rem;
  margin-bottom: 0.8rem;
}

.vb2e-app-cta p {
  color: var(--vb2e-text-muted);
  margin-bottom: 1rem;
}

/* === Achievement Badge === */
.vb2e-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(210, 180, 140, 0.15);
  color: var(--vb2e-gold);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0.2rem;
}
