/**
 * Lucky Cola Casino - Core Stylesheet
 * Class prefix: pg68-
 * CSS variables: --pg68-*
 * Color palette: #0E1621 (dark bg), #008000 (green primary), #3CB371 (light green)
 */

:root {
  --pg68-primary: #008000;
  --pg68-secondary: #3CB371;
  --pg68-dark: #0E1621;
  --pg68-darker: #0a0f16;
  --pg68-text: #f0f4f0;
  --pg68-text-muted: #a8b8a8;
  --pg68-accent: #00cc44;
  --pg68-gold: #FFD700;
  --pg68-card-bg: #141e2b;
  --pg68-border: #1a2a3a;
  --pg68-hover: #00992b;
  --pg68-radius: 10px;
  --pg68-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  --pg68-transition: all 0.3s ease;
  font-size: 62.5%;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--pg68-dark);
  color: var(--pg68-text);
  font-size: 1.6rem;
  line-height: 1.5;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ========== HEADER ========== */
.pg68-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, var(--pg68-darker), var(--pg68-dark));
  border-bottom: 2px solid var(--pg68-primary);
  max-width: 430px;
  margin: 0 auto;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
}

.pg68-header-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  text-decoration: none;
}

.pg68-header-logo {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  object-fit: contain;
}

.pg68-header-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--pg68-gold);
  white-space: nowrap;
  letter-spacing: 0.5px;
}

.pg68-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pg68-btn-register,
.pg68-btn-login {
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--pg68-transition);
  white-space: nowrap;
}

.pg68-btn-register {
  background: linear-gradient(135deg, var(--pg68-primary), var(--pg68-secondary));
  color: #fff;
}

.pg68-btn-register:hover {
  background: linear-gradient(135deg, var(--pg68-hover), var(--pg68-accent));
  transform: scale(1.05);
}

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

.pg68-btn-login:hover {
  background: rgba(60, 179, 113, 0.15);
  transform: scale(1.05);
}

.pg68-hamburger {
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  padding: 6px;
  margin-left: 6px;
}

.pg68-hamburger span {
  width: 20px;
  height: 2px;
  background: var(--pg68-text);
  border-radius: 2px;
  transition: var(--pg68-transition);
}

/* ========== MOBILE MENU ========== */
.pg68-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9998;
  max-width: 430px;
  margin: 0 auto;
}

.pg68-mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 260px;
  background: var(--pg68-darker);
  z-index: 9999;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  padding-top: 60px;
  border-right: 2px solid var(--pg68-primary);
  overflow-y: auto;
}

.pg68-mobile-menu-header {
  padding: 12px 16px;
  border-bottom: 1px solid var(--pg68-border);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pg68-mobile-menu-header img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.pg68-mobile-menu-header span {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--pg68-gold);
}

.pg68-mobile-menu-nav {
  list-style: none;
  padding: 8px 0;
}

.pg68-mobile-menu-nav li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  color: var(--pg68-text);
  text-decoration: none;
  font-size: 1.4rem;
  transition: var(--pg68-transition);
  border-left: 3px solid transparent;
}

.pg68-mobile-menu-nav li a:hover {
  background: rgba(0, 128, 0, 0.12);
  border-left-color: var(--pg68-primary);
  color: var(--pg68-secondary);
}

.pg68-mobile-menu-nav li a i,
.pg68-mobile-menu-nav li a span.material-icons-outlined {
  font-size: 20px;
  width: 24px;
  text-align: center;
}

/* ========== CAROUSEL ========== */
.pg68-carousel {
  position: relative;
  width: 100%;
  margin-top: 52px;
  overflow: hidden;
  aspect-ratio: 16/7;
  background: var(--pg68-card-bg);
}

.pg68-carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.pg68-carousel-slide.pg68-carousel-active {
  opacity: 1;
}

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

.pg68-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.6rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pg68-carousel-prev { left: 8px; }
.pg68-carousel-next { right: 8px; }

/* ========== MAIN CONTENT ========== */
.pg68-main {
  padding: 16px 12px;
  padding-bottom: 20px;
}

.pg68-section {
  margin-bottom: 24px;
}

