/* ph222 ph - Theme Stylesheet */
/* Prefix: vb66- | All classes use vb66- prefix */

/* Root variables */
:root {
  --vb66-primary: #333333;
  --vb66-bg: #333333;
  --vb66-bg-light: #3a3a3a;
  --vb66-text: #F8F8FF;
  --vb66-text-muted: #DCDCDC;
  --vb66-accent: #808080;
  --vb66-accent-gold: #C9A84C;
  --vb66-accent-red: #C0392B;
  --vb66-accent-green: #27AE60;
  --vb66-border: #555555;
  --vb66-card-bg: #2c2c2c;
  --vb66-font-size: 62.5%;
  --vb66-radius: 8px;
  --vb66-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* Reset and base */
html {
  font-size: var(--vb66-font-size);
  scroll-behavior: smooth;
}

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

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

a {
  color: var(--vb66-accent-gold);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: #e0c56a;
}

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

/* Container */
.vb66-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.2rem;
}

/* Header */
.vb66-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  background: var(--vb66-bg);
  border-bottom: 1px solid var(--vb66-border);
  z-index: 1000;
  padding: 0.8rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.vb66-header-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
}

.vb66-header-logo img {
  width: 28px;
  height: 28px;
  border-radius: 4px;
}

.vb66-header-logo span {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--vb66-accent-gold);
  letter-spacing: 0.5px;
}

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

.vb66-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: var(--vb66-radius);
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  min-height: 36px;
}

.vb66-btn-register {
  background: var(--vb66-accent-gold);
  color: var(--vb66-primary);
}

.vb66-btn-register:hover {
  background: #e0c56a;
  transform: scale(1.03);
}

.vb66-btn-login {
  background: transparent;
  color: var(--vb66-text);
  border: 1px solid var(--vb66-border);
}

.vb66-btn-login:hover {
  background: var(--vb66-bg-light);
  border-color: var(--vb66-accent-gold);
}

.vb66-btn-promo {
  background: linear-gradient(135deg, var(--vb66-accent-gold), #D4A843);
  color: var(--vb66-primary);
  font-weight: 700;
  padding: 1rem 2rem;
  border-radius: 2.5rem;
  font-size: 1.4rem;
  display: block;
  width: 100%;
  text-align: center;
  margin: 1.5rem 0;
  box-shadow: 0 4px 12px rgba(201,168,76,0.4);
}

.vb66-btn-promo:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(201,168,76,0.5);
}

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

/* Mobile menu */
.vb66-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100%;
  background: var(--vb66-bg);
  z-index: 9999;
  transition: right 0.3s ease;
  padding: 2rem 1.5rem;
  overflow-y: auto;
  border-left: 1px solid var(--vb66-border);
}

.vb66-mobile-menu.xc6ab-menu-active {
  right: 0;
}

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

.vb66-menu-overlay.xc6ab-overlay-active {
  display: block;
}

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

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

.vb66-menu-links li {
  border-bottom: 1px solid var(--vb66-border);
}

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

.vb66-menu-links a:hover {
  color: var(--vb66-accent-gold);
}

/* Main content */
.vb66-main {
  padding-top: 6rem;
  padding-bottom: 1rem;
  min-height: 100vh;
}

@media (max-width: 768px) {
  .vb66-main {
    padding-bottom: 8rem;
  }
}

/* Carousel */
.vb66-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--vb66-radius);
  margin-bottom: 1.5rem;
}

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

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

.vb66-carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  padding: 1rem 0.6rem;
  cursor: pointer;
  font-size: 1.6rem;
  border-radius: 4px;
}

.vb66-carousel-prev { left: 0.5rem; }
.vb66-carousel-next { right: 0.5rem; }

.vb66-carousel-dots {
  position: absolute;
  bottom: 0.8rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
}

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

.vb66-carousel-dot.xc6ab-dot-active {
  background: var(--vb66-accent-gold);
}

