/* ==========================================================================
   Yulduzlarxaridbot — Ultra-Luxury Telegram WebApp Style System
   Obsidian Dark Space Theme, Glassmorphism, 3D Floating Stage & Ambient Glow
   ========================================================================== */

:root {
  /* Ultra-Luxury Obsidian Space Colors */
  --bg-app: #080c14;
  --bg-dock: rgba(12, 17, 26, 0.88);
  --bg-card: rgba(20, 28, 42, 0.72);
  --border-card: rgba(255, 255, 255, 0.08);
  --border-card-hover: rgba(35, 148, 234, 0.35);
  
  --primary-blue: #2394ea;
  --primary-blue-hover: #1b85d5;
  --primary-blue-glow: rgba(35, 148, 234, 0.4);
  --badge-blue: #2394ea;
  
  --banner-green: #19b254;
  --star-gold: #ffb020;
  --star-gold-glow: rgba(255, 176, 32, 0.4);
  
  --purple-accent: #a855f7;
  --purple-glow: rgba(168, 85, 247, 0.4);
  
  --text-white: #ffffff;
  --text-gray: #8292a4;
  --text-muted: #526071;
  --radio-gray: #3d4b5c;

  --font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius-card: 18px;
  --radius-full: 9999px;
  --radius-pill: 8px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-app);
  color: var(--text-white);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  overflow-x: hidden;
  user-select: none;
  background-image: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(35, 148, 234, 0.15), transparent 70%),
    radial-gradient(ellipse 60% 40% at 90% 60%, rgba(168, 85, 247, 0.08), transparent 70%),
    radial-gradient(ellipse 60% 40% at 10% 80%, rgba(255, 176, 32, 0.06), transparent 70%);
  background-attachment: fixed;
}

.app-container {
  width: 100%;
  max-width: 440px;
  min-height: 100vh;
  background-color: transparent;
  display: flex;
  flex-direction: column;
  padding: 12px 16px 88px 16px;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   AMBIENT GLOW ORBS (Background Visual Atmosphere)
   ========================================================================== */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  z-index: 0;
  opacity: 0.55;
  mix-blend-mode: screen;
}

.glow-top {
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 340px;
  height: 240px;
  background: radial-gradient(circle, rgba(35, 148, 234, 0.35) 0%, rgba(35, 148, 234, 0.05) 60%, transparent 80%);
}

.glow-middle {
  top: 38%;
  right: -90px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.28) 0%, rgba(168, 85, 247, 0.05) 60%, transparent 80%);
}

.glow-bottom {
  bottom: 40px;
  left: -80px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(255, 176, 32, 0.22) 0%, rgba(255, 176, 32, 0.04) 60%, transparent 80%);
}

/* ==========================================================================
   TOP APP BAR (HEADER)
   ========================================================================== */
.top-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0 16px 0;
}

.user-pill-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-card);
  padding: 4px 10px 4px 4px;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: 1px solid var(--border-card);
}

.user-initial-circle {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-full);
  background: #6dc278;
  color: #0b3612;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
}

.chevron-right {
  color: var(--text-gray);
  font-size: 16px;
  font-weight: 600;
}

/* Segment Switch (Stars | Premium) */
.segment-switch {
  display: flex;
  background: var(--bg-card);
  padding: 3px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-card);
}

.segment-btn {
  padding: 6px 18px;
  border: none;
  background: transparent;
  color: var(--text-gray);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.segment-btn.active {
  background: var(--primary-blue);
  color: #ffffff;
}

.lang-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-gray);
  cursor: pointer;
}

/* ==========================================================================
   GREEN PAYNET BANNER (Screenshot 3)
   ========================================================================== */
.green-paynet-banner {
  background: var(--banner-green);
  border-radius: 14px;
  padding: 13px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  cursor: pointer;
}

.banner-headline {
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}

.banner-subline {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.9);
}

.banner-plane-icon {
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   MAIN CONTENT & VIEWS
   ========================================================================== */
.main-body {
  display: flex;
  flex-direction: column;
}

.product-view {
  display: none;
  flex-direction: column;
}

.product-view.active {
  display: flex;
}

/* Top Illustration / Mockup Card */
.mockup-banner {
  width: 100%;
  height: 190px;
  background: #8cbcf5;
  border-radius: 20px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.mockup-card-inner {
  width: 250px;
  background: #ffffff;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  padding: 18px 14px 20px 14px;
  text-align: center;
  color: #000000;
  box-shadow: 0 -2px 14px rgba(0, 0, 0, 0.1);
}

.mockup-header-text {
  font-size: 13px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 4px;
}

.mockup-sub-text {
  font-size: 8.5px;
  color: #666666;
  line-height: 1.3;
  margin-bottom: 10px;
}

.mockup-stars-val {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 21px;
  font-weight: 800;
  color: #000000;
}

.star-icon {
  color: var(--star-gold);
}

.mockup-sub-note {
  font-size: 9px;
  color: #888888;
  margin-bottom: 8px;
}

.mockup-blue-btn {
  width: 100%;
  padding: 7px 10px;
  background: var(--primary-blue);
  border: none;
  border-radius: 6px;
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 700;
  cursor: default;
}

.mockup-gift-link {
  font-size: 9.5px;
  color: var(--primary-blue);
  margin-top: 6px;
  font-weight: 600;
}

/* Premium Perk rows inside mockup */
.mockup-perks-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  text-align: left;
  margin-top: 8px;
}

.mockup-perk-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 9px;
  color: #444444;
  line-height: 1.25;
}

