/* x7game design system - v772- prefix */
html {
  font-size: 62.5%;
  -webkit-text-size-adjust: 100%;
}

:root {
  --v772-primary: #4DB6AC;
  --v772-secondary: #48D1CC;
  --v772-accent: #00CED1;
  --v772-bg: #2C2C2C;
  --v772-bg-dark: #1a1a1a;
  --v772-bg-card: #353535;
  --v772-text: #f5f5f5;
  --v772-text-muted: #b0b0b0;
  --v772-border: rgba(77, 182, 172, 0.28);
  --v772-shadow: 0 0.4rem 1.6rem rgba(0, 0, 0, 0.35);
  --v772-radius: 1rem;
  --v772-header-h: 5.6rem;
  --v772-bottom-h: 6rem;
  --v772-max: 43rem;
}

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

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

a {
  color: var(--v772-secondary);
  text-decoration: none;
}

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

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

ul {
  list-style: none;
}

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

.v772-wrapper {
  max-width: var(--v772-max);
  margin: 0 auto;
  min-height: 100vh;
  background: var(--v772-bg);
  position: relative;
  box-shadow: 0 0 4rem rgba(0, 0, 0, 0.5);
}

/* Header */
.v772-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--v772-max);
  height: var(--v772-header-h);
  background: linear-gradient(180deg, #1f2a2a 0%, #2C2C2C 100%);
  border-bottom: 1px solid var(--v772-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.2rem;
  z-index: 1000;
}

.v772-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--v772-text);
  min-height: 4.4rem;
}

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

.v772-logo-text {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--v772-accent);
  letter-spacing: 0.04em;
}

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

.v772-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 4.4rem;
  padding: 0 1.4rem;
  border-radius: 0.8rem;
  font-size: 1.3rem;
  font-weight: 700;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease;
}

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

.v772-btn-primary {
  background: linear-gradient(135deg, var(--v772-primary), var(--v772-accent));
  color: #0d1f1e;
}

.v772-btn-primary:hover {
  filter: brightness(1.08);
  color: #0d1f1e;
}

.v772-btn-outline {
  background: transparent;
  color: var(--v772-secondary);
  border: 1px solid var(--v772-secondary);
}

.v772-btn-outline:hover {
  background: rgba(72, 209, 204, 0.12);
  color: var(--v772-accent);
}

.v772-btn-sm {
  min-height: 3.6rem;
  padding: 0 1rem;
  font-size: 1.2rem;
}

.v772-btn-block {
  width: 100%;
}

.v772-menu-toggle,
.v772-menu-close {
  width: 4.4rem;
  height: 4.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--v772-text);
  font-size: 2rem;
}

/* Mobile menu */
.v772-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;
}

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

.v772-mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: min(82vw, 30rem);
  height: 100%;
  background: #243232;
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.28s ease;
  overflow-y: auto;
  border-left: 1px solid var(--v772-border);
}

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

.v772-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.4rem;
  border-bottom: 1px solid var(--v772-border);
}

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

.v772-menu-list li a i,
.v772-menu-list li a .material-icons,
.v772-menu-list li a .ti {
  width: 2.4rem;
  font-size: 2rem;
  color: var(--v772-primary);
  text-align: center;
}

.v772-menu-list li a:hover {
  background: rgba(77, 182, 172, 0.12);
  color: var(--v772-accent);
}

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

.v772-container {
  padding: 0 1.2rem;
}

/* Carousel */
.v772-carousel {
  position: relative;
  border-radius: var(--v772-radius);
  overflow: hidden;
  margin-bottom: 1.6rem;
  cursor: pointer;
  box-shadow: var(--v772-shadow);
  aspect-ratio: 16 / 9;
  background: var(--v772-bg-card);
}

.v772-carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.v772-slide-active {
  opacity: 1;
  position: relative;
}

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

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

.v772-carousel-dot {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  min-width: 0.8rem;
  min-height: 0.8rem;
  padding: 0;
}

