@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&family=Rajdhani:wght@600;700;800&family=Space+Grotesk:wght@500;700&display=swap');

:root {
  --primary: #ff6b00;
  --primary-hover: #ff7d1a;
  --primary-light: #fff3eb;
  --bg-main: #0b0f17;
  --bg-surface: #101622;
  --bg-card: #151c2a;
  --border-subtle: #1e293b;
  --font-heading: 'Outfit', sans-serif;
  --font-game: 'Rajdhani', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'Space Grotesk', monospace;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: #f1f5f9;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, .font-heading {
  font-family: var(--font-heading);
}

.font-game {
  font-family: var(--font-game);
  letter-spacing: 0.02em;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #090d14;
}
::-webkit-scrollbar-thumb {
  background: #232d3f;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Hide scrollbar for clean horizontal swipe tabs */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

/* Subtle, Soft Glow */
.glow-subtle {
  box-shadow: 0 4px 20px -2px rgba(255, 107, 0, 0.25);
}

.glow-orange-sm {
  box-shadow: 0 0 12px rgba(255, 107, 0, 0.3);
}

.text-gradient-orange {
  background: linear-gradient(135deg, #ff7a00 0%, #ff5500 50%, #ffa133 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Clean Professional E-Commerce Card */
.pro-card {
  background: #121824;
  border: 1px solid #1e293b;
  border-radius: 14px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

@media (min-width: 640px) {
  .pro-card {
    border-radius: 16px;
  }
}

.pro-card:hover {
  border-color: rgba(255, 107, 0, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 12px 24px -6px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 107, 0, 0.2);
}

/* Touch active state for mobile feedback */
.pro-card:active {
  transform: scale(0.985);
  transition-duration: 0.1s;
}

/* Clean Badge Pulse for 10% Offer */
@keyframes softPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.4);
  }
  50% {
    transform: scale(1.02);
    box-shadow: 0 0 10px 2px rgba(255, 107, 0, 0.5);
  }
}

.badge-offer-pulse {
  animation: softPulse 2.5s infinite ease-in-out;
}

/* Clean Ambient Top Glow */
.bg-ambient-top {
  background-image: radial-gradient(circle at 50% 0%, rgba(255, 107, 0, 0.08) 0%, transparent 65%);
}

/* Marquee / Ticker Animation */
@keyframes marquee {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

.animate-marquee {
  display: inline-flex;
  white-space: nowrap;
  animation: marquee 32s linear infinite;
}

.animate-marquee:hover {
  animation-play-state: paused;
}

/* Clean Play Button Overlay */
.play-btn-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 107, 0, 0.95);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  box-shadow: 0 4px 20px rgba(255, 107, 0, 0.5);
}

@media (min-width: 640px) {
  .play-btn-circle {
    width: 52px;
    height: 52px;
  }
}

.play-btn-circle:hover {
  transform: scale(1.1);
  background: #ff7a00;
}

/* WhatsApp Floating Button Pulse */
@keyframes whatsappPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.whatsapp-pulse {
  animation: whatsappPulse 2.2s infinite cubic-bezier(0.66, 0, 0, 1);
}

/* Toast Animation */
@keyframes toastSlideUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-toast {
  animation: toastSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Package Card Selector in Modal */
.pack-option input:checked + div {
  border-color: #ff6b00;
  background: rgba(255, 107, 0, 0.08);
}

.payment-option input:checked + div {
  border-color: #ff6b00;
  background: rgba(255, 107, 0, 0.08);
}

/* Carousel transitions */
.hero-carousel-slide {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-out;
  transform: scale(0.99);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-carousel-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  position: relative;
}

/* Mobile Bottom Navigation & Safe Area Inset */
.mobile-bottom-bar {
  padding-bottom: calc(0.5rem + env(safe-area-inset-bottom, 0px));
}

@media (max-width: 768px) {
  body {
    padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px));
  }
}

/* Modal Bottom-Sheet style on mobile (< 640px) */
@media (max-width: 639px) {
  #topupModal {
    align-items: flex-end;
    padding: 0;
  }
  #topupModalContent {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    margin: 0;
    max-height: 92vh;
  }
}