.perk-ico {
  font-size: 13px;
}

/* Hero Title & Subtitle */
.title-block {
  text-align: center;
  margin-bottom: 22px;
}

.hero-title {
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.3px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.title-star {
  color: var(--star-gold);
}

.title-blue-star {
  color: var(--primary-blue);
}

.hero-subtitle {
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.45;
  padding: 0 4px;
}

/* ==========================================================================
   "KIMGA?" FIELD BLOCK
   ========================================================================== */
.field-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
}

.field-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.field-label {
  font-size: 14.5px;
  font-weight: 700;
  color: #ffffff;
}

.btn-self-pill {
  background: var(--primary-blue);
  color: #ffffff;
  border: none;
  padding: 5px 15px;
  border-radius: var(--radius-full);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.btn-self-pill:active {
  background: var(--primary-blue-hover);
}

.target-input-box {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  padding: 4px 14px;
  min-height: 50px;
  display: flex;
  align-items: center;
}

.target-input-box:focus-within {
  border-color: var(--primary-blue);
}

.input-normal-row {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 10px;
}

.search-icon {
  font-size: 15px;
  color: var(--text-muted);
}

.input-normal-row input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-family: inherit;
  font-size: 14.5px;
  padding: 10px 0;
}

.input-normal-row input::placeholder {
  color: var(--text-muted);
}

/* Self User Chip (Screenshot 4) */
.self-user-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 2px 0;
}

.chip-avatar {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  background: #6dc278;
  color: #0b3612;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
}

.chip-name {
  flex: 1;
  font-size: 14.5px;
  font-weight: 600;
  color: #ffffff;
}

.chip-remove-btn {
  background: none;
  border: none;
  color: var(--text-gray);
  font-size: 16px;
  cursor: pointer;
  padding: 4px 8px;
}

/* ==========================================================================
   PACKAGES & OPTIONS LIST
   ========================================================================== */
.packages-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.packages-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.packages-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #ffffff;
}

.discount-pill-header {
  background: var(--badge-blue);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
}

.options-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Option Card (Ultra-Luxury Edition) */
.option-card {
  background: linear-gradient(135deg, rgba(24, 34, 52, 0.7) 0%, rgba(16, 23, 36, 0.8) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-card);
  padding: 15px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.option-card:hover {
  transform: translateY(-1px);
  border-color: rgba(35, 148, 234, 0.35);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.option-card.active {
  background: linear-gradient(135deg, rgba(26, 42, 68, 0.85) 0%, rgba(16, 27, 45, 0.95) 100%);
  border-color: var(--primary-blue);
  box-shadow: 0 0 20px rgba(35, 148, 234, 0.3), 0 8px 24px rgba(0, 0, 0, 0.4);
}

.card-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Radio circle */
.radio-circle {
  width: 22px;
  height: 22px;
  border-radius: var(--radius-full);
  border: 2px solid var(--radio-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.option-card.active .radio-circle {
  border-color: var(--primary-blue);
  box-shadow: 0 0 8px rgba(35, 148, 234, 0.45);
}

.option-card.active .radio-circle::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background: var(--primary-blue);
}

.opt-icon {
  font-size: 16px;
}

.opt-name {
  font-size: 14.5px;
  font-weight: 700;
  color: #ffffff;
}

.discount-pill-item {
  background: var(--badge-blue);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: var(--radius-pill);
}

.card-price {
  font-size: 14.5px;
  font-weight: 700;
  color: #ffffff;
}

/* Accordion Buttons */
.accordion-bar-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  padding: 15px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--primary-blue);
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
}

.arrow-down {
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

.more-packages-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.custom-input-drawer {
  padding: 12px;
  background: #131b25;
  border: 1px solid var(--border-card);
  border-radius: 12px;
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.custom-input-drawer input {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 8px;
  padding: 10px 12px;
  color: #ffffff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  outline: none;
}

.custom-calc-result {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-blue);
  text-align: right;
}

/* ==========================================================================
   PRIMARY BLUE ACTION BUTTON (Screenshot 1 & 2)
   ========================================================================== */
.primary-blue-btn {
  width: 100%;
  height: 52px;
  background: var(--primary-blue);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-full);
  font-family: inherit;
  font-size: 15.5px;
  font-weight: 700;
  cursor: pointer;
}

.primary-blue-btn:active {
  background: var(--primary-blue-hover);
}

.history-link-wrap {
  text-align: center;
  margin-top: 14px;
}

.link-text-btn {
  background: none;
  border: none;
  color: var(--primary-blue);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  padding: 6px;
}

/* ==========================================================================
   BUYURTMALAR TARIXI SCREEN (Screenshot 5)
   ========================================================================== */
.history-filter-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.hist-pill {
  padding: 7px 16px;
  background: var(--bg-card);
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  color: var(--text-gray);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.hist-pill.active {
  background: #173b5a;
  color: var(--primary-blue);
}

.history-content-container {
  display: flex;
  flex-direction: column;
}

.empty-state-box {
  background: var(--bg-card);
  border-radius: 18px;
  padding: 44px 20px;
  text-align: center;
  color: var(--text-gray);
  font-size: 14px;
  font-weight: 500;
}

/* ==========================================================================
   BOTTOM NAVIGATION DOCK BAR (Ultra-Luxury Edition)
   ========================================================================== */
.bottom-dock-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-width: 440px;
  margin: 0 auto;
  height: 68px;
  background: rgba(10, 15, 24, 0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 10px;
  z-index: 999;
}

.dock-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #728294;
  padding: 4px 0;
  transition: all 0.2s ease;
}

.dock-icon {
  width: 48px;
  height: 28px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.dock-label {
  font-size: 11px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.dock-item.active .dock-icon {
  background: rgba(35, 148, 234, 0.16);
  color: var(--primary-blue);
  box-shadow: 0 0 14px rgba(35, 148, 234, 0.32);
}

.dock-item.active .dock-label {
  color: var(--primary-blue);
  font-weight: 700;
}

.hidden {
  display: none !important;
}

/* ==========================================================================
   HEADER BACK & INNER NAVIGATION
   ========================================================================== */
.header-back-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: 4px 0;
}

.back-arrow-icon {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1;
}

.back-title-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-white);
}

