:root {
  --primary-color: #00ff88;
  --secondary-color: #ff0080;
  --accent-color: #8b5cf6;
  --dark-bg: #0a0a0f;
  --darker-bg: #050508;
  --card-bg: rgba(15, 23, 42, 0.6);
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --glow-primary: 0 0 20px var(--primary-color);
  --glow-secondary: 0 0 20px var(--secondary-color);
  --gradient-primary: linear-gradient(135deg, #00ff88, #00d4ff);
  --gradient-secondary: linear-gradient(135deg, #ff0080, #ff6b35);
  --gradient-accent: linear-gradient(135deg, #8b5cf6, #3b82f6);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Orbitron', monospace;
  background: var(--dark-bg);
  color: var(--text-primary);
  overflow-x: hidden;
  cursor: none !important;
  position: relative;
}

* {
  cursor: none !important;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 80%, rgba(0, 255, 136, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 0, 128, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}

a, button, input, textarea, select, .projects__card, .filters__button, .enter-btn {
  cursor: none !important;
}

a:hover, button:hover, input:hover, textarea:hover, select:hover, .projects__card:hover, .filters__button:hover, .enter-btn:hover {
  cursor: none !important;
}

.cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  background: var(--gradient-primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  box-shadow: var(--glow-primary);
  mix-blend-mode: difference;
  will-change: transform;
}

.entrance-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: 
    linear-gradient(45deg, var(--darker-bg), #1a0a1f, #0a1a0f),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23ffffff" stroke-width="0.1" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  transition: all 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.entrance-screen.hidden {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.1);
}

.glitch-container {
  position: relative;
  margin-bottom: 3rem;
}

.glitch-text {
  font-size: 5rem;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  animation: glitch 2s ease-in-out infinite;
}

.glitch-text::before,
.glitch-text::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glitch-text::before {
  animation: glitch-before 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) both infinite;
}

.glitch-text::after {
  animation: glitch-after 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) both infinite;
}

@keyframes glitch {
  0%, 100% { transform: translate(0); }
  20% { transform: translate(-2px, 2px); }
  40% { transform: translate(-2px, -2px); }
  60% { transform: translate(2px, 2px); }
  80% { transform: translate(2px, -2px); }
}

@keyframes glitch-before {
  0%, 100% { clip-path: inset(0 0 0 0); }
  20% { clip-path: inset(20% 0 60% 0); }
  40% { clip-path: inset(60% 0 20% 0); }
  60% { clip-path: inset(30% 0 70% 0); }
  80% { clip-path: inset(70% 0 30% 0); }
}

@keyframes glitch-after {
  0%, 100% { clip-path: inset(0 0 0 0); }
  20% { clip-path: inset(60% 0 20% 0); }
  40% { clip-path: inset(20% 0 60% 0); }
  60% { clip-path: inset(70% 0 30% 0); }
  80% { clip-path: inset(30% 0 70% 0); }
}

.enter-button-container {
  position: relative;
  margin-bottom: 2rem;
}

.enter-btn {
  padding: 20px 60px;
  font-size: 1.5rem;
  font-weight: 700;
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  font-family: 'Orbitron', monospace;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.enter-btn-bg {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: -1;
}

.enter-btn:hover .enter-btn-bg {
  left: 0;
}

.enter-btn:hover {
  color: var(--dark-bg);
  box-shadow: var(--glow-primary);
  transform: translateY(-3px);
}

.loading-bar {
  width: 300px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.loading-bar.active {
  opacity: 1;
}

.loading-progress {
  height: 100%;
  background: var(--gradient-primary);
  width: 0%;
  border-radius: 2px;
  transition: width 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--primary-color);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
  box-shadow: 0 0 6px var(--primary-color);
}

@keyframes float {
  0%, 100% { 
    transform: translateY(100vh) rotate(0deg); 
    opacity: 0; 
  }
  10%, 90% { 
    opacity: 1; 
  }
  50% { 
    transform: translateY(-10px) rotate(180deg); 
  }
}

.main-content {
  min-height: 100vh;
  position: relative;
  z-index: 10;
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s ease;
}

.main-content.active {
  opacity: 1;
  transform: translateY(0);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.grid {
  display: grid;
  gap: 2rem;
}

.profile {
  padding: 4rem 0;
  position: relative;
}

.profile__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4rem;
  text-align: center;
  width: 100%;
}

.profile__main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
}

.profile__border {
  width: 200px;
  height: 200px;
  margin: 0 auto 2rem;
  position: relative;
  border-radius: 50%;
  background: var(--gradient-primary);
  padding: 6px;
  animation: borderRotate 8s linear infinite;
  box-shadow: var(--glow-primary);
}

@keyframes borderRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.profile__perfil {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--dark-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.avatar-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.avatar-text {
  font-size: 4rem;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  z-index: 2;
  position: relative;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.avatar-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: var(--gradient-primary);
  border-radius: 50%;
  opacity: 0.3;
  animation: pulse 2s ease-in-out infinite;
  z-index: 1;
}

@keyframes pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
  50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.1; }
}

.profile__name {
  font-size: 3.5rem;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  animation: textGlow 3s ease-in-out infinite alternate;
  text-transform: uppercase;
  letter-spacing: 3px;
}

@keyframes textGlow {
  0% { filter: drop-shadow(var(--glow-primary)); }
  100% { filter: drop-shadow(var(--glow-secondary)); }
}

.profile__profession {
  font-size: 1.4rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-weight: 500;
  position: relative;
}

.profile__profession::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 1px;
}

.matrix-rain {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  opacity: 0.1;
  overflow: hidden;
}

