/* yaman plus styles - prefix v818 | colors #9966CC #273746 */
html { font-size: 62.5%; box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; margin: 0; padding: 0; }
:root {
  --v818-primary: #9966CC;
  --v818-primary-dark: #7a4db0;
  --v818-primary-light: #b388e0;
  --v818-bg: #273746;
  --v818-bg-deep: #1a252f;
  --v818-bg-card: #2f4250;
  --v818-text: #f5f0fa;
  --v818-text-muted: #c5b8d4;
  --v818-accent: #e0c3fc;
  --v818-gold: #f0d060;
  --v818-success: #5dce8a;
  --v818-border: rgba(153, 102, 204, 0.35);
  --v818-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  --v818-radius: 0.8rem;
  --v818-header-h: 5.6rem;
  --v818-bottom-h: 6.2rem;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--v818-bg-deep);
  color: var(--v818-text);
  font-size: 1.4rem;
  line-height: 1.5rem;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}
a { color: var(--v818-primary-light); text-decoration: none; }
a:hover { color: var(--v818-accent); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; color: inherit; }

/* Layout */
.v818-wrapper { width: 100%; max-width: 430px; margin: 0 auto; min-height: 100vh; position: relative; background: var(--v818-bg); }
.v818-container { width: 100%; padding: 0 1.2rem; }
.v818-main { padding-top: calc(var(--v818-header-h) + 1rem); padding-bottom: 8rem; }
@media (min-width: 769px) {
  .v818-wrapper { max-width: 430px; box-shadow: 0 0 40px rgba(0,0,0,0.5); }
  .v818-main { padding-bottom: 3rem; }
  .v818-bottom-nav { display: none !important; }
}

/* Header */
.v818-header {
  position: fixed; top: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; height: var(--v818-header-h);
  background: linear-gradient(180deg, #1a252f 0%, #273746 100%);
  border-bottom: 1px solid var(--v818-border);
  z-index: 1000; display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.2rem; box-shadow: var(--v818-shadow);
}
.v818-logo-wrap { display: flex; align-items: center; gap: 0.8rem; min-width: 0; }
.v818-logo { width: 3.2rem; height: 3.2rem; border-radius: 0.6rem; object-fit: cover; }
.v818-logo-text { font-size: 1.5rem; font-weight: 700; color: var(--v818-primary-light); white-space: nowrap; letter-spacing: 0.02em; }
.v818-header-actions { display: flex; align-items: center; gap: 0.6rem; }
.v818-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  min-height: 4.4rem; min-width: 4.4rem; padding: 0.8rem 1.2rem;
  border-radius: 2.2rem; font-size: 1.2rem; font-weight: 700;
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.v818-btn:active { transform: scale(0.95); }
.v818-btn-primary {
  background: linear-gradient(135deg, var(--v818-primary) 0%, var(--v818-primary-dark) 100%);
  color: #fff; box-shadow: 0 2px 8px rgba(153, 102, 204, 0.45);
}
.v818-btn-primary:hover { background: linear-gradient(135deg, var(--v818-primary-light) 0%, var(--v818-primary) 100%); color: #fff; }
.v818-btn-outline {
  background: transparent; color: var(--v818-primary-light);
  border: 1.5px solid var(--v818-primary); padding: 0.7rem 1.1rem;
}
.v818-btn-outline:hover { background: rgba(153, 102, 204, 0.15); }
.v818-btn-sm { min-height: 3.6rem; min-width: auto; padding: 0.6rem 1rem; font-size: 1.1rem; }
.v818-btn-block { width: 100%; }
.v818-btn-gold {
  background: linear-gradient(135deg, #f0d060 0%, #d4a017 100%);
  color: #1a252f; font-weight: 800;
}
.v818-burger {
  width: 4.4rem; height: 4.4rem; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 0.5rem;
}
.v818-burger span {
  display: block; width: 2.2rem; height: 0.25rem; background: var(--v818-primary-light);
  border-radius: 0.2rem; transition: 0.2s;
}

/* Mobile Menu */
.v818-menu-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.55); z-index: 9998;
  opacity: 0; visibility: hidden; transition: 0.25s;
}
.v818-overlay-show { opacity: 1; visibility: visible; }
.v818-mobile-menu {
  position: fixed; top: 0; right: 0; width: 78%; max-width: 300px; height: 100%;
  background: linear-gradient(180deg, #1a252f 0%, #273746 100%);
  z-index: 9999; transform: translateX(100%); transition: transform 0.28s ease;
  padding: 2rem 1.6rem; overflow-y: auto; border-left: 1px solid var(--v818-border);
}
.v818-menu-open { transform: translateX(0); }
.v818-menu-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.v818-menu-title { font-size: 1.6rem; font-weight: 700; color: var(--v818-primary-light); }
.v818-menu-close {
  width: 4.4rem; height: 4.4rem; display: flex; align-items: center; justify-content: center;
  font-size: 2.4rem; color: var(--v818-text-muted);
}
.v818-menu-nav { display: flex; flex-direction: column; gap: 0.4rem; }
.v818-menu-nav a {
  display: flex; align-items: center; gap: 1rem; padding: 1.2rem 1rem;
  border-radius: var(--v818-radius); color: var(--v818-text); font-size: 1.4rem; font-weight: 500;
  min-height: 4.4rem; transition: background 0.2s;
}
.v818-menu-nav a:hover, .v818-menu-nav a:active { background: rgba(153, 102, 204, 0.2); color: var(--v818-accent); }
.v818-menu-nav a i, .v818-menu-nav a .material-icons, .v818-menu-nav a ion-icon {
  font-size: 2rem; width: 2.4rem; color: var(--v818-primary);
}

/* Carousel */
.v818-carousel {
  position: relative; width: 100%; border-radius: var(--v818-radius); overflow: hidden;
  margin-bottom: 1.6rem; aspect-ratio: 16/9; background: var(--v818-bg-card);
}
.v818-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 0.5s ease; cursor: pointer;
}
.v818-slide-active { opacity: 1; z-index: 1; }
.v818-slide img { width: 100%; height: 100%; object-fit: cover; }
.v818-carousel-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 3.6rem; height: 3.6rem; border-radius: 50%; background: rgba(26,37,47,0.7);
  color: var(--v818-text); display: flex; align-items: center; justify-content: center; font-size: 1.8rem;
}
.v818-carousel-prev { left: 0.8rem; }
.v818-carousel-next { right: 0.8rem; }
.v818-dots {
  position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: 0.6rem; z-index: 2;
}
.v818-dot {
  width: 0.8rem; height: 0.8rem; border-radius: 50%; background: rgba(255,255,255,0.4);
  transition: 0.2s; cursor: pointer;
}
.v818-dot-active { background: var(--v818-primary); width: 1.8rem; border-radius: 0.4rem; }

