/**
 * Pair Play Layout Stylesheet
 * Prefix: veb8-
 * Colors: #1C2833 (dark bg), #EEEEEE (light text), #FFBF00 (accent), #FFAA00 (secondary)
 * Mobile-first design, max-width 430px
 */

/* === Root Variables === */
:root {
  --veb8-primary: #1C2833;
  --veb8-bg: #1C2833;
  --veb8-bg-light: #2C3E50;
  --veb8-bg-card: #1a2332;
  --veb8-text: #EEEEEE;
  --veb8-text-muted: #b0b8c1;
  --veb8-accent: #FFBF00;
  --veb8-secondary: #FFAA00;
  --veb8-border: #34495E;
  --veb8-success: #27AE60;
  --veb8-danger: #E74C3C;
  --veb8-radius: 0.8rem;
  --veb8-radius-sm: 0.4rem;
  --veb8-shadow: 0 0.2rem 1rem rgba(0, 0, 0, 0.4);
  --veb8-transition: all 0.3s ease;
  font-size: 62.5%;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--veb8-bg);
  color: var(--veb8-text);
  font-size: 1.4rem;
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a:hover {
  color: var(--veb8-secondary);
}

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

ul, ol {
  list-style: none;
}

/* === Typography === */
.veb8-h1, .veb8-h2, .veb8-h3, .veb8-h4 {
  color: var(--veb8-text);
  font-weight: 700;
  line-height: 1.3;
}

.veb8-h1 {
  font-size: 2.2rem;
  margin-bottom: 1.2rem;
}

.veb8-h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.veb8-h3 {
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
}

.veb8-h4 {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}

.veb8-text-muted {
  color: var(--veb8-text-muted);
}

.veb8-text-accent {
  color: var(--veb8-accent);
}

.veb8-text-center {
  text-align: center;
}

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

.veb8-wrapper {
  width: 100%;
  padding: 1.2rem 0;
}

/* === Header === */
.veb8-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 5.2rem;
  background: linear-gradient(135deg, var(--veb8-bg) 0%, var(--veb8-bg-light) 100%);
  border-bottom: 0.2rem solid var(--veb8-accent);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
}

.veb8-logo-area {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.veb8-logo-area img {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 0.4rem;
}

.veb8-logo-area span {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--veb8-accent);
  white-space: nowrap;
}

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

.veb8-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.2rem;
  border-radius: var(--veb8-radius-sm);
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: var(--veb8-transition);
  text-transform: uppercase;
  letter-spacing: 0.05rem;
  min-height: 3.6rem;
}

.veb8-btn-register {
  background: linear-gradient(135deg, var(--veb8-accent) 0%, var(--veb8-secondary) 100%);
  color: var(--veb8-primary);
}

.veb8-btn-register:hover {
  transform: scale(1.05);
  box-shadow: 0 0.3rem 1rem rgba(255, 191, 0, 0.4);
}

.veb8-btn-login {
  background: transparent;
  color: var(--veb8-accent);
  border: 0.15rem solid var(--veb8-accent);
}

.veb8-btn-login:hover {
  background: var(--veb8-accent);
  color: var(--veb8-primary);
}

.veb8-btn-promo {
  background: linear-gradient(135deg, var(--veb8-accent) 0%, var(--veb8-secondary) 100%);
  color: var(--veb8-primary);
  padding: 1rem 2rem;
  font-size: 1.4rem;
  border-radius: var(--veb8-radius);
  width: 100%;
  text-align: center;
  display: block;
}

.veb8-btn-promo:hover {
  transform: translateY(-0.2rem);
  box-shadow: 0 0.4rem 1.5rem rgba(255, 191, 0, 0.5);
}

.veb8-btn-outline {
  background: transparent;
  color: var(--veb8-accent);
  border: 0.15rem solid var(--veb8-accent);
  padding: 0.8rem 1.6rem;
  border-radius: var(--veb8-radius);
}

.veb8-btn-outline:hover {
  background: var(--veb8-accent);
  color: var(--veb8-primary);
}

.veb8-hamburger {
  width: 3.6rem;
  height: 3.6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.4rem;
}

