/* llwi.lol - design-f4fa.css
 * All custom classes use va05- prefix.
 * Mobile-first design, max-width 430px viewport.
 * Color palette: #D2B48C | #FFA500 | #00B8D4 | #FFCC33 | #2E4057
 * Dark backgrounds, light text, high contrast for mobile readability.
 */

:root {
  --va05-primary: #FFA500;
  --va05-secondary: #00B8D4;
  --va05-accent: #FFCC33;
  --va05-tan: #D2B48C;
  --va05-bg: #2E4057;
  --va05-bg-dark: #1f2d3d;
  --va05-bg-deep: #15202b;
  --va05-text: #ffffff;
  --va05-text-muted: #c5d0dc;
  --va05-card-bg: #364a63;
  --va05-border: rgba(255, 204, 51, 0.25);
  --va05-radius: 10px;
  --va05-radius-sm: 6px;
  --va05-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  --va05-transition: all 0.25s ease;
}

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

html {
  font-size: 62.5%;
}

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  background: var(--va05-bg-deep);
  color: var(--va05-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

a:hover {
  color: var(--va05-primary);
}

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

.va05-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.va05-main {
  flex: 1;
  padding-bottom: 80px;
}

/* Header */
.va05-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, var(--va05-bg) 0%, var(--va05-bg-dark) 100%);
  border-bottom: 1px solid var(--va05-border);
  box-shadow: var(--va05-shadow);
}

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

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

.va05-logo-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--va05-primary), var(--va05-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--va05-bg-deep);
  font-size: 1.6rem;
}

.va05-logo-name {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--va05-accent);
  letter-spacing: 0.5px;
}

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

.va05-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.2rem;
  border: none;
  border-radius: var(--va05-radius-sm);
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--va05-transition);
  min-height: 38px;
  text-align: center;
  font-family: inherit;
}

.va05-btn-register {
  background: linear-gradient(135deg, var(--va05-primary), var(--va05-accent));
  color: var(--va05-bg-deep);
}

.va05-btn-register:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 165, 0, 0.4);
}

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

.va05-btn-login:hover {
  background: var(--va05-secondary);
  color: var(--va05-bg-deep);
}

.va05-menu-toggle {
  background: transparent;
  border: none;
  color: var(--va05-text);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.4rem;
  min-width: 38px;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile menu */
.va05-mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: var(--va05-bg-dark);
  z-index: 9999;
  padding: 6rem 1.6rem 2rem;
  transition: right 0.3s ease;
  overflow-y: auto;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.5);
}

.va05-mobile-menu.va05-menu-open {
  right: 0;
}

.va05-menu-close {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  background: transparent;
  border: none;
  color: var(--va05-text);
  font-size: 2.2rem;
  cursor: pointer;
  min-width: 40px;
  min-height: 40px;
}

.va05-menu-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.va05-menu-list a,
.va05-menu-list button {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.1rem 1rem;
  border-radius: var(--va05-radius-sm);
  color: var(--va05-text);
  font-size: 1.5rem;
  font-weight: 500;
  background: transparent;
  border: 1px solid transparent;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}

.va05-menu-list a:hover,
.va05-menu-list button:hover {
  background: var(--va05-card-bg);
  border-color: var(--va05-border);
  color: var(--va05-accent);
}

.va05-menu-list .va05-menu-promo {
  background: linear-gradient(135deg, rgba(255, 165, 0, 0.2), rgba(255, 204, 51, 0.15));
  border-color: var(--va05-primary);
  color: var(--va05-accent);
}

/* Carousel */
.va05-carousel {
  position: relative;
  margin-top: 64px;
  width: 100%;
  max-width: 430px;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
  border-radius: 0 0 var(--va05-radius) var(--va05-radius);
}

.va05-slides {
  position: relative;
  width: 100%;
  height: 200px;
}

.va05-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  cursor: pointer;
}

.va05-slide.va05-slide-active {
  opacity: 1;
}

.va05-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.va05-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(21, 32, 43, 0.7) 0%, rgba(21, 32, 43, 0.1) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.2rem;
}

.va05-slide-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--va05-accent);
  margin-bottom: 0.4rem;
}

.va05-slide-text {
  font-size: 1.3rem;
  color: var(--va05-text);
}

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

.va05-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  border: none;
  padding: 0;
  transition: var(--va05-transition);
}

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

/* Section */
.va05-section {
  padding: 2rem 0 0.5rem;
}

.va05-section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--va05-accent);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.va05-section-subtitle {
  font-size: 1.3rem;
  color: var(--va05-text-muted);
  margin-bottom: 1.2rem;
}

