:root {
  --bg: #050510;
  --text: #fff7ff;
  --soft: #d7dcff;
  --pink: #ff4fd8;
  --cyan: #00e5ff;
  --purple: #9b5cff;
  --yellow: #fff27a;
  --lime: #9cff6a;
  --dark: #08091f;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: "Arial Black", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 79, 216, .34), transparent 30%),
    radial-gradient(circle at 90% 20%, rgba(0, 229, 255, .28), transparent 34%),
    radial-gradient(circle at 50% 100%, rgba(156, 255, 106, .16), transparent 30%),
    linear-gradient(180deg, #03030a, #0b1025);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(white 1px, transparent 1px),
    radial-gradient(rgba(0, 229, 255, .8) 1px, transparent 1px);
  background-size: 90px 90px, 180px 180px;
  opacity: .2;
  animation: stars 90s linear infinite;
  z-index: -3;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(circle, black 20%, transparent 78%);
  z-index: -2;
}

.shell {
  width: min(1120px, 92%);
  margin: 44px auto;
  padding: clamp(22px, 5vw, 58px);
  border: 4px solid rgba(255,255,255,.85);
  border-radius: 28px;
  position: relative;
  overflow: hidden;
  background: rgba(8, 10, 28, .78);
  box-shadow:
    10px 10px 0 rgba(255, 79, 216, .75),
    -10px -10px 0 rgba(0, 229, 255, .55),
    0 0 80px rgba(155, 92, 255, .28);
}

.shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      rgba(255,255,255,.05) 0,
      rgba(255,255,255,.05) 1px,
      transparent 1px,
      transparent 5px
    );
  pointer-events: none;
  opacity: .25;
}

.site-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 54px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border: 3px solid white;
  border-radius: 999px;
  background: #111336;
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: .9rem;
  box-shadow: 5px 5px 0 var(--pink);
}

.brand-icon {
  width: 32px;
  height: 32px;
  image-rendering: pixelated;
}

.nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.nav a {
  color: #050510;
  background: var(--cyan);
  border: 3px solid white;
  border-radius: 999px;
  padding: 10px 16px;
  text-decoration: none;
  text-transform: uppercase;
  font-size: .8rem;
  font-weight: 900;
  box-shadow: 4px 4px 0 var(--purple);
  transition: .2s ease;
}

.nav a:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--pink);
}

.hero {
  position: relative;
  z-index: 2;
}

.badge {
  display: inline-block;
  margin-bottom: 26px;
  padding: 12px 18px;
  border-radius: 0;
  color: #050510;
  background: var(--yellow);
  border: 3px solid white;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: .75rem;
  font-weight: 950;
  box-shadow: 6px 6px 0 var(--pink);
}

h1 {
  max-width: 950px;
  font-size: clamp(3.7rem, 10vw, 9rem);
  line-height: .78;
  letter-spacing: -6px;
  text-transform: uppercase;
  margin-bottom: 34px;
  color: white;
  text-shadow:
    5px 5px 0 var(--pink),
    10px 10px 0 var(--purple),
    0 0 24px rgba(0,229,255,.75);
}

.lead {
  max-width: 810px;
  font-size: clamp(1.25rem, 2.6vw, 2.15rem);
  line-height: 1.08;
  font-weight: 950;
  letter-spacing: -1px;
  color: #fff;
  margin-bottom: 36px;
  text-shadow: 0 0 18px rgba(255,255,255,.15);
}

.lead span {
  color: var(--lime);
  text-shadow:
    3px 3px 0 var(--purple),
    0 0 18px rgba(156,255,106,.7);
}

.button-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 46px;
}

.cta {
  display: inline-flex;
  padding: 16px 24px;
  border-radius: 999px;
  color: #050510;
  text-decoration: none;
  font-weight: 950;
  text-transform: uppercase;
  border: 3px solid white;
  box-shadow: 6px 6px 0 var(--purple);
  transition: .2s ease;
}

