/* ==========================================================================
   PINPOINT REVERSALS - ULTRA MOBILE-OPTIMIZED DARK GOLD TRADING CSS
   ========================================================================== */

:root {
  --bg-dark: #07080C;
  --bg-card: #0D0F18;
  --panel-border: rgba(243, 201, 105, 0.3);
  
  --gold-primary: #F3C969;
  --gold-metallic: linear-gradient(135deg, #FFE89C 0%, #F3C969 50%, #B88E2A 100%);
  --gold-text: #FBE6A2;
  
  --green-glow: #00E676;
  --red-glow: #FF5252;
  --text-main: #FFFFFF;
  --text-muted: #9BA4B5;
  
  --font-serif: 'Cinzel', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html, body {
  width: 100%;
  overflow-x: hidden;
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.45;
  padding-bottom: 70px; /* Space for sticky mobile bar */
}

/* Background Glowing Orbs */
.glow-bg {
  position: fixed;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(90px);
  opacity: 0.16;
}

.glow-top-left {
  top: -120px;
  left: -120px;
  background: radial-gradient(circle, rgba(243, 201, 105, 0.8) 0%, rgba(0, 0, 0, 0) 70%);
}

.glow-bottom-right {
  bottom: -120px;
  right: -120px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.6) 0%, rgba(0, 0, 0, 0) 70%);
}

.bg-grid-overlay {
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
  z-index: 0;
}

/* Ticker */
.ticker-wrap {
  width: 100%;
  background: linear-gradient(90deg, rgba(13, 15, 24, 0.98) 0%, rgba(22, 26, 42, 0.98) 50%, rgba(13, 15, 24, 0.98) 100%);
  border-bottom: 1px solid rgba(243, 201, 105, 0.35);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), 0 0 15px rgba(243, 201, 105, 0.12);
  overflow: hidden;
  position: relative;
  z-index: 10;
  padding: 8px 0;
  backdrop-filter: blur(10px);
}

.ticker-move {
  display: flex;
  gap: 32px;
  white-space: nowrap;
  animation: ticker 22s linear infinite;
  width: max-content;
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-item {
  font-size: 0.78rem;
  color: #E2E8F0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.ticker-item .gold {
  color: var(--gold-primary);
  font-weight: 800;
  letter-spacing: 0.5px;
}

.live-dot {
  width: 8px;
  height: 8px;
  background-color: var(--green-glow);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--green-glow);
  animation: livePulse 1.5s infinite ease-in-out;
  display: inline-block;
}

@keyframes livePulse {
  0%, 100% { transform: scale(0.9); opacity: 0.7; box-shadow: 0 0 6px var(--green-glow); }
  50% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 14px var(--green-glow); }
}

.badge-tag {
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.green-badge {
  background: rgba(0, 230, 118, 0.15);
  color: var(--green-glow);
  border: 1px solid rgba(0, 230, 118, 0.4);
}

.gold-badge {
  background: rgba(243, 201, 105, 0.15);
  color: var(--gold-primary);
  border: 1px solid rgba(243, 201, 105, 0.4);
}

.red-badge {
  background: rgba(255, 82, 82, 0.15);
  color: var(--red-glow);
  border: 1px solid rgba(255, 82, 82, 0.4);
}

.hit-tag {
  color: #FDF0A6;
  font-weight: 800;
  text-shadow: 0 0 10px rgba(243, 201, 105, 0.6);
  animation: hitGlow 2s infinite ease-in-out;
}

@keyframes hitGlow {
  0%, 100% { opacity: 0.85; text-shadow: 0 0 8px rgba(243, 201, 105, 0.4); }
  50% { opacity: 1; text-shadow: 0 0 16px rgba(243, 201, 105, 0.9); }
}

/* Main Mobile Container */
.site-container {
  width: 100%;
  max-width: 480px; /* Perfectly framed for mobile phones */
  margin: 0 auto;
  padding: 12px 16px;
  position: relative;
  z-index: 1;
}

/* Header */
.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0 20px 0;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(243, 201, 105, 0.1);
  border: 1px solid rgba(243, 201, 105, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  box-shadow: 0 0 12px rgba(243, 201, 105, 0.15);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--text-main);
  line-height: 1.1;
}

