/* ==========================================================================
   CYBERPUNK TIKTOK 2.0 DESIGN SYSTEM - NapXuTikTok247.com
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&family=Outfit:wght@500;600;700;800;900&display=swap');

:root {
  --bg-oled: #06080d;
  --bg-card: rgba(14, 18, 27, 0.85);
  --bg-card-hover: rgba(22, 28, 42, 0.95);
  --bg-surface: #0f131d;
  --bg-glass: rgba(15, 19, 29, 0.75);

  /* TikTok Official Dual Neon Palette */
  --tt-cyan: #25f4ee;
  --tt-cyan-glow: 0 0 20px rgba(37, 244, 238, 0.45);
  --tt-pink: #fe2c55;
  --tt-pink-glow: 0 0 20px rgba(254, 44, 85, 0.45);
  --tt-gold: #ffbe18;
  
  /* Gradients */
  --grad-tiktok: linear-gradient(135deg, #25f4ee 0%, #fe2c55 100%);
  --grad-tiktok-rev: linear-gradient(135deg, #fe2c55 0%, #25f4ee 100%);
  --grad-tiktok-subtle: linear-gradient(135deg, rgba(37, 244, 238, 0.1) 0%, rgba(254, 44, 85, 0.1) 100%);
  --grad-border: linear-gradient(135deg, rgba(37, 244, 238, 0.5) 0%, rgba(255, 255, 255, 0.05) 50%, rgba(254, 44, 85, 0.5) 100%);
  --grad-dark-btn: linear-gradient(180deg, #1b2232 0%, #0e121b 100%);

  /* Text Colors */
  --text-white: #ffffff;
  --text-gray: #94a3b8;
  --text-muted: #64748b;
  --success: #00f2fe;

  --font-main: 'Plus Jakarta Sans', 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 9999px;

  --transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  background-color: var(--bg-oled);
  color: var(--text-white);
  font-family: var(--font-main);
  line-height: 1.55;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Ambient Neon Lights */
body::before {
  content: '';
  position: fixed;
  top: -10%;
  left: 20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(37, 244, 238, 0.14) 0%, transparent 65%);
  filter: blur(60px);
  z-index: 0;
  pointer-events: none;
}

body::after {
  content: '';
  position: fixed;
  top: 15%;
  right: 10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(254, 44, 85, 0.12) 0%, transparent 65%);
  filter: blur(70px);
  z-index: 0;
  pointer-events: none;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.25rem;
  position: relative;
  z-index: 1;
}

/* Dual Color Gradient Text */
.gradient-text {
  background: var(--grad-tiktok);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-weight: 800;
}

.cyan-text {
  color: var(--tt-cyan);
}

.pink-text {
  color: var(--tt-pink);
}

/* Header & Navbar */
.cyber-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(6, 8, 13, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.85rem 0;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-logo-icon {
  width: 42px;
  height: 42px;
  background: #000;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  position: relative;
  box-shadow: -2px -2px 10px rgba(37, 244, 238, 0.5), 2px 2px 10px rgba(254, 44, 85, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.brand-title {
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.5px;
}

.brand-sub {
  font-size: 0.68rem;
  color: var(--tt-cyan);
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.status-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(37, 244, 238, 0.1);
  border: 1px solid rgba(37, 244, 238, 0.3);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--tt-cyan);
}

.pulse-circle {
  width: 8px;
  height: 8px;
  background: var(--tt-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--tt-cyan);
  animation: pulseNeon 1.5s infinite;
}

/* Hero Section */
.hero-section {
  padding: 2.75rem 0 1.5rem;
  text-align: center;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--grad-tiktok-subtle);
  border: 1px solid rgba(37, 244, 238, 0.4);
  padding: 0.45rem 1.25rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 0 20px rgba(37, 244, 238, 0.25);
  margin-bottom: 1.25rem;
  animation: floatCard 3s ease-in-out infinite;
}

.hero-heading {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 0.85rem;
  letter-spacing: -0.5px;
}

.hero-desc {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: var(--text-gray);
  max-width: 680px;
  margin: 0 auto 1.5rem;
}

/* Cyber Cards */
.cyber-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
  margin-bottom: 2rem;
  transition: var(--transition);
}

.cyber-card:hover {
  border-color: rgba(37, 244, 238, 0.35);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7), 0 0 25px rgba(37, 244, 238, 0.15);
}

