/* 23wi layout CSS - prefix v2f0- */
/* Color palette: #8B008B | #262626 | #6F4E37 | #BC8F8F | #DDA0DD */
/* All comments in English */

:root {
  --v2f0-primary: #8B008B;
  --v2f0-bg: #262626;
  --v2f0-text: #BC8F8F;
  --v2f0-accent: #DDA0DD;
  --v2f0-warm: #6F4E37;
  --v2f0-light: #FFF5F5;
  --v2f0-gold: #FFD700;
}

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

html {
  font-size: 62.5%;
}

body {
  font-family: "Segoe UI", "Roboto", "Helvetica Neue", sans-serif;
  background: linear-gradient(180deg, #262626 0%, #2a1a2a 100%);
  color: var(--v2f0-light);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
}

/* Header */
.v2f0-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  background: rgba(38, 38, 38, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 2px solid var(--v2f0-primary);
  z-index: 1000;
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.v2f0-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

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

.v2f0-site-name {
  color: var(--v2f0-light);
  font-weight: 700;
  font-size: 1.6rem;
  background: linear-gradient(90deg, var(--v2f0-accent), var(--v2f0-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.v2f0-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.v2f0-menu-btn {
  background: transparent;
  border: 1px solid var(--v2f0-text);
  color: var(--v2f0-light);
  width: 36px;
  height: 36px;
  border-radius: 6px;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.v2f0-btn {
  border: none;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1.2rem;
  cursor: pointer;
  min-height: 36px;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.v2f0-btn:active {
  transform: scale(0.96);
}

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

.v2f0-btn-register {
  background: linear-gradient(90deg, var(--v2f0-primary), var(--v2f0-warm));
  color: #fff;
  box-shadow: 0 2px 6px rgba(139, 0, 139, 0.4);
}

/* Mobile menu */
.v2f0-mobile-menu {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  background: #1a1a1a;
  border-bottom: 2px solid var(--v2f0-primary);
  z-index: 9999;
  padding: 6rem 1rem 1.5rem;
  display: none;
}

.v2f0-mobile-menu.v2f0-menu-open {
  display: block;
  animation: v2f0-slide-down 0.25s ease;
}

@keyframes v2f0-slide-down {
  from { transform: translate(-50%, -10px); opacity: 0; }
  to { transform: translate(-50%, 0); opacity: 1; }
}

.v2f0-mobile-menu a {
  display: block;
  color: var(--v2f0-light);
  text-decoration: none;
  padding: 0.9rem 0.5rem;
  border-bottom: 1px solid rgba(188, 143, 143, 0.2);
  font-size: 1.4rem;
}

.v2f0-mobile-menu a:hover {
  color: var(--v2f0-accent);
}

/* Main wrapper */
.v2f0-wrapper {
  padding-top: 5.5rem;
  padding-bottom: 1rem;
}

main {
  padding-bottom: 1rem;
}

/* Carousel */
.v2f0-carousel {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  height: 180px;
  overflow: hidden;
  border-radius: 0 0 12px 12px;
}

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

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

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

.v2f0-dots {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

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

.v2f0-dot.v2f0-dot-active {
  background: var(--v2f0-gold);
}

/* Sections */
.v2f0-section {
  padding: 1.4rem 1rem;
}

.v2f0-section-title {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--v2f0-accent);
  margin-bottom: 0.8rem;
  padding-left: 0.4rem;
  border-left: 4px solid var(--v2f0-primary);
}

.v2f0-h1 {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(90deg, var(--v2f0-accent), var(--v2f0-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 1rem 0;
  line-height: 2.4rem;
}

.v2f0-p {
  margin-bottom: 0.8rem;
  color: #EEE2EE;
}

/* Game grid */
.v2f0-cat-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--v2f0-accent);
  margin: 1.2rem 0 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.v2f0-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}

.v2f0-game-card {
  background: #1f1f1f;
  border: 1px solid rgba(188, 143, 143, 0.25);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  text-align: center;
}

.v2f0-game-card:active {
  transform: scale(0.97);
  box-shadow: 0 0 0 2px var(--v2f0-primary);
}

.v2f0-game-card img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
}

.v2f0-game-name {
  font-size: 1.05rem;
  color: var(--v2f0-light);
  padding: 0.35rem 0.2rem 0.5rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Filter */
.v2f0-filter-row {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  padding: 0.4rem 0 0.8rem;
}

.v2f0-filter-btn {
  background: #1f1f1f;
  border: 1px solid rgba(188, 143, 143, 0.3);
  color: var(--v2f0-light);
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  font-size: 1.2rem;
  white-space: nowrap;
  cursor: pointer;
}

.v2f0-filter-btn.v2f0-filter-active {
  background: var(--v2f0-primary);
  color: #fff;
  border-color: var(--v2f0-primary);
}

/* Promo CTA */
.v2f0-cta {
  background: linear-gradient(135deg, var(--v2f0-primary), var(--v2f0-warm));
  padding: 1.2rem;
  border-radius: 12px;
  text-align: center;
  margin: 1rem;
  box-shadow: 0 4px 12px rgba(139, 0, 139, 0.35);
}

.v2f0-cta h2 {
  color: #fff;
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.v2f0-cta p {
  color: #FFE4F0;
  margin-bottom: 0.8rem;
  font-size: 1.3rem;
}

.v2f0-cta-btn {
  display: inline-block;
  background: var(--v2f0-gold);
  color: #262626;
  font-weight: 700;
  padding: 0.7rem 1.6rem;
  border-radius: 24px;
  text-decoration: none;
  font-size: 1.3rem;
}

.v2f0-text-link {
  color: var(--v2f0-accent);
  font-weight: 700;
  text-decoration: underline;
}

/* Feature list */
.v2f0-feature {
  background: #1f1f1f;
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 0.8rem;
  border-left: 3px solid var(--v2f0-primary);
}

.v2f0-feature h3 {
  color: var(--v2f0-accent);
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}

.v2f0-feature .v2f0-fa-icon {
  color: var(--v2f0-gold);
  margin-right: 0.4rem;
}

/* RTP compact */
.v2f0-rtp-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px dashed rgba(188, 143, 143, 0.2);
  font-size: 1.25rem;
}

.v2f0-rtp-row span:last-child {
  color: var(--v2f0-gold);
  font-weight: 700;
}

/* Testimonials */
.v2f0-testi {
  background: #1f1f1f;
  border-radius: 8px;
  padding: 0.8rem;
  margin-bottom: 0.7rem;
}

.v2f0-testi-name {
  color: var(--v2f0-accent);
  font-weight: 700;
  font-size: 1.2rem;
}

.v2f0-stars {
  color: var(--v2f0-gold);
  margin: 0.2rem 0;
}

/* Payment */
.v2f0-pay-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.v2f0-pay-chip {
  background: #1f1f1f;
  border: 1px solid rgba(221, 160, 221, 0.3);
  color: var(--v2f0-light);
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Winners */
.v2f0-winner {
  background: #1f1f1f;
  border-radius: 8px;
  padding: 0.6rem 0.9rem;
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: space-between;
  font-size: 1.2rem;
}

.v2f0-winner-amount {
  color: var(--v2f0-gold);
  font-weight: 700;
}

/* Footer */
.v2f0-footer {
  background: #1a1a1a;
  padding: 1.5rem 1rem 2rem;
  border-top: 2px solid var(--v2f0-primary);
  margin-top: 1rem;
}

.v2f0-footer p {
  font-size: 1.2rem;
  color: var(--v2f0-text);
  margin-bottom: 0.5rem;
}

.v2f0-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.6rem 0;
}

.v2f0-footer-links a {
  color: var(--v2f0-accent);
  font-size: 1.2rem;
  text-decoration: none;
}

.v2f0-footer-promos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.6rem 0;
}

.v2f0-footer-promos button {
  background: linear-gradient(90deg, var(--v2f0-primary), var(--v2f0-warm));
  color: #fff;
  border: none;
  padding: 0.5rem 0.9rem;
  border-radius: 18px;
  font-size: 1.2rem;
  cursor: pointer;
}

.v2f0-copyright {
  color: #777;
  font-size: 1.1rem;
  margin-top: 0.5rem;
}

/* Bottom nav */
.v2f0-bnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 60px;
  background: rgba(26, 26, 26, 0.98);
  border-top: 2px solid var(--v2f0-primary);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.4);
}

.v2f0-bnav-link {
  flex: 1;
  min-width: 60px;
  min-height: 60px;
  background: transparent;
  border: none;
  color: var(--v2f0-text);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  text-decoration: none;
  font-size: 1.05rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.v2f0-bnav-link:active {
  transform: scale(0.92);
}

.v2f0-bnav-link i,
.v2f0-bnav-link span.material-icons-outlined,
.v2f0-bnav-link ion-icon {
  font-size: 22px;
}

.v2f0-bnav-link.v2f0-bnav-active {
  color: var(--v2f0-gold);
}

.v2f0-bnav-link:hover {
  color: var(--v2f0-accent);
}

.v2f0-bnav-badge {
  position: absolute;
  top: 6px;
  right: 18%;
  background: var(--v2f0-gold);
  color: #262626;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 10px;
  padding: 0 5px;
  min-width: 16px;
  text-align: center;
}

/* Desktop hide bottom nav */
@media (min-width: 769px) {
  .v2f0-bnav { display: none; }
  main { padding-bottom: 1rem; }
}

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

/* Internal link */
.v2f0-inline-link {
  color: var(--v2f0-accent);
  text-decoration: underline;
}

/* Hero */
.v2f0-hero {
  padding: 1rem;
  text-align: center;
}

.v2f0-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.6rem 0;
}

.v2f0-tag {
  background: rgba(139, 0, 139, 0.25);
  color: var(--v2f0-accent);
  border: 1px solid rgba(221, 160, 221, 0.3);
  padding: 0.3rem 0.7rem;
  border-radius: 14px;
  font-size: 1.1rem;
}