.brand-subtitle {
  font-size: 0.58rem;
  color: var(--gold-primary);
  letter-spacing: 1.2px;
  font-weight: 600;
}

.header-status {
  display: flex;
  align-items: center;
}

.status-badge {
  background: rgba(13, 15, 24, 0.9);
  border: 1px solid rgba(243, 201, 105, 0.2);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.status-badge #activeTradersCount {
  color: var(--gold-primary);
  font-weight: 800;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background-color: var(--green-glow);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--green-glow);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(0, 230, 118, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 230, 118, 0); }
}

/* Hero Mobile Layout */
.hero-section {
  padding: 0 0 24px 0;
}

.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Poster Card with Girl Image */
.visual-column {
  width: 100%;
}

.poster-card {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(243, 201, 105, 0.4);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8), 0 0 25px rgba(243, 201, 105, 0.15);
  background-color: #0B0D14;
}

.trader-image-container {
  position: absolute;
  inset: 0;
}

.trader-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  filter: brightness(0.92) contrast(1.05);
}

.image-gradient-overlay {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(180deg, rgba(7, 8, 12, 0.35) 0%, rgba(7, 8, 12, 0.05) 45%, rgba(7, 8, 12, 0.85) 100%),
    radial-gradient(circle at 80% 20%, rgba(243, 201, 105, 0.12), transparent 60%);
}

/* Candlestick & Zone Overlay */
.chart-overlay-box {
  position: absolute;
  inset: 0;
  pointer-events: none;
  padding: 14px;
}

.zone-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 1px;
}

.sell-zone-tag {
  background: rgba(255, 82, 82, 0.25);
  border: 1px solid rgba(255, 82, 82, 0.6);
  color: #FF9E9E;
  position: absolute;
  top: 18px;
  left: 14px;
}

.buy-zone-tag {
  background: rgba(0, 230, 118, 0.25);
  border: 1px solid rgba(0, 230, 118, 0.6);
  color: #B9F6CA;
  position: absolute;
  top: 110px;
  left: 14px;
}

.chart-level-line {
  position: absolute;
  left: 14px;
  right: 14px;
  border-top: 1px dashed rgba(243, 201, 105, 0.7);
  display: flex;
  justify-content: space-between;
  padding-top: 3px;
  font-size: 0.62rem;
  letter-spacing: 1px;
  font-weight: 700;
}

.resistance-line {
  top: 48%;
  color: rgba(243, 201, 105, 0.95);
}

.support-line {
  bottom: 18%;
  color: rgba(243, 201, 105, 0.95);
}

.top-candles {
  position: absolute;
  top: 48px;
  left: 20px;
}

.bottom-candles {
  position: absolute;
  bottom: 80px;
  right: 16px;
}

.candlestick-group {
  display: flex;
  align-items: flex-end;
  gap: 6px;
}

.candle {
  width: 6px;
  border-radius: 2px;
  position: relative;
}

.candle::before {
  content: '';
  position: absolute;
  width: 1.5px;
  background-color: currentColor;
  top: -6px;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
}

.candle.red { background-color: var(--red-glow); color: var(--red-glow); box-shadow: 0 0 6px rgba(255, 82, 82, 0.4); }
.candle.green { background-color: var(--green-glow); color: var(--green-glow); box-shadow: 0 0 6px rgba(0, 230, 118, 0.4); }
.candle.gold { background-color: var(--gold-primary); color: var(--gold-primary); box-shadow: 0 0 8px rgba(243, 201, 105, 0.6); }

/* Content Column Mobile */
.content-column {
  display: flex;
  flex-direction: column;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 20px;
  background: rgba(243, 201, 105, 0.08);
  border: 1px solid rgba(243, 201, 105, 0.25);
  color: var(--gold-primary);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  width: max-content;
  margin-bottom: 12px;
}