/* Sections */
.v818-section { margin-bottom: 2.4rem; }
.v818-section-title {
  font-size: 1.8rem; font-weight: 700; color: var(--v818-primary-light);
  margin-bottom: 1.2rem; display: flex; align-items: center; gap: 0.6rem;
  line-height: 1.4;
}
.v818-section-title i, .v818-section-title .material-icons { font-size: 2.2rem; color: var(--v818-primary); }
.v818-h1 {
  font-size: 2rem; font-weight: 800; color: var(--v818-text); line-height: 1.35;
  margin-bottom: 1.2rem; text-align: center;
}
.v818-h1 span { color: var(--v818-primary-light); }
.v818-lead {
  font-size: 1.35rem; color: var(--v818-text-muted); line-height: 1.55;
  margin-bottom: 1.6rem; text-align: center;
}
.v818-text-block {
  font-size: 1.35rem; color: var(--v818-text-muted); line-height: 1.6; margin-bottom: 1.2rem;
}
.v818-text-block strong, .v818-text-block b { color: var(--v818-primary-light); font-weight: 700; }
.v818-text-block a { font-weight: 700; color: var(--v818-primary-light); text-decoration: underline; }

/* Game grid */
.v818-game-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.8rem; margin-bottom: 1.2rem;
}
.v818-game-card {
  display: flex; flex-direction: column; align-items: center; cursor: pointer;
  transition: transform 0.15s ease;
}
.v818-game-card:active { transform: scale(0.93); }
.v818-game-icon {
  width: 100%; aspect-ratio: 1; border-radius: 1rem; object-fit: cover;
  border: 1.5px solid var(--v818-border); background: var(--v818-bg-card);
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.v818-game-name {
  font-size: 1rem; color: var(--v818-text-muted); text-align: center;
  margin-top: 0.4rem; line-height: 1.2; max-width: 100%;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; width: 100%;
}
.v818-cat-label {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 1.5rem; font-weight: 700; color: var(--v818-gold);
  margin: 1.6rem 0 1rem; padding: 0.4rem 1rem;
  background: rgba(240, 208, 96, 0.1); border-radius: 2rem;
  border: 1px solid rgba(240, 208, 96, 0.25);
}

/* Cards */
.v818-card {
  background: var(--v818-bg-card); border-radius: var(--v818-radius);
  padding: 1.6rem; margin-bottom: 1.2rem; border: 1px solid var(--v818-border);
  box-shadow: var(--v818-shadow);
}
.v818-card-title {
  font-size: 1.5rem; font-weight: 700; color: var(--v818-primary-light);
  margin-bottom: 0.8rem; display: flex; align-items: center; gap: 0.5rem;
}
.v818-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.v818-feature-item {
  background: rgba(153, 102, 204, 0.1); border-radius: var(--v818-radius);
  padding: 1.2rem; text-align: center; border: 1px solid var(--v818-border);
}
.v818-feature-item i, .v818-feature-item .material-icons, .v818-feature-item ion-icon {
  font-size: 2.8rem; color: var(--v818-primary); margin-bottom: 0.6rem;
}
.v818-feature-item h3 { font-size: 1.3rem; color: var(--v818-text); margin-bottom: 0.4rem; }
.v818-feature-item p { font-size: 1.15rem; color: var(--v818-text-muted); line-height: 1.4; }

/* FAQ */
.v818-faq-item {
  background: var(--v818-bg-card); border-radius: var(--v818-radius);
  margin-bottom: 0.8rem; border: 1px solid var(--v818-border); overflow: hidden;
}
.v818-faq-q {
  width: 100%; text-align: left; padding: 1.2rem 1.4rem; font-size: 1.35rem;
  font-weight: 600; color: var(--v818-text); display: flex; justify-content: space-between;
  align-items: center; gap: 1rem; min-height: 4.4rem; cursor: pointer;
}
.v818-faq-q::after {
  content: '+'; font-size: 2rem; color: var(--v818-primary); flex-shrink: 0;
}
.v818-faq-open .v818-faq-q::after { content: '−'; }
.v818-faq-a {
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
  font-size: 1.3rem; color: var(--v818-text-muted); line-height: 1.55;
  padding: 0 1.4rem;
}
.v818-faq-open .v818-faq-a { max-height: 30rem; padding: 0 1.4rem 1.4rem; }

/* Promo / CTA */
.v818-cta {
  background: linear-gradient(135deg, rgba(153,102,204,0.25) 0%, rgba(39,55,70,0.9) 100%);
  border: 1px solid var(--v818-primary); border-radius: 1.2rem;
  padding: 2rem 1.6rem; text-align: center; margin: 2rem 0;
}
.v818-cta h2 { font-size: 1.8rem; color: var(--v818-primary-light); margin-bottom: 0.8rem; }
.v818-cta p { font-size: 1.3rem; color: var(--v818-text-muted); margin-bottom: 1.4rem; line-height: 1.5; }
.v818-promo-links { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; margin: 1.2rem 0; }
.v818-link-bold {
  font-weight: 800; color: var(--v818-primary-light); cursor: pointer;
  text-decoration: underline; font-size: 1.35rem;
}

/* RTP table */
.v818-rtp-table { width: 100%; border-collapse: collapse; font-size: 1.2rem; }
.v818-rtp-table th, .v818-rtp-table td {
  padding: 0.8rem; text-align: left; border-bottom: 1px solid var(--v818-border);
}
.v818-rtp-table th { color: var(--v818-primary-light); font-weight: 700; }
.v818-rtp-table td { color: var(--v818-text-muted); }
.v818-rtp-high { color: var(--v818-success) !important; font-weight: 700; }

/* Testimonials */
.v818-testimonial {
  background: var(--v818-bg-card); border-left: 3px solid var(--v818-primary);
  padding: 1.2rem; margin-bottom: 1rem; border-radius: 0 var(--v818-radius) var(--v818-radius) 0;
}
.v818-testimonial p { font-size: 1.25rem; color: var(--v818-text-muted); line-height: 1.5; font-style: italic; margin-bottom: 0.6rem; }
.v818-testimonial .v818-author { font-size: 1.15rem; color: var(--v818-primary-light); font-weight: 600; font-style: normal; }

/* Winners */
.v818-winner-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.8rem 0; border-bottom: 1px solid var(--v818-border); font-size: 1.25rem;
}
.v818-winner-amt { color: var(--v818-gold); font-weight: 700; }

