/**
 * 77abc - Main Stylesheet
 * All classes use v114- prefix for namespace isolation
 * Color palette: #2C3E50 (dark bg), #EEE8AA (accent), #F8F8FF (light text), #FFEBCD (warm)
 */

:root {
  --v114-primary: #EEE8AA;
  --v114-bg: #2C3E50;
  --v114-bg-dark: #1a252f;
  --v114-bg-card: #34495e;
  --v114-text: #F8F8FF;
  --v114-warm: #FFEBCD;
  --v114-accent: #f0c040;
  --v114-accent2: #e67e22;
  --v114-border: #4a6274;
  --v114-radius: 0.8rem;
  --v114-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

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

a { color: var(--v114-primary); text-decoration: none; }
a:hover { color: var(--v114-accent); }

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

/* ========== HEADER ========== */
.v114-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, var(--v114-bg-dark), var(--v114-bg));
  border-bottom: 2px solid var(--v114-accent);
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  box-shadow: var(--v114-shadow);
}

.v114-header-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.v114-header-logo img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.v114-header-logo span {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--v114-accent);
  letter-spacing: 0.5px;
}

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

.v114-btn-register, .v114-btn-login {
  padding: 0.5rem 1.2rem;
  border-radius: 2rem;
  font-size: 1.2rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  display: inline-block;
}

.v114-btn-register {
  background: linear-gradient(135deg, var(--v114-accent), var(--v114-accent2));
  color: var(--v114-bg-dark);
}

.v114-btn-login {
  background: transparent;
  color: var(--v114-primary);
  border: 1.5px solid var(--v114-primary);
}

.v114-btn-register:hover, .v114-btn-login:hover {
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(240,192,64,0.4);
}

.v114-menu-toggle {
  background: none;
  border: none;
  color: var(--v114-primary);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.4rem;
  line-height: 1;
}

/* ========== MOBILE MENU ========== */
.v114-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.v114-overlay-active {
  opacity: 1;
  pointer-events: all;
}

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

.v114-menu-active { right: 0; }

.v114-mobile-menu-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--v114-text);
  font-size: 2.2rem;
  cursor: pointer;
}

.v114-mobile-menu h3 {
  color: var(--v114-accent);
  font-size: 1.6rem;
  margin: 2rem 0 0.8rem;
  border-bottom: 1px solid var(--v114-border);
  padding-bottom: 0.4rem;
}

.v114-mobile-menu a {
  display: block;
  padding: 0.7rem 0;
  color: var(--v114-text);
  font-size: 1.3rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.v114-mobile-menu a:hover {
  color: var(--v114-accent);
  padding-left: 0.5rem;
}

/* ========== CAROUSEL ========== */
.v114-carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--v114-radius);
  margin: 0.8rem;
}

.v114-carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.v114-carousel-slide {
  min-width: 100%;
  cursor: pointer;
}

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

.v114-carousel-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.v114-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}

.v114-dot-active { background: var(--v114-accent); }

/* ========== CONTAINER ========== */
.v114-container {
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1rem;
}

.v114-main {
  padding-top: 60px;
}

@media (max-width: 768px) {
  .v114-main { padding-bottom: 80px; }
}

/* ========== SECTION TITLES ========== */
.v114-section-title {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--v114-accent);
  margin: 1.5rem 0 0.8rem;
  padding-left: 0.8rem;
  border-left: 4px solid var(--v114-accent2);
}

/* ========== GAME GRID ========== */
.v114-game-section {
  margin: 1rem 0;
}

.v114-game-category-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--v114-warm);
  margin: 1.2rem 0 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.v114-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
}

.v114-game-item {
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s;
  padding: 0.4rem;
  border-radius: var(--v114-radius);
  background: var(--v114-bg-card);
}

.v114-game-item:hover {
  transform: scale(1.05);
}

.v114-game-item img {
  width: 60px;
  height: 60px;
  border-radius: 0.6rem;
  margin: 0 auto 0.3rem;
  object-fit: cover;
}

.v114-game-item span {
  font-size: 1.1rem;
  color: var(--v114-text);
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ========== CARDS ========== */
.v114-card {
  background: var(--v114-bg-card);
  border-radius: var(--v114-radius);
  padding: 1.2rem;
  margin: 0.8rem 0;
  box-shadow: var(--v114-shadow);
  border: 1px solid var(--v114-border);
}

.v114-card h2, .v114-card h3 {
  color: var(--v114-accent);
  margin: 0 0 0.6rem;
}

.v114-card p {
  margin: 0.4rem 0;
  line-height: 1.6rem;
  font-size: 1.3rem;
  color: var(--v114-text);
}

/* ========== PROMO BUTTONS ========== */
.v114-promo-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--v114-accent), var(--v114-accent2));
  color: var(--v114-bg-dark);
  padding: 0.8rem 2rem;
  border-radius: 2rem;
  font-weight: 700;
  font-size: 1.4rem;
  cursor: pointer;
  border: none;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  margin: 0.5rem 0;
  text-decoration: none;
}

.v114-promo-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(240,192,64,0.5);
}

.v114-promo-text {
  color: var(--v114-accent);
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  font-size: 1.3rem;
}

/* ========== FEATURE LIST ========== */
.v114-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
}

.v114-feature-item {
  background: var(--v114-bg-card);
  border-radius: var(--v114-radius);
  padding: 0.8rem;
  text-align: center;
  border: 1px solid var(--v114-border);
}

.v114-feature-item i, .v114-feature-item .material-icons {
  font-size: 2.2rem;
  color: var(--v114-accent);
  margin-bottom: 0.3rem;
}

