/* ═══════════════════════════════════════
   LYTHIUM — style.css
═══════════════════════════════════════ */

:root {
  --bg:   #090710;
  --bg2:  #0e0b18;
  --p1:   #220e45;
  --p2:   #5a2d9a;
  --p3:   #c0a0ff;
  --p4:   #7c4dcc;
  --fg:   #e5daf5;
  --fg2:  #8a6faa;
  --fg3:  #362550;
  --line: #18102a;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Special Elite', serif;
  overflow-x: hidden;
  cursor: crosshair;
}

body::before {
  content: '';
  position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.09'/%3E%3C/svg%3E");
  opacity: 0.5;
}

a { color: inherit; text-decoration: none; }


/* ═══════════ NAV ═══════════ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  padding: 0.9rem 2rem;
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(9,7,16,0.97);
  border-bottom: 1px solid var(--line);
}
.logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.35rem; letter-spacing: 0.12em; color: var(--p3);
}
nav ul { list-style: none; display: flex; gap: 1.8rem; }
nav a  { font-size: 0.7rem; letter-spacing: 0.1em; color: var(--fg2); transition: color 0.2s; }
nav a:hover { color: var(--p3); }


/* ═══════════ HERO ═══════════ */
#hero {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 2rem 4.5rem;
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--line);
}
#hero::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 55% at 78% 28%, rgba(42,16,80,0.6) 0%, transparent 70%),
    radial-gradient(ellipse 35% 40% at 8% 78%, rgba(18,6,40,0.55) 0%, transparent 65%);
}
.bg-word {
  position: absolute; bottom: -0.06em; left: -0.01em;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(7rem, 21vw, 19rem);
  line-height: 1; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px var(--line);
  pointer-events: none; user-select: none; z-index: 0;
}
.hero-inner { position: relative; z-index: 1; }
.hero-tag { font-size: 0.67rem; letter-spacing: 0.22em; color: var(--p2); margin-bottom: 0.8rem; }
h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(4.5rem, 13vw, 11rem);
  line-height: 0.87; color: var(--fg);
}
h1 .aka { display: block; color: var(--p3); }
.hero-bio {
  margin-top: 1.5rem; max-width: 370px;
  font-size: 0.88rem; line-height: 1.85; color: var(--fg2);
  border-left: 2px solid var(--p1); padding-left: 1rem;
}


/* ═══════════ SECCIÓN BASE ═══════════ */
section {
  padding: 5rem 2rem;
  border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
section.vis { opacity: 1; transform: none; }
#hero { opacity: 1; transform: none; border-bottom: 1px solid var(--line); padding: 0 2rem 4.5rem; }

.n { font-size: 0.6rem; letter-spacing: 0.22em; color: var(--p2); margin-bottom: 0.3rem; text-transform: uppercase; }
h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  line-height: 0.9; margin-bottom: 2.5rem; color: var(--fg);
}


/* ═══════════ PLACEHOLDER ═══════════ */
/*
  Para poner tu imagen: dentro del div.ph, agregá:
  <img src="nombre-del-archivo.jpg" alt="descripción">
  El archivo tiene que estar en la misma carpeta que este HTML.
*/
.ph {
  background: var(--bg2);
  border: 1px dashed var(--p1);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 0.4rem;
  color: var(--fg3); position: relative; overflow: hidden;
}
.ph::before { content: attr(data-img); color: var(--p4); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; }
.ph::after  { content: '[ poné tu imagen acá ]'; font-size: 0.57rem; color: var(--fg3); }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(20%) brightness(0.75) contrast(1.1); }


/* ═══════════ SOBRE MÍ ═══════════ */
#mi { background: var(--bg2); }
.mi-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.mi-txt p { color: var(--fg2); line-height: 1.88; margin-bottom: 0.9rem; }
.mi-txt p:last-child { margin-bottom: 0; }
.mi-foto { width: 100%; aspect-ratio: 4/3; margin-top: 1.2rem; }
.stats { border-top: 1px solid var(--line); }
.row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.72rem 0; border-bottom: 1px solid var(--line); font-size: 0.85rem;
}
.row span:first-child { font-size: 0.59rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--fg3); }