.main-title {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 1.5px;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.gold-gradient-text {
  background: var(--gold-metallic);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 8px rgba(243, 201, 105, 0.25));
}

.hero-description {
  font-size: 1.05rem;
  color: #E2E8F0;
  font-weight: 500;
  margin-bottom: 16px;
}

/* Stat Box Mobile */
.signal-stat-box {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  background: rgba(13, 15, 24, 0.85);
  border: 1px solid rgba(243, 201, 105, 0.35);
  border-radius: 14px;
  backdrop-filter: blur(10px);
  width: 100%;
  margin-bottom: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.target-icon {
  color: var(--gold-primary);
  background: rgba(243, 201, 105, 0.1);
  padding: 10px;
  border-radius: 10px;
  display: flex;
}

.stat-info {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold-text);
  line-height: 1;
}

.stat-label {
  font-size: 0.65rem;
  letter-spacing: 1.5px;
  font-weight: 800;
  color: var(--text-muted);
  margin-top: 3px;
}

/* Tags */
.market-tags {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #D1D5DB;
  margin-bottom: 20px;
}

.tag-bullet { color: var(--gold-primary); }

/* Telegram CTA Button (Mobile Highlight) */
.cta-wrapper {
  margin-bottom: 20px;
  width: 100%;
}

.telegram-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 18px;
  background: linear-gradient(135deg, rgba(22, 26, 42, 0.98) 0%, rgba(13, 15, 24, 0.98) 100%);
  border: 1.5px solid var(--gold-primary);
  border-radius: 14px;
  color: var(--text-main);
  text-decoration: none;
  box-shadow: 0 0 22px rgba(243, 201, 105, 0.3), inset 0 0 12px rgba(243, 201, 105, 0.15);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  animation: tgGlowPulse 2.5s infinite ease-in-out;
}

/* Light Beam Shimmer Effect */
.telegram-btn::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 45%;
  height: 200%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 100%
  );
  transform: rotate(25deg);
  animation: tgShimmer 3s infinite ease-in-out;
  pointer-events: none;
  z-index: 2;
}

@keyframes tgShimmer {
  0% { left: -60%; opacity: 0; }
  15% { opacity: 1; }
  35% { left: 135%; opacity: 0; }
  100% { left: 135%; opacity: 0; }
}

@keyframes tgGlowPulse {
  0%, 100% {
    box-shadow: 0 0 18px rgba(243, 201, 105, 0.35), inset 0 0 10px rgba(243, 201, 105, 0.15);
    border-color: var(--gold-primary);
  }
  50% {
    box-shadow: 0 0 35px rgba(243, 201, 105, 0.7), 0 0 15px rgba(243, 201, 105, 0.45), inset 0 0 20px rgba(243, 201, 105, 0.35);
    border-color: #FDF0A6;
    transform: translateY(-1px);
  }
}

.telegram-btn:hover, .telegram-btn:active {
  transform: scale(0.985);
  box-shadow: 0 0 30px rgba(243, 201, 105, 0.6);
}

.tg-icon-box {
  color: var(--gold-primary);
  background: rgba(243, 201, 105, 0.15);
  border: 1px solid rgba(243, 201, 105, 0.35);
  padding: 8px;
  border-radius: 10px;
  display: flex;
  position: relative;
  z-index: 3;
  box-shadow: 0 0 12px rgba(243, 201, 105, 0.25);
}

.tg-icon-box svg {
  animation: tgPlaneFloat 2.2s infinite ease-in-out;
}

@keyframes tgPlaneFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-3px) rotate(-6deg); }
}

.tg-btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  margin-left: 12px;
  overflow: hidden;
  position: relative;
  z-index: 3;
}

.btn-main-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 1.5px;
  color: var(--gold-text);
  line-height: 1.1;
}

.btn-caption {
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  font-weight: 800;
  color: #94A3B8;
}

.btn-username {
  display: none !important;
}

.btn-arrow {
  color: var(--gold-primary);
  display: flex;
  position: relative;
  z-index: 3;
}