.veb8-hamburger span {
  display: block;
  width: 2rem;
  height: 0.2rem;
  background: var(--veb8-accent);
  border-radius: 0.1rem;
  transition: var(--veb8-transition);
}

/* === Side Menu === */
.veb8-side-menu {
  position: fixed;
  top: 0;
  right: -28rem;
  width: 28rem;
  height: 100vh;
  background: var(--veb8-bg);
  z-index: 9999;
  transition: right 0.35s ease;
  overflow-y: auto;
  border-left: 0.2rem solid var(--veb8-accent);
  padding: 1.5rem 0;
}

.veb8-side-menu.veb8-menu-active {
  right: 0;
}

.veb8-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: var(--veb8-transition);
}

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

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

.veb8-menu-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--veb8-accent);
}

.veb8-menu-close {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0.15rem solid var(--veb8-border);
  border-radius: 50%;
  color: var(--veb8-text);
  font-size: 1.6rem;
  cursor: pointer;
}

.veb8-menu-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  color: var(--veb8-text);
  font-size: 1.3rem;
  font-weight: 500;
  border-bottom: 0.1rem solid rgba(52, 73, 94, 0.3);
  transition: var(--veb8-transition);
}

.veb8-menu-link:hover {
  background: var(--veb8-bg-light);
  color: var(--veb8-accent);
}

.veb8-menu-link i,
.veb8-menu-link .material-icons {
  font-size: 1.8rem;
  color: var(--veb8-accent);
}

/* === Carousel === */
.veb8-carousel {
  position: relative;
  width: 100%;
  margin-top: 5.2rem;
  overflow: hidden;
  border-radius: 0;
}

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

.veb8-carousel-slide img {
  width: 100%;
  height: auto;
  min-height: 16rem;
  object-fit: cover;
}

.veb8-carousel-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
  z-index: 5;
}

.veb8-carousel-dot {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: rgba(238, 238, 238, 0.4);
  cursor: pointer;
  transition: var(--veb8-transition);
  border: none;
}

.veb8-dot-active {
  background: var(--veb8-accent);
  transform: scale(1.3);
}

/* === Section === */
.veb8-section {
  padding: 1.5rem 1rem;
}

.veb8-section-title {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--veb8-accent);
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 0.2rem solid var(--veb8-border);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

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

/* === Game Grid === */
.veb8-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
}

.veb8-game-item {
  text-align: center;
  cursor: pointer;
  transition: var(--veb8-transition);
  border-radius: var(--veb8-radius-sm);
  overflow: hidden;
  background: var(--veb8-bg-card);
  padding: 0.3rem;
}

.veb8-game-item:hover {
  transform: translateY(-0.2rem);
  box-shadow: 0 0.3rem 1rem rgba(255, 191, 0, 0.3);
}

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

.veb8-game-item .veb8-game-name {
  font-size: 1rem;
  color: var(--veb8-text);
  padding: 0.3rem 0.1rem;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* === Tabs === */
.veb8-tabs-nav {
  display: flex;
  gap: 0;
  overflow-x: auto;
  border-bottom: 0.2rem solid var(--veb8-border);
  margin-bottom: 1rem;
  -webkit-overflow-scrolling: touch;
}

.veb8-tab-btn {
  padding: 0.8rem 1.2rem;
  background: transparent;
  color: var(--veb8-text-muted);
  border: none;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--veb8-transition);
  border-bottom: 0.3rem solid transparent;
}

.veb8-tab-btn.veb8-tab-active,
.veb8-tab-btn:hover {
  color: var(--veb8-accent);
  border-bottom-color: var(--veb8-accent);
}

.veb8-tab-panel {
  display: none;
}

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

.veb8-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--veb8-accent);
  margin-bottom: 0.8rem;
}

.veb8-card-text {
  font-size: 1.3rem;
  line-height: 1.6;
  color: var(--veb8-text-muted);
}