.cta:hover {
  transform: translate(-3px, -3px) rotate(-1deg);
  box-shadow: 10px 10px 0 var(--pink);
}

.cta.primary {
  background: var(--pink);
  color: white;
}

.cta.secondary {
  background: var(--cyan);
}

.grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 42px 0;
}

.card {
  padding: 26px;
  border-radius: 24px;
  background: rgba(255,255,255,.08);
  border: 3px solid rgba(255,255,255,.85);
  box-shadow:
    6px 6px 0 rgba(0,229,255,.55),
    inset 0 0 20px rgba(255,255,255,.04);
}

.icon {
  font-size: 2rem;
  margin-bottom: 14px;
  filter: drop-shadow(0 0 12px rgba(255,255,255,.4));
}

.card h2 {
  font-size: 1.45rem;
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 14px;
  color: var(--yellow);
  text-shadow: 3px 3px 0 var(--pink);
}

.card p {
  color: var(--soft);
  font-family: Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.55;
}

.status-window {
  position: relative;
  z-index: 2;
  margin-top: 48px;
  border: 3px solid white;
  background: #050510;
  box-shadow: 8px 8px 0 var(--cyan);
}

.window-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(90deg, var(--pink), var(--purple), var(--cyan));
  padding: 10px 14px;
  color: white;
  text-transform: uppercase;
  font-size: .85rem;
  letter-spacing: 1px;
}

.window-buttons {
  display: flex;
  gap: 6px;
}

.window-buttons i {
  width: 13px;
  height: 13px;
  display: block;
  background: var(--yellow);
  border: 2px solid #050510;
}

.status-window p {
  padding: 22px;
  color: var(--lime);
  font-family: "Courier New", monospace;
  font-size: 1rem;
  line-height: 1.8;
  text-shadow: 0 0 10px rgba(156,255,106,.45);
}

.statement {
  position: relative;
  z-index: 2;
  margin-top: 52px;
  padding-top: 36px;
  border-top: 3px dashed rgba(255,255,255,.7);
  font-size: clamp(2rem, 5vw, 4.5rem);
  line-height: .9;
  letter-spacing: -3px;
  font-weight: 950;
  text-transform: uppercase;
  text-shadow: 4px 4px 0 var(--purple);
}

.statement strong {
  color: var(--pink);
  text-shadow:
    4px 4px 0 var(--cyan),
    0 0 22px rgba(255,79,216,.65);
}

@keyframes stars {
  from { transform: translateY(0); }
  to { transform: translateY(-1200px); }
}

@media (max-width: 850px) {
  .shell {
    margin: 22px auto;
    border-width: 3px;
    box-shadow:
      6px 6px 0 rgba(255, 79, 216, .75),
      -6px -6px 0 rgba(0, 229, 255, .55);
  }

  h1 {
    letter-spacing: -3px;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .statement {
    letter-spacing: -1px;
  }
}

.weird-links{
  display:flex;
  gap:16px;
  flex-wrap:wrap;
  margin: 10px 0 54px;
  position:relative;
  z-index:2;
}

.weird-btn{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:14px 20px;
  text-decoration:none;
  text-transform:uppercase;
  font-size:.82rem;
  letter-spacing:1px;
  font-weight:950;
  border:3px solid white;
  color:white;
  overflow:hidden;
  transition:.2s ease;
  box-shadow:6px 6px 0 rgba(255,255,255,.15);
}

.weird-btn::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    repeating-linear-gradient(
      45deg,
      rgba(255,255,255,.08) 0,
      rgba(255,255,255,.08) 2px,
      transparent 2px,
      transparent 6px
    );
  pointer-events:none;
}

.weird-btn:hover{
  transform:translate(-3px,-3px) rotate(-1deg) scale(1.03);
}

.weird-btn.pink{
  background:#ff4fd8;
  box-shadow:6px 6px 0 #9b5cff;
}

.weird-btn.cyan{
  background:#00d9ff;
  color:#050510;
  box-shadow:6px 6px 0 #ff4fd8;
}