/* Payment icons row */
.v818-pay-row {
  display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; margin: 1rem 0;
}
.v818-pay-badge {
  background: var(--v818-bg-card); border: 1px solid var(--v818-border);
  border-radius: 0.6rem; padding: 0.8rem 1.2rem; font-size: 1.15rem;
  color: var(--v818-text-muted); font-weight: 600;
}

/* Footer */
.v818-footer {
  background: var(--v818-bg-deep); border-top: 1px solid var(--v818-border);
  padding: 2.4rem 1.2rem 2rem; margin-top: 2rem;
}
.v818-footer-brand { font-size: 1.3rem; color: var(--v818-text-muted); line-height: 1.55; margin-bottom: 1.6rem; text-align: center; }
.v818-footer-links { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; margin-bottom: 1.6rem; }
.v818-footer-links a {
  font-size: 1.2rem; color: var(--v818-primary-light); padding: 0.4rem 0.8rem;
  border: 1px solid var(--v818-border); border-radius: 2rem; min-height: 3.6rem;
  display: inline-flex; align-items: center;
}
.v818-footer-promo { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; margin-bottom: 1.6rem; }
.v818-seo-links {
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.2rem; justify-content: center;
  margin-bottom: 1.6rem; padding-top: 1.2rem; border-top: 1px solid var(--v818-border);
}
.v818-seo-links a { font-size: 1.15rem; color: var(--v818-text-muted); text-decoration: underline; }
.v818-copyright { text-align: center; font-size: 1.1rem; color: var(--v818-text-muted); opacity: 0.7; }

