/* ph444 styles - all classes use ve30- prefix */
/* Palette: #F4A460 | #273746 | #6C757D | #BDB76B */

:root {
  --ve30-primary: #F4A460;
  --ve30-bg: #273746;
  --ve30-bg-dark: #1a252f;
  --ve30-bg-card: #2c3e50;
  --ve30-text: #f5f5f0;
  --ve30-text-muted: #BDB76B;
  --ve30-secondary: #6C757D;
  --ve30-accent: #BDB76B;
  --ve30-border: rgba(244, 164, 96, 0.25);
  --ve30-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  --ve30-radius: 0.8rem;
  --ve30-header-h: 5.6rem;
  --ve30-bottom-h: 6rem;
}

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

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

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

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

a {
  color: var(--ve30-primary);
  text-decoration: none;
}

a:hover {
  color: var(--ve30-accent);
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

/* Layout */
.ve30-wrapper {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
  background: var(--ve30-bg);
}

.ve30-container {
  width: 100%;
  padding: 0 1.2rem;
}

.ve30-main {
  padding-top: calc(var(--ve30-header-h) + 1rem);
  padding-bottom: calc(var(--ve30-bottom-h) + 2rem);
}

/* Header */
.ve30-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--ve30-header-h);
  background: linear-gradient(180deg, var(--ve30-bg-dark) 0%, rgba(39, 55, 70, 0.97) 100%);
  border-bottom: 1px solid var(--ve30-border);
  backdrop-filter: blur(8px);
}

.ve30-header-inner {
  max-width: 430px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.2rem;
  gap: 0.8rem;
}

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

.ve30-logo img {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 0.6rem;
}

.ve30-logo-text {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ve30-primary);
  letter-spacing: 0.05em;
}

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

.ve30-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 4.4rem;
  min-width: 4.4rem;
  padding: 0.6rem 1.2rem;
  border-radius: 0.6rem;
  font-size: 1.2rem;
  font-weight: 700;
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.ve30-btn:active {
  transform: scale(0.95);
}

.ve30-btn-register {
  background: linear-gradient(135deg, var(--ve30-primary) 0%, #e8954a 100%);
  color: var(--ve30-bg-dark);
  box-shadow: 0 2px 8px rgba(244, 164, 96, 0.4);
}

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

.ve30-btn-primary {
  background: linear-gradient(135deg, var(--ve30-primary) 0%, #e8954a 100%);
  color: var(--ve30-bg-dark);
  box-shadow: 0 2px 10px rgba(244, 164, 96, 0.35);
  width: 100%;
  font-size: 1.4rem;
  padding: 1.2rem 2rem;
}

.ve30-btn-accent {
  background: linear-gradient(135deg, var(--ve30-accent) 0%, #a8a05a 100%);
  color: var(--ve30-bg-dark);
  font-weight: 700;
}

.ve30-btn-outline {
  border: 1.5px solid var(--ve30-primary);
  color: var(--ve30-primary);
  background: transparent;
}

.ve30-menu-toggle {
  width: 4.4rem;
  height: 4.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ve30-primary);
  font-size: 2.2rem;
}

/* Mobile Menu */
.ve30-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.ve30-overlay-show {
  opacity: 1;
  visibility: visible;
}

.ve30-mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 78%;
  max-width: 300px;
  height: 100%;
  background: var(--ve30-bg-dark);
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.28s ease;
  overflow-y: auto;
  padding: 2rem 0;
  border-left: 1px solid var(--ve30-border);
}

.ve30-menu-open {
  transform: translateX(0);
}

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

.ve30-menu-close {
  width: 4.4rem;
  height: 4.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ve30-primary);
  font-size: 2.4rem;
}

.ve30-menu-list a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.4rem 1.6rem;
  color: var(--ve30-text);
  font-size: 1.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  min-height: 4.8rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.ve30-menu-list a:hover,
.ve30-menu-list a:active {
  background: rgba(244, 164, 96, 0.1);
  color: var(--ve30-primary);
}

.ve30-menu-list a i,
.ve30-menu-list a .material-icons,
.ve30-menu-list a .bi {
  font-size: 2rem;
  width: 2.4rem;
  text-align: center;
  color: var(--ve30-accent);
}

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

.ve30-carousel-track {
  display: flex;
  transition: transform 0.4s ease;
}

.ve30-carousel-slide {
  min-width: 100%;
  cursor: pointer;
}

.ve30-carousel-slide img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.ve30-carousel-dots {
  position: absolute;
  bottom: 1rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 0.6rem;
}

.ve30-carousel-dot {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transition: background 0.2s ease, transform 0.2s ease;
}

.ve30-dot-active {
  background: var(--ve30-primary);
  transform: scale(1.25);
}