.cyber-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad-tiktok);
}

.card-header-flex {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.35rem;
}

.step-number-badge {
  width: 36px;
  height: 36px;
  background: var(--grad-tiktok);
  color: #000;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 900;
  box-shadow: 0 0 15px rgba(37, 244, 238, 0.4);
}

.card-title {
  font-size: 1.3rem;
  font-weight: 800;
}

/* Input UID Search Box */
.input-cyber-group {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.input-cyber-icon {
  position: absolute;
  left: 1.25rem;
  font-size: 1.4rem;
  color: var(--tt-pink);
  pointer-events: none;
}

.input-cyber-field {
  width: 100%;
  background: rgba(8, 11, 17, 0.9);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.25rem 1.15rem 3.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  font-family: var(--font-main);
  outline: none;
  transition: var(--transition);
}

.input-cyber-field:focus {
  border-color: var(--tt-cyan);
  box-shadow: 0 0 0 3px rgba(37, 244, 238, 0.2), inset 0 0 15px rgba(37, 244, 238, 0.1);
  background: rgba(11, 15, 23, 0.95);
}

.btn-cyber-primary {
  width: 100%;
  background: var(--grad-tiktok);
  color: #05070a;
  border: none;
  border-radius: var(--radius-md);
  padding: 1.1rem;
  font-size: 1.05rem;
  font-weight: 800;
  font-family: var(--font-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  box-shadow: 0 0 25px rgba(37, 244, 238, 0.35);
  transition: var(--transition);
}

.btn-cyber-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
  box-shadow: 0 0 35px rgba(254, 44, 85, 0.45);
}

/* User Profile Verified Box */
.profile-verified-box {
  display: none;
  background: rgba(9, 13, 20, 0.9);
  border: 1px solid rgba(37, 244, 238, 0.35);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-top: 1.25rem;
  align-items: center;
  gap: 1.25rem;
  box-shadow: 0 0 20px rgba(37, 244, 238, 0.15);
  animation: slideDown 0.35s ease-out;
}

.profile-avatar-wrapper {
  position: relative;
  width: 74px;
  height: 74px;
  flex-shrink: 0;
}

.profile-avatar-wrapper img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--tt-cyan);
  box-shadow: var(--tt-cyan-glow);
}

.profile-badge-icon {
  position: absolute;
  bottom: -2px;
  right: -2px;
  background: var(--tt-cyan);
  color: #000;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 900;
  border: 2px solid #06080d;
}

.profile-name {
  font-size: 1.15rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.profile-username {
  font-size: 0.9rem;
  color: var(--tt-pink);
  font-weight: 600;
}

.profile-uid-badge {
  display: inline-block;
  background: rgba(37, 244, 238, 0.1);
  border: 1px solid rgba(37, 244, 238, 0.25);
  border-radius: var(--radius-sm);
  padding: 0.2rem 0.55rem;
  font-size: 0.78rem;
  color: var(--text-gray);
  margin-top: 0.35rem;
}

/* Package Grid */
.cyber-packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.15rem;
  margin-top: 1.25rem;
}