.va05-h1 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--va05-text);
  margin: 1.5rem 0 0.8rem;
  line-height: 1.3;
}

.va05-lead {
  font-size: 1.4rem;
  color: var(--va05-text-muted);
  margin-bottom: 1.5rem;
}

/* Game grid */
.va05-game-group {
  margin-bottom: 1.8rem;
}

.va05-group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.9rem;
}

.va05-group-title {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--va05-accent);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.va05-group-more {
  font-size: 1.2rem;
  color: var(--va05-secondary);
  cursor: pointer;
}

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

.va05-game-card {
  background: var(--va05-card-bg);
  border-radius: var(--va05-radius-sm);
  overflow: hidden;
  cursor: pointer;
  transition: var(--va05-transition);
  border: 1px solid var(--va05-border);
}

.va05-game-card:hover {
  transform: translateY(-3px);
  border-color: var(--va05-primary);
  box-shadow: 0 6px 16px rgba(255, 165, 0, 0.25);
}

.va05-game-card-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--va05-bg-dark);
}

.va05-game-card-name {
  font-size: 1.15rem;
  color: var(--va05-text);
  text-align: center;
  padding: 0.5rem 0.3rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Promo CTA */
.va05-cta {
  background: linear-gradient(135deg, var(--va05-primary), var(--va05-accent));
  color: var(--va05-bg-deep);
  border-radius: var(--va05-radius);
  padding: 1.6rem 1.2rem;
  text-align: center;
  margin: 1.5rem 0;
}

.va05-cta-title {
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.va05-cta-text {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.va05-cta-btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  background: var(--va05-bg-deep);
  color: var(--va05-accent);
  border-radius: var(--va05-radius-sm);
  font-weight: 700;
  font-size: 1.4rem;
  cursor: pointer;
  border: none;
}

.va05-cta-btn:hover {
  transform: scale(1.03);
  color: var(--va05-primary);
}

/* Text content blocks */
.va05-content-block {
  background: var(--va05-card-bg);
  border-radius: var(--va05-radius);
  padding: 1.5rem 1.3rem;
  margin-bottom: 1.2rem;
  border-left: 3px solid var(--va05-secondary);
}

.va05-content-block h2 {
  font-size: 1.8rem;
  color: var(--va05-accent);
  margin-bottom: 0.7rem;
}

.va05-content-block h3 {
  font-size: 1.5rem;
  color: var(--va05-primary);
  margin: 1rem 0 0.5rem;
}

.va05-content-block p {
  font-size: 1.35rem;
  color: var(--va05-text-muted);
  margin-bottom: 0.7rem;
}

.va05-content-block ul,
.va05-content-block ol {
  padding-left: 1.6rem;
  margin-bottom: 0.7rem;
}

.va05-content-block li {
  font-size: 1.35rem;
  color: var(--va05-text-muted);
  margin-bottom: 0.4rem;
}

.va05-text-link {
  color: var(--va05-primary);
  font-weight: 600;
  cursor: pointer;
}

.va05-text-link:hover {
  color: var(--va05-accent);
  text-decoration: underline;
}

/* Feature list */
.va05-feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
  margin: 1rem 0;
}

.va05-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  background: var(--va05-card-bg);
  padding: 1rem;
  border-radius: var(--va05-radius-sm);
  border: 1px solid var(--va05-border);
}

.va05-feature-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255, 165, 0, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--va05-primary);
  font-size: 1.8rem;
}

.va05-feature-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--va05-accent);
  margin-bottom: 0.2rem;
}

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

/* Testimonials */
.va05-testimonial {
  background: var(--va05-card-bg);
  border-radius: var(--va05-radius);
  padding: 1.3rem;
  margin-bottom: 0.8rem;
  border: 1px solid var(--va05-border);
}

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

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

/* Winners */
.va05-winner-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
}

.va05-winner-item {
  background: var(--va05-card-bg);
  padding: 0.8rem;
  border-radius: var(--va05-radius-sm);
  border: 1px solid var(--va05-border);
  font-size: 1.15rem;
}

.va05-winner-name {
  color: var(--va05-accent);
  font-weight: 600;
}

.va05-winner-amount {
  color: var(--va05-primary);
  font-weight: 700;
}

/* Payment methods */
.va05-pay-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
  margin: 1rem 0;
}

.va05-pay-item {
  background: var(--va05-card-bg);
  border-radius: var(--va05-radius-sm);
  padding: 0.8rem 0.3rem;
  text-align: center;
  border: 1px solid var(--va05-border);
}