.v114-feature-item span {
  display: block;
  font-size: 1.2rem;
  color: var(--v114-text);
}

/* ========== TESTIMONIAL ========== */
.v114-testimonial {
  background: var(--v114-bg-card);
  border-radius: var(--v114-radius);
  padding: 1rem;
  margin: 0.5rem 0;
  border-left: 3px solid var(--v114-accent);
}

.v114-testimonial p {
  font-style: italic;
  font-size: 1.2rem;
  margin: 0 0 0.4rem;
}

.v114-testimonial cite {
  font-size: 1.1rem;
  color: var(--v114-accent);
}

/* ========== WINNER LIST ========== */
.v114-winner-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 1.2rem;
}

.v114-winner-amount {
  color: var(--v114-accent);
  font-weight: 700;
}

/* ========== PAYMENT ========== */
.v114-payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}

.v114-payment-item {
  background: var(--v114-bg-card);
  border-radius: 0.6rem;
  padding: 0.5rem 1rem;
  font-size: 1.2rem;
  border: 1px solid var(--v114-border);
  color: var(--v114-text);
}

/* ========== FOOTER ========== */
.v114-footer {
  background: var(--v114-bg-dark);
  border-top: 2px solid var(--v114-accent);
  padding: 2rem 1rem 1rem;
  text-align: center;
  margin-top: 2rem;
}

.v114-footer-desc {
  font-size: 1.2rem;
  color: var(--v114-text);
  margin: 0.6rem 0;
  line-height: 1.5rem;
}

.v114-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin: 1rem 0;
}

.v114-footer-links a {
  color: var(--v114-primary);
  font-size: 1.1rem;
  padding: 0.3rem 0.6rem;
}

.v114-footer-links a:hover { color: var(--v114-accent); }

.v114-footer-copy {
  font-size: 1rem;
  color: rgba(248,248,255,0.5);
  margin-top: 1rem;
}

/* ========== BOTTOM NAV ========== */
.v114-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, var(--v114-bg-dark), #0d1520);
  border-top: 2px solid var(--v114-accent);
  height: 60px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0 0.3rem;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.4);
}

.v114-bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 56px;
  color: var(--v114-text);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s, color 0.2s;
  background: none;
  border: none;
  font-family: inherit;
}

.v114-bottom-nav-item:hover, .v114-bottom-nav-item:focus {
  transform: scale(1.1);
  color: var(--v114-accent);
}

.v114-bottom-nav-item i,
.v114-bottom-nav-item .material-icons,
.v114-bottom-nav-item ion-icon,
.v114-bottom-nav-item bi {
  font-size: 22px;
  margin-bottom: 2px;
}

.v114-bottom-nav-item span {
  font-size: 1rem;
  line-height: 1;
}

.v114-bottom-nav-item.v114-nav-active {
  color: var(--v114-accent);
}

@media (min-width: 769px) {
  .v114-bottom-nav { display: none; }
  .v114-menu-toggle { display: none; }
}

/* ========== DESKTOP NAV ========== */
.v114-desktop-nav {
  display: none;
}

@media (min-width: 769px) {
  .v114-desktop-nav {
    display: flex;
    align-items: center;
    gap: 1.2rem;
  }
  .v114-desktop-nav a {
    color: var(--v114-text);
    font-size: 1.3rem;
    padding: 0.3rem 0;
    transition: color 0.2s;
  }
  .v114-desktop-nav a:hover { color: var(--v114-accent); }
}

/* ========== FAQ ========== */
.v114-faq-item {
  margin: 0.6rem 0;
}

.v114-faq-q {
  font-weight: 600;
  color: var(--v114-warm);
  font-size: 1.3rem;
}

.v114-faq-a {
  color: var(--v114-text);
  font-size: 1.2rem;
  padding-left: 1rem;
  margin: 0.2rem 0;
}

/* ========== UTILITY ========== */
.v114-text-center { text-align: center; }
.v114-text-accent { color: var(--v114-accent); }
.v114-mt-1 { margin-top: 1rem; }
.v114-mb-1 { margin-bottom: 1rem; }
.v114-hidden { display: none; }

/* ========== APP DOWNLOAD ========== */
.v114-app-cta {
  background: linear-gradient(135deg, var(--v114-bg-card), var(--v114-bg-dark));
  border-radius: var(--v114-radius);
  padding: 1.5rem;
  text-align: center;
  margin: 1rem 0;
  border: 1px solid var(--v114-accent);
}

.v114-app-cta h3 {
  color: var(--v114-accent);
  font-size: 1.5rem;
  margin: 0 0 0.5rem;
}

.v114-app-cta p {
  font-size: 1.2rem;
  margin: 0.4rem 0 0.8rem;
}

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

.v114-rtp-table th {
  background: var(--v114-bg-dark);
  color: var(--v114-accent);
  padding: 0.5rem;
  text-align: left;
}

.v114-rtp-table td {
  padding: 0.4rem 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.v114-rtp-bar {
  height: 6px;
  background: var(--v114-accent);
  border-radius: 3px;
  display: inline-block;
}

/* ========== STEP LIST ========== */
.v114-step-list {
  counter-reset: v114step;
  padding-left: 0;
  list-style: none;
}

.v114-step-list li {
  counter-increment: v114step;
  padding: 0.6rem 0 0.6rem 2.5rem;
  position: relative;
  font-size: 1.3rem;
}

.v114-step-list li::before {
  content: counter(v114step);
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 2rem;
  height: 2rem;
  background: var(--v114-accent);
  color: var(--v114-bg-dark);
  border-radius: 50%;
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