/* === Info Box === */
.veb8-info-box {
  background: linear-gradient(135deg, var(--veb8-bg-light) 0%, var(--veb8-bg-card) 100%);
  border-left: 0.3rem solid var(--veb8-accent);
  padding: 1rem 1.2rem;
  margin: 1rem 0;
  border-radius: 0 var(--veb8-radius) var(--veb8-radius) 0;
}

/* === Steps === */
.veb8-steps {
  counter-reset: step;
}

.veb8-step-item {
  counter-increment: step;
  position: relative;
  padding-left: 3.5rem;
  margin-bottom: 1.5rem;
}

.veb8-step-item::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.6rem;
  height: 2.6rem;
  background: var(--veb8-accent);
  color: var(--veb8-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.3rem;
}

/* === FAQ === */
.veb8-faq-item {
  border-bottom: 0.1rem solid var(--veb8-border);
  padding: 1rem 0;
}

.veb8-faq-q {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--veb8-accent);
  margin-bottom: 0.4rem;
}

.veb8-faq-a {
  font-size: 1.2rem;
  color: var(--veb8-text-muted);
  line-height: 1.5;
}

/* === Winners Showcase === */
.veb8-winners-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.veb8-winner-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1rem;
  background: var(--veb8-bg-card);
  border-radius: var(--veb8-radius-sm);
  border: 0.1rem solid var(--veb8-border);
}

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

.veb8-winner-amount {
  font-weight: 800;
  color: var(--veb8-success);
  font-size: 1.3rem;
}

/* === Testimonial === */
.veb8-testimonial {
  background: var(--veb8-bg-card);
  border-radius: var(--veb8-radius);
  padding: 1rem;
  margin-bottom: 0.8rem;
  border: 0.1rem solid var(--veb8-border);
}

.veb8-testimonial-text {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--veb8-text-muted);
  margin-bottom: 0.6rem;
}

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

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

.veb8-payment-item {
  background: var(--veb8-bg-card);
  border: 0.1rem solid var(--veb8-border);
  border-radius: var(--veb8-radius-sm);
  padding: 0.6rem 1rem;
  font-size: 1.1rem;
  color: var(--veb8-text);
  text-align: center;
}

/* === Footer === */
.veb8-footer {
  background: var(--veb8-bg-card);
  border-top: 0.2rem solid var(--veb8-accent);
  padding: 2rem 1rem 3rem;
  text-align: center;
}

.veb8-footer-brand {
  font-size: 1.4rem;
  color: var(--veb8-text);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.veb8-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin: 1rem 0;
}

.veb8-footer-links a {
  color: var(--veb8-text-muted);
  font-size: 1.1rem;
  padding: 0.4rem 0.6rem;
}

.veb8-footer-links a:hover {
  color: var(--veb8-accent);
}

.veb8-footer-copy {
  font-size: 1rem;
  color: var(--veb8-text-muted);
  margin-top: 1rem;
}

.veb8-partner-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin: 1rem 0;
}

.veb8-partner-logos img {
  height: 2rem;
  opacity: 0.7;
}

/* === Bottom Navigation === */
.veb8-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 6rem;
  background: linear-gradient(180deg, var(--veb8-bg-light) 0%, var(--veb8-bg) 100%);
  border-top: 0.15rem solid var(--veb8-accent);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  padding: 0 0.2rem;
}

.veb8-bottom-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 6rem;
  min-height: 5.4rem;
  background: none;
  border: none;
  color: var(--veb8-text-muted);
  cursor: pointer;
  transition: var(--veb8-transition);
  padding: 0.3rem;
  border-radius: var(--veb8-radius-sm);
}

.veb8-bottom-nav-btn i,
.veb8-bottom-nav-btn .material-icons {
  font-size: 2.2rem;
  margin-bottom: 0.2rem;
  transition: var(--veb8-transition);
}

.veb8-bottom-nav-btn span {
  font-size: 0.9rem;
  font-weight: 600;
}

.veb8-bottom-nav-btn:hover,
.veb8-bottom-nav-btn:active {
  color: var(--veb8-accent);
  transform: scale(1.08);
}

.veb8-bottom-nav-btn:hover i,
.veb8-bottom-nav-btn:hover .material-icons,
.veb8-bottom-nav-btn:active i,
.veb8-bottom-nav-btn:active .material-icons {
  color: var(--veb8-accent);
}