/* ═══════════ JUEGOS ═══════════ */
.juegos-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.jcard { background: var(--bg); padding: 1.5rem 1.2rem; transition: background 0.2s; }
.jcard:hover { background: var(--bg2); }
.jcard-img { width: 100%; aspect-ratio: 16/10; margin-bottom: 1rem; }
.jcard-title { font-family: 'Bebas Neue', sans-serif; font-size: 1.45rem; letter-spacing: 0.04em; margin-bottom: 0.3rem; }
.jcard-desc { font-size: 0.78rem; color: var(--fg2); line-height: 1.6; }
.jtag {
  display: inline-block; margin-top: 0.6rem;
  font-size: 0.57rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 2px 7px; border: 1px solid var(--p1); color: var(--p3);
}


/* ═══════════ GAME DEV ═══════════ */
#dev { background: var(--bg2); }

.current-project {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem;
  align-items: start;
  border: 1px solid var(--p1);
  padding: 2rem;
  margin-bottom: 3rem;
  position: relative;
}
.current-project::before {
  content: 'PROYECTO ACTUAL';
  position: absolute; top: -0.7rem; left: 1.5rem;
  font-size: 0.58rem; letter-spacing: 0.2em; text-transform: uppercase;
  background: var(--bg2); color: var(--p3); padding: 0 0.5rem;
}

.proj-logo { width: 100%; aspect-ratio: 16/9; }

.proj-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem; letter-spacing: 0.05em;
  color: var(--fg); margin-bottom: 0.5rem;
  line-height: 1;
}
.proj-status {
  display: inline-block;
  font-size: 0.58rem; letter-spacing: 0.18em; text-transform: uppercase;
  background: var(--p1); color: var(--p3); padding: 2px 8px;
  margin-bottom: 1rem;
}
.proj-desc { font-size: 0.85rem; color: var(--fg2); line-height: 1.8; }

.abandoned-title {
  font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--fg3); margin-bottom: 1rem;
  border-left: 2px solid var(--p1); padding-left: 0.7rem;
}

.abandoned-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }

.acard { background: var(--bg); padding: 1.4rem; display: flex; gap: 1rem; align-items: center; transition: background 0.2s; }
.acard:hover { background: #0c0914; }
.acard-img { width: 80px; min-width: 80px; aspect-ratio: 1; flex-shrink: 0; }
.acard-name { font-family: 'Bebas Neue', sans-serif; font-size: 1.5rem; letter-spacing: 0.04em; color: var(--fg2); }
.acard-tag {
  display: inline-block; margin-top: 5px;
  font-size: 0.55rem; letter-spacing: 0.13em; text-transform: uppercase;
  padding: 2px 7px; border: 1px solid var(--fg3); color: var(--fg3);
}


/* ═══════════ MÚSICA ═══════════ */
.music-intro { max-width: 500px; color: var(--fg2); line-height: 1.82; margin-bottom: 2.5rem; font-size: 0.95rem; }

.bands {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; background: var(--line); border: 1px solid var(--line);
  margin-bottom: 2rem;
}
.band { background: var(--bg2); display: flex; align-items: center; gap: 1rem; padding: 1.1rem; transition: background 0.2s; }
.band:hover { background: #0c0a16; }
.band-img { width: 68px; min-width: 68px; aspect-ratio: 1; flex-shrink: 0; }
.band-name { font-family: 'Bebas Neue', sans-serif; font-size: 1.25rem; letter-spacing: 0.04em; }
.band-year { font-size: 0.6rem; color: var(--fg3); letter-spacing: 0.08em; margin-top: 2px; }
.fav {
  display: inline-block; margin-top: 4px;
  font-size: 0.5rem; letter-spacing: 0.15em; text-transform: uppercase;
  background: var(--p1); color: var(--p3); padding: 2px 6px;
}

.album {
  display: flex; align-items: center; gap: 1.5rem;
  border: 1px solid var(--p1); padding: 1.2rem 1.5rem;
  max-width: 460px; margin-bottom: 1.5rem;
}
.album-img { width: 76px; min-width: 76px; aspect-ratio: 1; flex-shrink: 0; }
.album-name { font-family: 'Bebas Neue', sans-serif; font-size: 1.7rem; letter-spacing: 0.05em; }
.album-sub  { font-size: 0.66rem; color: var(--fg2); margin-top: 4px; letter-spacing: 0.08em; }

.compositor {
  font-size: 0.82rem; color: var(--fg3); line-height: 1.75;
  border-left: 2px solid var(--p1); padding-left: 0.9rem;
}


/* ═══════════ MI GENTE ═══════════ */
.friends-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-bottom: 1px;
}
.fcard {
  background: var(--bg);
  padding: 1.5rem 1.4rem;
  transition: background 0.2s;
}
.fcard:hover { background: var(--bg2); }
.fcard-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem; letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}
.fcard-desc { font-size: 0.78rem; color: var(--fg2); line-height: 1.65; }
.ftag {
  display: inline-block; margin-top: 0.6rem;
  font-size: 0.55rem; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 2px 7px; border: 1px solid var(--p1); color: var(--p3);
}