.weird-btn.lime{
  background:#9cff6a;
  color:#050510;
  box-shadow:6px 6px 0 #00d9ff;
}


.winamp-player{
  position:relative;
  z-index:2;
  margin-top:48px;
  border:3px solid white;
  background:#0a0a16;
  box-shadow:
    10px 10px 0 var(--purple),
    0 0 40px rgba(0,229,255,.22);
  overflow:hidden;
}

.winamp-bar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:10px 14px;
  background:
    linear-gradient(
      90deg,
      #ff4fd8,
      #9b5cff,
      #00e5ff
    );
  color:white;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:1px;
  font-size:.85rem;
}

.winamp-controls{
  display:flex;
  gap:6px;
}

.winamp-controls i{
  width:13px;
  height:13px;
  display:block;
  background:white;
  border:2px solid #050510;
}

.winamp-body{
  display:grid;
  grid-template-columns:140px 1fr;
  gap:22px;
  padding:22px;
  align-items:center;
}

.album-art{
  border:3px solid white;
  background:#050510;
  padding:10px;
  box-shadow:6px 6px 0 var(--cyan);
}

.album-art img{
  width:100%;
  display:block;
  image-rendering:pixelated;
}

.now-playing{
  display:inline-block;
  margin-bottom:10px;
  padding:6px 10px;
  border:2px solid white;
  background:var(--lime);
  color:#050510;
  font-size:.72rem;
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:1px;
}

.track-info h2{
  color:white;
  text-transform:uppercase;
  line-height:1;
  font-size:1.7rem;
  margin-bottom:10px;
  text-shadow:
    3px 3px 0 var(--pink);
}

.track-info p{
  color:var(--soft);
  font-family:"Courier New", monospace;
  margin-bottom:18px;
}

.progress-wrap{
  height:18px;
  border:3px solid white;
  background:#050510;
  overflow:hidden;
  margin-bottom:10px;
}

.progress-bar{
  width:42%;
  height:100%;
  background:
    repeating-linear-gradient(
      90deg,
      var(--cyan) 0,
      var(--cyan) 10px,
      var(--pink) 10px,
      var(--pink) 20px
    );
  animation: progressMove 6s linear infinite alternate;
}

.time-row{
  display:flex;
  justify-content:space-between;
  color:var(--lime);
  font-family:"Courier New", monospace;
  font-size:.9rem;
}

.music-links{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  padding:0 22px 22px;
}

.music-links a{
  text-decoration:none;
  color:white;
  padding:10px 14px;
  border:3px solid white;
  background:#050510;
  text-transform:uppercase;
  font-size:.72rem;
  font-weight:900;
  box-shadow:5px 5px 0 var(--pink);
  transition:.2s ease;
}

.music-links a:hover{
  transform:translate(-3px,-3px);
  box-shadow:8px 8px 0 var(--cyan);
  background:var(--purple);
}

@keyframes progressMove{
  from{
    width:22%;
  }

  to{
    width:84%;
  }
}

@media (max-width: 700px){

  .winamp-body{
    grid-template-columns:1fr;
  }

}


.embedded-player{
  padding: 0 22px 22px;
}

.embedded-player iframe{
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 3px solid white;
  box-shadow: 6px 6px 0 var(--pink);
  background: #050510;
}


.music-carousel{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
  gap:22px;
  margin-top:42px;
}

.music-card{
  border:3px solid white;
  background:#050510;
  padding:18px;
  box-shadow:
    8px 8px 0 var(--purple),
    0 0 30px rgba(0,229,255,.15);
  overflow:hidden;
}

.music-card h3{
  color:var(--yellow);
  text-transform:uppercase;
  font-size:1rem;
  margin-bottom:14px;
  text-shadow:
    3px 3px 0 var(--pink);
  line-height:1.2;
}

.music-card iframe{
  width:100%;
  aspect-ratio:16/9;
  border:3px solid white;
  background:black;
  box-shadow:5px 5px 0 var(--cyan);
}



