/**
 * 777vip - Main Stylesheet
 * All classes use v45c- prefix for namespace isolation
 */

/* === CSS Variables === */
:root {
  --v45c-primary: #FF6347;
  --v45c-secondary: #FA8072;
  --v45c-bg: #273746;
  --v45c-bg-dark: #1a2733;
  --v45c-bg-card: #2d4356;
  --v45c-text: #f0f0f0;
  --v45c-text-muted: #a0b0c0;
  --v45c-accent-gold: #FFD700;
  --v45c-accent-green: #2ecc71;
  --v45c-radius: 8px;
  --v45c-radius-lg: 16px;
  --v45c-shadow: 0 2px 12px rgba(0,0,0,0.3);
  --v45c-transition: all 0.3s ease;
  font-size: 62.5%;
}

/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1.5rem;
  line-height: 1.5;
  color: var(--v45c-text);
  background: var(--v45c-bg);
  max-width: 430px;
  margin: 0 auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--v45c-primary); text-decoration: none; transition: var(--v45c-transition); }
a:hover { color: var(--v45c-secondary); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* === Header === */
.v45c-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  background: var(--v45c-bg-dark);
  z-index: 1000;
  padding: 0.8rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--v45c-primary);
  height: 56px;
}
.v45c-logo-area {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.v45c-logo-area img { width: 28px; height: 28px; border-radius: 4px; }
.v45c-logo-area span { font-size: 1.6rem; font-weight: 800; color: var(--v45c-primary); letter-spacing: 0.5px; }
.v45c-header-actions { display: flex; align-items: center; gap: 0.6rem; }
.v45c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: var(--v45c-radius);
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--v45c-transition);
  min-height: 36px;
  text-decoration: none;
}
.v45c-btn-register {
  background: var(--v45c-primary);
  color: #fff;
}
.v45c-btn-register:hover { background: #e5533a; transform: scale(1.05); }
.v45c-btn-login {
  background: transparent;
  color: var(--v45c-text);
  border: 1.5px solid var(--v45c-secondary);
}
.v45c-btn-login:hover { background: var(--v45c-secondary); color: #fff; }
.v45c-menu-toggle {
  background: none;
  border: none;
  color: var(--v45c-text);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.4rem;
  display: flex;
  align-items: center;
}

/* === Mobile Menu === */
.v45c-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9998;
}
.v45c-overlay-active { display: block; }
.v45c-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 260px;
  height: 100vh;
  background: var(--v45c-bg-dark);
  z-index: 9999;
  transition: right 0.3s ease;
  padding: 2rem 1.5rem;
  overflow-y: auto;
}
.v45c-menu-active { right: 0; }
.v45c-mobile-menu .v45c-menu-close {
  background: none;
  border: none;
  color: var(--v45c-text);
  font-size: 2rem;
  cursor: pointer;
  position: absolute;
  top: 1rem;
  right: 1rem;
}
.v45c-mobile-menu nav a {
  display: block;
  padding: 1rem 0;
  color: var(--v45c-text);
  font-size: 1.4rem;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: var(--v45c-transition);
}
.v45c-mobile-menu nav a:hover { color: var(--v45c-primary); padding-left: 0.5rem; }

/* === Main Content === */
.v45c-main {
  padding-top: 56px;
  padding-bottom: 1rem;
}
@media (max-width: 768px) {
  .v45c-main { padding-bottom: 80px; }
}

/* === Carousel === */
.v45c-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 0 0 var(--v45c-radius) var(--v45c-radius);
}
.v45c-slide { display: none; width: 100%; cursor: pointer; }
.v45c-slide img { width: 100%; height: 200px; object-fit: cover; }
.v45c-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}
.v45c-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: none;
  cursor: pointer;
  transition: var(--v45c-transition);
}
.v45c-dot:hover, .v45c-dot-active { background: var(--v45c-primary); }

/* === Section Styles === */
.v45c-section {
  padding: 2rem 1.2rem;
}
.v45c-section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--v45c-primary);
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--v45c-primary);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.v45c-section-title i { font-size: 2.2rem; }

