/* ══════════════════════════════════════════════════════════════════
   TUFAN ARMY ULTRA-PREMIUM TELEGRAM LANDING PAGE DESIGN SYSTEM
   ══════════════════════════════════════════════════════════════════ */

:root {
  --bg-dark: #060911;
  --card-bg: #0c101d;
  --card-border: rgba(255, 255, 255, 0.08);

  /* Brand Gradient Tokens */
  --tufan-orange-1: #ff9d00;
  --tufan-orange-2: #ff4d00;
  --army-pink-1: #ff2a85;
  --army-pink-2: #d6006d;
  --gold-primary: #ffbe00;
  --gold-glow: rgba(255, 190, 0, 0.5);
  --cyan-primary: #00f0ff;
  --cyan-glow: rgba(0, 240, 255, 0.6);
  --green-online: #10b981;

  /* Typography */
  --font-impact: 'Anton', 'Impact', sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: #ffffff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1.5rem 1rem;
  overflow-x: hidden;
  position: relative;
}

/* Ambient Deep Lighting */
.ambient-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.glow-orb-top {
  position: absolute;
  top: -15%;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 100, 0, 0.12) 0%, rgba(255, 0, 119, 0.08) 45%, transparent 70%);
  filter: blur(80px);
}

.glow-orb-bottom {
  position: absolute;
  bottom: -10%;
  right: 15%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.1) 0%, transparent 70%);
  filter: blur(80px);
}

/* Container */
.page-container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 440px;
  margin: auto;
}

