/**
 * Super Jumbo 777 - Core Stylesheet
 * All classes prefixed with "v845-" for namespace isolation
 * Mobile-first design, max-width 430px
 */

/* CSS Variables */
:root {
  --v845-primary: #DC143C;
  --v845-secondary: #E65100;
  --v845-light: #FFCCCB;
  --v845-bg: #212F3D;
  --v845-accent: #FF5722;
  --v845-bg-dark: #1a252f;
  --v845-bg-card: #2a3a4a;
  --v845-text: #FFCCCB;
  --v845-text-light: #e8b4b4;
  --v845-text-muted: #9ab0c0;
  --v845-border: #3a4f5f;
  --v845-white: #ffffff;
  --v845-gold: #FFD700;
  --v845-radius: 1.2rem;
  --v845-radius-sm: 0.8rem;
  --v845-shadow: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.3);
  --v845-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;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--v845-bg);
  color: var(--v845-text);
  font-size: 1.6rem;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--v845-accent);
  text-decoration: none;
  transition: var(--v845-transition);
}

a:hover {
  color: var(--v845-primary);
}

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

/* Container */
.v845-container {
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.2rem;
  width: 100%;
}

.v845-wrapper {
  max-width: 430px;
  margin: 0 auto;
  width: 100%;
}

/* Header */
.v845-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--v845-bg-dark);
  border-bottom: 0.2rem solid var(--v845-primary);
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.v845-header-left {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.v845-logo {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 0.6rem;
}

.v845-site-name {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--v845-gold);
  white-space: nowrap;
  letter-spacing: 0.05rem;
}

.v845-header-right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.v845-btn-register {
  background: var(--v845-primary);
  color: var(--v845-white);
  border: none;
  padding: 0.6rem 1.4rem;
  border-radius: var(--v845-radius-sm);
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--v845-transition);
  white-space: nowrap;
}

.v845-btn-register:hover {
  background: #b01030;
  transform: scale(1.05);
}

.v845-btn-login {
  background: transparent;
  color: var(--v845-light);
  border: 0.15rem solid var(--v845-accent);
  padding: 0.5rem 1.2rem;
  border-radius: var(--v845-radius-sm);
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--v845-transition);
  white-space: nowrap;
}

.v845-btn-login:hover {
  background: var(--v845-accent);
  color: var(--v845-white);
}

.v845-hamburger {
  background: none;
  border: none;
  color: var(--v845-light);
  font-size: 2.4rem;
  cursor: pointer;
  padding: 0.4rem;
  display: flex;
  align-items: center;
}

/* Mobile Menu Overlay */
.v845-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9998;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.v845-overlay-active {
  display: block;
  opacity: 1;
}

/* Mobile Slide Menu */
.v845-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100%;
  background: var(--v845-bg-dark);
  z-index: 9999;
  transition: right 0.3s ease;
  padding: 2rem 1.5rem;
  overflow-y: auto;
}

.v845-menu-open {
  right: 0;
}

.v845-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 0.1rem solid var(--v845-border);
}

.v845-menu-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--v845-gold);
}

.v845-menu-close {
  background: none;
  border: none;
  color: var(--v845-light);
  font-size: 2.4rem;
  cursor: pointer;
}

.v845-menu-links {
  list-style: none;
}

.v845-menu-links li {
  border-bottom: 0.1rem solid var(--v845-border);
}

.v845-menu-links a {
  display: block;
  padding: 1.2rem 0;
  color: var(--v845-light);
  font-size: 1.5rem;
  transition: var(--v845-transition);
}

.v845-menu-links a:hover {
  color: var(--v845-primary);
  padding-left: 0.8rem;
}

/* Main Content */
.v845-main {
  padding-top: 6rem;
  min-height: 100vh;
}

/* Banner Slider */
.v845-slider {
  position: relative;
  overflow: hidden;
  margin: 1rem 0;
  border-radius: var(--v845-radius);
}

.v845-slide {
  display: none;
  cursor: pointer;
}