/* Section titles */
.vb66-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--vb66-accent-gold);
  margin: 2rem 0 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--vb66-accent-gold);
}

.vb66-section-title i {
  margin-right: 0.5rem;
}

/* Game grid */
.vb66-game-section {
  margin-bottom: 2rem;
}

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

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

.vb66-game-item:hover {
  transform: scale(1.05);
}

.vb66-game-item img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--vb66-radius);
  margin-bottom: 0.3rem;
  box-shadow: var(--vb66-shadow);
}

.vb66-game-item span {
  font-size: 1rem;
  color: var(--vb66-text-muted);
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Content sections */
.vb66-content-block {
  background: var(--vb66-card-bg);
  border-radius: var(--vb66-radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--vb66-border);
}

.vb66-content-block h2 {
  font-size: 1.7rem;
  color: var(--vb66-accent-gold);
  margin-bottom: 1rem;
}

.vb66-content-block h3 {
  font-size: 1.4rem;
  color: var(--vb66-text);
  margin: 1rem 0 0.5rem;
}

.vb66-content-block p {
  font-size: 1.3rem;
  color: var(--vb66-text-muted);
  line-height: 1.8;
  margin-bottom: 0.8rem;
}

.vb66-content-block ul, .vb66-content-block ol {
  padding-left: 2rem;
  margin-bottom: 1rem;
}

.vb66-content-block li {
  font-size: 1.3rem;
  color: var(--vb66-text-muted);
  line-height: 1.8;
  margin-bottom: 0.3rem;
}

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

.vb66-promo-text:hover {
  color: #e0c56a;
}

/* Footer */
.vb66-footer {
  background: var(--vb66-card-bg);
  padding: 2rem 1.2rem;
  margin-top: 2rem;
  border-top: 1px solid var(--vb66-border);
}

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

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

.vb66-footer-links a {
  background: var(--vb66-bg-light);
  padding: 0.5rem 1rem;
  border-radius: var(--vb66-radius);
  font-size: 1.1rem;
  color: var(--vb66-text-muted);
  border: 1px solid var(--vb66-border);
  transition: all 0.2s;
}

.vb66-footer-links a:hover {
  border-color: var(--vb66-accent-gold);
  color: var(--vb66-accent-gold);
}

.vb66-footer-copyright {
  font-size: 1.1rem;
  color: var(--vb66-accent);
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid var(--vb66-border);
}

/* Bottom nav - mobile only */
.vb66-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  background: var(--vb66-card-bg);
  border-top: 1px solid var(--vb66-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 60px;
  z-index: 1000;
  padding: 0 0.5rem;
}

.vb66-bottom-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--vb66-accent);
  cursor: pointer;
  min-width: 60px;
  min-height: 56px;
  transition: all 0.2s;
  gap: 0.2rem;
}

.vb66-bottom-btn:hover,
.vb66-bottom-btn:active {
  color: var(--vb66-accent-gold);
  transform: scale(1.1);
}

.vb66-bottom-btn i,
.vb66-bottom-btn span.material-symbols-outlined {
  font-size: 22px;
}

.vb66-bottom-btn .iconify {
  font-size: 22px;
}

.vb66-bottom-btn span.vb66-btn-label {
  font-size: 1rem;
  color: inherit;
}

.vb66-bottom-active {
  color: var(--vb66-accent-gold);
}

/* Desktop: hide bottom nav */
@media (min-width: 769px) {
  .vb66-bottom-nav {
    display: none;
  }
}

/* Winner ticker */
.vb66-winner-ticker {
  background: var(--vb66-card-bg);
  border: 1px solid var(--vb66-border);
  border-radius: var(--vb66-radius);
  padding: 0.8rem 1.2rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  overflow: hidden;
}

.vb66-winner-ticker .vb66-ticker-icon {
  color: var(--vb66-accent-gold);
  font-size: 1.6rem;
  flex-shrink: 0;
}