.profile__info {
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.profile__info-group {
  text-align: center;
  padding: 2rem;
  background: var(--card-bg);
  border-radius: 20px;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.profile__info-group::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  opacity: 0.1;
  transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.profile__info-group:hover::before {
  left: 0;
}

.profile__info-group:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 255, 136, 0.2);
  border-color: var(--primary-color);
}

.profile__info-number {
  font-size: 3rem;
  font-weight: 900;
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 2;
}

.profile__info-description {
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 500;
  position: relative;
  z-index: 2;
}

.audio-visualizer {
  margin: 2rem 0;
  padding: 1.5rem;
  background: var(--card-bg);
  border-radius: 20px;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 255, 136, 0.2);
  text-align: center;
}

.audio-visualizer audio {
  width: 100%;
  margin-bottom: 1rem;
}

.visualizer-bars {
  display: flex;
  justify-content: center;
  align-items: end;
  gap: 4px;
  height: 40px;
}

.bar {
  width: 6px;
  background: var(--gradient-primary);
  border-radius: 3px;
  animation: visualizer 0.8s ease-in-out infinite alternate;
}

.bar:nth-child(1) { animation-delay: 0s; }
.bar:nth-child(2) { animation-delay: 0.1s; }
.bar:nth-child(3) { animation-delay: 0.2s; }
.bar:nth-child(4) { animation-delay: 0.3s; }
.bar:nth-child(5) { animation-delay: 0.4s; }

@keyframes visualizer {
  0% { height: 10px; }
  100% { height: 40px; }
}

.contact-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: transparent;
  color: var(--primary-color);
  padding: 15px 30px;
  border: 2px solid var(--primary-color);
  border-radius: 15px;
  text-decoration: none;
  font-weight: 600;
  font-family: 'Orbitron', monospace;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: -1;
}

.button:hover::before {
  left: 0;
}

.button:hover {
  color: var(--dark-bg);
  box-shadow: var(--glow-primary);
  transform: translateY(-3px);
}

.discord-info {
  color: var(--text-secondary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.filters__content {
  margin: 3rem 0;
  background: var(--card-bg);
  padding: 8px;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  gap: 1rem;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.filters__button {
  flex: 1;
  max-width: 200px;
  border: none;
  outline: none;
  padding: 15px 25px;
  color: var(--text-secondary);
  font-size: 1rem;
  font-family: 'Orbitron', monospace;
  font-weight: 600;
  border-radius: 15px;
  cursor: pointer;
  background: transparent;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.filters__button:hover {
  color: var(--primary-color);
  background: rgba(0, 255, 136, 0.1);
}

.filter-tab-active {
  background: var(--gradient-primary) !important;
  color: var(--dark-bg) !important;
  box-shadow: var(--glow-primary);
}

.projects__content {
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.projects__card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  group: hover;
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
  mix-blend-mode: overlay;
}

.projects__card:hover .project-overlay {
  opacity: 0.3;
}

.projects__card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 255, 136, 0.3);
  border-color: var(--primary-color);
}

.projects__img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.projects__card:hover .projects__img {
  transform: scale(1.1);
}

.projects__modal {
  position: absolute;
  width: 100%;
  height: 100%;
  bottom: -100%;
  left: 0;
  background: linear-gradient(180deg, 
              transparent 0%, 
              rgba(10, 10, 15, 0.9) 50%,
              rgba(10, 10, 15, 0.95) 100%);
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 2rem;
  transition: bottom 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 2;
}

.projects__card:hover .projects__modal {
  bottom: 0;
}

.projects__subtitle {
  color: var(--primary-color);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.projects__title {
  color: var(--text-primary);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.button__small {
  padding: 12px 20px;
  font-size: 0.9rem;
}

.skills__content {
  justify-content: center;
}

.skills__area {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.skills__box {
  display: flex;
  justify-content: center;
}

.skills__group {
  display: grid;
  gap: 1.5rem;
}

.skills__data {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  padding: 1rem;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.skills__data:hover {
  background: rgba(0, 255, 136, 0.05);
  transform: translateX(10px);
}

.skills__data i {
  font-size: 1.2rem;
  color: var(--primary-color);
}

.skills__name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.skills__level {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.skill-progress {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
  margin-left: 1rem;
}

.skill-bar {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 3px;
  width: 0%;
  transition: width 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
}

.skill-bar::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 10px;
  height: 100%;
  background: rgba(255, 255, 255, 0.3);
  animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-10px); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateX(10px); opacity: 0; }
}

.filters [data-content] {
  display: none;
}

.filters__active[data-content] {
  display: grid;
  animation: fadeInUp 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

@media screen and (max-width: 968px) {
  .profile__container {
    flex-direction: column;
    text-align: center;
  }
  
  .profile__main {
    flex-direction: column;
    align-items: center;
  }
  
  .profile__info {
    grid-template-columns: 1fr;
  }
  
  .projects__content {
    grid-template-columns: 1fr;
  }
  
  .glitch-text {
    font-size: 3rem;
  }
  
  .profile__name {
    font-size: 2.5rem;
  }
  
  .avatar-text {
    font-size: 3.5rem;
  }
}

@media screen and (max-width: 576px) {
  .container {
    padding: 0 1rem;
  }
  
  .profile__border {
    width: 150px;
    height: 150px;
  }
  
  .avatar-text {
    font-size: 2.5rem;
  }
  
  .filters__content {
    flex-direction: column;
  }
  
  .enter-btn {
    padding: 15px 40px;
    font-size: 1.2rem;
  }
}