/* ============================================================
   MAIN STYLES - Premium Casino/Togel Landing Page
   ============================================================ */

/* ==================== GENERAL ==================== */
::selection {
  background: rgba(212, 175, 55, 0.3);
  color: #fff;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  background: linear-gradient(45deg, #FFD700, #D4AF37, #FFF, #D4AF37);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 15px;
  font-weight: 800;
}

.section-title p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

.gold-line {
  width: 80px;
  height: 3px;
  background: linear-gradient(45deg, #D4AF37, #FFD700);
  margin: 20px auto 0;
  border-radius: 2px;
}

/* ==================== HEADER ==================== */
.header.scrolled {
  background: rgba(5, 8, 22, 0.98);
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.5);
}

.nav-menu {
  display: flex;
  gap: 25px;
}

.nav-menu a {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.3s ease;
  position: relative;
}

.nav-menu a:hover {
  color: #FFD700;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #FFD700;
  transition: width 0.3s ease;
}

.nav-menu a:hover::after {
  width: 100%;
}

.header-cta {
  display: flex;
  gap: 10px;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #FFD700;
  transition: all 0.3s ease;
  border-radius: 1px;
}

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: rgba(5, 8, 22, 0.98);
  backdrop-filter: blur(20px);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  padding: 80px 30px 30px;
  gap: 20px;
  transition: right 0.3s ease;
  border-left: 1px solid rgba(212, 175, 55, 0.2);
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: #FFD700;
  font-size: 30px;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-nav a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  font-weight: 500;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: color 0.3s ease;
}

.mobile-nav a:hover {
  color: #FFD700;
}

.mobile-nav-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.mobile-nav-cta .btn {
  width: 100%;
  text-align: center;
}

/* ==================== HERO ==================== */
.hero {
  background: radial-gradient(ellipse at 20% 50%, rgba(212, 175, 55, 0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 80%, rgba(139, 0, 0, 0.06) 0%, transparent 50%);
}

.hero-sub {
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 50px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto 50px;
}

.hero-feature {
  background: rgba(10, 14, 42, 0.6);
  backdrop-filter: blur(12px);
  padding: 25px 20px;
  border-radius: 16px;
  border: 1px solid rgba(212, 175, 55, 0.15);
  transition: all 0.3s ease;
}

.hero-feature:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 10px 40px rgba(212, 175, 55, 0.15);
}

.hero-feature-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 12px;
}

.hero-feature h3 {
  color: #FFD700;
  font-size: 1rem;
  margin-bottom: 8px;
}

.hero-feature p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  line-height: 1.5;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.shimmer-text {
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.85; }
}

/* ==================== PASARAN GRID ==================== */
.pasaran-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pasaran-card {
  background: rgba(10, 14, 42, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 16px;
  padding: 20px;
  transition: all 0.3s ease;
}

.pasaran-card:hover {
  transform: translateY(-5px);
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.15);
}

.pasaran-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.pasaran-name {
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
}

.pasaran-status {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
}

.pasaran-status.online {
  background: rgba(0, 200, 83, 0.15);
  color: #00c853;
  border: 1px solid rgba(0, 200, 83, 0.3);
}

.pasaran-status.offline {
  background: rgba(255, 0, 0, 0.1);
  color: #f44;
  border: 1px solid rgba(255, 0, 0, 0.2);
}

.pasaran-info {
  margin-bottom: 15px;
}

.pasaran-info-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
}

.pasaran-info-label {
  color: rgba(255, 255, 255, 0.5);
}

.pasaran-info-value {
  color: rgba(255, 255, 255, 0.9);
}

.pasaran-jackpot {
  color: #FFD700;
  font-weight: 700;
}

.pasaran-card .btn {
  width: 100%;
  font-size: 0.85rem;
  padding: 10px;
}

/* ==================== PROMO ==================== */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.promo-card {
  background: rgba(10, 14, 42, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 16px;
  padding: 30px 25px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.promo-card:hover {
  transform: translateY(-5px);
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.15);
}

.promo-badge {
  position: absolute;
  top: 15px;
  right: -25px;
  background: linear-gradient(45deg, #8B0000, #cc0000);
  color: #fff;
  padding: 4px 35px;
  font-size: 0.7rem;
  font-weight: 700;
  transform: rotate(45deg);
  letter-spacing: 1px;
}

.promo-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 15px;
}

.promo-card h3 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.promo-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: #FFD700;
  margin-bottom: 12px;
}