.btn-arrow svg {
  animation: arrowNudge 1.8s infinite ease-in-out;
}

@keyframes arrowNudge {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(5px); }
}

.cta-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 8px;
  text-align: center;
}

/* Features List */
.features-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.f-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0, 230, 118, 0.15);
  color: var(--green-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 1px;
}

.feature-item strong {
  display: block;
  font-size: 0.88rem;
  color: #F1F5F9;
}

.feature-item span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Perks Grid */
.perks-section {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.section-title {
  text-align: center;
  font-family: var(--font-serif);
  font-size: 0.8rem;
  letter-spacing: 2px;
  color: var(--gold-primary);
  font-weight: 800;
  margin-bottom: 18px;
}

.perks-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.perk-card {
  background: rgba(13, 15, 24, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 16px;
}

.perk-icon {
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.perk-card h3 {
  font-size: 0.98rem;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.perk-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Footer */
.site-footer {
  margin-top: 30px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: var(--gold-primary);
  text-decoration: none;
}

/* Sticky Mobile Bottom Bar */
.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(7, 8, 12, 0.95);
  border-top: 1px solid var(--gold-primary);
  padding: 10px 16px;
  z-index: 999;
  backdrop-filter: blur(12px);
  box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.8), 0 0 15px rgba(243, 201, 105, 0.2);
}

.sticky-tg-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(22, 26, 42, 0.98) 0%, rgba(13, 15, 24, 0.98) 100%);
  border: 1.5px solid var(--gold-primary);
  color: var(--gold-text);
  text-decoration: none;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 1px;
  box-shadow: 0 0 22px rgba(243, 201, 105, 0.3), inset 0 0 12px rgba(243, 201, 105, 0.15);
  position: relative;
  overflow: hidden;
  animation: tgGlowPulse 2.5s infinite ease-in-out;
  transition: all 0.3s ease;
}

.sticky-tg-btn svg {
  color: var(--gold-primary);
  animation: tgPlaneFloat 2.2s infinite ease-in-out;
  filter: drop-shadow(0 0 6px rgba(243, 201, 105, 0.6));
}

.sticky-tg-btn span {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 1.5px;
  color: var(--gold-text);
}

.sticky-tg-btn::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 45%;
  height: 200%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 100%
  );
  transform: rotate(25deg);
  animation: tgShimmer 3s infinite ease-in-out;
  pointer-events: none;
  z-index: 2;
}

.sticky-tg-btn:active {
  transform: scale(0.985);
  box-shadow: 0 0 30px rgba(243, 201, 105, 0.6);
}

/* Toast Notification (Floats cleanly near bottom above sticky bar) */
.toast-notification {
  position: fixed;
  bottom: 74px;
  left: 50%;
  transform: translateX(-50%) translateY(25px);
  background: rgba(17, 20, 32, 0.95);
  border: 1px solid var(--gold-primary);
  padding: 8px 14px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.85);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  width: max-content;
  max-width: 90%;
  backdrop-filter: blur(12px);
}

.toast-notification.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast-avatar {
  width: 28px;
  height: 28px;
  background: rgba(243, 201, 105, 0.2);
  color: var(--gold-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.65rem;
}

.toast-body {
  display: flex;
  flex-direction: column;
  font-size: 0.75rem;
}

.toast-body strong { color: #FFF; }
.toast-body span { color: var(--text-muted); }

/* Mobile Viewport Optimization (< 600px screens) */
@media (max-width: 600px) {
  .site-container {
    padding: 8px 14px;
  }
  
  .main-title {
    font-size: 2.1rem;
    line-height: 1.05;
    margin-bottom: 6px;
  }
  
  .hero-description {
    font-size: 0.95rem;
    margin-bottom: 12px;
  }
  
  .cta-wrapper {
    margin-bottom: 14px;
  }
  
  .poster-card {
    aspect-ratio: 16 / 10;
    max-height: 270px;
    border-radius: 14px;
  }

  .toast-notification {
    bottom: 72px;
  }
}