.v772-dot-active {
  background: var(--v772-accent);
  transform: scale(1.2);
}

/* Hero */
.v772-hero {
  text-align: center;
  padding: 1.6rem 0.8rem 2rem;
  margin-bottom: 1.2rem;
  background: linear-gradient(160deg, rgba(77, 182, 172, 0.15), transparent 70%);
  border-radius: var(--v772-radius);
  border: 1px solid var(--v772-border);
}

.v772-hero h1 {
  font-size: 1.8rem;
  line-height: 2.4rem;
  margin-bottom: 1rem;
  color: var(--v772-text);
}

.v772-hero h1 span {
  color: var(--v772-accent);
}

.v772-hero-desc {
  font-size: 1.3rem;
  line-height: 2rem;
  color: var(--v772-text-muted);
  margin-bottom: 1.4rem;
}

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

.v772-cat-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--v772-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.6rem;
}

.v772-section-title {
  font-size: 1.7rem;
  line-height: 2.3rem;
  margin-bottom: 1.2rem;
  color: var(--v772-text);
}

.v772-section-title span {
  color: var(--v772-secondary);
}

.v772-prose {
  font-size: 1.35rem;
  line-height: 2.1rem;
  color: var(--v772-text-muted);
  margin-bottom: 1.2rem;
}

.v772-prose strong,
.v772-prose b,
.v772-text-link {
  color: var(--v772-accent);
  font-weight: 700;
}

.v772-prose a {
  color: var(--v772-secondary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

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

.v772-game-card {
  background: var(--v772-bg-card);
  border-radius: 0.8rem;
  padding: 0.6rem;
  text-align: center;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  min-height: 4.4rem;
}

.v772-game-card:active {
  transform: scale(0.96);
}

.v772-game-card:hover {
  border-color: var(--v772-primary);
  box-shadow: 0 0 1.2rem rgba(0, 206, 209, 0.2);
}

.v772-game-icon {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 0.6rem;
  overflow: hidden;
  margin-bottom: 0.4rem;
  background: #1a1a1a;
}

.v772-game-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.v772-game-name {
  font-size: 1rem;
  line-height: 1.3rem;
  color: var(--v772-text);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  min-height: 2.6rem;
}

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

.v772-card h3 {
  font-size: 1.5rem;
  line-height: 2rem;
  margin-bottom: 0.8rem;
  color: var(--v772-secondary);
}

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

.v772-feature-item {
  background: rgba(0, 0, 0, 0.22);
  border-radius: 0.8rem;
  padding: 1.2rem;
  text-align: center;
}

.v772-feature-item i,
.v772-feature-item .material-icons,
.v772-feature-item .bi,
.v772-feature-item .ti {
  font-size: 2.4rem;
  color: var(--v772-accent);
  margin-bottom: 0.6rem;
  display: inline-block;
}

.v772-feature-item h3 {
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
}

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

/* RTP table */
.v772-rtp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.2rem;
}

.v772-rtp-table th,
.v772-rtp-table td {
  padding: 0.9rem 0.6rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.v772-rtp-table th {
  color: var(--v772-primary);
  font-weight: 700;
}

.v772-rtp-table td {
  color: var(--v772-text-muted);
}

.v772-rtp-high {
  color: #7CFFB2 !important;
  font-weight: 700;
}

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

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

.v772-faq-q i {
  color: var(--v772-primary);
  transition: transform 0.2s ease;
}

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

.v772-faq-a {
  display: none;
  padding: 0 1.4rem 1.2rem;
  font-size: 1.3rem;
  line-height: 2rem;
  color: var(--v772-text-muted);
}

.v772-faq-open .v772-faq-a {
  display: block;
}

/* Testimonials */
.v772-review {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 0.8rem;
  padding: 1.2rem;
  margin-bottom: 1rem;
  border-left: 3px solid var(--v772-primary);
}

.v772-review-stars {
  color: #ffd54f;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.v772-review p {
  font-size: 1.25rem;
  line-height: 1.9rem;
  color: var(--v772-text-muted);
  margin-bottom: 0.6rem;
}

.v772-review-author {
  font-size: 1.15rem;
  color: var(--v772-secondary);
  font-weight: 600;
}

/* Winners */
.v772-winner-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 1.25rem;
}

.v772-winner-amt {
  color: #7CFFB2;
  font-weight: 700;
}

/* Payment icons */
.v772-pay-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}