.vb66-winner-item {
  display: none;
  font-size: 1.2rem;
  color: var(--vb66-text-muted);
}

.vb66-winner-item:first-child {
  display: block;
}

.vb66-winner-amount {
  color: var(--vb66-accent-green);
  font-weight: 700;
}

/* Payment methods */
.vb66-payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}

.vb66-payment-item {
  background: var(--vb66-bg-light);
  border: 1px solid var(--vb66-border);
  border-radius: var(--vb66-radius);
  padding: 0.6rem 1rem;
  font-size: 1.1rem;
  color: var(--vb66-text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Testimonial cards */
.vb66-testimonial {
  background: var(--vb66-bg-light);
  border-radius: var(--vb66-radius);
  padding: 1.2rem;
  margin-bottom: 1rem;
  border-left: 3px solid var(--vb66-accent-gold);
}

.vb66-testimonial-author {
  font-size: 1.2rem;
  color: var(--vb66-accent-gold);
  font-weight: 600;
  margin-bottom: 0.3rem;
}

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

/* Feature list */
.vb66-feature-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.vb66-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.vb66-feature-item i {
  color: var(--vb66-accent-gold);
  font-size: 1.8rem;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.vb66-feature-item div {
  font-size: 1.3rem;
  color: var(--vb66-text-muted);
  line-height: 1.6;
}

.vb66-feature-item strong {
  color: var(--vb66-text);
  display: block;
  margin-bottom: 0.2rem;
}

/* FAQ accordion */
.vb66-faq-item {
  border-bottom: 1px solid var(--vb66-border);
  padding: 1rem 0;
}

.vb66-faq-question {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--vb66-text);
  margin-bottom: 0.5rem;
}

.vb66-faq-answer {
  font-size: 1.2rem;
  color: var(--vb66-text-muted);
  line-height: 1.6;
}

/* App download CTA */
.vb66-app-cta {
  background: linear-gradient(135deg, var(--vb66-card-bg), var(--vb66-bg-light));
  border: 1px solid var(--vb66-border);
  border-radius: var(--vb66-radius);
  padding: 1.5rem;
  text-align: center;
}

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

.vb66-app-cta p {
  font-size: 1.2rem;
  color: var(--vb66-text-muted);
  margin-bottom: 1.2rem;
}

.vb66-app-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.vb66-app-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  background: var(--vb66-accent-gold);
  color: var(--vb66-primary);
  border-radius: 2rem;
  font-weight: 600;
  font-size: 1.2rem;
  cursor: pointer;
  transition: transform 0.2s;
}

.vb66-app-btn:hover {
  transform: scale(1.05);
}

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

.vb66-rtp-table th {
  background: var(--vb66-bg-light);
  color: var(--vb66-accent-gold);
  padding: 0.6rem;
  text-align: left;
  font-size: 1.1rem;
}

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

/* Help page styles */
.vb66-help-content {
  padding: 0 0.5rem;
}

.vb66-step-list {
  counter-reset: vb66-step;
  list-style: none;
  padding-left: 0;
}

.vb66-step-list li {
  counter-increment: vb66-step;
  position: relative;
  padding-left: 3rem;
  margin-bottom: 1rem;
}

.vb66-step-list li::before {
  content: counter(vb66-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.2rem;
  height: 2.2rem;
  background: var(--vb66-accent-gold);
  color: var(--vb66-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
}

/* Responsive helpers */
@media (max-width: 768px) {
  .vb66-game-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.6rem;
  }
}

/* Desktop navigation */
.vb66-desktop-nav {
  display: none;
}

@media (min-width: 769px) {
  .vb66-desktop-nav {
    display: flex;
    gap: 1.5rem;
    align-items: center;
  }

  .vb66-desktop-nav a {
    color: var(--vb66-text-muted);
    font-size: 1.3rem;
    transition: color 0.2s;
  }

  .vb66-desktop-nav a:hover {
    color: var(--vb66-accent-gold);
  }
}