.cyber-pkg-card {
  background: var(--bg-surface);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.35rem 1rem;
  text-align: center;
  position: relative;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

.cyber-pkg-card:hover {
  transform: translateY(-4px);
  border-color: var(--tt-cyan);
  background: var(--bg-card-hover);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 20px rgba(37, 244, 238, 0.25);
}

.cyber-pkg-card.active {
  border-color: var(--tt-pink);
  background: var(--grad-tiktok-subtle);
  box-shadow: 0 0 0 2px var(--tt-pink), 0 0 25px rgba(254, 44, 85, 0.35);
}

.pkg-hot-tag {
  position: absolute;
  top: 10px;
  right: -30px;
  background: var(--grad-tiktok);
  color: #000;
  font-size: 0.65rem;
  font-weight: 900;
  padding: 0.2rem 2.2rem;
  transform: rotate(45deg);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pkg-coin-img {
  width: 52px;
  height: 52px;
  margin-bottom: 0.65rem;
  filter: drop-shadow(0 4px 10px rgba(255, 190, 24, 0.45));
  transition: var(--transition);
}

.cyber-pkg-card:hover .pkg-coin-img {
  transform: scale(1.12) rotate(6deg);
}

.pkg-coins-title {
  font-size: 1.35rem;
  font-weight: 900;
  margin-bottom: 0.25rem;
}

.pkg-bonus-pill {
  background: rgba(37, 244, 238, 0.12);
  border: 1px solid rgba(37, 244, 238, 0.3);
  color: var(--tt-cyan);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.65rem;
}

.pkg-price-val {
  font-size: 1.15rem;
  font-weight: 900;
  color: #fff;
}

.pkg-old-price {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-top: 0.1rem;
}

/* Payment Method Switcher */
.payment-switch-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.payment-switch-btn {
  background: rgba(12, 16, 24, 0.85);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1.1rem 1rem;
  color: #fff;
  font-family: var(--font-main);
  font-size: 0.98rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  transition: var(--transition);
}

.payment-switch-btn:hover {
  border-color: var(--tt-cyan);
}

.payment-switch-btn.active {
  background: var(--grad-tiktok-subtle);
  border-color: var(--tt-cyan);
  box-shadow: 0 0 20px rgba(37, 244, 238, 0.25);
  color: var(--tt-cyan);
}

/* Floating Real-Time Success Notification */
.floating-live-toast {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 999;
  background: rgba(12, 16, 24, 0.95);
  border: 1px solid var(--tt-cyan);
  border-radius: var(--radius-pill);
  padding: 0.55rem 1.1rem 0.55rem 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), var(--tt-cyan-glow);
  backdrop-filter: blur(15px);
  animation: slideInLeft 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 380px;
}

.floating-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--tt-pink);
}

.floating-info {
  font-size: 0.82rem;
  line-height: 1.35;
}

.floating-user {
  font-weight: 800;
  color: #fff;
}

.floating-coins {
  color: var(--tt-cyan);
  font-weight: 800;
}

/* Modals */
.cyber-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(16px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.cyber-modal-overlay.active {
  display: flex;
  animation: fadeIn 0.25s ease-out;
}

.cyber-modal-card {
  background: #0b0f17;
  border: 1.5px solid var(--tt-cyan);
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: 100%;
  padding: 2rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 35px rgba(37, 244, 238, 0.3);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  animation: scaleUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-close-icon {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: var(--text-gray);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition);
}

.modal-close-icon:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.qr-box-neon {
  background: #fff;
  border: 3px solid var(--tt-cyan);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  display: inline-block;
  margin: 1rem auto;
  box-shadow: 0 0 25px rgba(37, 244, 238, 0.35);
}

.qr-box-neon img {
  display: block;
  max-width: 220px;
  width: 100%;
  height: auto;
}

.copy-row-box {
  background: rgba(16, 22, 33, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.7rem;
}

.btn-cyber-copy {
  background: rgba(37, 244, 238, 0.15);
  border: 1px solid rgba(37, 244, 238, 0.35);
  color: var(--tt-cyan);
  border-radius: var(--radius-sm);
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.btn-cyber-copy:hover {
  background: var(--tt-cyan);
  color: #000;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleUp {
  from { opacity: 0; transform: scale(0.94); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes pulseNeon {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@media (max-width: 768px) {
  .cyber-packages-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  .payment-switch-grid {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
  .floating-live-toast {
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    max-width: none;
  }
}