/* Card pareja */
.partner-card {
  position: relative; overflow: hidden;
  background: var(--bg2);
  border: 1px solid var(--line);
  border-top: none;
  padding: 2.5rem 2rem;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2rem; align-items: center;
  min-height: 200px;
}
.partner-bg {
  position: absolute; inset: 0;
  background: url('') center / cover no-repeat;
  filter: blur(8px) brightness(0.3);
  transform: scale(1.05);
  z-index: 0;
}
.partner-inner,
.partner-years { position: relative; z-index: 1; }
.partner-label {
  font-size: 0.58rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--p3); margin-bottom: 0.5rem;
}
.partner-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem; letter-spacing: 0.06em; line-height: 1;
  margin-bottom: 0.7rem;
}
.partner-desc { font-size: 0.85rem; color: var(--fg2); line-height: 1.8; }
.partner-years {
  display: flex; flex-direction: column;
  align-items: flex-end; gap: 0.4rem;
}
.year-row {
  display: flex; align-items: center; gap: 0.8rem;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem; letter-spacing: 0.06em; color: var(--fg2);
}
.year-row span {
  font-size: 0.55rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--fg3);
}
.year-line {
  width: 1px; height: 3rem;
  background: linear-gradient(to bottom, var(--p2), transparent);
  align-self: flex-end; margin-right: 0.2rem;
}
.year-now { color: var(--p3) !important; }


/* ═══════════ CONTACTO ═══════════ */
#contacto { border-bottom: none; }
.contact-head {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.8rem, 8vw, 7rem);
  line-height: 0.9; margin-bottom: 2.5rem;
}
.contact-head span { color: var(--p3); }

.clink {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 1.3rem; border: 1px solid var(--line);
  max-width: 490px; margin-bottom: 1px;
  font-size: 0.83rem; letter-spacing: 0.03em;
  transition: background 0.2s, border-color 0.2s;
}
.clink:hover { background: var(--bg2); border-color: var(--p2); }
.clink-lbl { display: block; font-size: 0.54rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg3); margin-bottom: 2px; }
.arr { color: var(--p3); transition: transform 0.2s; }
.clink:hover .arr { transform: translateX(4px); }


/* ═══════════ FOOTER ═══════════ */
footer {
  padding: 1.2rem 2rem;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
}
footer .flogo { font-family: 'Bebas Neue', sans-serif; font-size: 0.9rem; letter-spacing: 0.1em; color: var(--p3); }
footer p { font-size: 0.58rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg3); }


/* ═══════════ ANIMACIONES ═══════════ */
@keyframes up { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:none; } }
.hero-tag { animation: up 0.5s ease forwards 0.3s; opacity: 0; }
h1        { animation: up 0.6s ease forwards 0.5s; opacity: 0; }
.hero-bio { animation: up 0.6s ease forwards 0.72s; opacity: 0; }


/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 680px) {
  nav ul { gap: 1rem; }
  section { padding: 3.5rem 1rem; }
  #hero { padding: 0 1rem 4rem; }

  .mi-wrap,
  .juegos-grid,
  .bands,
  .abandoned-grid,
  .current-project { grid-template-columns: 1fr; }

  .juegos-grid { background: none; gap: 1rem; border: none; }
  .juegos-grid .jcard { border: 1px solid var(--line); }

  .friends-grid { grid-template-columns: 1fr; background: none; gap: 1rem; border: none; }
  .friends-grid .fcard { border: 1px solid var(--line); }

  .partner-card { grid-template-columns: 1fr; }
  .partner-years { align-items: flex-start; }

  footer { flex-direction: column; gap: 0.4rem; text-align: center; }
}
