/* ==========================================================================
   RGM Minimalist guns.lol Style Theme
   ========================================================================== */

:root {
  --bg-color: #070709;
  --card-bg: rgba(13, 13, 17, 0.75);
  --card-border: rgba(255, 255, 255, 0.08);
  --card-border-hover: rgba(168, 85, 247, 0.35);
  --accent-color: #a855f7;
  --accent-glow: rgba(168, 85, 247, 0.35);
  --accent-cyan: #06b6d4;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  user-select: none;
  -webkit-user-select: none;
}

html, body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  background-color: var(--bg-color);
  font-family: var(--font-main);
  color: var(--text-main);
  position: relative;
}

/* ==========================================================================
   Background GIF & Ambient Atmosphere
   ========================================================================== */
.background-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.bg-gif {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: brightness(0.45) contrast(1.15) saturate(1.1);
  pointer-events: none !important;
}

.bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(7, 7, 9, 0.45) 0%, rgba(7, 7, 9, 0.88) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  pointer-events: none;
}

.ambient-glow {
  position: absolute;
  width: 650px;
  height: 650px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.16) 0%, rgba(6, 182, 212, 0.06) 50%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: pulseAmbient 8s ease-in-out infinite alternate;
}

@keyframes pulseAmbient {
  0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.5; }
  100% { transform: translate(-50%, -50%) scale(1.15); opacity: 0.9; }
}

/* ==========================================================================
   Custom Glow Follower
   ========================================================================== */
.cursor-glow {
  position: fixed;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.12) 0%, transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 2;
  transition: transform 0.1s ease-out;
  mix-blend-mode: screen;
}

/* ==========================================================================
   Entry Screen Overlay (Guns.lol Style)
   ========================================================================== */
.entry-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(6, 6, 8, 0.96);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s ease;
}

.entry-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.entry-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.entry-logo-wrapper {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(168, 85, 247, 0.4));
  box-shadow: 0 0 30px rgba(168, 85, 247, 0.3);
  animation: floatLogo 3s ease-in-out infinite;
}

.entry-logo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.entry-text {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  letter-spacing: 0.15em;
  color: var(--text-main);
  text-transform: uppercase;
  animation: pulseText 1.8s ease-in-out infinite;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

.entry-sub {
  font-size: 0.85rem;
  color: var(--text-dim);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

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

@keyframes pulseText {
  0%, 100% { opacity: 0.6; transform: scale(0.98); }
  50% { opacity: 1; transform: scale(1.02); }
}

/* ==========================================================================
   Main Presentation & Profile Card
   ========================================================================== */
.main-wrapper {
  position: relative;
  width: 100%;
  min-height: 100vh;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2.5rem 1.5rem;
  box-sizing: border-box;
}

.profile-card {
  position: relative;
  width: 100%;
  max-width: 470px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 2.25rem 2rem 2.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  box-shadow: 
    0 25px 50px -12px rgba(0, 0, 0, 0.9),
    0 0 40px rgba(168, 85, 247, 0.1),
    inset 0 1px 1px rgba(255, 255, 255, 0.12);
  transition: var(--transition-smooth);
  transform-style: preserve-3d;
  perspective: 1000px;
}

.profile-card:hover {
  border-color: var(--card-border-hover);
  box-shadow: 
    0 30px 60px -10px rgba(0, 0, 0, 0.95),
    0 0 50px rgba(168, 85, 247, 0.18),
    inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

.card-glow-top {
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
}

/* Avatar */
.avatar-container {
  position: relative;
  margin-bottom: 1.25rem;
}

.avatar-ring {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  padding: 3.5px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(168, 85, 247, 0.6), rgba(6, 182, 212, 0.4));
  box-shadow: 0 0 25px rgba(168, 85, 247, 0.35);
  transition: var(--transition-smooth);
}

.profile-card:hover .avatar-ring {
  transform: scale(1.04);
  box-shadow: 0 0 35px rgba(168, 85, 247, 0.55);
}

.avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: #0d0d12;
}

.status-indicator {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 18px;
  height: 18px;
  background: #0f0f14;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.status-dot {
  width: 11px;
  height: 11px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 8px #22c55e;
  animation: pulseOnline 2.5s infinite;
}

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

/* User Info */
.profile-info {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.95rem;
}

.name-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.username {
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.verified-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #38bdf8;
  filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.5));
}

.org-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.35);
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
  letter-spacing: 0.05em;
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.15);
}

/* Bio Text */
.bio-container {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
}

.bio-text {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  line-height: 1.6;
  color: #cbd5e1;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: pre-line;
}

/* Badges / Tags (Colores estáticos: Rojo para Peleador, Azul para Desarrollador) */
.tags-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 0.1rem;
  margin-bottom: 0.2rem;
}

.tag {
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  transition: var(--transition-smooth);
  letter-spacing: 0.01em;
}

/* Rojo estático para Ex-Peleador Ameteur */
.tag-fighter {
  background: rgba(239, 68, 68, 0.12) !important;
  border: 1px solid rgba(239, 68, 68, 0.38) !important;
  color: #f87171 !important;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.15);
}

.tag-fighter:hover {
  background: rgba(239, 68, 68, 0.2) !important;
  border-color: rgba(239, 68, 68, 0.6) !important;
  color: #fca5a5 !important;
  transform: translateY(-1px);
}

/* Azul estático para Desarrollador de aplicaciones */
.tag-dev {
  background: rgba(59, 130, 246, 0.12) !important;
  border: 1px solid rgba(59, 130, 246, 0.38) !important;
  color: #60a5fa !important;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.15);
}

.tag-dev:hover {
  background: rgba(59, 130, 246, 0.2) !important;
  border-color: rgba(59, 130, 246, 0.6) !important;
  color: #93c5fd !important;
  transform: translateY(-1px);
}

/* ==========================================================================
   Dedicated Video Frame with Subtle Purple Neon Border Line
   ========================================================================== */
.video-frame-box {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: #000000;
  /* Línea morada neón sutil */
  border: 1.5px solid rgba(168, 85, 247, 0.65);
  box-shadow: 
    0 12px 28px rgba(0, 0, 0, 0.75),
    0 0 14px rgba(168, 85, 247, 0.3),
    inset 0 0 8px rgba(168, 85, 247, 0.15);
  position: relative;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.video-frame-box:hover {
  border-color: rgba(192, 132, 252, 0.85);
  box-shadow: 
    0 16px 36px rgba(0, 0, 0, 0.85),
    0 0 22px rgba(168, 85, 247, 0.45),
    inset 0 0 12px rgba(168, 85, 247, 0.22);
}

.card-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none !important;
}

/* Footer */
.footer-minimal {
  position: relative;
  margin-top: -2.5rem;
  padding-bottom: 1.25rem;
  width: 100vw;
  text-align: center;
  z-index: 10;
  pointer-events: none;
}

.footer-minimal span {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: 0.06em;
  font-family: var(--font-mono);
  text-transform: uppercase;
}

/* ==========================================================================
   Media Queries / Responsiveness
   ========================================================================== */
@media (max-width: 480px) {
  .profile-card {
    padding: 1.85rem 1.25rem 1.75rem;
    max-width: 92vw;
  }

  .avatar-ring {
    width: 88px;
    height: 88px;
  }

  .username {
    font-size: 1.55rem;
  }

  .bio-text {
    font-size: 0.88rem;
  }

  .tag {
    font-size: 0.75rem;
    padding: 0.3rem 0.65rem;
  }
}