/* Bottom Nav - unique violet glow bar */
.v818-bottom-nav {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; height: var(--v818-bottom-h);
  background: linear-gradient(0deg, #1a1525 0%, #2a1f3d 100%);
  border-top: 2px solid var(--v818-primary);
  box-shadow: 0 -4px 20px rgba(153, 102, 204, 0.3);
  z-index: 1000; display: flex; justify-content: space-around; align-items: center;
  padding: 0 0.4rem;
}
.v818-bnav-item {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 6rem; min-height: 6rem; gap: 0.25rem; color: var(--v818-text-muted);
  font-size: 1rem; transition: color 0.2s, transform 0.15s; flex: 1; cursor: pointer;
  background: none; border: none; text-decoration: none;
}
.v818-bnav-item i, .v818-bnav-item .material-icons, .v818-bnav-item ion-icon {
  font-size: 2.2rem; line-height: 1;
}
.v818-bnav-item .material-icons { font-size: 2.4rem; }
.v818-bnav-item:active { transform: scale(0.9); }
.v818-bnav-item.v818-bnav-active { color: var(--v818-primary-light); }
.v818-bnav-item.v818-bnav-active i,
.v818-bnav-item.v818-bnav-active .material-icons,
.v818-bnav-item.v818-bnav-active ion-icon {
  color: var(--v818-primary); text-shadow: 0 0 10px rgba(153,102,204,0.6);
}
.v818-bnav-item span { font-size: 1rem; font-weight: 600; }

/* Utility */
.v818-mt-1 { margin-top: 0.8rem; }
.v818-mt-2 { margin-top: 1.6rem; }
.v818-mb-1 { margin-bottom: 0.8rem; }
.v818-mb-2 { margin-bottom: 1.6rem; }
.v818-text-center { text-align: center; }
.v818-flex-center { display: flex; justify-content: center; align-items: center; gap: 0.8rem; flex-wrap: wrap; }
.v818-stars { color: var(--v818-gold); letter-spacing: 0.1em; }
.v818-badge {
  display: inline-block; background: var(--v818-primary); color: #fff;
  font-size: 1rem; font-weight: 700; padding: 0.2rem 0.6rem; border-radius: 0.4rem;
}
@media (max-width: 360px) {
  .v818-game-grid { grid-template-columns: repeat(3, 1fr); }
  .v818-logo-text { font-size: 1.3rem; }
}