.v772-pay-item {
  background: rgba(0, 0, 0, 0.25);
  border-radius: 0.6rem;
  padding: 0.8rem 1.2rem;
  font-size: 1.2rem;
  color: var(--v772-text);
  border: 1px solid var(--v772-border);
  min-height: 4.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* CTA block */
.v772-cta {
  text-align: center;
  padding: 2rem 1.4rem;
  background: linear-gradient(135deg, rgba(77, 182, 172, 0.25), rgba(0, 206, 209, 0.12));
  border-radius: var(--v772-radius);
  border: 1px solid var(--v772-border);
  margin-bottom: 2rem;
}

.v772-cta h2 {
  font-size: 1.7rem;
  margin-bottom: 0.8rem;
}

.v772-cta p {
  font-size: 1.3rem;
  line-height: 2rem;
  color: var(--v772-text-muted);
  margin-bottom: 1.4rem;
}

/* Footer */
.v772-footer {
  background: #1a2424;
  padding: 2.4rem 1.4rem 2rem;
  border-top: 1px solid var(--v772-border);
}

.v772-footer-brand {
  font-size: 1.3rem;
  line-height: 2rem;
  color: var(--v772-text-muted);
  margin-bottom: 1.4rem;
}

.v772-footer-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.6rem;
}

.v772-footer-btns .v772-btn {
  flex: 1 1 45%;
  min-height: 4.4rem;
}

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

.v772-footer-links a {
  font-size: 1.25rem;
  color: var(--v772-secondary);
  min-height: 3.2rem;
  display: flex;
  align-items: center;
}

.v772-footer-copy {
  text-align: center;
  font-size: 1.15rem;
  color: #888;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Bottom nav */
.v772-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--v772-max);
  height: var(--v772-bottom-h);
  background: linear-gradient(0deg, #152020 0%, #243030 100%);
  border-top: 1px solid var(--v772-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -0.4rem 1.2rem rgba(0, 0, 0, 0.35);
}

.v772-bottom-nav a,
.v772-bottom-nav button {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  min-width: 6rem;
  min-height: 6rem;
  color: var(--v772-text-muted);
  font-size: 1rem;
  transition: color 0.2s ease, transform 0.15s ease;
  background: transparent;
  border: none;
  padding: 0.4rem;
}

.v772-bottom-nav a i,
.v772-bottom-nav button i,
.v772-bottom-nav a .material-icons,
.v772-bottom-nav button .material-icons,
.v772-bottom-nav a .bi,
.v772-bottom-nav button .bi,
.v772-bottom-nav a .ti,
.v772-bottom-nav button .ti {
  font-size: 2.2rem;
  line-height: 1;
}

.v772-bottom-nav a:active,
.v772-bottom-nav button:active {
  transform: scale(0.92);
}

.v772-bottom-nav a:hover,
.v772-bottom-nav button:hover,
.v772-nav-active {
  color: var(--v772-accent) !important;
}

.v772-nav-active .material-icons,
.v772-nav-active i,
.v772-nav-active .bi,
.v772-nav-active .ti {
  color: var(--v772-accent);
}

/* Mobile padding for bottom nav */
@media (max-width: 768px) {
  .v772-main {
    padding-bottom: 8rem;
  }

  .v772-footer {
    padding-bottom: 2rem;
  }
}

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

  .v772-main {
    padding-bottom: 3rem;
  }

  .v772-game-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  body {
    background: #0f1212;
  }
}

@media (max-width: 360px) {
  .v772-game-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .v772-hero h1 {
    font-size: 1.6rem;
  }
}