.header-right-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ==========================================================================
   HERO CENTER CARDS & 3D FLOATING STAGE (Ultra-Luxury Edition)
   ========================================================================== */
.hero-center-card {
  border-radius: 24px;
  padding: 34px 22px 28px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 8px;
  margin-bottom: 12px;
}

.luxury-glow-card {
  position: relative;
  background: linear-gradient(180deg, rgba(24, 34, 50, 0.8) 0%, rgba(14, 20, 32, 0.92) 100%);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 
    0 20px 48px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 0 20px rgba(255, 255, 255, 0.02);
  transition: transform 0.25s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.luxury-glow-card:hover {
  border-color: rgba(35, 148, 234, 0.45);
  box-shadow: 
    0 24px 54px rgba(0, 0, 0, 0.6),
    0 0 24px rgba(35, 148, 234, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* 3D Floating Stage with Radial Auras */
.hero-star-stage {
  position: relative;
  width: 130px;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.star-radial-aura {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 176, 32, 0.4) 0%, rgba(255, 176, 32, 0.08) 60%, transparent 75%);
  animation: auraPulse 3.2s ease-in-out infinite;
  filter: blur(14px);
}

.gift-radial-aura {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.42) 0%, rgba(168, 85, 247, 0.08) 60%, transparent 75%);
  animation: auraPulse 3.2s ease-in-out infinite;
  filter: blur(14px);
}

.prem-radial-aura {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(35, 148, 234, 0.42) 0%, rgba(35, 148, 234, 0.08) 60%, transparent 75%);
  animation: auraPulse 3.2s ease-in-out infinite;
  filter: blur(14px);
}

@keyframes auraPulse {
  0%, 100% { transform: scale(0.92); opacity: 0.7; }
  50% { transform: scale(1.12); opacity: 1; }
}

/* Floating Physics Animation */
.float-animation {
  animation: floatSmooth 3.8s ease-in-out infinite;
  z-index: 2;
}

@keyframes floatSmooth {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-9px) rotate(2deg); }
}

.hero-star-graphic {
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.big-star-icon {
  font-size: 78px;
  line-height: 1;
  filter: drop-shadow(0 8px 24px rgba(255, 176, 32, 0.55));
}

.big-gift-icon {
  font-size: 74px;
  line-height: 1;
  filter: drop-shadow(0 8px 24px rgba(168, 85, 247, 0.55));
}

.big-blue-star-icon {
  font-size: 78px;
  line-height: 1;
  color: var(--primary-blue);
  filter: drop-shadow(0 8px 24px rgba(35, 148, 234, 0.55));
}

/* Orbiting Sparkles */
.star-orbit-sparkle {
  position: absolute;
  font-size: 14px;
  color: #ffd700;
  pointer-events: none;
  z-index: 3;
}

.star-orbit-sparkle.s1 {
  top: 10px;
  left: 14px;
  animation: sparkleTwinkle 2.4s infinite ease-in-out;
}

.star-orbit-sparkle.s2 {
  top: 18px;
  right: 14px;
  animation: sparkleTwinkle 2.4s infinite ease-in-out 0.8s;
}

.star-orbit-sparkle.s3 {
  bottom: 12px;
  right: 22px;
  animation: sparkleTwinkle 2.4s infinite ease-in-out 1.6s;
}

@keyframes sparkleTwinkle {
  0%, 100% { opacity: 0.2; transform: scale(0.7); }
  50% { opacity: 1; transform: scale(1.3); filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.95)); }
}

/* Metallic Gradient Typography & Badges */
.hero-title-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-title-badge.gold-badge {
  background: rgba(255, 176, 32, 0.12);
  color: #ffc44d;
  border-color: rgba(255, 176, 32, 0.32);
  box-shadow: 0 0 16px rgba(255, 176, 32, 0.15);
}

.hero-title-badge.purple-badge {
  background: rgba(168, 85, 247, 0.14);
  color: #d8b4fe;
  border-color: rgba(168, 85, 247, 0.32);
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.15);
}

