@font-face {
    font-family: 'Andale Mono';
    src: url('Andale Mono.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --color-bg: #000000;
    --color-text: #ffffff;
    --color-accent: #ff2a2a; /* Red from the glasses */
    --font-main: 'Andale Mono', monospace, sans-serif;
    --spacing-edge: 40px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    width: 100%;
    height: 100%;
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-main);
    overflow-x: hidden;
    text-transform: uppercase;
}

/* Background & Parallax */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 0;
    overflow: hidden;
}

.background-image {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background-image: url('FONDO PAGINA.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.7; /* Darken slightly for text readability */
    /* Filter to enhance the red glasses if needed */
    filter: contrast(1.1) brightness(0.8);
}

/* Content Overlay Layer */
.content-overlay {
    position: relative;
    z-index: 10;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: var(--spacing-edge);
}

/* Typography styles */
a {
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

a:hover, button:hover {
    color: var(--color-accent);
    text-shadow: 0 0 10px rgba(255, 42, 42, 0.5);
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.header-left {
    flex: 1;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.header-left .logo {
    height: 150px;
    width: auto;
    filter: brightness(0) invert(1); /* Force logo to be pure white */
}

.header-center {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.artist-name {
    font-size: 1.2rem;
    font-weight: normal;
    letter-spacing: 0.2em;
}

.contact-email {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    opacity: 0.7;
}

.header-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.header-right a {
    font-size: 0.9rem;
    letter-spacing: 0.15em;
}

/* Main Hero Content */
.hero {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
}

.ep-label {
    font-size: 1rem;
    letter-spacing: 0.3em;
    font-weight: 300;
    opacity: 0.8;
}

.ep-title {
    font-size: clamp(3rem, 8vw, 7rem);
    line-height: 1;
    letter-spacing: 0.15em;
    font-weight: bold;
    margin: 10px 0;
}

.ep-date {
    font-size: 1.2rem;
    letter-spacing: 0.2em;
    margin-bottom: 30px;
}

/* Audio Preview Button */
.preview-btn {
    background: transparent;
    border: none;
    color: var(--color-text);
    font-family: var(--font-main);
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    font-size: 1.1rem;
    letter-spacing: 0.15em;
    transition: all 0.3s ease;
}

.play-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--color-text);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.preview-btn:hover .play-icon, .preview-btn.playing .play-icon {
    background-color: var(--color-accent);
    box-shadow: 0 0 15px var(--color-accent);
}

.triangle {
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 10px solid var(--color-bg);
    margin-left: 3px; /* visual center adjustment */
    transition: all 0.3s ease;
}

/* Pause icon state */
.preview-btn.playing .triangle {
    border: none;
    width: 10px;
    height: 12px;
    border-left: 3px solid var(--color-bg);
    border-right: 3px solid var(--color-bg);
    background-color: transparent;
    margin-left: 0;
}

/* Footer */
.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    font-size: 0.9rem;
    letter-spacing: 0.15em;
}

.footer-left {
    flex: 1;
    display: flex;
    justify-content: flex-start;
    gap: 15px;
    align-items: center;
}

.footer-center {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.copyright {
    font-size: 0.65rem;
    opacity: 0.5;
    letter-spacing: 0.1em;
}

.footer-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    align-items: center;
}

.separator {
    opacity: 0.5;
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 900px) {
    :root {
        --spacing-edge: 20px;
    }
    .header {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    .header-left, .header-center, .header-right {
        justify-content: center;
        align-items: center;
    }
    .header-left .logo {
        height: 110px;
        margin-top: -10px;
    }
    .footer {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        margin-top: 40px;
    }
    .footer-left, .footer-center, .footer-right {
        justify-content: center;
    }
}