/* === Game Grid === */
.v45c-category-header {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--v45c-accent-gold);
  margin: 1.5rem 0 0.8rem;
  padding-left: 0.4rem;
  border-left: 3px solid var(--v45c-primary);
}
.v45c-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
}
.v45c-game-item {
  text-align: center;
  cursor: pointer;
  transition: var(--v45c-transition);
  border-radius: var(--v45c-radius);
  padding: 0.4rem;
  background: var(--v45c-bg-card);
}
.v45c-game-item:hover { transform: translateY(-2px); box-shadow: var(--v45c-shadow); }
.v45c-game-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 0.3rem;
}
.v45c-game-item span {
  font-size: 1rem;
  color: var(--v45c-text);
  display: block;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* === Content Cards === */
.v45c-card {
  background: var(--v45c-bg-card);
  border-radius: var(--v45c-radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.2rem;
  box-shadow: var(--v45c-shadow);
}
.v45c-card h2, .v45c-card h3 {
  color: var(--v45c-primary);
  margin-bottom: 0.8rem;
}
.v45c-card p {
  color: var(--v45c-text-muted);
  line-height: 1.6;
  font-size: 1.3rem;
}

/* === Affiliate CTA === */
.v45c-cta {
  display: inline-block;
  background: linear-gradient(135deg, var(--v45c-primary), var(--v45c-secondary));
  color: #fff;
  font-weight: 700;
  font-size: 1.4rem;
  padding: 1rem 2rem;
  border-radius: 50px;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: var(--v45c-transition);
  min-height: 44px;
  text-align: center;
}
.v45c-cta:hover { transform: scale(1.05); box-shadow: 0 4px 20px rgba(255,99,71,0.4); color: #fff; }
.v45c-cta-center { display: flex; justify-content: center; margin: 1.5rem 0; }
.v45c-text-link {
  color: var(--v45c-primary);
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
}
.v45c-text-link:hover { color: var(--v45c-secondary); }

/* === RTP Table === */
.v45c-rtp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.2rem;
}
.v45c-rtp-table th {
  background: var(--v45c-primary);
  color: #fff;
  padding: 0.6rem 0.4rem;
  text-align: left;
  font-size: 1.1rem;
}
.v45c-rtp-table td {
  padding: 0.5rem 0.4rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  color: var(--v45c-text-muted);
}
.v45c-rtp-table tr:hover td { background: rgba(255,99,71,0.1); }

/* === Testimonials === */
.v45c-testimonial {
  background: var(--v45c-bg-card);
  border-radius: var(--v45c-radius);
  padding: 1.2rem;
  margin-bottom: 0.8rem;
  border-left: 3px solid var(--v45c-secondary);
}
.v45c-testimonial p { font-size: 1.2rem; color: var(--v45c-text-muted); font-style: italic; }
.v45c-testimonial strong { color: var(--v45c-accent-gold); font-size: 1.1rem; }

/* === Winners === */
.v45c-winner-list { display: flex; flex-direction: column; gap: 0.6rem; }
.v45c-winner-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--v45c-bg-card);
  padding: 0.8rem 1rem;
  border-radius: var(--v45c-radius);
  font-size: 1.2rem;
}
.v45c-winner-item .v45c-amount { color: var(--v45c-accent-gold); font-weight: 700; }
.v45c-winner-item .v45c-game-name { color: var(--v45c-text); }

/* === Payment Icons === */
.v45c-payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}
.v45c-payment-item {
  background: var(--v45c-bg-card);
  padding: 0.8rem 1.2rem;
  border-radius: var(--v45c-radius);
  font-size: 1.2rem;
  color: var(--v45c-text);
  font-weight: 600;
}

/* === Footer === */
.v45c-footer {
  background: var(--v45c-bg-dark);
  padding: 2rem 1.2rem;
  text-align: center;
  border-top: 2px solid var(--v45c-primary);
}
.v45c-footer-brand {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--v45c-primary);
  margin-bottom: 0.8rem;
}
.v45c-footer-desc {
  color: var(--v45c-text-muted);
  font-size: 1.2rem;
  line-height: 1.5;
  margin-bottom: 1.2rem;
}
.v45c-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-bottom: 1.2rem;
}
.v45c-footer-links a {
  color: var(--v45c-text-muted);
  font-size: 1.1rem;
  padding: 0.3rem 0.6rem;
}
.v45c-footer-links a:hover { color: var(--v45c-primary); }
.v45c-footer-copy {
  color: var(--v45c-text-muted);
  font-size: 1.1rem;
  margin-top: 1rem;
}

/* === Bottom Navigation === */
.v45c-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 60px;
  background: var(--v45c-bg-dark);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  border-top: 2px solid var(--v45c-primary);
  box-shadow: 0 -2px 12px rgba(0,0,0,0.4);
}
.v45c-bottom-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--v45c-text-muted);
  font-size: 1rem;
  cursor: pointer;
  min-width: 60px;
  min-height: 56px;
  transition: var(--v45c-transition);
  gap: 0.2rem;
  padding: 0.4rem;
}
.v45c-bottom-btn i, .v45c-bottom-btn .material-icons {
  font-size: 22px;
}
.v45c-bottom-btn span {
  font-size: 1rem;
  line-height: 1;
}
.v45c-bottom-btn:hover, .v45c-bottom-btn-active {
  color: var(--v45c-primary);
  transform: scale(1.1);
}
.v45c-bottom-btn-active { position: relative; }
.v45c-bottom-btn-active::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 20%;
  right: 20%;
  height: 3px;
  background: var(--v45c-primary);
  border-radius: 0 0 4px 4px;
}

/* === Desktop === */
@media (min-width: 769px) {
  .v45c-bottom-nav { display: none; }
  .v45c-main { padding-bottom: 2rem; }
  body { max-width: 430px; }
}

/* === Utilities === */
.v45c-text-center { text-align: center; }
.v45c-mt-1 { margin-top: 1rem; }
.v45c-mb-1 { margin-bottom: 1rem; }
.v45c-mb-2 { margin-bottom: 2rem; }
.v45c-highlight { color: var(--v45c-primary); font-weight: 700; }
.v45c-faq-item { margin-bottom: 1.2rem; }
.v45c-faq-q { color: var(--v45c-accent-gold); font-weight: 700; font-size: 1.4rem; margin-bottom: 0.4rem; }
.v45c-faq-a { color: var(--v45c-text-muted); font-size: 1.3rem; line-height: 1.5; }
.v45c-step-list { counter-reset: step; }
.v45c-step-list li {
  counter-increment: step;
  position: relative;
  padding-left: 3rem;
  margin-bottom: 1rem;
  color: var(--v45c-text-muted);
  font-size: 1.3rem;
  line-height: 1.5;
}
.v45c-step-list li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.2rem;
  height: 2.2rem;
  background: var(--v45c-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
}
.v45c-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}
.v45c-feature-item {
  background: var(--v45c-bg-card);
  padding: 1rem;
  border-radius: var(--v45c-radius);
  text-align: center;
}
.v45c-feature-item i { font-size: 2rem; color: var(--v45c-primary); margin-bottom: 0.5rem; display: block; }
.v45c-feature-item span { font-size: 1.1rem; color: var(--v45c-text); font-weight: 600; }