.hero-title-badge.blue-badge {
  background: rgba(35, 148, 234, 0.14);
  color: #7dd3fc;
  border-color: rgba(35, 148, 234, 0.32);
  box-shadow: 0 0 16px rgba(35, 148, 234, 0.15);
}

.hero-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.gradient-gold-text {
  background: linear-gradient(135deg, #ffffff 0%, #ffd166 40%, #ffb020 75%, #e69500 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 8px rgba(255, 176, 32, 0.3));
}

.gradient-purple-text {
  background: linear-gradient(135deg, #ffffff 0%, #e9d5ff 40%, #c084fc 75%, #9333ea 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 8px rgba(168, 85, 247, 0.3));
}

.gradient-blue-text {
  background: linear-gradient(135deg, #ffffff 0%, #bae6fd 40%, #38bdf8 75%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 8px rgba(35, 148, 234, 0.3));
}

.hero-card-desc {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.5;
  margin-bottom: 22px;
  max-width: 290px;
}

/* Glowing & Shimmer Buttons */
.glow-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(35, 148, 234, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  font-weight: 700;
  font-size: 15px;
}

.glow-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(35, 148, 234, 0.55);
}

.glow-btn:active {
  transform: scale(0.98);
}

.glow-btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -100%;
  width: 60%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.26), transparent);
  transform: rotate(25deg);
  animation: btnGleam 4s infinite ease-in-out;
}

@keyframes btnGleam {
  0% { left: -100%; }
  35%, 100% { left: 200%; }
}

.purple-btn {
  background: linear-gradient(135deg, #9333ea 0%, #7e22ce 100%) !important;
  box-shadow: 0 8px 24px rgba(147, 51, 234, 0.35) !important;
}

.purple-btn:hover {
  box-shadow: 0 12px 30px rgba(147, 51, 234, 0.55) !important;
}

.btn-arrow-icon {
  font-size: 18px;
  line-height: 1;
  font-weight: 800;
  transition: transform 0.2s ease;
}

.glow-btn:hover .btn-arrow-icon {
  transform: translateX(3px);
}

/* ==========================================================================
   PROFILE SCREEN (Screenshot 4)
   ========================================================================== */
.profile-hero-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 16px 0 26px 0;
}

.profile-avatar-giant {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: #6dc278;
  color: #0b3612;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
  font-weight: 700;
  margin-bottom: 12px;
}

.profile-name-main {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 3px;
}

.profile-handle-main {
  font-size: 14px;
  color: var(--text-gray);
}

.settings-group-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  overflow: hidden;
}

.settings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.settings-row:last-child {
  border-bottom: none;
}

.settings-row-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.settings-icon-circle {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

.purple-bg {
  background: rgba(162, 89, 255, 0.16);
  color: #b783ff;
}

.blue-bg {
  background: rgba(35, 148, 234, 0.16);
  color: #2394ea;
}

.orange-bg {
  background: rgba(255, 153, 0, 0.16);
  color: #ff9900;
}

.settings-row-label {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
}

.settings-row-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.settings-row-val {
  font-size: 14px;
  color: var(--text-gray);
}

.chevron-sm {
  color: var(--text-muted);
  font-size: 16px;
  font-weight: 600;
}

/* ==========================================================================
   PAYMENT BOTTOM SHEET MODAL (Screenshot 4)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(3px);
  z-index: 2000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.payment-modal-sheet {
  width: 100%;
  max-width: 440px;
  background: #131a24;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  padding: 22px 20px 28px 20px;
  border-top: 1px solid var(--border-card);
  animation: slideUp 0.22s ease-out;
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.modal-title-area {
  text-align: center;
  margin-bottom: 20px;
}

.modal-main-title {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.modal-sub-title {
  font-size: 12.5px;
  color: var(--text-gray);
}

.payment-methods-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.payment-method-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: var(--bg-card);
  border: 1.5px solid var(--border-card);
  border-radius: 14px;
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.payment-method-row.active {
  border-color: var(--primary-blue);
}

.pay-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.payment-method-row .radio-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--radio-gray);
  display: flex;
  align-items: center;
  justify-content: center;
}

.payment-method-row.active .radio-circle {
  border-color: var(--primary-blue);
}

.payment-method-row.active .radio-circle::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary-blue);
}

.pay-badge-logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  text-align: center;
  line-height: 1;
}

.payme-logo {
  background: #002b33;
  color: #00d2d3;
  border: 1px solid #005f6e;
  font-size: 10px;
}

.click-logo {
  background: #07223b;
  color: #00aaff;
  border: 1px solid #144f80;
  font-size: 20px;
}

.uzum-logo {
  background: #7000ff;
  color: #ffffff;
  border: 1px solid #8e33ff;
  font-size: 15px;
}

.card-logo {
  background: #1f2937;
  color: #ffffff;
  border: 1px solid #374151;
  font-size: 16px;
}

.pay-name {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
}

/* ==========================================================================
   REFERRAL SCREEN (Screenshot 5)
   ========================================================================== */
.referral-graphic-box {
  background: #84bbf6;
  border-radius: 20px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.referral-duck-icon {
  font-size: 80px;
  line-height: 1;
}

.referral-stars-badge {
  position: absolute;
  bottom: 12px;
  right: 14px;
  background: rgba(0, 0, 0, 0.3);
  padding: 4px 8px;
  border-radius: var(--radius-full);
  font-size: 13px;
  display: flex;
  gap: 4px;
}

.referral-perks-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 18px;
  padding: 4px 16px;
  margin-bottom: 20px;
}

.ref-perk-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ref-perk-row:last-child {
  border-bottom: none;
}

.ref-perk-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #121a24;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.blue-star-icon {
  color: var(--primary-blue);
}