.dimension-switch{
  position:relative;
  z-index:5;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
  margin-bottom:24px;
  padding:12px 16px;
  border:3px solid white;
  background:
    repeating-linear-gradient(
      45deg,
      var(--yellow) 0,
      var(--yellow) 10px,
      #050510 10px,
      #050510 20px
    );
  box-shadow:6px 6px 0 var(--pink);
}

.dimension-switch span{
  background:white;
  color:#050510;
  padding:6px 10px;
  font-size:.72rem;
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:1px;
}

.dimension-switch a{
  color:#050510;
  background:var(--cyan);
  border:3px solid #050510;
  padding:9px 14px;
  text-decoration:none;
  text-transform:uppercase;
  font-size:.78rem;
  font-weight:950;
  box-shadow:4px 4px 0 white;
  transition:.18s ease;
}

.dimension-switch a:hover{
  transform:translate(-2px,-2px) rotate(-1deg);
  background:var(--pink);
  color:white;
}


/* VISITOR COUNTER */

.visitor-counter{
  text-align: center;
  margin: 60px auto;
}

.visitor-counter h3{
  margin-bottom: 18px;

  color: #aaff66;

  font-family: "Rubik Mono One", monospace;

  letter-spacing: .18em;

  text-shadow:
    0 0 8px #aaff66,
    0 0 16px #aaff66;
}

.counter-shell{
  display: inline-block;

  padding: 20px;

  border-radius: 24px;

  background:
    radial-gradient(circle at top, rgba(255,0,170,.25), transparent 60%),
    rgba(10, 10, 30, .92);

  border: 2px solid #7df9ff;

  box-shadow:
    0 0 18px rgba(125,249,255,.7),
    0 0 36px rgba(255,0,170,.35);
}

/* intenta forzar visibilidad */

.counter-shell img{
  background: #7df9ff;
  padding: 10px;
  border-radius: 14px;
}

/* GUESTBOOK */

.guestbook-shell{
  max-width: 980px;
  margin: 70px auto;
  padding: 28px;
  border: 2px solid #ff71ce;
  border-radius: 26px;
  background: rgba(8, 6, 22, .86);
  box-shadow: 0 0 32px rgba(255,113,206,.32);
  text-align: center;
}

.guestbook-shell h2{
  margin: 0 0 10px;
  color: #ff71ce;
  font-size: clamp(1.6rem, 5vw, 2.5rem);
  text-shadow: 0 0 14px #ff71ce;
}

.guestbook-shell p{
  color: #c9d7ff;
  margin-bottom: 24px;
}

.guestbook-frame{
  width: 100%;
  height: 760px;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(125,249,255,.45);
  background: rgba(255,255,255,.04);
}

.guestbook-frame iframe{
  width: 100%;
  height: 100%;
  border: 0;
}


/* FOOTER */

.cosmic-footer{
  margin-top: 100px;

  padding: 60px 24px 40px;

  border-top: 1px solid rgba(125,249,255,.25);

  background:
    linear-gradient(
      to top,
      rgba(255,0,170,.08),
      transparent
    );

  color: #c9d7ff;
}

.footer-logo{
  text-align: center;

  margin-bottom: 50px;

  font-size: clamp(1.3rem, 4vw, 2rem);

  color: #ff71ce;

  letter-spacing: .25em;

  text-shadow:
    0 0 12px #ff71ce,
    0 0 24px #ff71ce;
}

.footer-grid{
  max-width: 1100px;

  margin: 0 auto;

  display: grid;

  grid-template-columns:
    repeat(auto-fit, minmax(220px, 1fr));

  gap: 40px;
}

.footer-column h4{
  margin-bottom: 18px;

  color: #aaff66;

  letter-spacing: .14em;

  font-size: .95rem;

  text-shadow: 0 0 8px #aaff66;
}

.footer-column a{
  display: block;

  margin-bottom: 12px;

  color: #7df9ff;

  text-decoration: none;

  transition: all .25s ease;
}

