:root {
  --bg-color: #05050a;
  --bg-deep: #0a0a12;
  --text-main: #ffffff;
  --text-gray: #d1d1d1;
  --cyan: #00f2ff;
  --glass: rgba(255, 255, 255, 0.05);
}

body {
  background-color: var(--bg-color);
  color: var(--text-gray);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
}

/* LANG SWITCHER */
.btn-lang {
  background: none;
  border: none;
  color: rgba(255,255,255,0.4);
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  transition: 0.3s;
}
.btn-lang.active { color: var(--cyan); text-shadow: 0 0 10px var(--cyan); }
.btn-lang:hover { color: #fff; }

/* Helper Classes */
.text-light-gray { color: var(--text-gray); }
.fw-600 { font-weight: 600; }
.fw-800 { font-weight: 800; }
.text-cyan { color: var(--cyan); }
.text-gradient {
  background: linear-gradient(45deg, #00f2ff, #0066ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* NAVBAR */
.hud-nav {
  background: rgba(5, 5, 10, 0.9);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.navbar-nav .nav-link { color: #fff; opacity: 0.8; transition: 0.3s; }
.navbar-nav .nav-link:hover { opacity: 1; color: var(--cyan); }
.logo-wild { height: 32px; width: auto; transition: 0.3s; }

/* HERO */
.header-hero { min-height: 70vh; padding: 80px 0; }
.perfil-img {
  width: 180px; height: 180px;
  border-radius: 30px; object-fit: cover;
  border: 2px solid var(--cyan);
  box-shadow: 0 10px 40px rgba(0, 242, 255, 0.2);
  transform: rotate(-3deg);
}

/* SOBRE MÍ - CARDS */
.about-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    transition: 0.3s ease;
}
.about-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--cyan);
    transform: translateY(-5px);
}
.icon-circle {
    width: 50px; height: 50px;
    background: var(--cyan);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

/* SECCIONES */
.py-6 { padding: 90px 0; }
.bg-deep { background-color: var(--bg-deep); }
.section-title {
  font-size: 2.2rem; font-weight: 800;
  margin-bottom: 3.5rem; color: #fff;
  position: relative; display: inline-block;
}
.section-title::after {
    content: ''; position: absolute; width: 50px; height: 4px;
    background: var(--cyan); bottom: -12px; left: 0;
}
.text-center .section-title::after { left: 50%; transform: translateX(-50%); }

/* CARDS WEB & GAMES */
.project-card-modern {
  background: var(--glass);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 15px;
  transition: 0.3s;
}
.project-card-modern:hover { border-color: var(--cyan); transform: translateY(-5px); }

.game-card {
  position: relative; border-radius: 12px; overflow: hidden;
  height: 190px; background: #000;
  border: 1px solid rgba(255,255,255,0.1);
}
.game-card img { width: 100%; height: 100%; object-fit: cover; opacity: 0.7; transition: 0.5s; }
.game-card:hover img { opacity: 1; transform: scale(1.05); }
.game-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
  display: flex; align-items: flex-end; padding: 15px;
}
.game-overlay h6 { color: #fff; margin: 0; font-size: 1rem; font-weight: 600; }

/* SKILLS */
.skill-card { 
    background: var(--glass); 
    border-radius: 20px; 
    border: 1px solid rgba(255,255,255,0.1); 
    transition: 0.3s; 
}
.badge-custom {
  background: rgba(0, 242, 255, 0.15); color: var(--cyan);
  padding: 5px 14px; border-radius: 20px; font-size: 0.8rem; 
  border: 1px solid rgba(0, 242, 255, 0.3); font-weight: 600;
}

/* FOOTER & OTROS */
.hw-card {
  background: rgba(255,255,255,0.03);
  border-left: 4px solid var(--cyan);
}
.logo-footer { height: 45px; width: auto; }
.tag { font-size: 0.75rem; color: var(--cyan); margin-right: 15px; font-weight: 600; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-color); }
::-webkit-scrollbar-thumb { background: #333; border-radius: 10px; border: 2px solid var(--bg-color); }
::-webkit-scrollbar-thumb:hover { background: var(--cyan); }