/**
 * 365 login casino - Core Stylesheet
 * All classes use v29c- prefix for namespace isolation
 * Color palette: #1C2833 | #00FF00 | #FF4500 | #7FFF00 | #F5F5F5 | #8FBC8F
 */

/* === CSS Variables === */
:root {
  --v29c-primary: #00FF00;
  --v29c-accent: #FF4500;
  --v29c-secondary: #7FFF00;
  --v29c-bg-dark: #1C2833;
  --v29c-bg-darker: #141e28;
  --v29c-bg-card: #1e2d3d;
  --v29c-text-light: #F5F5F5;
  --v29c-text-muted: #8FBC8F;
  --v29c-border: #2a3f55;
  --v29c-glow: rgba(0, 255, 0, 0.15);
  --v29c-radius: 8px;
  --v29c-radius-sm: 4px;
  font-size: 62.5%;
}

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

/* === Header === */
.v29c-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  background: var(--v29c-bg-darker);
  z-index: 1000;
  border-bottom: 1px solid var(--v29c-border);
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
}
.v29c-logo-area {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
}
.v29c-logo-area img { width: 28px; height: 28px; border-radius: 50%; }
.v29c-logo-text {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--v29c-primary);
  white-space: nowrap;
}
.v29c-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.v29c-btn-register, .v29c-btn-login {
  padding: 0.5rem 1rem;
  border-radius: var(--v29c-radius);
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  min-height: 36px;
  min-width: 64px;
}
.v29c-btn-register {
  background: var(--v29c-accent);
  color: #fff;
}
.v29c-btn-register:hover { background: #e63e00; }
.v29c-btn-login {
  background: transparent;
  border: 2px solid var(--v29c-primary);
  color: var(--v29c-primary);
}
.v29c-btn-login:hover { background: rgba(0,255,0,0.1); }
.v29c-menu-btn {
  background: none;
  border: none;
  color: var(--v29c-text-light);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.4rem;
  line-height: 1;
}

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

/* === Main Content === */
.v29c-main {
  padding-top: 56px;
  padding-bottom: 1rem;
  min-height: 100vh;
}

/* === Carousel === */
.v29c-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 0 0 var(--v29c-radius) var(--v29c-radius);
}
.v29c-slides-wrapper { position: relative; width: 100%; }
.v29c-slide {
  display: none;
  width: 100%;
  cursor: pointer;
}
.v29c-slide-active { display: block; }
.v29c-slide img { width: 100%; height: auto; }
.v29c-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}
.v29c-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
}
.v29c-dot-active { background: var(--v29c-primary); }

/* === Sections === */
.v29c-section {
  padding: 1.5rem 1rem;
}
.v29c-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--v29c-primary);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--v29c-accent);
}
.v29c-section-title i { margin-right: 0.5rem; }

/* === Game Grid === */
.v29c-game-section { margin-bottom: 1.5rem; }
.v29c-game-cat-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--v29c-secondary);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.v29c-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
}
.v29c-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  padding: 0.4rem;
  border-radius: var(--v29c-radius-sm);
  transition: transform 0.2s, background 0.2s;
}
.v29c-game-item:hover {
  transform: scale(1.05);
  background: var(--v29c-glow);
}
.v29c-game-item img {
  width: 56px; height: 56px;
  border-radius: var(--v29c-radius-sm);
  margin-bottom: 0.3rem;
  border: 1px solid var(--v29c-border);
}
.v29c-game-name {
  font-size: 0.95rem;
  color: var(--v29c-text-light);
  text-align: center;
  line-height: 1.2rem;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* === Content Modules === */
.v29c-card {
  background: var(--v29c-bg-card);
  border-radius: var(--v29c-radius);
  padding: 1.2rem;
  margin-bottom: 1rem;
  border: 1px solid var(--v29c-border);
}
.v29c-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--v29c-primary);
  margin-bottom: 0.8rem;
}
.v29c-card p {
  font-size: 1.3rem;
  line-height: 1.6rem;
  color: var(--v29c-text-light);
  margin-bottom: 0.6rem;
}
.v29c-promo-text {
  color: var(--v29c-accent);
  font-weight: 700;
  cursor: pointer;
}
.v29c-promo-text:hover { text-decoration: underline; }