/* Sections */
.ve30-section {
  margin-bottom: 2.4rem;
}

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

.ve30-h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--ve30-primary);
  text-align: center;
  margin: 1.2rem 0 1.6rem;
  line-height: 1.3;
  padding: 0 0.4rem;
}

.ve30-text {
  font-size: 1.35rem;
  line-height: 1.65;
  color: var(--ve30-text);
  margin-bottom: 1.2rem;
}

.ve30-text a {
  font-weight: 700;
  color: var(--ve30-primary);
  text-decoration: underline;
}

.ve30-muted {
  color: var(--ve30-text-muted);
  font-size: 1.25rem;
}

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

.ve30-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.15s ease;
  min-height: 4.4rem;
}

.ve30-game-item:active {
  transform: scale(0.93);
}

.ve30-game-item img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 0.8rem;
  object-fit: cover;
  border: 1.5px solid var(--ve30-border);
  background: var(--ve30-bg-card);
}

.ve30-game-item span {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 1rem;
  line-height: 1.3;
  margin-top: 0.4rem;
  color: var(--ve30-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 500;
}

/* Cards */
.ve30-card {
  background: var(--ve30-bg-card);
  border-radius: var(--ve30-radius);
  padding: 1.4rem;
  margin-bottom: 1.2rem;
  border: 1px solid var(--ve30-border);
  box-shadow: var(--ve30-shadow);
}

.ve30-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ve30-accent);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ve30-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.ve30-feature-card {
  background: var(--ve30-bg-card);
  border-radius: var(--ve30-radius);
  padding: 1.4rem 1rem;
  text-align: center;
  border: 1px solid var(--ve30-border);
}

.ve30-feature-card i,
.ve30-feature-card .material-icons,
.ve30-feature-card .bi {
  font-size: 2.8rem;
  color: var(--ve30-primary);
  margin-bottom: 0.6rem;
  display: block;
}

.ve30-feature-card h3 {
  font-size: 1.3rem;
  color: var(--ve30-accent);
  margin-bottom: 0.4rem;
}

.ve30-feature-card p {
  font-size: 1.15rem;
  color: var(--ve30-text);
  line-height: 1.4;
}

/* Steps */
.ve30-steps {
  counter-reset: ve30step;
}

.ve30-step {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 1.4rem;
  align-items: flex-start;
}

.ve30-step-num {
  flex-shrink: 0;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ve30-primary), #e8954a);
  color: var(--ve30-bg-dark);
  font-weight: 800;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ve30-step-body h3 {
  font-size: 1.4rem;
  color: var(--ve30-primary);
  margin-bottom: 0.3rem;
}

.ve30-step-body p {
  font-size: 1.25rem;
  color: var(--ve30-text);
  line-height: 1.5;
}

/* FAQ */
.ve30-faq-item {
  background: var(--ve30-bg-card);
  border-radius: var(--ve30-radius);
  margin-bottom: 0.8rem;
  border: 1px solid var(--ve30-border);
  overflow: hidden;
}

.ve30-faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ve30-text);
  text-align: left;
  min-height: 4.8rem;
  gap: 1rem;
}

.ve30-faq-q i {
  color: var(--ve30-primary);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.ve30-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1.4rem;
  font-size: 1.25rem;
  color: var(--ve30-text-muted);
  line-height: 1.55;
}

.ve30-faq-open .ve30-faq-a {
  max-height: 30rem;
  padding: 0 1.4rem 1.4rem;
}

.ve30-faq-open .ve30-faq-q i {
  transform: rotate(180deg);
}

/* RTP / Stats */
.ve30-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.ve30-stat-box {
  background: var(--ve30-bg-card);
  border-radius: var(--ve30-radius);
  padding: 1.2rem 0.6rem;
  text-align: center;
  border: 1px solid var(--ve30-border);
}

.ve30-stat-value {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--ve30-primary);
  display: block;
}

.ve30-stat-label {
  font-size: 1.05rem;
  color: var(--ve30-text-muted);
  margin-top: 0.3rem;
}

/* Testimonials */
.ve30-testimonial {
  background: var(--ve30-bg-card);
  border-radius: var(--ve30-radius);
  padding: 1.4rem;
  margin-bottom: 1rem;
  border-left: 3px solid var(--ve30-primary);
}

.ve30-testimonial-stars {
  color: var(--ve30-primary);
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
}

.ve30-testimonial p {
  font-size: 1.25rem;
  line-height: 1.55;
  margin-bottom: 0.6rem;
  font-style: italic;
}

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

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

.ve30-payment-item {
  background: var(--ve30-bg-card);
  border: 1px solid var(--ve30-border);
  border-radius: 0.6rem;
  padding: 1rem 1.4rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ve30-accent);
  min-height: 4.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Winners */