.gold-star-icon {
  color: var(--star-gold);
}

.people-icon {
  color: var(--primary-blue);
  font-size: 16px;
}

.ref-perk-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.new-tag {
  background: var(--primary-blue);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
  text-transform: uppercase;
}

.ref-perk-sub {
  font-size: 12.5px;
  color: var(--text-gray);
  margin-top: 2px;
  line-height: 1.35;
}

.ref-perk-sub b {
  color: #ffffff;
}

.invite-actions-row {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.flex-grow {
  flex: 1;
}

.copy-square-btn {
  width: 52px;
  height: 52px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  cursor: pointer;
  flex-shrink: 0;
}

.copy-square-btn:active {
  background: #202c3b;
}

.ref-link-hint {
  font-size: 12px;
  color: var(--text-gray);
  text-align: center;
  margin-bottom: 8px;
}

.ref-code-box {
  background: #131b25;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-full);
  padding: 12px 16px;
  text-align: center;
  font-size: 12px;
  color: #8c9eae;
  word-break: break-all;
  font-family: monospace;
}

/* ==========================================================================
   BLUE PROMO BANNER (Screenshot 1)
   ========================================================================== */
.blue-promo-banner {
  background: linear-gradient(135deg, #2087eb 0%, #359efd 100%);
  border-radius: 16px;
  padding: 13px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(35, 148, 234, 0.25);
}

.banner-duck-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #7cc3fb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
}

/* Color variations for settings row icons */
.yellow-bg {
  background: rgba(255, 204, 0, 0.16);
  color: #ffcc00;
}

.green-bg {
  background: rgba(52, 199, 89, 0.16);
  color: #34c759;
}

.gold-bg {
  background: rgba(255, 176, 32, 0.16);
  color: #ffb020;
}

.cyan-bg {
  background: rgba(0, 199, 190, 0.16);
  color: #00c7be;
}

/* Profile Bottom Referral Preview (Screenshot 3) */
.profile-mini-ref-card {
  margin-top: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
}

.mini-ref-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #7bc0fa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.mini-ref-info {
  flex: 1;
}

.mini-ref-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}

.mini-ref-sub {
  font-size: 12px;
  color: var(--text-gray);
}

/* Modal Shared Top Bar & Controls */
.modal-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.modal-close-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #202b38;
  border: none;
  color: #a2b1c2;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.channel-handle-pill {
  background: #172433;
  color: #6da2db;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-full);
}

/* Language Selection Modal (Screenshot 4) */
.lang-graphic-box {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 6px 0 16px 0;
  position: relative;
}

.lang-duck-avatar {
  font-size: 58px;
  line-height: 1;
}

.lang-speech-bubble {
  background: #1b2636;
  border: 1px solid #2a3c52;
  padding: 4px 10px;
  border-radius: 12px;
  margin-left: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bubble-symbol {
  font-size: 14px;
  font-weight: 700;
  color: #2394ea;
}

.lang-flag-ico {
  font-size: 22px;
}

.lang-text-group {
  display: flex;
  flex-direction: column;
}

.lang-sub-name {
  font-size: 11.5px;
  color: var(--text-gray);
}

/* Channel Subscription Modal (Screenshot 2) */
.channel-hero-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 12px 0 6px 0;
}

.channel-avatar-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #091a2e 0%, #153c69 100%);
  border: 2px solid #2394ea;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  box-shadow: 0 4px 16px rgba(35, 148, 234, 0.3);
}

.channel-star-icon {
  font-size: 32px;
}

.channel-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.channel-verified-badge {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #2394ea;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.channel-full-title {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
}

/* ==========================================================================
   GIFTS SHOWROOM STYLES
   ========================================================================== */
.gifts-bg {
  background: linear-gradient(135deg, #1d1b38 0%, #2f214a 50%, #15273b 100%);
}

.big-gift-icon {
  font-size: 76px;
  line-height: 1;
  filter: drop-shadow(0 6px 18px rgba(234, 67, 140, 0.45));
}

.gifts-filter-bar {
  overflow-x: auto;
  padding-bottom: 4px;
}

.gifts-filter-bar::-webkit-scrollbar {
  display: none;
}

.gifts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.gift-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-card);
  border-radius: 18px;
  padding: 14px 12px 16px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
  position: relative;
  overflow: hidden;
}

.gift-card:active {
  transform: scale(0.97);
  border-color: var(--primary-blue);
  box-shadow: 0 4px 16px rgba(35, 148, 234, 0.25);
}

.gift-card-top-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 176, 32, 0.15);
  color: #ffb020;
  border: 1px solid rgba(255, 176, 32, 0.3);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-full);
}

.gift-emoji-wrap {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 12px 0 8px 0;
  position: relative;
}

.gift-emoji-char {
  font-size: 46px;
  line-height: 1;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
  transition: transform 0.2s ease;
}

