/* latin-ext */
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/cinzel/v26/8vIJ7ww63mVu7gt7-GT7LEc.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/cinzel/v26/8vIJ7ww63mVu7gt79mT7.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/cinzel/v26/8vIJ7ww63mVu7gt7-GT7LEc.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/cinzel/v26/8vIJ7ww63mVu7gt79mT7.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/cinzel/v26/8vIJ7ww63mVu7gt7-GT7LEc.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/cinzel/v26/8vIJ7ww63mVu7gt79mT7.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin */
@font-face {
  font-family: 'Share Tech Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/sharetechmono/v16/J7aHnp1uDWRBEqV98dVQztYldFcLowEF.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --void-black: #050505;
    --blood-god: #8a0b0b;
    --plasma-glow: #ff3333;
    --imperial-gold: #c6a34d;
    --dirty-gold: #8c7335;
    --plasteel: #2f353b;
    --mechanicus-green: #23382c;
    --parchment: #c2bbad;
    --crt-line: rgba(18, 16, 16, 0.5);
}

body {
    font-family: 'Share Tech Mono', monospace;
    background-color: var(--void-black);
    color: var(--parchment);
    letter-spacing: 1px;
    overflow-x: hidden;
    position: relative;
}

/* CRT */
body::after {
    content: " ";
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    z-index: 1000;
    background-size: 100% 2px, 3px 100%;
    pointer-events: none;
}

/* SECCIONES Y TITULOS */
section {
    padding: 80px 20px !important;
    max-width: 1200px !important;
    margin: auto !important;
    scroll-margin-top: 40px;
}

.section-title {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    color: var(--parchment);
    text-transform: uppercase;
    position: relative;
    letter-spacing: 2px;
}

.section-title::before, .section-title::after {
    content: "+++";
    color: var(--dirty-gold);
    margin: 0 15px;
    font-size: 1.5rem;
    vertical-align: middle;
}

/* SPIN */
.spin-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}

.spin-background img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
  transition: opacity 0.3s ease;
}

/* BOTONES */
.btn-imperial {
    display: inline-block;
    padding: 15px 40px;
    background: #000;
    border: 1px solid var(--imperial-gold);
    color: var(--imperial-gold);
    font-family: 'Cinzel', serif;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: 0.4s;
    position: relative;
    overflow: hidden;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    text-decoration: none;
}

.btn-imperial:hover {
    background: var(--blood-god);
    color: #fff;
    border-color: var(--plasma-glow);
    box-shadow: 0 0 20px var(--blood-god);
    text-shadow: 0 0 5px #fff;
}

/* FOTOS */
.foto-frame {
    position: relative;
    border: 2px solid var(--plasteel);
    padding: 5px;
    background: #000;
    transition: 0.3s;
    height: 100%;
}

.foto-frame:hover {
    border-color: var(--imperial-gold);
    transform: translateY(-5px);
}

.foto-placeholder {
    height: 300px;
    background: radial-gradient(circle, #222, #000);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #444;
    border: 1px solid #222;
}

.foto-placeholder span {
    font-size: 3rem;
    margin-bottom: 10px;
}

.foto-caption {
    background: var(--plasteel);
    color: #aaa;
    padding: 10px;
    font-size: 0.8rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* FORMULARIO */
.tech-input, .tech-textarea {
    width: 100%;
    padding: 15px;
    background-color: rgba(0,0,0,0.7);
    border: 1px solid var(--plasteel);
    color: var(--imperial-gold);
    font-family: 'Share Tech Mono', monospace;
    font-size: 1rem;
    transition: 0.3s;
}

.tech-input:focus, .tech-textarea:focus {
    outline: none;
    border-color: var(--blood-god);
    box-shadow: 0 0 10px rgba(138, 11, 11, 0.3);
    background-color: #000;
}

@keyframes textFlicker {
    0%, 95%, 97%, 99%, 100% { opacity: 1; }
    96% { opacity: 0.8; }
    98% { opacity: 0.5; }
}

h1, h2 { animation: textFlicker 5s infinite; }

@media (max-width: 991.98px) {
  section {
    padding: 60px 16px !important;
  }

  .section-title {
    font-size: 2rem;
  }

  .section-title::before,
  .section-title::after {
    margin: 0 10px;
    font-size: 1.1rem;
  }

  .foto-placeholder {
    height: 240px;
  }

  .btn-imperial {
    padding: 12px 28px;
    font-size: 0.9rem;
  }

  .tech-input,
  .tech-textarea {
    font-size: 0.95rem;
  }
}

@media (max-width: 575.98px) {
  section {
    padding: 40px 12px !important;
  }

  .section-title {
    font-size: 1.6rem;
    letter-spacing: 1px;
  }

  .section-title::before,
  .section-title::after {
    margin: 0 8px;
    font-size: 1rem;
  }

  .foto-placeholder {
    height: 200px;
  }

  .foto-placeholder span {
    font-size: 2.5rem;
  }

  .foto-caption {
    font-size: 0.75rem;
  }

  .btn-imperial {
    width: 100%;
    text-align: center;
  }
}