.pg68-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--pg68-gold);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--pg68-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.pg68-section-title i {
  color: var(--pg68-secondary);
}

/* ========== GAME GRID ========== */
.pg68-game-category-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--pg68-secondary);
  margin: 16px 0 10px;
  padding-left: 8px;
  border-left: 3px solid var(--pg68-primary);
}

.pg68-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.pg68-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: var(--pg68-transition);
  text-decoration: none;
  color: var(--pg68-text);
}

.pg68-game-item:hover {
  transform: translateY(-3px);
}

.pg68-game-img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  object-fit: cover;
  border: 2px solid var(--pg68-border);
  transition: var(--pg68-transition);
}

.pg68-game-item:hover .pg68-game-img {
  border-color: var(--pg68-primary);
  box-shadow: 0 0 10px rgba(0, 128, 0, 0.3);
}

.pg68-game-name {
  font-size: 1.05rem;
  text-align: center;
  margin-top: 4px;
  line-height: 1.2;
  max-height: 2.4em;
  overflow: hidden;
  word-break: break-word;
}

/* ========== CONTENT CARDS ========== */
.pg68-card {
  background: var(--pg68-card-bg);
  border-radius: var(--pg68-radius);
  padding: 16px;
  margin-bottom: 16px;
  border: 1px solid var(--pg68-border);
}

.pg68-card h2,
.pg68-card h3 {
  color: var(--pg68-gold);
  margin-bottom: 10px;
}

.pg68-card p {
  color: var(--pg68-text-muted);
  margin-bottom: 10px;
  font-size: 1.4rem;
  line-height: 1.6;
}

.pg68-card a {
  color: var(--pg68-secondary);
  text-decoration: underline;
  font-weight: 500;
}

/* ========== PROMO CTA BUTTONS ========== */
.pg68-cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--pg68-primary), var(--pg68-accent));
  color: #fff;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: var(--pg68-transition);
  text-align: center;
  text-decoration: none;
}

.pg68-cta-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 16px rgba(0, 204, 68, 0.4);
}

.pg68-cta-gold {
  background: linear-gradient(135deg, #c8a000, var(--pg68-gold));
}

/* ========== FAQ ========== */
.pg68-faq-item {
  border-bottom: 1px solid var(--pg68-border);
}

.pg68-faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  cursor: pointer;
  font-weight: 600;
  color: var(--pg68-text);
  font-size: 1.4rem;
}

.pg68-faq-icon {
  font-size: 1.8rem;
  color: var(--pg68-primary);
  min-width: 24px;
  text-align: right;
}

.pg68-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: var(--pg68-text-muted);
  font-size: 1.35rem;
  line-height: 1.6;
}

/* ========== WINNER LIST ========== */
.pg68-winner-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pg68-winner-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 128, 0, 0.08);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 1.3rem;
}

.pg68-winner-name {
  color: var(--pg68-gold);
  font-weight: 600;
}

.pg68-winner-amount {
  color: var(--pg68-accent);
  font-weight: 700;
  margin-left: auto;
}

/* ========== TESTIMONIALS ========== */
.pg68-testimonial {
  background: rgba(60, 179, 113, 0.06);
  border-left: 3px solid var(--pg68-secondary);
  padding: 12px 14px;
  margin-bottom: 10px;
  border-radius: 0 8px 8px 0;
}

.pg68-testimonial-text {
  font-style: italic;
  color: var(--pg68-text-muted);
  font-size: 1.35rem;
  margin-bottom: 6px;
}

.pg68-testimonial-author {
  color: var(--pg68-secondary);
  font-size: 1.2rem;
  font-weight: 600;
}

/* ========== RTP BAR ========== */
.pg68-rtp-bar {
  margin-bottom: 10px;
}

.pg68-rtp-label {
  display: flex;
  justify-content: space-between;
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.pg68-rtp-track {
  height: 8px;
  background: var(--pg68-border);
  border-radius: 4px;
  overflow: hidden;
}

.pg68-rtp-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--pg68-primary), var(--pg68-accent));
  transition: width 0.8s ease;
}