.gift-card:hover .gift-emoji-char {
  transform: scale(1.1);
}

.gift-name-label {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.gift-price-label {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--primary-blue);
  margin-bottom: 10px;
}

.gift-action-pill {
  width: 100%;
  padding: 6px 0;
  background: #15273b;
  color: var(--primary-blue);
  font-size: 11.5px;
  font-weight: 700;
  border-radius: var(--radius-full);
  border: 1px solid rgba(35, 148, 234, 0.25);
}

/* ==========================================================================
   VIP & ADMIN CONTROL PANEL STYLES
   ========================================================================== */
.vip-status-card {
  background: linear-gradient(135deg, #18202d 0%, #1c2738 100%);
  border: 1.5px solid #d4af37;
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 18px;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.15);
  position: relative;
  overflow: hidden;
}

.vip-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.vip-badge-pill {
  background: linear-gradient(90deg, #d4af37, #f7d070);
  color: #1a1200;
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 5px;
}

.vip-crown {
  font-size: 13px;
}

.vip-cashback-tag {
  background: rgba(35, 148, 234, 0.18);
  color: #55b2ff;
  border: 1px solid rgba(35, 148, 234, 0.35);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-full);
}

.vip-user-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.vip-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #6dc278;
  color: #0b3612;
  font-size: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #d4af37;
}

.vip-user-name {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
}

.vip-user-rank {
  font-size: 12px;
  color: var(--text-gray);
  margin-top: 2px;
}

.vip-progress-area {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.vip-prog-text {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-gray);
}

.vip-xp-bold {
  color: #d4af37;
  font-weight: 700;
}

.vip-progress-track {
  width: 100%;
  height: 8px;
  border-radius: var(--radius-full);
  background: #111721;
  overflow: hidden;
}

.vip-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #d4af37, #f7d070);
  border-radius: var(--radius-full);
}

/* Metrics 4-Grid */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.metric-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.metric-val {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
}

.metric-lbl {
  font-size: 11.5px;
  color: var(--text-gray);
}

/* Currency Converter */
.converter-box {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 18px;
  padding: 18px;
  margin-bottom: 18px;
}

.converter-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

.converter-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.converter-input-wrap input {
  width: 100%;
  height: 48px;
  background: #111721;
  border: 1px solid var(--border-card);
  border-radius: 12px;
  padding: 0 80px 0 16px;
  color: #ffffff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  outline: none;
}

.converter-input-wrap input:focus {
  border-color: var(--primary-blue);
}

.converter-unit {
  position: absolute;
  right: 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-gray);
}

.converter-arrow {
  text-align: center;
  font-size: 16px;
  margin: 8px 0;
}

.converter-result-box {
  background: #121c29;
  border: 1.5px dashed rgba(35, 148, 234, 0.4);
  border-radius: 14px;
  padding: 14px;
  text-align: center;
}

.converter-result-label {
  font-size: 12px;
  color: var(--text-gray);
}

.converter-result-val {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary-blue);
  margin: 4px 0 2px 0;
}

.converter-result-note {
  font-size: 11px;
  color: var(--text-muted);
}

/* System Monitor */
.system-monitor-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 18px;
  padding: 18px;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.monitor-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.monitor-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
}

.live-dot-pulse {
  font-size: 11px;
  font-weight: 800;
  color: #34c759;
  animation: pulseGreen 1.5s infinite;
}

@keyframes pulseGreen {
  0% { opacity: 1; }
  50% { opacity: 0.4; }
  100% { opacity: 1; }
}

.monitor-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}

.monitor-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-indicator-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.status-indicator-dot.online {
  background: #34c759;
  box-shadow: 0 0 6px rgba(52, 199, 89, 0.7);
}

.monitor-service-name {
  color: #ffffff;
  font-weight: 500;
}

.monitor-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.monitor-badge.online {
  background: rgba(52, 199, 89, 0.15);
  color: #34c759;
}

/* ==========================================================================
   INTERACTIVE GIFT CHECKOUT MODAL STYLES
   ========================================================================== */
.gift-preview-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  margin: 10px 0 16px 0;
}

.gift-preview-halo {
  position: absolute;
  top: 15px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(35, 148, 234, 0.35) 0%, transparent 70%);
  animation: pulseHalo 2s infinite ease-in-out;
}

@keyframes pulseHalo {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.6; }
}

.gift-preview-emoji {
  font-size: 64px;
  line-height: 1;
  z-index: 1;
  animation: giftBounce 2s infinite ease-in-out;
}

@keyframes giftBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.gift-preview-title {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  margin-top: 10px;
  z-index: 1;
}

.gift-preview-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-blue);
  margin-top: 3px;
  z-index: 1;
}

.gift-msg-input {
  width: 100%;
  height: 44px;
  background: #111721;
  border: 1px solid var(--border-card);
  border-radius: 12px;
  padding: 0 14px;
  color: #ffffff;
  font-family: inherit;
  font-size: 13.5px;
  outline: none;
}

.gift-msg-input:focus {
  border-color: var(--primary-blue);
}

.gift-pay-indicator {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #111721;
  border: 1px solid var(--border-card);
  border-radius: 12px;
  padding: 10px 14px;
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-gray);
  cursor: pointer;
}

.gift-pay-indicator b {
  color: #ffffff;
}

