/* ========================================
   SINGASLOT - MAIN STYLE SHEET
   Premium Futuristic Design
   ======================================== */

/* ---------- RESET & BASE ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  background: #05050a;
  overflow-x: hidden;
}

/* ========== BACKGROUND FUTURISTIK ========== */
.bg-elegant {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at 40% 30%, #0a0a1a 0%, #04040a 50%, #020208 100%);
  z-index: -3;
}

.grid-line {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(247, 212, 74, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 212, 74, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: -2;
}

.neon-orb-1 {
  position: fixed;
  top: 20%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(230, 180, 70, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  filter: blur(70px);
  animation: floatGlow 12s ease-in-out infinite;
}

.neon-orb-2 {
  position: fixed;
  bottom: 10%;
  left: -10%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(230, 180, 70, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  filter: blur(80px);
  animation: floatGlow2 15s ease-in-out infinite;
}

@keyframes floatGlow {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.7; }
  50% { transform: translate(-30px, -20px) scale(1.1); opacity: 1; }
}

@keyframes floatGlow2 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.5; }
  50% { transform: translate(20px, 30px) scale(1.15); opacity: 0.8; }
}

.gold-glow-elegant {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  background: radial-gradient(circle at 20% 30%, rgba(230, 180, 70, 0.05) 0%, transparent 60%),
              radial-gradient(circle at 80% 70%, rgba(230, 180, 70, 0.03) 0%, transparent 60%);
}

/* ========== TEXT STYLES PREMIUM ========== */
.text-gold { color: #F7D44A; }

.text-gold-gradient {
  background: linear-gradient(135deg, #F7D44A, #E6B422, #FFE28A, #E6B422);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% auto;
  animation: shimmer 3s ease infinite;
}

@keyframes shimmer {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

.text-white { color: #FFFFFF; }
.text-gray-light { color: #E5E7EB; }
.text-gray-mid { color: #9CA3AF; }

/* ========== CARD FUTURISTIK ========== */
.card-premium {
  background: rgba(12, 12, 22, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(247, 212, 74, 0.2);
  border-radius: 28px;
  transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.card-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(247, 212, 74, 0.08), transparent);
  transition: left 0.6s ease;
}

.card-premium::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #F7D44A, transparent);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.card-premium:hover::before {
  left: 100%;
}

.card-premium:hover::after {
  transform: scaleX(1);
}

.card-premium:hover {
  border-color: rgba(247, 212, 74, 0.5);
  transform: translateY(-6px);
  box-shadow: 0 25px 45px -15px rgba(247, 212, 74, 0.2);
}

/* ========== STAT CARD ========== */
.stat-card {
  background: rgba(8, 8, 16, 0.9);
  backdrop-filter: blur(8px);
  border-radius: 24px;
  border-bottom: 2px solid #F7D44A;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 20%, rgba(247, 212, 74, 0.08), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-card:hover {
  transform: translateY(-4px);
  border-bottom-color: #FFE28A;
  box-shadow: 0 12px 28px -12px rgba(247, 212, 74, 0.3);
}

/* ========== BUTTONS ========== */
.btn-gold {
  background: linear-gradient(105deg, #E6B422, #F7D44A, #E6B422);
  background-size: 200% auto;
  color: #04040a;
  font-weight: 700;
  border-radius: 60px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(230, 180, 34, 0.3);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border: none;
}

.btn-gold:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 25px rgba(230, 180, 34, 0.5);
  background-position: 100% center;
}

.btn-outline {
  border: 1.5px solid #F7D44A;
  background: transparent;
  color: #F7D44A;
  border-radius: 60px;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.btn-outline::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(247, 212, 74, 0.15);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease;
}

.btn-outline:hover::before {
  width: 200%;
  height: 200%;
}

.btn-outline:hover {
  border-color: #FFE28A;
  box-shadow: 0 0 15px rgba(247, 212, 74, 0.3);
}

/* ========== PROVIDER CHIPS ========== */
.provider-chip {
  display: inline-block;
  background: linear-gradient(135deg, rgba(247, 212, 74, 0.08), rgba(247, 212, 74, 0.03));
  border-radius: 40px;
  padding: 6px 18px;
  font-size: 12px;
  font-weight: 500;
  color: #F7D44A;
  margin: 4px 8px 4px 0;
  transition: all 0.3s ease;
  border: 1px solid rgba(247, 212, 74, 0.2);
  letter-spacing: 0.3px;
  backdrop-filter: blur(4px);
}

.provider-chip:hover {
  background: rgba(247, 212, 74, 0.2);
  transform: translateY(-2px);
  border-color: rgba(247, 212, 74, 0.6);
  box-shadow: 0 4px 12px rgba(247, 212, 74, 0.2);
}

/* ========== SECTION TITLE ========== */
.provider-section-title {
  font-size: 13px;
  font-weight: 600;
  color: #F7D44A;
  margin: 18px 0 12px 0;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
}

/* ========== LEVEL GRID ========== */
.level-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
  gap: 12px;
}

.level-item {
  background: linear-gradient(135deg, rgba(247, 212, 74, 0.05), rgba(247, 212, 74, 0.02));
  border-radius: 16px;
  padding: 12px 6px;
  text-align: center;
  border-left: 2px solid #F7D44A;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.level-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(247, 212, 74, 0.08), transparent);
  transition: left 0.4s ease;
}

.level-item:hover::before {
  left: 100%;
}

.level-item:hover {
  background: rgba(247, 212, 74, 0.12);
  transform: translateX(4px);
  border-left-color: #FFE28A;
}

/* ========== TAB NAVIGATION ========== */
.tab-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 36px;
}

.tab-btn {
  padding: 10px 30px;
  border-radius: 60px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #9CA3AF;
  background: rgba(10, 10, 20, 0.6);
  border: 1px solid rgba(247, 212, 74, 0.2);
  backdrop-filter: blur(8px);
  letter-spacing: 0.5px;
}

.tab-btn.active {
  background: linear-gradient(105deg, #E6B422, #F7D44A);
  color: #04040a;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(247, 212, 74, 0.35);
  transform: scale(1.02);
}

.tab-btn:hover:not(.active) {
  border-color: rgba(247, 212, 74, 0.5);
  color: #F7D44A;
  transform: translateY(-2px);
}

/* ========== TAB PANE ========== */
.tab-pane { display: none; animation: fadeSlideUp 0.5s ease; }
.tab-pane.active { display: block; }

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========== DETAIL TOGGLE ========== */
.detail-toggle {
  cursor: pointer;
  color: #F7D44A;
  font-size: 12px;
  font-weight: 500;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.detail-toggle:hover {
  text-shadow: 0 0 8px rgba(247, 212, 74, 0.5);
  letter-spacing: 0.3px;
}

.detail-content {
  display: none;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 20px;
  padding: 16px;
  margin-top: 14px;
  font-size: 12px;
  border: 1px solid rgba(247, 212, 74, 0.15);
  backdrop-filter: blur(4px);
}

/* ========== CONTAINER ========== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: clamp(1rem, 4vw, 2rem);
  padding-right: clamp(1rem, 4vw, 2rem);
}

/* ========== DIVIDER ========== */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, #F7D44A, #E6B422, #F7D44A, transparent);
}

/* ========== HERO IMAGE ========== */
.hero-img {
  max-width: 100%;
  height: auto;
  border-radius: 32px;
  filter: drop-shadow(0 0 20px rgba(247, 212, 74, 0.2));
  transition: all 0.4s ease;
}

.hero-img:hover {
  filter: drop-shadow(0 0 35px rgba(247, 212, 74, 0.35));
  transform: scale(1.02);
}

/* ========== INFO BOX ========== */
.info-box {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3));
  border-radius: 18px;
  padding: 14px;
  margin-top: 14px;
  border-left: 2px solid #F7D44A;
  backdrop-filter: blur(4px);
}

/* ========== SCROLL TOP ========== */
.scroll-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #E6B422, #F7D44A);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 99;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(230, 180, 34, 0.4);
  animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 4px 15px rgba(230, 180, 34, 0.4); }
  50% { box-shadow: 0 4px 25px rgba(230, 180, 34, 0.7); }
}

