:root {
  --primary-color: #4da6ff;
  --terminal-blue: #66ccff; 
  --background-overlay: rgba(255, 255, 255, 0.1); 
  --text-color: #e6f7ff; 
  --accent-color: #00bfff; 
}

body {
  font-family: 'Courier New', monospace;
  margin: 0;
  padding: 2rem;
  min-height: 100vh;
  background: linear-gradient(
      rgba(70, 130, 180, 0.2), 
      rgba(100, 180, 255, 0.3)
    ),
    url('fondo.gif') center/cover fixed;
  display: grid;
  place-items: center;
  color: var(--text-color);
  position: relative;
  overflow: auto;
}

.profile-container {
  background: var(--background-overlay);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 0 25px rgba(100, 200, 255, 0.4);
  backdrop-filter: blur(8px);
  max-width: 600px;
  width: 90%;
  border: 1px solid rgba(100, 200, 255, 0.2);
}

.profile-card {
  text-align: center;
  padding: 2rem;
  position: relative;
}

.profile-card img {
  border-radius: 50%;
  width: 180px;
  height: 180px;
  object-fit: cover;
  margin-bottom: 1.5rem;
  border: 3px solid var(--primary-color);
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(77, 166, 255, 0.5);
}

.profile-card img:hover {
  transform: scale(1.05);
  border-color: var(--accent-color);
  box-shadow: 0 0 20px rgba(0, 191, 255, 0.7);
}

.terminal-prefix {
  display: inline-block;
  font-family: monospace;
  animation: typing 3s steps(20), blink-caret 0.75s step-end infinite;
  border-right: 2px solid var(--terminal-blue);
  white-space: nowrap;
  overflow: hidden;
  text-shadow: 0 0 5px rgba(102, 204, 255, 0.7);
}

.subtitle {
  font-size: 1.2rem;
  margin: 1rem 0;
  color: var(--text-color);
}

.red-team {
  color: var(--accent-color);
  font-weight: bold;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 2rem 0;
}

.social-links a {
  color: var(--terminal-blue);
  font-size: 2rem;
  transition: all 0.3s ease;
  position: relative;
  text-decoration: none;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-links a:hover {
  color: var(--accent-color);
  transform: translateY(-5px);
  text-shadow: 0 0 10px rgba(0, 191, 255, 0.7);
}

.social-links a::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border: 2px solid var(--terminal-blue);
  border-radius: 50%;
  transform: scale(0.9);
  opacity: 0;
  transition: all 0.3s ease;
}

.social-links a:hover::before {
  transform: scale(1.1);
  opacity: 1;
  border-color: var(--accent-color);
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 2rem;
  background: var(--primary-color);
  color: #002b4d !important;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  box-shadow: 0 0 10px rgba(77, 166, 255, 0.5);
}

.cta-button:hover {
  background: transparent;
  border-color: var(--accent-color);
  color: var(--accent-color) !important;
  box-shadow: 0 0 15px rgba(0, 191, 255, 0.7);
  transform: translateY(-2px);
}

@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: var(--terminal-blue) }
}

@media (max-width: 768px) {
  .profile-container {
    padding: 1.5rem;
    backdrop-filter: blur(5px);
  }
  
  .profile-card img {
    width: 140px;
    height: 140px;
  }
  
  .social-links {
    gap: 1.2rem;
  }
  
  .social-links a {
    font-size: 1.8rem;
  }
}