.v845-slide img {
  width: 100%;
  height: auto;
  border-radius: var(--v845-radius);
}

.v845-slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  padding: 1rem 0;
}

.v845-dot {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--v845-border);
  border: none;
  cursor: pointer;
  transition: var(--v845-transition);
}

.v845-dot-active {
  background: var(--v845-primary);
  transform: scale(1.3);
}

/* Section Title */
.v845-section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--v845-gold);
  margin: 2rem 0 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 0.2rem solid var(--v845-primary);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.v845-section-title i {
  color: var(--v845-primary);
}

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

.v845-game-item {
  text-align: center;
  cursor: pointer;
  transition: var(--v845-transition);
  border-radius: var(--v845-radius-sm);
  padding: 0.5rem;
}

.v845-game-item:hover {
  transform: translateY(-0.3rem);
  background: var(--v845-bg-card);
}

.v845-game-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--v845-radius-sm);
  margin-bottom: 0.4rem;
}

.v845-game-name {
  font-size: 1.1rem;
  color: var(--v845-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

/* Cards */
.v845-card {
  background: var(--v845-bg-card);
  border-radius: var(--v845-radius);
  padding: 1.5rem;
  margin: 1.2rem 0;
  border: 0.1rem solid var(--v845-border);
}

.v845-card-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--v845-gold);
  margin-bottom: 1rem;
}

.v845-card-text {
  font-size: 1.4rem;
  color: var(--v845-text-light);
  line-height: 1.6;
}

/* Promo Button */
.v845-promo-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--v845-primary), var(--v845-accent));
  color: var(--v845-white);
  padding: 1rem 2.4rem;
  border-radius: var(--v845-radius);
  font-size: 1.5rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  text-align: center;
  transition: var(--v845-transition);
  margin: 0.5rem 0;
}

.v845-promo-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0.4rem 1.5rem rgba(220, 20, 60, 0.5);
}

.v845-promo-btn-lg {
  display: block;
  width: 100%;
  padding: 1.4rem;
  font-size: 1.8rem;
  text-align: center;
}

/* Promo Text Link */
.v845-promo-link {
  color: var(--v845-primary);
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  transition: var(--v845-transition);
}

.v845-promo-link:hover {
  color: var(--v845-accent);
}

/* Content Sections */
.v845-content-section {
  margin: 1.5rem 0;
  padding: 1.5rem;
  background: var(--v845-bg-card);
  border-radius: var(--v845-radius);
  border-left: 0.4rem solid var(--v845-primary);
}

.v845-content-section h2 {
  color: var(--v845-gold);
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.v845-content-section h3 {
  color: var(--v845-light);
  font-size: 1.5rem;
  margin: 1rem 0 0.5rem;
}

.v845-content-section p {
  color: var(--v845-text-light);
  font-size: 1.4rem;
  line-height: 1.6;
  margin-bottom: 0.8rem;
}

.v845-content-section ul {
  list-style: none;
  padding: 0;
}

.v845-content-section li {
  padding: 0.5rem 0;
  color: var(--v845-text-light);
  font-size: 1.4rem;
  padding-left: 1.5rem;
  position: relative;
}

.v845-content-section li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--v845-primary);
  position: absolute;
  left: 0;
  font-size: 1.2rem;
}

/* Footer */
.v845-footer {
  background: var(--v845-bg-dark);
  padding: 2rem 1rem 8rem;
  border-top: 0.2rem solid var(--v845-primary);
  margin-top: 2rem;
}

.v845-footer-brand {
  text-align: center;
  margin-bottom: 1.5rem;
}

.v845-footer-brand p {
  font-size: 1.3rem;
  color: var(--v845-text-muted);
  line-height: 1.5;
}

.v845-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin: 1.5rem 0;
}

.v845-footer-links a {
  color: var(--v845-text-muted);
  font-size: 1.2rem;
  padding: 0.4rem 0.8rem;
  border-radius: 0.4rem;
  transition: var(--v845-transition);
}

.v845-footer-links a:hover {
  color: var(--v845-primary);
  background: rgba(220, 20, 60, 0.1);
}