.scroll-top:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 25px rgba(230, 180, 34, 0.6);
}

/* ========== MODAL ========== */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.97);
  backdrop-filter: blur(16px);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: rgba(18, 18, 32, 0.98);
  backdrop-filter: blur(20px);
  border-radius: 32px;
  max-width: 400px;
  width: 90%;
  border: 1px solid #F7D44A;
  padding: 32px;
  text-align: center;
  box-shadow: 0 0 50px rgba(247, 212, 74, 0.15);
  animation: modalPop 0.3s ease;
}

@keyframes modalPop {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

/* ========== NAVBAR ========== */
nav {
  background: rgba(0, 0, 0, 0.85) !important;
  backdrop-filter: blur(20px) !important;
}

/* ========== TAMBAHAN SEO & PERFORMANCE ========== */
img {
  loading: lazy;
  decoding: async;
}

html {
  scroll-behavior: smooth;
}

:focus {
  outline: 2px solid #F7D44A;
  outline-offset: 2px;
}

button {
  user-select: none;
}

body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ========== RESPONSIVE DESIGN ========== */
/* Tablet (iPad) */
@media (min-width: 768px) and (max-width: 1024px) {
  .tab-btn {
    padding: 8px 18px;
    font-size: 12px;
  }
  
  .level-grid {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .tab-container {
    gap: 8px;
    margin-bottom: 20px;
  }
  
  .tab-btn {
    padding: 6px 14px;
    font-size: 11px;
  }
  
  .card-premium {
    padding: 16px !important;
  }
  
  .level-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px;
  }
  
  .provider-chip {
    padding: 4px 10px;
    font-size: 9px;
  }
  
  .hero-img {
    max-width: 220px;
  }
  
  .grid-cols-3.gap-4 {
    grid-template-columns: repeat(1, 1fr) !important;
  }
}

/* Mobile kecil */
@media (max-width: 480px) {
  .tab-btn {
    padding: 5px 12px;
    font-size: 10px;
  }
  
  .provider-chip {
    padding: 3px 8px;
    font-size: 8px;
  }
}

/* Print Style */
@media print {
  .scroll-top,
  .tab-btn,
  button:not(.no-print) {
    display: none !important;
  }
}