.veb8-bottom-nav-btn.veb8-nav-active {
  color: var(--veb8-accent);
}

.veb8-bottom-nav-btn.veb8-nav-active i,
.veb8-bottom-nav-btn.veb8-nav-active .material-icons {
  color: var(--veb8-accent);
  filter: drop-shadow(0 0 0.4rem rgba(255, 191, 0, 0.5));
}

/* === Utility === */
.veb8-mt-1 { margin-top: 0.5rem; }
.veb8-mt-2 { margin-top: 1rem; }
.veb8-mt-3 { margin-top: 1.5rem; }
.veb8-mb-1 { margin-bottom: 0.5rem; }
.veb8-mb-2 { margin-bottom: 1rem; }
.veb8-mb-3 { margin-bottom: 1.5rem; }
.veb8-p-1 { padding: 0.5rem; }
.veb8-p-2 { padding: 1rem; }
.veb8-hidden { display: none !important; }
.veb8-text-sm { font-size: 1.1rem; }
.veb8-text-lg { font-size: 1.6rem; }
.veb8-fw-bold { font-weight: 700; }
.veb8-d-flex { display: flex; }
.veb8-align-center { align-items: center; }
.veb8-gap-1 { gap: 0.5rem; }

/* === Badge === */
.veb8-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 1rem;
  font-size: 1rem;
  font-weight: 600;
}

.veb8-badge-hot {
  background: var(--veb8-danger);
  color: #fff;
}

.veb8-badge-new {
  background: var(--veb8-success);
  color: #fff;
}

/* === Divider === */
.veb8-divider {
  height: 0.1rem;
  background: var(--veb8-border);
  margin: 1.5rem 0;
}

/* === Promo Banner === */
.veb8-promo-banner {
  background: linear-gradient(135deg, var(--veb8-accent) 0%, var(--veb8-secondary) 100%);
  color: var(--veb8-primary);
  padding: 1.2rem;
  border-radius: var(--veb8-radius);
  text-align: center;
  margin: 1rem 0;
}

.veb8-promo-banner h3 {
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
  color: var(--veb8-primary);
}

.veb8-promo-banner p {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

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

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

/* === Animation === */
@keyframes veb8-fadeIn {
  from { opacity: 0; transform: translateY(1rem); }
  to { opacity: 1; transform: translateY(0); }
}

.veb8-animate-in {
  animation: veb8-fadeIn 0.5s ease forwards;
}

/* === RTP Table === */
.veb8-rtp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.veb8-rtp-item {
  background: var(--veb8-bg-card);
  border: 0.1rem solid var(--veb8-border);
  border-radius: var(--veb8-radius-sm);
  padding: 0.6rem;
  text-align: center;
}

.veb8-rtp-name {
  font-size: 1rem;
  color: var(--veb8-text-muted);
  margin-bottom: 0.2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.veb8-rtp-value {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--veb8-accent);
}

/* === Feature List === */
.veb8-feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.veb8-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 0.8rem;
  background: var(--veb8-bg-card);
  border-radius: var(--veb8-radius-sm);
  border-left: 0.3rem solid var(--veb8-accent);
}

.veb8-feature-item i,
.veb8-feature-item .material-icons {
  color: var(--veb8-accent);
  font-size: 2rem;
  flex-shrink: 0;
}

.veb8-feature-item p {
  font-size: 1.2rem;
  color: var(--veb8-text-muted);
  line-height: 1.4;
}

/* === CTA Section === */
.veb8-cta {
  text-align: center;
  padding: 2rem 1rem;
  background: linear-gradient(135deg, rgba(255, 191, 0, 0.1) 0%, rgba(255, 170, 0, 0.05) 100%);
  border-radius: var(--veb8-radius);
  margin: 1.5rem 0;
  border: 0.15rem solid var(--veb8-accent);
}

.veb8-cta h3 {
  font-size: 1.8rem;
  color: var(--veb8-accent);
  margin-bottom: 0.6rem;
}

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