.v845-footer-promo {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin: 1.5rem 0;
}

.v845-footer-copy {
  text-align: center;
  color: var(--v845-text-muted);
  font-size: 1.2rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 0.1rem solid var(--v845-border);
}

/* Bottom Navigation */
.v845-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--v845-bg-dark);
  border-top: 0.2rem solid var(--v845-primary);
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 60px;
  padding: 0.4rem 0;
  box-shadow: 0 -0.4rem 1rem rgba(0, 0, 0, 0.4);
}

.v845-bottom-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 52px;
  background: none;
  border: none;
  color: var(--v845-text-muted);
  cursor: pointer;
  transition: var(--v845-transition);
  border-radius: 0.6rem;
  padding: 0.3rem;
}

.v845-bottom-btn:hover,
.v845-bottom-btn:active {
  color: var(--v845-primary);
  background: rgba(220, 20, 60, 0.1);
  transform: scale(1.1);
}

.v845-bottom-btn i,
.v845-bottom-btn span.material-symbols-outlined {
  font-size: 2.2rem;
  margin-bottom: 0.2rem;
}

.v845-bottom-btn span.v845-nav-label {
  font-size: 1rem;
  line-height: 1.2;
}

.v845-bottom-btn.v845-active {
  color: var(--v845-primary);
}

.v845-bottom-btn.v845-active span.v845-nav-label {
  color: var(--v845-primary);
  font-weight: 600;
}

/* Internal link style */
.v845-internal-link {
  color: var(--v845-accent);
  text-decoration: underline;
  font-weight: 500;
}

.v845-internal-link:hover {
  color: var(--v845-primary);
}

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

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

/* Utility classes */
.v845-text-center {
  text-align: center;
}

.v845-mt-1 {
  margin-top: 0.5rem;
}

.v845-mt-2 {
  margin-top: 1rem;
}

.v845-mb-1 {
  margin-bottom: 0.5rem;
}

.v845-mb-2 {
  margin-bottom: 1rem;
}

.v845-hidden {
  display: none;
}

/* H1 title style */
.v845-page-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--v845-gold);
  margin: 1.5rem 0 1rem;
  text-align: center;
  line-height: 1.3;
}

/* Winner showcase */
.v845-winner-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 0.1rem solid var(--v845-border);
  font-size: 1.3rem;
}

.v845-winner-name {
  color: var(--v845-light);
  font-weight: 600;
}

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

/* Payment methods */
.v845-payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin: 1rem 0;
}

.v845-payment-item {
  background: var(--v845-bg);
  border: 0.1rem solid var(--v845-border);
  border-radius: var(--v845-radius-sm);
  padding: 0.8rem 1.2rem;
  text-align: center;
  font-size: 1.2rem;
  color: var(--v845-text);
}

/* FAQ styles */
.v845-faq-item {
  margin: 1rem 0;
  padding: 1rem;
  background: var(--v845-bg);
  border-radius: var(--v845-radius-sm);
  border-left: 0.3rem solid var(--v845-accent);
}

.v845-faq-q {
  font-weight: 700;
  color: var(--v845-gold);
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.v845-faq-a {
  color: var(--v845-text-light);
  font-size: 1.3rem;
  line-height: 1.5;
}

/* Achievement badge */
.v845-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--v845-primary), var(--v845-secondary));
  color: var(--v845-white);
  padding: 0.3rem 0.8rem;
  border-radius: 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0.2rem;
}

/* Testimonial */
.v845-testimonial {
  background: var(--v845-bg);
  border-radius: var(--v845-radius-sm);
  padding: 1rem 1.2rem;
  margin: 0.8rem 0;
  border-left: 0.3rem solid var(--v845-gold);
}

.v845-testimonial-text {
  font-size: 1.3rem;
  color: var(--v845-text-light);
  font-style: italic;
  line-height: 1.5;
}

.v845-testimonial-author {
  font-size: 1.2rem;
  color: var(--v845-text-muted);
  margin-top: 0.5rem;
}