/* Confetti Canvas */
.confetti-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 99999;
}

/* ==========================================================================
   ADMIN WEB PANEL & SECURITY LOCK STYLES
   ========================================================================== */
.panel-locked-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 69, 58, 0.25);
  border-radius: var(--radius-card);
  padding: 40px 24px;
  text-align: center;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  margin-top: 40px;
}

.lock-icon-circle {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(255, 69, 58, 0.12);
  border: 1px solid rgba(255, 69, 58, 0.3);
  font-size: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.lock-title {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.lock-desc {
  font-size: 13.5px;
  color: var(--text-gray);
  line-height: 1.5;
  max-width: 320px;
  margin: 0 auto;
}

.admin-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.admin-top-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 176, 32, 0.15);
  border: 1px solid rgba(255, 176, 32, 0.35);
  color: #ffb020;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.admin-id-pill {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-card);
  color: var(--text-gray);
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-family: monospace;
}

/* Admin Tabs Scrolling Bar */
.admin-nav-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 16px;
  scrollbar-width: none;
}
.admin-nav-tabs::-webkit-scrollbar {
  display: none;
}

.admin-tab-btn {
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-card);
  color: var(--text-gray);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.admin-tab-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.admin-tab-btn.active {
  background: var(--primary-blue);
  color: #ffffff;
  border-color: var(--primary-blue);
  box-shadow: 0 2px 10px var(--primary-blue-glow);
}

.admin-tab-pane {
  display: none;
}

.admin-tab-pane.active {
  display: block;
}

/* Admin Form Card */
.admin-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  padding: 18px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.admin-card-title {
  font-size: 15.5px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-card-desc {
  font-size: 12.5px;
  color: var(--text-gray);
  margin-bottom: 14px;
  line-height: 1.45;
}

.admin-field-group {
  margin-bottom: 14px;
}

.admin-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-gray);
  margin-bottom: 6px;
}

.admin-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.admin-input {
  width: 100%;
  height: 44px;
  background: #111721;
  border: 1px solid var(--border-card);
  border-radius: 12px;
  padding: 0 14px;
  color: #ffffff;
  font-family: inherit;
  font-size: 13.5px;
  outline: none;
  transition: border-color 0.2s ease;
}

.admin-input:focus, .admin-textarea:focus {
  border-color: var(--primary-blue);
}

.admin-input-unit {
  position: absolute;
  right: 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
}

.admin-textarea {
  width: 100%;
  background: #111721;
  border: 1px solid var(--border-card);
  border-radius: 12px;
  padding: 10px 14px;
  color: #ffffff;
  font-family: inherit;
  font-size: 13.5px;
  outline: none;
  resize: vertical;
}

/* Switch / Toggle */
.admin-switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.admin-switch-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
}

.admin-switch-sub {
  font-size: 11.5px;
  color: var(--text-gray);
  margin-top: 2px;
}

.admin-toggle {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.admin-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #2c3848;
  transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 34px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 50%;
}

.admin-toggle input:checked + .toggle-slider {
  background-color: #34c759;
}

.admin-toggle input:checked + .toggle-slider:before {
  transform: translateX(20px);
}


#confettiCanvas, .confetti-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none !important;
  z-index: 99999;
}

/* ==========================================================================
   MOBILE APP (PWA / APK) & ADMIN PIN MODAL STYLES
   ========================================================================== */

/* PWA Install Banner */
.pwa-install-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, rgba(35, 148, 234, 0.25) 0%, rgba(15, 20, 28, 0.95) 100%);
  border: 1px solid rgba(46, 166, 255, 0.35);
  border-radius: 16px;
  padding: 10px 14px;
  margin: 10px 16px 14px;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.pwa-banner-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pwa-app-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  flex-shrink: 0;
}

.pwa-banner-title {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
}

.pwa-banner-desc {
  font-size: 11px;
  color: #8da2b5;
  margin-top: 1px;
}

.pwa-banner-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pwa-install-btn {
  background: linear-gradient(135deg, #2394ea, #0077ff);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border: none;
  border-radius: 20px;
  padding: 6px 14px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(35, 148, 234, 0.4);
  transition: transform 0.15s ease;
}

.pwa-install-btn:active {
  transform: scale(0.96);
}

.pwa-dismiss-btn {
  background: rgba(255, 255, 255, 0.1);
  color: #8da2b5;
  border: none;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 11px;
}

.install-app-icon-btn, .header-admin-pill-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.install-app-icon-btn:active, .header-admin-pill-btn:active {
  transform: scale(0.92);
  background: rgba(46, 166, 255, 0.25);
}

.header-admin-pill-btn {
  border-color: rgba(255, 180, 0, 0.3);
  background: rgba(255, 180, 0, 0.1);
}

/* PIN Modal Sheet */
.pin-modal-sheet {
  max-width: 360px;
  text-align: center;
  border-radius: 28px 28px 0 0;
  background: #131922;
  border-top: 1px solid rgba(46, 166, 255, 0.3);
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.7);
}

.pin-header-box {
  padding: 10px 0 20px;
}

.pin-lock-icon {
  font-size: 38px;
  margin-bottom: 8px;
  filter: drop-shadow(0 4px 12px rgba(255, 180, 0, 0.4));
}

.pin-title {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}

