/* ========================================
   PRESSEL — Dark + Red Neon Premium
   ======================================== */

/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* ── Design Tokens ── */
:root {
  --bg-primary: #050505;
  --bg-secondary: #0a0a0a;
  --bg-card: #0d0d0d;
  --bg-button: #0c0c0c;
  --neon-red: #FF003C;
  --neon-red-soft: rgba(255, 0, 60, 0.35);
  --neon-red-glow: rgba(255, 0, 60, 0.15);
  --neon-red-subtle: rgba(255, 0, 60, 0.06);
  --text-primary: #f0f0f0;
  --text-secondary: #888888;
  --text-muted: #555555;
  --border-subtle: rgba(255, 0, 60, 0.2);
  --border-button: rgba(255, 0, 60, 0.4);
  --border-vip: rgba(255, 0, 60, 0.6);
  --radius-full: 50%;
  --radius-lg: 14px;
  --max-width: 420px;
}

/* ── Reset ── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Body ── */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-x: hidden;
  position: relative;
}

/* ── Ambient background glow ── */
body::before {
  content: '';
  position: fixed;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--neon-red-subtle) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  bottom: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 0, 60, 0.03) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ── Container ── */
.container {
  width: 90%;
  max-width: var(--max-width);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 0 80px;
  position: relative;
  z-index: 1;
}

/* ── Profile Photo ── */
.profile-wrapper {
  position: relative;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeIn 0.8s ease-out 0.2s forwards;
}

.profile-glow {
  position: absolute;
  inset: -8px;
  border-radius: var(--radius-full);
  background: radial-gradient(circle, var(--neon-red-glow) 0%, transparent 70%);
  filter: blur(12px);
  z-index: 0;
  animation: pulseGlow 4s ease-in-out infinite;
}

.profile-photo {
  width: 130px;
  height: 130px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 2px solid var(--neon-red);
  position: relative;
  z-index: 1;
  box-shadow:
    0 0 15px var(--neon-red-glow),
    0 0 30px rgba(255, 0, 60, 0.08);
}

/* ── Username ── */
.username-section {
  text-align: center;
  margin-bottom: 48px;
  opacity: 0;
  animation: fadeIn 0.8s ease-out 0.4s forwards;
}

.username {
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.verified-badge svg {
  width: 18px;
  height: 18px;
}

.status-text {
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--text-secondary);
  margin-top: 6px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ── Buttons ── */
.buttons-group {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 18px 24px;
  border-radius: var(--radius-lg);
  background: var(--bg-button);
  color: var(--text-primary);
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 1px solid var(--border-button);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition:
    box-shadow 0.35s ease,
    border-color 0.35s ease,
    transform 0.25s ease,
    background 0.35s ease;
  /* Entry animation */
  opacity: 0;
  transform: translateY(20px);
}

.btn:first-child {
  animation: slideUp 0.6s ease-out 0.6s forwards;
}

.btn:last-child {
  animation: slideUp 0.6s ease-out 0.8s forwards;
}

/* Shimmer overlay */
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 0, 60, 0.04) 50%,
    transparent 100%
  );
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn:hover {
  border-color: var(--neon-red);
  box-shadow:
    0 0 20px var(--neon-red-glow),
    0 0 40px rgba(255, 0, 60, 0.06),
    inset 0 0 20px rgba(255, 0, 60, 0.03);
  transform: translateY(-2px);
  background: rgba(255, 0, 60, 0.04);
}

.btn:active {
  transform: translateY(0);
  transition: transform 0.1s ease;
}

/* Telegram icon */
.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.btn-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--neon-red);
  transition: filter 0.35s ease;
}

.btn:hover .btn-icon svg {
  filter: drop-shadow(0 0 4px var(--neon-red-soft));
}

/* ── VIP Button — Extra emphasis ── */
.btn--vip {
  border-color: var(--border-vip);
  box-shadow:
    0 0 12px var(--neon-red-glow),
    0 0 25px rgba(255, 0, 60, 0.05);
  background: linear-gradient(
    135deg,
    rgba(255, 0, 60, 0.03) 0%,
    var(--bg-button) 100%
  );
}

.btn--vip:hover {
  border-color: var(--neon-red);
  box-shadow:
    0 0 25px var(--neon-red-soft),
    0 0 50px rgba(255, 0, 60, 0.1),
    inset 0 0 25px rgba(255, 0, 60, 0.05);
  background: linear-gradient(
    135deg,
    rgba(255, 0, 60, 0.08) 0%,
    rgba(255, 0, 60, 0.02) 100%
  );
}

.btn--vip .btn-icon svg {
  filter: drop-shadow(0 0 3px var(--neon-red-glow));
}

.btn--vip:hover .btn-icon svg {
  filter: drop-shadow(0 0 6px var(--neon-red-soft));
}

/* ── VIP label accent ── */
.vip-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--neon-red);
  background: rgba(255, 0, 60, 0.1);
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 4px;
}

/* ── Keyframes ── */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* ── Footer ── */
.footer {
  margin-top: 60px;
  opacity: 0;
  animation: fadeIn 0.8s ease-out 1s forwards;
}

.footer-text {
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* ── Responsiveness ── */
@media (max-width: 480px) {
  .container {
    width: 88%;
    padding: 50px 0 60px;
  }

  .profile-photo {
    width: 115px;
    height: 115px;
  }

  .username {
    font-size: 1.15rem;
  }

  .btn {
    padding: 16px 20px;
    font-size: 0.82rem;
    letter-spacing: 1.2px;
  }
}

@media (min-width: 768px) {
  .container {
    padding: 100px 0;
  }

  .profile-photo {
    width: 140px;
    height: 140px;
  }

  .btn {
    padding: 20px 28px;
  }
}

/* ── Accessibility: reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