/* === Promo Buttons === */
.v29c-promo-btn {
  display: inline-block;
  background: var(--v29c-accent);
  color: #fff;
  padding: 0.7rem 1.5rem;
  border-radius: var(--v29c-radius);
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  text-align: center;
  transition: background 0.2s, transform 0.1s;
}
.v29c-promo-btn:hover { background: #e63e00; transform: scale(1.02); }
.v29c-promo-btn-green {
  background: var(--v29c-primary);
  color: var(--v29c-bg-dark);
}
.v29c-promo-btn-green:hover { background: #00cc00; }

/* === Footer === */
.v29c-footer {
  background: var(--v29c-bg-darker);
  padding: 2rem 1rem 1rem;
  border-top: 2px solid var(--v29c-primary);
  text-align: center;
}
.v29c-footer-desc {
  font-size: 1.2rem;
  color: var(--v29c-text-muted);
  margin-bottom: 1rem;
  line-height: 1.5rem;
}
.v29c-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1.2rem;
}
.v29c-footer-links a {
  padding: 0.4rem 0.8rem;
  background: var(--v29c-bg-card);
  border: 1px solid var(--v29c-border);
  border-radius: var(--v29c-radius-sm);
  font-size: 1.1rem;
  color: var(--v29c-text-light);
  transition: background 0.2s;
}
.v29c-footer-links a:hover { background: var(--v29c-accent); color: #fff; }
.v29c-site-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1rem;
}
.v29c-site-links a {
  font-size: 1.1rem;
  color: var(--v29c-text-muted);
}
.v29c-site-links a:hover { color: var(--v29c-primary); }
.v29c-copyright {
  font-size: 1.1rem;
  color: var(--v29c-text-muted);
  border-top: 1px solid var(--v29c-border);
  padding-top: 1rem;
}

/* === Bottom Navigation === */
.v29c-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 60px;
  background: var(--v29c-bg-darker);
  border-top: 2px solid var(--v29c-primary);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  padding: 0 0.2rem;
}
.v29c-bottom-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 52px;
  background: none;
  border: none;
  color: var(--v29c-text-muted);
  cursor: pointer;
  transition: color 0.2s, transform 0.15s;
  padding: 0.3rem;
  border-radius: var(--v29c-radius-sm);
}
.v29c-bottom-nav-btn:hover {
  color: var(--v29c-primary);
  transform: scale(1.08);
}
.v29c-bottom-nav-btn i, .v29c-bottom-nav-btn .material-icons {
  font-size: 22px;
  margin-bottom: 2px;
}
.v29c-bottom-nav-btn span {
  font-size: 1rem;
  line-height: 1.1rem;
}
.v29c-nav-active {
  color: var(--v29c-primary) !important;
}
.v29c-nav-active i, .v29c-nav-active .material-icons {
  text-shadow: 0 0 8px var(--v29c-primary);
}

/* === Testimonial === */
.v29c-testimonial {
  background: var(--v29c-bg-card);
  border-left: 3px solid var(--v29c-primary);
  padding: 0.8rem 1rem;
  margin-bottom: 0.8rem;
  border-radius: 0 var(--v29c-radius) var(--v29c-radius) 0;
}
.v29c-testimonial-name {
  font-size: 1.1rem;
  color: var(--v29c-secondary);
  font-weight: 700;
}
.v29c-testimonial-text {
  font-size: 1.2rem;
  color: var(--v29c-text-light);
  margin-top: 0.3rem;
}

/* === Payment Icons === */
.v29c-payment-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin: 0.8rem 0;
}
.v29c-payment-item {
  background: var(--v29c-bg-card);
  padding: 0.4rem 0.8rem;
  border-radius: var(--v29c-radius-sm);
  font-size: 1.1rem;
  color: var(--v29c-text-light);
  border: 1px solid var(--v29c-border);
}

/* === Winner Banner === */
.v29c-winner {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem;
  border-radius: var(--v29c-radius);
  background: var(--v29c-bg-card);
  margin-bottom: 0.5rem;
  border: 1px solid var(--v29c-border);
}
.v29c-winner img {
  width: 40px; height: 40px;
  border-radius: 50%;
}
.v29c-winner-info { flex: 1; }
.v29c-winner-name { font-size: 1.2rem; font-weight: 700; color: var(--v29c-primary); }
.v29c-winner-amount { font-size: 1.1rem; color: var(--v29c-accent); font-weight: 700; }
.v29c-winner-game { font-size: 1rem; color: var(--v29c-text-muted); }

/* === Responsive === */
@media (min-width: 769px) {
  .v29c-bottom-nav { display: none; }
}
@media (max-width: 768px) {
  .v29c-main { padding-bottom: 76px; }
}