/* ========== PAYMENT ICONS ========== */
.pg68-payment-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 12px 0;
}

.pg68-payment-item {
  background: var(--pg68-card-bg);
  border: 1px solid var(--pg68-border);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 1.2rem;
  color: var(--pg68-text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ========== FOOTER ========== */
.pg68-footer {
  background: var(--pg68-darker);
  border-top: 2px solid var(--pg68-primary);
  padding: 20px 12px 24px;
}

.pg68-footer-brand {
  text-align: center;
  margin-bottom: 16px;
}

.pg68-footer-brand p {
  color: var(--pg68-text-muted);
  font-size: 1.3rem;
  line-height: 1.5;
  max-width: 360px;
  margin: 0 auto;
}

.pg68-footer-promo {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 16px 0;
}

.pg68-footer-promo .pg68-cta-btn {
  font-size: 1.2rem;
  padding: 8px 16px;
}

.pg68-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  justify-content: center;
  margin: 16px 0;
}

.pg68-footer-links a {
  color: var(--pg68-text-muted);
  font-size: 1.2rem;
  text-decoration: none;
  transition: var(--pg68-transition);
}

.pg68-footer-links a:hover {
  color: var(--pg68-secondary);
}

.pg68-footer-copy {
  text-align: center;
  color: var(--pg68-text-muted);
  font-size: 1.1rem;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--pg68-border);
}

/* ========== BOTTOM NAV ========== */
.pg68-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, var(--pg68-dark), var(--pg68-darker));
  border-top: 2px solid var(--pg68-primary);
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 60px;
  max-width: 430px;
  margin: 0 auto;
}

.pg68-bottom-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 56px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--pg68-text-muted);
  transition: var(--pg68-transition);
  text-decoration: none;
  gap: 2px;
  padding: 4px 0;
}

.pg68-bottom-nav-btn i,
.pg68-bottom-nav-btn .material-icons-outlined,
.pg68-bottom-nav-btn ion-icon,
.pg68-bottom-nav-btn .bi {
  font-size: 22px;
}

.pg68-bottom-nav-label {
  font-size: 1rem;
  color: inherit;
}

.pg68-bottom-nav-btn:hover,
.pg68-bottom-nav-btn.pg68-nav-active {
  color: var(--pg68-accent);
}

.pg68-bottom-nav-btn:active {
  transform: scale(0.92);
}

/* ========== HELPER CLASSES ========== */
.pg68-text-center { text-align: center; }
.pg68-text-green { color: var(--pg68-secondary); }
.pg68-text-gold { color: var(--pg68-gold); }
.pg68-mb-sm { margin-bottom: 8px; }
.pg68-mb-md { margin-bottom: 16px; }
.pg68-mb-lg { margin-bottom: 24px; }
.pg68-mt-sm { margin-top: 8px; }
.pg68-mt-md { margin-top: 16px; }
.pg68-promo-text {
  color: var(--pg68-accent);
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
}

/* ========== MOBILE PADDING ========== */
@media (max-width: 768px) {
  .pg68-main {
    padding-bottom: 80px;
  }
}

/* ========== DESKTOP: HIDE BOTTOM NAV ========== */
@media (min-width: 769px) {
  .pg68-bottom-nav {
    display: none;
  }
}

/* ========== TRICKS LIST ========== */
.pg68-tricks-list {
  list-style: none;
  padding: 0;
}

.pg68-tricks-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--pg68-border);
  font-size: 1.35rem;
  color: var(--pg68-text-muted);
  padding-left: 20px;
  position: relative;
}

.pg68-tricks-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  background: var(--pg68-primary);
  border-radius: 50%;
}

/* ========== APP DOWNLOAD ========== */
.pg68-app-box {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(0, 128, 0, 0.1);
  border: 1px dashed var(--pg68-primary);
  border-radius: var(--pg68-radius);
  padding: 14px;
}

.pg68-app-box-icon {
  font-size: 3rem;
  color: var(--pg68-secondary);
}

.pg68-app-box-text h3 {
  color: var(--pg68-text);
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.pg68-app-box-text p {
  color: var(--pg68-text-muted);
  font-size: 1.2rem;
}