.footer-column a:hover{
  color: #ff71ce;

  transform: translateX(4px);

  text-shadow:
    0 0 8px #ff71ce,
    0 0 16px #ff71ce;
}

.footer-column p{
  line-height: 1.7;
}

.footer-bottom{
  margin-top: 60px;

  padding-top: 24px;

  text-align: center;

  border-top: 1px solid rgba(125,249,255,.18);

  color: rgba(255,255,255,.62);

  font-size: .9rem;

  line-height: 1.8;
}


/* TERMINAL */

.terminal-shell{
  max-width: 980px;

  margin: 90px auto;

  border-radius: 24px;

  overflow: hidden;

  border: 2px solid #7df9ff;

  background: rgba(5, 5, 16, .95);

  box-shadow:
    0 0 20px rgba(125,249,255,.45),
    0 0 40px rgba(255,0,170,.18);
}

.terminal-header{
  display: flex;

  align-items: center;

  gap: 10px;

  padding: 14px 18px;

  background:
    linear-gradient(
      to right,
      rgba(255,0,170,.25),
      rgba(125,249,255,.12)
    );

  border-bottom: 1px solid rgba(125,249,255,.25);
}

.terminal-header p{
  margin-left: 10px;

  color: #d8e7ff;

  font-size: .9rem;

  letter-spacing: .08em;
}

.dot{
  width: 12px;
  height: 12px;

  border-radius: 50%;
}

.pink{
  background: #ff71ce;
  box-shadow: 0 0 10px #ff71ce;
}

.cyan{
  background: #7df9ff;
  box-shadow: 0 0 10px #7df9ff;
}

.green{
  background: #aaff66;
  box-shadow: 0 0 10px #aaff66;
}

.terminal-body{
  padding: 30px;

  font-family: monospace;

  line-height: 1.9;

  color: #dce8ff;
}

.prompt{
  color: #7df9ff;
}

.response{
  color: #aaff66;

  margin-bottom: 20px;

  text-shadow: 0 0 8px rgba(170,255,102,.35);
}

.terminal-body{
  max-height: 360px;
  overflow-y: auto;
}

.terminal-input-line{
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 0 30px 28px;
  font-family: monospace;
}

.terminal-input-line input{
  flex: 1;
  background: transparent;
  border: 0;
  outline: 0;
  color: #aaff66;
  font-family: monospace;
  font-size: 1rem;
}

.error{
  color: #ff71ce;
}



.secret-trigger{
  display: block;
  margin: 22px auto 70px;
  padding: 12px 20px;
  border: 1px solid #ff71ce;
  border-radius: 999px;
  background: rgba(255,113,206,.12);
  color: #ff71ce;
  font-weight: 900;
  letter-spacing: .12em;
  cursor: pointer;
  box-shadow: 0 0 16px rgba(255,113,206,.35);
}

.secret-modal{
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(0,0,0,.72);
  z-index: 9999;
}

.secret-modal.active{
  display: grid;
}

.secret-modal-box{
  width: min(520px, 92vw);
  padding: 28px;
  border: 2px solid #7df9ff;
  border-radius: 24px;
  background: #070716;
  color: #dce8ff;
  box-shadow:
    0 0 24px rgba(125,249,255,.55),
    0 0 44px rgba(255,113,206,.28);
  position: relative;
}

.secret-close{
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  background: transparent;
  color: #ff71ce;
  font-size: 2rem;
  cursor: pointer;
}

.secret-modal-box h2{
  color: #aaff66;
  text-shadow: 0 0 10px #aaff66;
}

.secret-modal-box li{
  margin: 8px 0;
  color: #7df9ff;
  font-family: monospace;
}


.storyteller-btn{
  margin-top: -40px;
}

.lore-box{
  max-width: 760px;
}

.lore-text{
  margin-top: 20px;

  max-height: 70vh;
  overflow-y: auto;

  padding-right: 10px;

  text-align: left;

  line-height: 1.9;
}

.lore-text p{
  margin-bottom: 22px;

  color: #dce8ff;
}