/* Main Card */
.tufan-card {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 32px;
  padding: 2.25rem 1.6rem 1.8rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(255, 120, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  backdrop-filter: blur(20px);
}

/* ══════════════════════════════════════════════════════════════════
   1. TOP-RIGHT COUNTDOWN TIMER WIDGET
   ══════════════════════════════════════════════════════════════════ */
.timer-widget {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timer-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.timer-track {
  fill: rgba(15, 23, 42, 0.9);
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 4;
}

.timer-bar {
  fill: none;
  stroke: #ff9d00;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 176;
  stroke-dashoffset: 0;
  filter: drop-shadow(0 0 6px rgba(255, 157, 0, 0.8));
  transition: stroke-dashoffset 1s linear;
}

.timer-number {
  position: relative;
  font-family: var(--font-impact);
  font-size: 1.35rem;
  color: #ffffff;
  letter-spacing: 0.5px;
  line-height: 1;
}

/* ══════════════════════════════════════════════════════════════════
   2. HERO AVATAR WITH DUAL NEON ROTATING RINGS
   ══════════════════════════════════════════════════════════════════ */
.avatar-hero {
  position: relative;
  width: 175px;
  height: 175px;
  margin: 0.5rem auto 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Outer Spinning Dashed Golden Ring */
.ring-outer-dashed {
  position: absolute;
  inset: -8px;
  border: 3px dashed #ffbe00;
  border-radius: 50%;
  animation: spinClockwise 25s linear infinite;
  box-shadow: 0 0 16px rgba(255, 190, 0, 0.45);
}

@keyframes spinClockwise {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Neon Beads on Ring */
.ring-bead {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.bead-1 { top: 15%; left: 85%; background: #ff0077; box-shadow: 0 0 8px #ff0077; }
.bead-2 { top: 85%; left: 15%; background: #00f0ff; box-shadow: 0 0 8px #00f0ff; }
.bead-3 { top: 5%; left: 20%; background: #ffbe00; box-shadow: 0 0 8px #ffbe00; }
.bead-4 { top: 80%; left: 80%; background: #10b981; box-shadow: 0 0 8px #10b981; }

/* Inner Rainbow Glow Ring */
.ring-inner-gradient {
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, #00f0ff, #ff0077, #ffbe00, #00f0ff);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: spinCounter 18s linear infinite;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
}

@keyframes spinCounter {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

/* Central Image Frame */
.avatar-frame {
  position: relative;
  width: 145px;
  height: 145px;
  border-radius: 50%;
  overflow: hidden;
  background: #000;
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.8);
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

/* Verified Badge at Bottom Right */
.verified-badge-cyan {
  position: absolute;
  bottom: 6px;
  right: 14px;
  width: 30px;
  height: 30px;
  background: #00e5ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #0c101d;
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.8);
  z-index: 10;
}

.verified-badge-cyan svg {
  width: 17px;
  height: 17px;
  fill: #000000;
  stroke: #000000;
  stroke-width: 1;
}

/* ══════════════════════════════════════════════════════════════════
   3. PILL BADGE: NO.1 EDUCATION CHANNEL ON TELEGRAM
   ══════════════════════════════════════════════════════════════════ */
.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(18, 12, 5, 0.8);
  border: 1.5px solid #ffbe00;
  border-radius: 50px;
  padding: 0.45rem 1.15rem;
  margin-bottom: 0.85rem;
  box-shadow: 0 0 16px rgba(255, 190, 0, 0.35);
}

.pink-pulse-dot {
  width: 9px;
  height: 9px;
  background: #ff0077;
  border-radius: 50%;
  box-shadow: 0 0 8px #ff0077;
  animation: pulseNeon 1.5s infinite;
}

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

.pill-text {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.78rem;
  color: #ffd700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

/* ══════════════════════════════════════════════════════════════════
   4. MAIN TITLE: TUFAN ARMY
   ══════════════════════════════════════════════════════════════════ */
.hero-title {
  font-family: var(--font-impact);
  font-size: 3.5rem;
  line-height: 1;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: flex;
  gap: 0.6rem;
  align-items: center;
  justify-content: center;
}

.tufan-word {
  background: linear-gradient(180deg, #ffae00 0%, #ff5500 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 16px rgba(255, 120, 0, 0.5));
}

.army-word {
  background: linear-gradient(180deg, #ff2a85 0%, #d6006d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 16px rgba(255, 42, 133, 0.5));
}

/* ══════════════════════════════════════════════════════════════════
   5. SUBTITLE & METRICS
   ══════════════════════════════════════════════════════════════════ */
.hero-subtext {
  font-size: 0.95rem;
  color: #cbd5e1;
  font-weight: 600;
  line-height: 1.45;
  margin-bottom: 1rem;
}

.cyan-italic {
  color: var(--cyan-primary);
  font-style: italic;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.4);
}

.metrics-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.metric-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.92rem;
  color: #e2e8f0;
}

.glow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.green-dot { background: var(--green-online); box-shadow: 0 0 8px var(--green-online); }
.cyan-dot { background: var(--cyan-primary); box-shadow: 0 0 8px var(--cyan-primary); }

/* ══════════════════════════════════════════════════════════════════
   6. HIGH-IMPACT DUAL CTA BUTTONS
   ══════════════════════════════════════════════════════════════════ */
.cta-group {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.btn-tufan {
  position: relative;
  width: 100%;
  border: none;
  border-radius: 50px;
  padding: 0.95rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.btn-tufan:active {
  transform: scale(0.98);
}

.btn-tufan:hover {
  filter: brightness(1.08);
}

.btn-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 900;
  font-size: 1.4rem;
  letter-spacing: 0.3px;
}

.tg-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.tg-white { fill: #ffffff; }
.tg-dark { fill: #000000; }

/* Button 1: Pink Gradient */
.btn-pink {
  background: linear-gradient(90deg, #ff0077 0%, #d6006d 50%, #b3005b 100%);
  color: #ffffff;
  box-shadow: 0 10px 28px rgba(255, 0, 119, 0.45);
}
.btn-pink:hover {
  box-shadow: 0 12px 34px rgba(255, 0, 119, 0.6);
}

/* Button 2: Golden Amber Gradient */
.btn-gold {
  background: linear-gradient(90deg, #ffc837 0%, #ff9500 50%, #e67e00 100%);
  color: #000000;
  box-shadow: 0 10px 28px rgba(255, 170, 0, 0.45);
}
.btn-gold:hover {
  box-shadow: 0 12px 34px rgba(255, 170, 0, 0.6);
}

/* Shimmer Wave */
.btn-shimmer {
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  animation: shimmerMove 3.5s infinite;
}

@keyframes shimmerMove {
  0% { left: -100%; }
  40%, 100% { left: 180%; }
}

/* ══════════════════════════════════════════════════════════════════
   7. FOOTER SECTION
   ══════════════════════════════════════════════════════════════════ */
.card-footer {
  width: 100%;
  margin-top: 1.5rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.disclaimer-text {
  font-size: 0.73rem;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 0.6rem;
}

.copyright-text {
  font-size: 0.7rem;
  color: #475569;
}

/* Subtle Link to Dashboard */
.dash-access-bar {
  text-align: center;
  margin-top: 1.25rem;
}

.dash-access-btn {
  font-size: 0.78rem;
  color: #64748b;
  text-decoration: none;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.2s;
}

.dash-access-btn:hover {
  color: #00f0ff;
  border-color: rgba(0, 240, 255, 0.3);
}

/* Responsive adjustments */
@media (max-width: 480px) {
  .hero-title {
    font-size: 3rem;
  }
  .btn-text {
    font-size: 1.25rem;
  }
  .tufan-card {
    padding: 2rem 1.25rem 1.5rem;
  }
}