.va05-pay-item i,
.va05-pay-item .material-symbols-outlined {
  font-size: 2.2rem;
  color: var(--va05-secondary);
}

.va05-pay-name {
  font-size: 1rem;
  color: var(--va05-text-muted);
  margin-top: 0.3rem;
}

/* App download CTA */
.va05-app-cta {
  background: linear-gradient(135deg, var(--va05-bg), var(--va05-secondary));
  border-radius: var(--va05-radius);
  padding: 1.5rem;
  text-align: center;
  margin: 1.5rem 0;
}

.va05-app-cta h3 {
  font-size: 1.7rem;
  color: var(--va05-accent);
  margin-bottom: 0.4rem;
}

.va05-app-cta p {
  font-size: 1.3rem;
  color: var(--va05-text);
  margin-bottom: 1rem;
}

.va05-app-btns {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  flex-wrap: wrap;
}

.va05-app-btn {
  background: var(--va05-bg-deep);
  color: var(--va05-text);
  padding: 0.7rem 1.2rem;
  border-radius: var(--va05-radius-sm);
  font-size: 1.2rem;
  font-weight: 600;
  border: 1px solid var(--va05-border);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.va05-app-btn:hover {
  border-color: var(--va05-primary);
  color: var(--va05-accent);
}

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

.va05-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.2rem;
  cursor: pointer;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--va05-accent);
}

.va05-faq-icon {
  font-size: 1.6rem;
  color: var(--va05-primary);
  transition: transform 0.25s ease;
}

.va05-faq-item.va05-faq-open .va05-faq-icon {
  transform: rotate(45deg);
}

.va05-faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 1.2rem;
  color: var(--va05-text-muted);
  font-size: 1.3rem;
}

.va05-faq-item.va05-faq-open .va05-faq-body {
  padding-bottom: 1rem;
}

/* Footer */
.va05-footer {
  background: var(--va05-bg-dark);
  border-top: 1px solid var(--va05-border);
  padding: 1.8rem 0 1.2rem;
  margin-top: 1.5rem;
}

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

.va05-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  margin-bottom: 1rem;
}

.va05-footer-links a {
  font-size: 1.2rem;
  color: var(--va05-text-muted);
}

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

.va05-footer-promo {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.va05-footer-promo-btn {
  background: linear-gradient(135deg, var(--va05-primary), var(--va05-accent));
  color: var(--va05-bg-deep);
  padding: 0.5rem 0.9rem;
  border-radius: var(--va05-radius-sm);
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
}

.va05-footer-promo-btn:hover {
  transform: translateY(-1px);
}

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

/* Mobile bottom nav */
.va05-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(180deg, var(--va05-bg) 0%, var(--va05-bg-dark) 100%);
  border-top: 1px solid var(--va05-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.4);
}

.va05-nav-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--va05-text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  min-width: 60px;
  min-height: 60px;
  padding: 0.4rem;
  cursor: pointer;
  transition: var(--va05-transition);
  font-family: inherit;
}

.va05-nav-btn i,
.va05-nav-btn .material-symbols-outlined {
  font-size: 22px;
}

.va05-nav-btn .va05-nav-icon-ionic {
  font-size: 22px;
}

.va05-nav-label {
  font-size: 1rem;
  color: inherit;
}

.va05-nav-btn:hover {
  color: var(--va05-accent);
}

.va05-nav-btn:active {
  transform: scale(0.92);
}

.va05-nav-btn.va05-nav-active {
  color: var(--va05-primary);
}

.va05-nav-active .va05-nav-label {
  font-weight: 700;
}

.va05-nav-badge {
  position: absolute;
  top: 0.4rem;
  right: 50%;
  transform: translateX(14px);
  background: #ff3b3b;
  color: #fff;
  font-size: 0.9rem;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.va05-nav-btn {
  position: relative;
}

/* Desktop: hide bottom nav and show desktop nav */
@media (min-width: 769px) {
  .va05-bottom-nav {
    display: none;
  }
  .va05-main {
    padding-bottom: 0;
  }
  .va05-container,
  .va05-carousel,
  .va05-header-inner {
    max-width: 768px;
  }
  .va05-game-grid {
    grid-template-columns: repeat(5, 1fr);
  }
  .va05-pay-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .va05-winner-list {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Small phones */
@media (max-width: 360px) {
  .va05-game-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .va05-slide-title {
    font-size: 1.7rem;
  }
  .va05-h1 {
    font-size: 1.9rem;
  }
}