.ve30-winner-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--ve30-bg-card);
  border-radius: 0.6rem;
  margin-bottom: 0.6rem;
  border: 1px solid var(--ve30-border);
}

.ve30-winner-avatar {
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ve30-primary), var(--ve30-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--ve30-bg-dark);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.ve30-winner-info {
  flex: 1;
  min-width: 0;
}

.ve30-winner-name {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ve30-text);
}

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

.ve30-winner-amount {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--ve30-primary);
  flex-shrink: 0;
}

/* CTA Banner */
.ve30-cta {
  background: linear-gradient(135deg, rgba(244, 164, 96, 0.18) 0%, rgba(189, 183, 107, 0.12) 100%);
  border: 1.5px solid var(--ve30-primary);
  border-radius: var(--ve30-radius);
  padding: 2rem 1.4rem;
  text-align: center;
  margin-bottom: 2rem;
}

.ve30-cta h2 {
  font-size: 1.8rem;
  color: var(--ve30-primary);
  margin-bottom: 0.8rem;
}

.ve30-cta p {
  font-size: 1.3rem;
  margin-bottom: 1.4rem;
  color: var(--ve30-text);
}

.ve30-cta-btns {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

/* Promo text links */
.ve30-promo-link {
  font-weight: 700;
  color: var(--ve30-primary) !important;
  text-decoration: underline !important;
  cursor: pointer;
}

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

.ve30-footer-brand {
  text-align: center;
  margin-bottom: 1.6rem;
}

.ve30-footer-brand p {
  font-size: 1.2rem;
  color: var(--ve30-text-muted);
  line-height: 1.55;
  margin-top: 0.6rem;
}

.ve30-footer-promo {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-bottom: 1.6rem;
}

.ve30-footer-promo .ve30-btn {
  font-size: 1.15rem;
  padding: 0.7rem 1.2rem;
  min-height: 4rem;
}

.ve30-footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 1.2rem;
  margin-bottom: 1.6rem;
}

.ve30-footer-links a {
  font-size: 1.2rem;
  color: var(--ve30-text-muted);
  padding: 0.4rem 0;
  min-height: 3.2rem;
  display: flex;
  align-items: center;
  transition: color 0.2s ease;
}

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

.ve30-footer-copy {
  text-align: center;
  font-size: 1.1rem;
  color: var(--ve30-secondary);
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Bottom Navigation */
.ve30-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--ve30-bottom-h);
  background: linear-gradient(0deg, var(--ve30-bg-dark) 0%, #1e2d3a 100%);
  border-top: 1.5px solid var(--ve30-primary);
  display: flex;
  align-items: stretch;
  justify-content: space-around;
  max-width: 430px;
  margin: 0 auto;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.4);
}

.ve30-bottom-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  min-width: 60px;
  min-height: 60px;
  color: var(--ve30-secondary);
  font-size: 1rem;
  transition: color 0.2s ease, transform 0.15s ease;
  cursor: pointer;
  padding: 0.4rem 0;
  text-decoration: none;
}

.ve30-bottom-nav-item i,
.ve30-bottom-nav-item .material-icons,
.ve30-bottom-nav-item .bi,
.ve30-bottom-nav-item ion-icon {
  font-size: 2.2rem;
  line-height: 1;
  transition: transform 0.15s ease;
}

.ve30-bottom-nav-item .material-icons {
  font-size: 2.4rem;
}

.ve30-bottom-nav-item span {
  font-size: 1rem;
  line-height: 1.2;
  font-weight: 500;
}

.ve30-bottom-nav-item:active {
  transform: scale(0.9);
}

.ve30-bottom-nav-item:active i,
.ve30-bottom-nav-item:active .material-icons {
  transform: scale(1.1);
}

.ve30-nav-active {
  color: var(--ve30-primary) !important;
}

.ve30-nav-active i,
.ve30-nav-active .material-icons {
  color: var(--ve30-primary);
}

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

  .ve30-main {
    padding-bottom: 2rem;
  }

  .ve30-wrapper {
    max-width: 430px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
  }

  body {
    background: #0f161c;
  }
}

/* Small phones */
@media (max-width: 360px) {
  .ve30-game-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .ve30-btn-register,
  .ve30-btn-login {
    padding: 0.5rem 0.8rem;
    font-size: 1.1rem;
  }

  .ve30-logo-text {
    font-size: 1.4rem;
  }
}

/* Utility */
.ve30-mt-1 { margin-top: 0.8rem; }
.ve30-mt-2 { margin-top: 1.6rem; }
.ve30-mb-1 { margin-bottom: 0.8rem; }
.ve30-mb-2 { margin-bottom: 1.6rem; }
.ve30-text-center { text-align: center; }
.ve30-flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
}
