/* mitoloxia disidente */
*,
::before,
::after {
    box-sizing: border-box;
}

:root {
    --deep-night: #0f1423;
    --midnight-blue: #141d35;
    --dark-teal: #0d2b35;
    --ancient-gold: #c5a032;
    --gold-bright: #e8c96a;
    --gold-hover: #b08a20;
    --copper: #9b6a3b;
    --ivory: #f0e8d0;
    --ivory-dim: rgba(240, 232, 208, 0.75);
    --text-light: #ddd4bb;
    --text-muted: rgba(224, 210, 180, 0.6);
    --white: #ffffff;
    --card-bg: rgba(14, 20, 40, 0.78);
    --card-border: rgba(197, 160, 50, 0.25);

    --font-elegant: 'Montserrat', sans-serif;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-elegant);
    background-color: var(--deep-night);
    color: var(--text-light);
    overflow-x: hidden;
    min-height: 100vh;
}

/* FONDO: IMAGEN + GRADIENTE OSCURO SUPERPUESTO */
.background-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.bg-image-layer {
    position: absolute;
    inset: 0;
    background-image: url('images/mitoloxia_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.55;
}

.bg-gradient-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(197, 160, 50, 0.06) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 70%, rgba(13, 43, 53, 0.5) 0%, transparent 60%),
        linear-gradient(160deg, rgba(15, 20, 35, 0.72) 0%, rgba(10, 15, 28, 0.85) 100%);
}

/* SVG Decorativos flotantes mitológicos */
.myth-svg-layer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* Luna creciente - esquina superior izquierda */
.myth-svg-moon {
    position: absolute;
    top: 6%;
    left: 4%;
    width: 120px;
    opacity: 0.18;
    animation: myth-drift-slow 18s ease-in-out infinite;
    filter: drop-shadow(0 0 12px rgba(197, 160, 50, 0.4));
}

/* Constelaciones - área superior derecha */
.myth-svg-constellation {
    position: absolute;
    top: 8%;
    right: 6%;
    width: 180px;
    opacity: 0.15;
    animation: myth-drift-slow 25s ease-in-out infinite 3s;
}

/* Ánfora griega - esquina inferior derecha */
.myth-svg-amphora {
    position: absolute;
    bottom: 8%;
    right: 5%;
    width: 90px;
    opacity: 0.14;
    animation: myth-drift-slow 22s ease-in-out infinite 1s reverse;
    filter: drop-shadow(0 0 8px rgba(197, 160, 50, 0.3));
}

/* Hilo de Penélope - centro izquierda */
.myth-svg-thread {
    position: absolute;
    top: 42%;
    left: 3%;
    width: 100px;
    opacity: 0.12;
    animation: myth-drift-slow 30s ease-in-out infinite 6s;
}

/* Serpiente - esquina inferior izquierda */
.myth-svg-serpent {
    position: absolute;
    bottom: 12%;
    left: 5%;
    width: 110px;
    opacity: 0.13;
    animation: myth-drift-slow 20s ease-in-out infinite 4s reverse;
    filter: drop-shadow(0 0 8px rgba(155, 106, 59, 0.4));
}

/* Corona de laurel - centro derecha */
.myth-svg-laurel {
    position: absolute;
    top: 50%;
    right: 4%;
    width: 85px;
    opacity: 0.16;
    animation: myth-drift-slow 16s ease-in-out infinite 2s;
    filter: drop-shadow(0 0 6px rgba(197, 160, 50, 0.35));
}

/* Partículas de estrellas */
.myth-stars {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(1.5px 1.5px at 15% 20%, rgba(197, 160, 50, 0.6) 0%, transparent 100%),
        radial-gradient(1px 1px at 30% 60%, rgba(240, 232, 208, 0.5) 0%, transparent 100%),
        radial-gradient(2px 2px at 55% 12%, rgba(197, 160, 50, 0.45) 0%, transparent 100%),
        radial-gradient(1px 1px at 70% 40%, rgba(240, 232, 208, 0.4) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 85% 25%, rgba(197, 160, 50, 0.5) 0%, transparent 100%),
        radial-gradient(1px 1px at 42% 80%, rgba(240, 232, 208, 0.35) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 90% 70%, rgba(197, 160, 50, 0.4) 0%, transparent 100%),
        radial-gradient(1px 1px at 62% 52%, rgba(240, 232, 208, 0.3) 0%, transparent 100%),
        radial-gradient(2px 2px at 8% 75%, rgba(197, 160, 50, 0.35) 0%, transparent 100%),
        radial-gradient(1px 1px at 22% 38%, rgba(240, 232, 208, 0.45) 0%, transparent 100%);
    animation: stars-twinkle 6s ease-in-out infinite alternate;
}

@keyframes myth-drift-slow {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33%       { transform: translate(6px, -14px) rotate(4deg); }
    66%       { transform: translate(-6px, 8px) rotate(-3deg); }
}