.promo-card > p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.promo-countdown {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.countdown-item {
  background: rgba(0, 0, 0, 0.3);
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.countdown-item .num {
  display: block;
  font-size: 1.3rem;
  font-weight: 700;
  color: #FFD700;
}

.countdown-item .label {
  display: block;
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
}

.promo-terms {
  display: block;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.promo-terms:hover {
  color: #FFD700;
}

.promo-terms-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  text-align: left;
}

.promo-card.terms-open .promo-terms-content {
  max-height: 200px;
  margin-top: 15px;
}

.promo-terms-content p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
  line-height: 1.8;
}

/* ==================== PAYMENT ==================== */
.payment-categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.payment-cat {
  background: rgba(10, 14, 42, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 16px;
  padding: 25px;
}

.payment-cat h3 {
  color: #FFD700;
  font-size: 1rem;
  margin-bottom: 15px;
  text-align: center;
}

.payment-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 15px;
}

.payment-icon {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  transition: all 0.3s ease;
}

.payment-icon:hover {
  border-color: rgba(212, 175, 55, 0.4);
  color: #FFD700;
}

.payment-info {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 12px;
}

.payment-info-row {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  font-size: 0.82rem;
}

.payment-info-row span:first-child {
  color: rgba(255, 255, 255, 0.4);
}

.payment-info-row span:last-child {
  color: #FFD700;
  font-weight: 600;
}

/* ==================== MOBILE APP ==================== */
.app-section-inner {
  display: flex;
  gap: 50px;
  align-items: center;
}

.app-info {
  flex: 1;
}

.app-info h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: #FFD700;
  margin-bottom: 15px;
}

.app-info > p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 25px;
}

.app-features {
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
}

.app-features li {
  padding: 8px 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  position: relative;
  padding-left: 25px;
}

.app-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #00c853;
  font-weight: 700;
}

.app-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.app-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 12px 20px;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.app-btn:hover {
  border-color: #FFD700;
  background: rgba(212, 175, 55, 0.1);
}

.app-btn-icon {
  font-size: 1.5rem;
}

.app-btn-text small {
  display: block;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.7rem;
}

.app-btn-text strong {
  color: #fff;
  font-size: 0.95rem;
}

.app-preview {
  flex: 0 0 400px;
}

.app-preview img {
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* ==================== FAQ ==================== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid rgba(212, 175, 55, 0.1);
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(212, 175, 55, 0.3);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  background: rgba(10, 14, 42, 0.5);
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: rgba(10, 14, 42, 0.8);
}

.faq-question span:first-child {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  font-size: 0.95rem;
  flex: 1;
  padding-right: 15px;
}

.faq-toggle {
  color: #FFD700;
  font-size: 1.3rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 20px 18px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ==================== REVIEWS ==================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.review-card {
  background: rgba(10, 14, 42, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(212, 175, 55, 0.1);
  border-radius: 16px;
  padding: 25px;
  transition: all 0.3s ease;
}

.review-card:hover {
  border-color: rgba(212, 175, 55, 0.3);
  transform: translateY(-3px);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #D4AF37, #8B0000);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
  flex-shrink: 0;
}

.review-meta {
  flex: 1;
}

.review-name {
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
}

.review-badge {
  font-size: 0.7rem;
  color: #00c853;
  display: flex;
  align-items: center;
  gap: 4px;
}

.review-badge::before {
  content: '✓';
  font-weight: 700;
}

.review-date {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.8rem;
}

.review-stars {
  color: #FFD700;
  font-size: 1rem;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.review-text {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.88rem;
  line-height: 1.7;
}

.reviews-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
}

.reviews-pagination button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.3);
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  min-width: 44px;
  min-height: 44px;
}

.reviews-pagination button.active,
.reviews-pagination button:hover {
  background: linear-gradient(45deg, #D4AF37, #FFD700);
  color: #000;
  border-color: #FFD700;
}

/* ==================== FINAL CTA ==================== */
.final-cta {
  text-align: center;
  padding: 100px 0;
  background: linear-gradient(180deg, transparent, rgba(212, 175, 55, 0.03), transparent);
}

.final-cta h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  background: linear-gradient(45deg, #FFD700, #D4AF37, #FFF, #D4AF37);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 15px;
}

.final-cta > .container > p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.05rem;
  margin-bottom: 35px;
}

.final-cta-btns {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.trust-badges {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.82rem;
}

.trust-badge-icon {
  font-size: 1.2rem;
}

/* ==================== FOOTER ==================== */
.footer {
  background: rgba(5, 8, 22, 0.95);
  border-top: 1px solid rgba(212, 175, 55, 0.1);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo {
  margin-bottom: 15px;
}

.footer-brand > p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
  line-height: 1.7;
}

.footer h4 {
  color: #FFD700;
  font-size: 0.95rem;
  margin-bottom: 15px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #FFD700;
}

.footer-contact {
  list-style: none;
  padding: 0;
}

.footer-contact li {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.8rem;
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.8rem;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: #FFD700;
}

.age-warning {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.age-warning-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #f44;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f44;
  font-weight: 800;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.age-warning p {
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.75rem;
  line-height: 1.5;
}

/* ==================== FLOATING PARTICLES ==================== */
.floating-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.fade-in.visible .hero-feature:nth-child(1),
.fade-in.visible .pasaran-card:nth-child(1) { transition-delay: 0.1s; }
.fade-in.visible .hero-feature:nth-child(2),
.fade-in.visible .pasaran-card:nth-child(2) { transition-delay: 0.2s; }
.fade-in.visible .hero-feature:nth-child(3),
.fade-in.visible .pasaran-card:nth-child(3) { transition-delay: 0.3s; }
.fade-in.visible .hero-feature:nth-child(4),
.fade-in.visible .pasaran-card:nth-child(4) { transition-delay: 0.4s; }