.pin-subtitle {
  font-size: 13px;
  color: #7b8a9b;
  margin-bottom: 20px;
}

.pin-dots-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 12px;
}

.pin-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.pin-dot.filled {
  background: #2ea6ff;
  border-color: #2ea6ff;
  box-shadow: 0 0 12px rgba(46, 166, 255, 0.8);
  transform: scale(1.15);
}

.pin-error-text {
  font-size: 12px;
  font-weight: 600;
  color: #ff4b4b;
  margin-top: 6px;
}

.shake-anim {
  animation: shakeKeypad 0.4s ease;
}

@keyframes shakeKeypad {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-8px); }
  40%, 80% { transform: translateX(8px); }
}

/* Numeric Keypad */
.pin-keypad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 280px;
  margin: 0 auto 16px;
}

.pin-key {
  height: 56px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  color: #ffffff;
  font-size: 22px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, transform 0.1s ease;
}

.pin-key:active {
  background: rgba(46, 166, 255, 0.3);
  transform: scale(0.92);
}

.pin-action-key {
  font-size: 16px;
  color: #8da2b5;
  background: transparent;
  border: none;
}

/* ==========================================================================
   AUTHENTICATION & LOGIN SCREEN STYLES (0 DAN YANGI TIZIM)
   ========================================================================== */
.auth-card {
  background: linear-gradient(180deg, rgba(20, 27, 38, 0.95) 0%, rgba(15, 20, 28, 0.98) 100%);
  border: 1px solid rgba(46, 166, 255, 0.25);
  border-radius: 24px;
  padding: 28px 20px;
  margin: 12px 14px 20px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(16px);
}

.auth-header {
  text-align: center;
  margin-bottom: 24px;
}

.auth-logo-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 180, 0, 0.25) 0%, rgba(35, 148, 234, 0.1) 70%);
  border: 2px solid rgba(255, 180, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  box-shadow: 0 0 25px rgba(255, 180, 0, 0.35);
  animation: pulseGlow 3s infinite ease-in-out;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(255, 180, 0, 0.3); transform: scale(1); }
  50% { box-shadow: 0 0 35px rgba(255, 180, 0, 0.6); transform: scale(1.04); }
}

.auth-star-icon {
  font-size: 36px;
}

.auth-title {
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}

.auth-subtitle {
  font-size: 13px;
  color: #8da2b5;
  line-height: 1.45;
  max-width: 280px;
  margin: 0 auto;
}

.auth-step {
  animation: fadeIn 0.3s ease;
}

.auth-field-group {
  margin-bottom: 16px;
}

.auth-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #ccd6e0;
  margin-bottom: 8px;
}

.phone-input-wrap {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 4px 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.phone-input-wrap:focus-within {
  border-color: #2ea6ff;
  box-shadow: 0 0 15px rgba(46, 166, 255, 0.3);
}

.country-flag {
  font-size: 20px;
  margin-right: 10px;
}

.auth-phone-input {
  width: 100%;
  height: 48px;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.auth-info-note {
  font-size: 12px;
  color: #7b8a9b;
  line-height: 1.4;
  margin-bottom: 20px;
  padding: 0 4px;
}

.auth-info-note b {
  color: #2ea6ff;
}

.auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 20px 0;
  color: rgba(255, 255, 255, 0.2);
}

.auth-divider::before, .auth-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.auth-divider span {
  padding: 0 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
}

.auth-bot-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(35, 148, 234, 0.08);
  border: 1px solid rgba(35, 148, 234, 0.25);
  border-radius: 16px;
  padding: 12px 14px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.auth-bot-card:active {
  transform: scale(0.98);
  background: rgba(35, 148, 234, 0.18);
}

.auth-bot-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bot-icon {
  font-size: 26px;
}

.bot-title {
  font-size: 14px;
  font-weight: 700;
  color: #2ea6ff;
}

.bot-desc {
  font-size: 11px;
  color: #8da2b5;
  margin-top: 1px;
}

/* Code Step Styles */
.code-header-info {
  text-align: center;
  margin-bottom: 22px;
}

.code-sent-text {
  font-size: 13px;
  color: #8da2b5;
}

.code-phone-display {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  margin: 4px 0 6px;
}

.code-hint-text {
  font-size: 12px;
  color: #7b8a9b;
}

.code-hint-text b {
  color: #2ea6ff;
}

.code-digits-grid {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}

.code-digit-box {
  width: 54px;
  height: 60px;
  background: rgba(255, 255, 255, 0.06);
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  color: #ffffff;
  font-size: 26px;
  font-weight: 800;
  text-align: center;
  outline: none;
  transition: all 0.2s ease;
}

.code-digit-box:focus {
  border-color: #2ea6ff;
  box-shadow: 0 0 15px rgba(46, 166, 255, 0.4);
  background: rgba(46, 166, 255, 0.1);
  transform: translateY(-2px);
}

.auth-error-msg {
  font-size: 12px;
  font-weight: 600;
  color: #ff4b4b;
  text-align: center;
  margin-bottom: 14px;
}

.code-footer-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  font-size: 13px;
  color: #8da2b5;
}

.code-footer-links .link-btn {
  background: none;
  border: none;
  color: #2ea6ff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 8px;
}

.code-footer-links .link-btn:active {
  opacity: 0.7;
}