@keyframes stars-twinkle {
    from { opacity: 0.7; }
    to   { opacity: 1; }
}

/* LAYOUT */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 20px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.poster-card {
    background: var(--card-bg);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: 24px;
    padding: 50px 40px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.55),
        0 0 0 1px var(--card-border),
        inset 0 1px 0 rgba(197, 160, 50, 0.12);
    margin-bottom: 45px;
    animation: fadeInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

/* Borde superior dorado sutil */
.poster-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(197, 160, 50, 0.6), transparent);
}

.names-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.artist-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ancient-gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 0 20px rgba(197, 160, 50, 0.35);
}

.title-banner {
    background: linear-gradient(135deg, #1c2d5a 0%, #0d1a3a 100%);
    border: 1px solid rgba(197, 160, 50, 0.3);
    padding: 15px 40px;
    display: inline-block;
    position: relative;
    margin: 20px 0 30px;
    box-shadow:
        0 5px 25px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(197, 160, 50, 0.08);
}

.title-banner::before,
.title-banner::after {
    content: '';
    position: absolute;
    top: 0;
    width: 0;
    height: 0;
    border-style: solid;
}

.title-banner::before {
    left: -20px;
    border-width: 30px 20px 30px 0;
    border-color: transparent #1c2d5a transparent transparent;
}

.title-banner::after {
    right: -20px;
    border-width: 30px 0 30px 20px;
    border-color: transparent transparent transparent #0d1a3a;
}

.main-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--gold-bright);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.1;
    white-space: nowrap;
    text-shadow: 0 0 30px rgba(232, 201, 106, 0.4);
}

.poster-image {
    width: 100%;
    max-width: 480px;
    height: auto;
    border-radius: 16px;
    box-shadow:
        0 15px 50px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(197, 160, 50, 0.15);
    margin: 0 auto 35px;
    display: block;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.poster-image:hover {
    transform: scale(1.02);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(197, 160, 50, 0.3);
}

.description-container {
    max-width: 720px;
    margin: 0 auto 40px;
    text-align: left;
}

.description {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-light);
    margin-bottom: 20px;
    opacity: 0.9;
}

.description:last-child {
    margin-bottom: 0;
}

/* INFO GRID */
.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 40px;
}

@media (min-width: 700px) {
    .info-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.info-item {
    background: rgba(197, 160, 50, 0.06);
    border: 1px solid rgba(197, 160, 50, 0.15);
    padding: 16px 14px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: background 0.25s ease, border-color 0.25s ease;
}

.info-item:nth-child(1) {
    grid-column: 1 / -1;
}

@media (min-width: 700px) {
    .info-item:nth-child(1) {
        grid-column: span 1;
    }
    .info-item:nth-child(4) {
        grid-column: 1 / -1;
    }
}

.info-item:hover {
    background: rgba(197, 160, 50, 0.1);
    border-color: rgba(197, 160, 50, 0.3);
}

.info-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--ancient-gold);
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.info-value {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.5;
    color: var(--parchment-light);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* BOTONES */
.btn-container {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: var(--font-elegant);
}

.btn-download {
    background: linear-gradient(135deg, var(--ancient-gold), var(--copper));
    color: var(--deep-night);
    border: none;
    box-shadow: 0 4px 20px rgba(197, 160, 50, 0.3);
    letter-spacing: 0.5px;
}

.btn-download:hover {
    background: linear-gradient(135deg, var(--gold-bright), var(--ancient-gold));
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(197, 160, 50, 0.45);
}

.btn-secondary {
    background: rgba(197, 160, 50, 0.08);
    color: var(--ancient-gold);
    border: 1.5px solid rgba(197, 160, 50, 0.35);
    letter-spacing: 0.5px;
}

.btn-secondary:hover {
    background: rgba(197, 160, 50, 0.15);
    border-color: rgba(197, 160, 50, 0.6);
    transform: translateY(-2px);
}

/* FOOTER */
.footer {
    padding: 30px 20px;
    margin-top: 60px;
    border-top: 1px solid rgba(197, 160, 50, 0.12);
    text-align: center;
}

.copyright {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
    color: var(--text-muted);
    margin: 0;
}

.copyright a {
    color: var(--ancient-gold);
    text-decoration: none;
    font-weight: 700;
}

.copyright a:hover {
    text-decoration: underline;
}

/* ANIMACIONES */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .container {
        padding: 40px 15px;
    }

    .poster-card {
        padding: 30px 20px;
    }

    .main-title {
        font-size: 1.6rem;
        white-space: normal;
    }

    .info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .myth-svg-moon,
    .myth-svg-amphora,
    .myth-svg-serpent,
    .myth-svg-laurel {
        width: 70px;
    }

    .myth-svg-constellation,
    .myth-svg-thread {
        width: 100px;
    }
}

@media (max-width: 480px) {
    .info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}