@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&family=Space+Mono&display=swap');


/* ==============================
   MIDNIGHT ARCHIVE
   ============================== */


* {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {

    margin: 0;

    background-color: #07152f;

    background-image:

        radial-gradient(
            circle,
            rgba(255,255,255,0.65) 1px,
            transparent 1px
        );

    background-size: 34px 34px;

    color: #dcecff;

    font-family: "Space Mono", monospace;

    min-height: 100vh;

}


/* ESTRELLAS */

.stars {

    position: fixed;

    inset: 0;

    pointer-events: none;

    color: rgba(190,220,255,0.5);

    font-size: 15px;

    line-height: 3;

    z-index: -1;

}


/* HEADER */

header {

    width: min(1100px, 92%);

    margin: 45px auto 18px;

    padding: 38px 20px 30px;

    text-align: center;

    background:

        linear-gradient(
            145deg,
            #0b1e42,
            #122f5a,
            #08152f
        );

    border:

        1px solid #77a9d4;

    box-shadow:

        0 0 0 4px #0a1934,
        0 0 0 5px #3d6c99,
        0 12px 30px rgba(0,0,0,0.35);

}


.small-title {

    color: #9fc9ea;

    font-size: 11px;

    letter-spacing: 4px;

    margin-bottom: 15px;

}


header h1 {

    margin: 0;

    color: #f3f8ff;

    font-family: "Share Tech Mono", monospace;

    font-size: clamp(38px, 7vw, 75px);

    letter-spacing: 8px;

    text-shadow:

        3px 3px #315d89,
        0 0 20px rgba(160,210,255,0.35);

}


.subtitle {

    color: #a9c7e4;

    letter-spacing: 2px;

    font-size: 13px;

}


.header-stars {

    margin-top: 18px;

    color: #b9dfff;

    letter-spacing: 5px;

}


/* MENU */

.navigation {

    width: min(1100px, 92%);

    margin: 0 auto 25px;

    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 5px;

}


.navigation a {

    color: #dcecff;

    text-decoration: none;

    background: #102b52;

    border: 1px solid #5f8fb9;

    padding: 9px 17px;

    font-size: 12px;

    letter-spacing: 1px;

    transition: 0.2s;

}


.navigation a:hover {

    background: #37688f;

    color: white;

    transform: translateY(-2px);

}


.navigation .selected {

    background: #7aa8ca;

    color: #07152f;

    font-weight: bold;

}


/* HOME GRID */

.home-grid {

    width: min(1100px, 92%);

    margin: auto;

    display: grid;

    grid-template-columns: 190px 1fr 190px;

    gap: 15px;

}


/* PANELES */

.panel {

    background: rgba(10,31,62,0.92);

    border: 1px solid #527fa7;

    padding: 16px;

    margin-bottom: 15px;

    box-shadow:

        4px 4px 0 #050d1d;

}


.panel h2 {

    font-family: "Share Tech Mono", monospace;

    font-size: 15px;

    color: #c6e6ff;

    border-bottom: 1px dotted #6f9fc5;

    padding-bottom: 8px;

    margin-top: 0;

}


.panel p {

    font-size: 12px;

    line-height: 1.8;

}


.status {

    color: #9fcbea;

}


.counter {

    font-size: 22px !important;

    color: #ffffff;

}


.music-line {

    color: #86b9df;

}


.mini {

    text-align: center;

    line-height: 2;

}


/* CONTENIDO */

.main-content {

    min-width: 0;

}


.hero,
.featured-poem {

    background:

        linear-gradient(
            135deg,
            #edf5fb,
            #cddfec
        );

    color: #132b47;

    border: 1px solid #8bb1cf;

    padding: 30px;

    margin-bottom: 15px;

    box-shadow:

        5px 5px 0 #050d1d;

}


.hero {

    text-align: center;

}


.hero h2 {

    color: #183e66;

    font-size: 27px;

}


.hero p {

    line-height: 1.9;

    font-size: 14px;

}


.hero-stars {

    color: #42749d;

    font-size: 20px;

}


.divider {

    color: #4f779a;

    margin: 25px 0;

}


.quote {

    font-style: italic;

    color: #456782;

}


/* LIRIO */

.lily-section {

    display: flex;

    align-items: center;

    gap: 20px;

    background: #0c2347;

    border: 1px solid #547fa7;

    padding: 14px;

    margin-bottom: 15px;

    box-shadow:

        5px 5px 0 #050d1d;

}


.lily {

    width: 145px;

    height: 105px;

    object-fit: cover;

    border: 1px solid #91b7d5;

}


.lily-title {

    font-family: "Share Tech Mono", monospace;

    color: #cbe8ff;

    font-size: 18px;

}


/* POEMA DESTACADO */

.section-label {

    color: #527ca0;

    font-size: 11px;

    letter-spacing: 3px;

}


.poem-number {

    font-size: 11px;

    color: #587b99;

}


.featured-poem h2 {

    color: #183e66;

}


.date {

    color: #6083a0;

    font-size: 11px;

}


.button {

    display: inline-block;

    margin-top: 10px;

    padding: 9px 15px;

    background: #234f76;

    border: 1px solid #112d49;

    color: white;

    text-decoration: none;

    font-size: 12px;

}


.button:hover {

    background: #5e8caf;

}


/* PÁGINAS */

.page {

    width: min(1000px, 92%);

    margin: 0 auto 40px;

}


.page-intro {

    background: #dceaf4;

    color: #183650;

    border: 1px solid #7da5c2;

    padding: 30px;

    margin-bottom: 20px;

    text-align: center;

    box-shadow: 5px 5px 0 #050d1d;

}


.page-intro span {

    font-size: 11px;

    letter-spacing: 3px;

}


.page-intro h2 {

    font-size: 32px;

}


/* TARJETAS DE POEMAS */

.poem-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 15px;

}


.poem-card {

    position: relative;

    min-height: 190px;

    padding: 20px;

    background:

        linear-gradient(
            145deg,
            #102d55,
            #0b203f
        );

    border: 1px solid #5f8db3;

    color: #dcecff;

    text-decoration: none;

    box-shadow:

        4px 4px 0 #050d1d;

    transition: 0.2s;

}


.poem-card:hover {

    transform: translateY(-5px);

    background: #173e68;

    border-color: #a3cbea;

}


.poem-card span {

    font-size: 10px;

    color: #91b9d9;

    letter-spacing: 2px;

}


.poem-card h3 {

    font-family: Georgia, serif;

    font-size: 22px;

    font-style: italic;

    font-weight: normal;

    margin-top: 35px;

}


.poem-card small {

    color: #9bb9d1;

}


.poem-card strong {

    position: absolute;

    bottom: 17px;

    right: 18px;

    font-size: 10px;

    color: #c4e4fa;

}


/* FOOTER */

footer {

    width: min(1100px, 92%);

    margin: 30px auto;

    border-top: 1px solid #426888;

    padding: 20px;

    text-align: center;

    color: #7fa3c1;

    font-size: 11px;

    line-height: 1.8;

}


/* RESPONSIVE */

@media (max-width: 850px) {

    .home-grid {

        grid-template-columns: 1fr;

    }

    .poem-grid {

        grid-template-columns: repeat(2, 1fr);

    }

}


@media (max-width: 550px) {

    header h1 {

        letter-spacing: 3px;

    }

    .poem-grid {

        grid-template-columns: 1fr;

    }

    .lily-section {

        flex-direction: column;

        text-align: center;

    }

}