/* ===== Variables de Color ===== */
:root {
    /* Invertir paleta: beige como primario, granate como acento/texto */
    --color-primary: #f5e6d3; /* beige (antes granate) */
    --color-secondary: #e6d5c8; /* beige secundario */
    --color-accent: #3a0d17; /* granate (antes acento beige) */
    --color-accent-light: #5c1a2a; /* tono granate más claro */
    --color-text-dark: #3a0d17; /* texto principal en granate */
    --color-text-light: #5c1a2a; /* texto secundario/grisado en granate */
    --color-beige-dark: #b08a6a; /* beige oscuro para bordes */
    --color-border: #8b2d3f;
    --font-elegant: 'Playfair Display', 'Georgia', serif;
    --font-body: 'Lato', 'Arial', sans-serif;
    --transition: all 0.3s ease;
    --color-overlay: rgba(245, 230, 211, 0.75); /* overlay beige semitransparente */
}

/* ===== Reset y Estilos Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-dark);
    background-color: var(--color-primary);
    background-image: url('../img/damasco.png');
    background-attachment: fixed;
    background-size: auto;
    background-repeat: repeat;
    line-height: 1.6;
    position: relative;
}

/* ===== Tipografía ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-elegant);
    color: var(--color-text-dark);
    margin-bottom: 1.5rem;
    font-weight: 400;
    letter-spacing: 1px;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--color-accent);
    border-radius: 2px;
}

h3 {
    font-size: 1.8rem;
    color: var(--color-accent);
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}

p {
    color: var(--color-text-light);
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.8;
}

/* ===== Header y Navegación ===== */
header {
    background-color: var(--color-primary);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Header actions (botón blanco/negro) */
.bw-toggle {
    position: fixed;
    left: 20px;
    bottom: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 36px;
    padding: 6px 10px;
    background: transparent;
    border: 2px solid var(--color-accent);
    color: var(--color-accent);
    border-radius: 8px;
    cursor: pointer;
    font-family: var(--font-elegant);
    font-weight: 600;
    transition: var(--transition);
    z-index: 1200;
}

.bw-toggle:hover {
    transform: translateY(-2px);
}

.bw-toggle.bw-on {
    background: var(--color-accent);
    color: var(--color-primary);
}

.bw-toggle:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(212,165,116,0.12);
}

/* SVG inside toggle */
.bw-toggle svg { width: 18px; height: 18px; display: block; }

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 1.5rem;
}

nav a {
    text-decoration: none;
    color: var(--color-text-dark);
    font-family: var(--font-elegant);
    font-size: 1.1rem;
    transition: var(--transition);
    position: relative;
    letter-spacing: 0.5px;
}

nav a::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: var(--transition);
}

nav a:hover::before {
    width: 100%;
}

nav a:hover {
    color: var(--color-text-light);
}

/* Enlace activo (sección actual) */
nav a.active {
    color: var(--color-accent);
}

nav a.active::before {
    width: 100%;
}

/* Hacer el enlace activo más visible */
nav a.active {
    font-weight: 600;
    transform: translateY(-1px);
}

/* ===== Main Content ===== */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

section {
    padding: 4rem 2rem;
    min-height: auto;
}

/* ===== Sección Inicio ===== */
#inicio {
    background:
        linear-gradient(135deg, rgba(245, 230, 211, 0.8) 0%, rgba(230, 213, 200, 0.8) 100%),
        url('../img/damasco.png'),
        url('../img/foto_javi_laura_cancun_bw.jpeg') center top / cover no-repeat;
    background-attachment: fixed, fixed, scroll;
    background-size: auto, auto, contain;
    text-align: center;
    /* reducir padding-top para subir el contenido sin solapar la foto */
    padding: 3.5rem 2rem 6rem;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Pseudo-elemento para la foto de fondo con mejor control */
#inicio::before {
    content: '';
    position: absolute;
    /* desplazar la foto ligeramente hacia abajo y reducir altura para evitar que el título tape la cara */
    top: 3%;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 88%;
    background: url('../img/9.png') center 65% / cover no-repeat;
    background-attachment: scroll;
    opacity: 0.40;
    z-index: 0;
    pointer-events: none;
}

#inicio>* {
    position: relative;
    z-index: 1;
}

#inicio h1 {
    font-size: 4.5rem;
    color: var(--color-accent-light);
    /* quitar margen negativo: controlamos la posición con padding del contenedor */
    margin-top: 0;
    margin-bottom: 0.5rem;
    animation: slideInDown 0.8s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

#inicio h1::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    margin: 1.5rem auto;
    border-radius: 2px;
}

#inicio p:first-of-type {
    font-size: 1.8rem;
    color: var(--color-accent);
    font-style: italic;
    margin-bottom: 2rem;
    font-family: var(--font-elegant);
}

#inicio p:last-of-type {
    font-size: 1.2rem;
    color: var(--color-text-light);
    margin-top: 2rem;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Secciones Generales ===== */
section {
    background: linear-gradient(135deg, rgba(245, 230, 211, 0.8) 0%, rgba(230, 213, 200, 0.8) 100%), url('../img/damasco.png');
    background-attachment: fixed;
    background-size: auto;
}

section:nth-child(even) {
    background: linear-gradient(135deg, rgba(230, 213, 200, 0.85) 0%, rgba(245, 230, 211, 0.85) 100%), url('../img/damasco.png');
    background-attachment: fixed;
    background-size: auto;
}

section p {
    text-align: justify;
}

/* ===== Sección Evento ===== */
#evento {
    padding: 4rem 2rem;
}

.event-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.event-card {
    background: linear-gradient(135deg, rgba(245, 230, 211, 0.9) 0%, rgba(230, 213, 200, 0.9) 100%);
    padding: 0;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35), inset 0 0 20px rgba(212, 165, 116, 0.1);
    transition: var(--transition);
    border-left: 5px solid var(--color-accent);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.event-card-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.event-card-content {
    padding: 2rem;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(211, 47, 47, 0.12);
}

.event-card h3 {
    color: var(--color-accent);
    margin-top: 0;
    margin-bottom: 1rem;
}

.event-card p {
    margin-bottom: 0.8rem;
}

.map-button {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.8rem 1.5rem;
    background-color: var(--color-accent);
    color: var(--color-primary);
    border: none;
    border-radius: 4px;
    font-family: var(--font-elegant);
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.5px;
    font-weight: 500;
}

.map-button:hover {
    background-color: var(--color-accent-light);
    color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 165, 116, 0.3);
}

.map-button:active {
    transform: translateY(0);
}

/* ===== Sección Galería ===== */

/* Galería eliminada - estilos removidos */

/* ===== Sección Confirmación ===== */
#confirmacion {
    padding: 4rem 2rem;
}

form {
    max-width: 500px;
    margin: 2rem auto;
    display: grid;
    gap: 1.5rem;
}

input,
select,
textarea {
    padding: 1rem 1.2rem;
    border: 2px solid var(--color-accent);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text-dark);
    transition: var(--transition);
    background-color: rgba(245, 230, 211, 0.95);

}

input::placeholder,
textarea::placeholder {
    color: var(--color-accent);
    opacity: 0.7;
}
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--color-accent-light);
    box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.2);
    background-color: rgba(245, 230, 211, 1);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===== Botones ===== */
button,
input[type="submit"] {
    padding: 1rem 2rem;
    background-color: var(--color-accent);
    color: var(--color-primary);
    border: none;
    border-radius: 4px;
    font-family: var(--font-elegant);
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 1px;
    font-weight: 500;
}

button:hover,
input[type="submit"]:hover {
    background-color: var(--color-accent-light);
    color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 165, 116, 0.4);
}

button:active,
input[type="submit"]:active {
    transform: translateY(0);
}

/* ===== Footer ===== */
footer {
    background-color: var(--color-text-dark);
    color: var(--color-primary);
    text-align: center;
    padding: 2rem;
    margin-top: 2rem;
    border-top: 3px solid var(--color-accent);
}

/* ===== Botón flotante de música (simple, altavoz granate, tachado cuando está apagado) ===== */
#music-toggle {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--color-primary);
    border: 2px solid rgba(138, 45, 63, 0.12);
    color: var(--color-accent); /* controla el color del icono (SVG usa currentColor) */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    cursor: pointer;
    z-index: 1200;
    padding: 0;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

#music-toggle:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(138,45,63,0.08);
    transform: translateY(-2px);
}

#music-toggle .music-svg {
    width: 28px;
    height: 28px;
    display: block;
}

/* Por defecto ocultamos las ondas y la raya de mute; se mostrarán según la clase del botón */
#music-toggle .icon-wave { display: none; }
#music-toggle .icon-muted { display: none; }

/* Estado: música activa -> mostrar ondas, ocultar raya */
#music-toggle.music-on .icon-wave { display: block; }
#music-toggle.music-on .icon-muted { display: none; }

/* Estado: música inactiva -> ocultar ondas, mostrar raya (tachado) */
#music-toggle.music-off .icon-wave { display: none; }
#music-toggle.music-off .icon-muted { display: block; }

/* Ajustes visuales para trazos del SVG (cuando se muestra la raya, que sea claramente visible) */
#music-toggle .icon-muted path { stroke: currentColor; stroke-width: 2; }


footer p {
    color: var(--color-primary);
    margin: 0;
}

#founder {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    font-style: italic;
    color: var(--color-primary);
}

/* ===== Media Queries - Tablet ===== */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    #inicio {
        padding: 2.5rem 1rem 4.5rem;
        min-height: 70vh;
    }

    #inicio h1 {
        font-size: 3rem;
        margin-top: 0;
    }

    #inicio p:first-of-type {
        font-size: 1.5rem;
    }

    nav ul {
        gap: 1rem;
        padding: 1rem;
    }

    nav a {
        font-size: 0.95rem;
    }

    .event-details {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .event-card-image {
        height: 250px;
    }

    section {
        padding: 2rem 1rem;
    }
}

/* ===== Media Queries - Móvil ===== */
@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    #inicio {
        padding: 2rem 1rem;
        min-height: 60vh;
    }

    #inicio h1 {
        font-size: 2.2rem;
        margin-bottom: 0.5rem;
        margin-top: 0;
    }

    #inicio h1::after {
        width: 80px;
    }

    #inicio p:first-of-type {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }

    nav ul {
        gap: 0.8rem;
        padding: 0.8rem;
        /* Mostrar en línea horizontal en móvil */
        flex-direction: row;
        align-items: center;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    nav a {
        font-size: 0.9rem;
    }

    .event-details {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .event-card-image {
        height: 220px;
    }

    .event-card-content {
        padding: 1.5rem;
    }

    section {
        padding: 1.5rem 1rem;
    }

    form {
        margin: 1.5rem 1rem;
        gap: 1rem;
    }

    input,
    select,
    textarea,
    button {
        font-size: 0.95rem;
        padding: 0.8rem 1rem;
    }

    button,
    input[type="submit"] {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

/* ===== Extras ===== */
.highlight {
    color: var(--color-accent);
    font-weight: 500;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    text-decoration: underline;
    color: var(--color-accent-light);
}

/* Scrollbar personalizado */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--color-accent);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-accent-light);
}

/* ===== Intro tipo sobre ===== */

body.intro-active {
    overflow: hidden;
    background-color: var(--color-secondary);
    background-image: none;
}

/* Capa que cubre toda la pantalla al inicio */
#intro-overlay {
    position: fixed;
    inset: 0;
    background: var(--color-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    pointer-events: auto;
    animation: introFadeOut 0.9s ease 3.8s forwards;
    perspective: 1400px;
}

/* CONTENEDOR DEL SOBRE */
.intro-envelope {
    position: relative;
    width: min(82vw, 540px);
    height: min(58vw, 320px);
    /* “rectángulo” exterior del sobre (parte trasera) */
    background: var(--color-primary);
    border-radius: 14px;
    box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.45),
        0 0 0 2px rgba(212, 165, 116, 0.65);
    /* borde exterior más visible */
    border: 2px solid var(--color-beige-dark);
    transform-origin: center;
    transform-style: preserve-3d;
    overflow: visible;
    animation: envelopeZoom 1.6s ease-in-out 2.4s forwards;
}

/* Base trasera del sobre (imitando el cerrado verde) */
.intro-envelope::before {
    content: '';
    position: absolute;
    inset: 10% 8% 10%;
    background: var(--color-primary);
    border-radius: 12px;
    box-shadow:
        inset 0 0 0 1px var(--color-beige-dark);
    /* leve dibujo de las solapas inferiores */
    background-image:
        linear-gradient(135deg, transparent 48%, rgba(0, 0, 0, 0.08) 49%, transparent 51%),
        linear-gradient(225deg, transparent 48%, rgba(0, 0, 0, 0.08) 49%, transparent 51%);
    background-size: 50% 45%;
    background-position: left bottom, right bottom;
    background-repeat: no-repeat;
    z-index: 0;
}

/* PANEL INTERIOR (bolsillo) CON DAMASCO: al principio oculto (sobre cerrado) */
.intro-envelope-inner {
    position: absolute;
    inset: 14% 10% 12%;
    background-image: url('../img/damasco.png');
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    box-shadow: inset 0 0 25px rgba(0, 0, 0, 0.35);
    opacity: 0;
    z-index: 1;
    animation: pocketReveal 1.4s ease 1.3s forwards;
}

.intro-envelope-body {
    position: absolute;
    inset: 26% 14% 18%;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 3;
    opacity: 0;
    animation: cardFadeIn 1s ease 1.7s forwards;
}

/* Tarjeta física */
.intro-envelope-body::before {
    content: '';
    position: absolute;
    inset: 8%;
    background: var(--color-primary);
    border-radius: 12px;
    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(212, 165, 116, 0.9);
    z-index: 0;
}

/* Texto de la tarjeta */
.intro-names,
.intro-date {
    position: relative;
    z-index: 1;
}

.intro-names {
    font-family: var(--font-elegant);
    font-size: 2.2rem;
    letter-spacing: 3px;
    color: var(--color-accent);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
    margin-bottom: 0.4rem;
}

.intro-date {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-accent);
    letter-spacing: 4px;
    text-transform: uppercase;
}

/* FLAP SUPERIOR (parte externa crema) */
.intro-envelope-flap {
    position: absolute;
    top: 6%;
    left: 10%;
    right: 10%;
    height: 55%;
    background: var(--color-primary);
    /* usar punta completa para evitar rombo en la punta al rotar */
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    transform-origin: top center;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35);
    z-index: 2;
    transform-style: preserve-3d;
    backface-visibility: visible;
    animation: flapOpenGreen 1.4s cubic-bezier(0.23, 0.84, 0.41, 1.16) 0.5s forwards;
}

/* Interior del flap (forro damasco) */
.intro-envelope-flap::before {
    content: '';
    position: absolute;
    inset: 7%;
    /* forro damasco: asegurar que cubre todo y se alinea centrado */
    background-image: url('../img/damasco.png');
    background-size: cover;
    background-position: center center;
    clip-path: inherit;
    backface-visibility: hidden;
    transform: rotateX(180deg) translateZ(0);
    /* cara interior para cuando el flap se abre */
}

/* añadir pseudo para dar borde/relieve a la solapa (triángulo) */
.intro-envelope-flap::after {
    content: '';
    position: absolute;
    /* hacerlo un poco más grande que la solapa para crear un contorno */
    top: -6%;
    left: -6%;
    width: 112%;
    height: 112%;
    clip-path: inherit;
    background: var(--color-beige-dark); /* borde/relieve en beige oscuro */
    z-index: 3; /* superponer ligeramente para que el contorno sea claramente visible */
    pointer-events: none;
    transform-origin: center;
    /* drop-shadow respeta la transparencia del clip-path y ayuda a definir el borde */
    filter: drop-shadow(0 10px 22px rgba(0,0,0,0.28));
    /* ligera línea interior para separar con la solapa (sutil) */
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
    opacity: 0.95;
}

/* === ANIMACIONES === */

/* Flap: de cerrado (como sobre verde) a abierto y quedándose arriba */
@keyframes flapOpenGreen {
    0% {
        transform: rotateX(0deg);
        /* cerrado apuntando hacia abajo */
    }

    45% {
        transform: rotateX(-110deg);
        /* apertura */
        box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
    }

    100% {
        transform: rotateX(-140deg);
        /* se queda abierto, visible por detrás */
        box-shadow: 0 0 12px rgba(0, 0, 0, 0.25);
    }
}

/* Aparición del bolsillo interior damasco cuando el flap ya va abriéndose */
@keyframes pocketReveal {
    0% {
        opacity: 0;
    }

    40% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* Aparición suave de la tarjeta crema con el texto */
@keyframes cardFadeIn {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Zoom total del sobre antes de irse y dar paso a la web */
@keyframes envelopeZoom {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(3);
        opacity: 0;
    }
}

/* Fade del overlay completo */
@keyframes introFadeOut {
    0% {
        opacity: 1;
        visibility: visible;
    }

    100% {
        opacity: 0;
        visibility: hidden;
    }
}

/* Responsive fino para móviles */
@media (max-width: 480px) {
    .intro-envelope {
        width: 94vw;
        height: 62vw;
    }

    .intro-envelope::before {
        inset: 12% 8% 12%;
    }

    .intro-envelope-inner {
        inset: 18% 11% 14%;
    }

    .intro-envelope-body {
        inset: 30% 15% 20%;
        padding: 1.6rem 1.1rem;
    }

    .intro-names {
        font-size: 1.8rem;
    }

    .intro-date {
        font-size: 0.85rem;
    }
}

/* Ajustes para la foto en móviles: centrar y ocupar más ancho */
@media (max-width: 768px) {
    #inicio::before {
        width: 90%;
        left: 50%;
        transform: translateX(-50%);
        background-position: center center;
        opacity: 0.28;
    }
}

/* ===== Botón de Música (flotante) ===== */
#music-toggle {
    position: fixed;
    right: 20px;
    bottom: 22px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: transparent;
    border: 0;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1200;
}

#music-toggle .music-svg { color: var(--color-accent); }

/* States */
#music-toggle.music-off .music-svg { opacity: 0.9; color: rgba(58,13,23,0.6); }
#music-toggle.music-on .music-svg { opacity: 1; color: var(--color-accent); }
#music-toggle .music-svg .icon-wave { opacity: 0.9; }
#music-toggle.music-off .music-svg .icon-wave { opacity: 0.0; }
#music-toggle.music-on .music-svg .icon-wave { opacity: 1; }
#music-toggle .music-svg .icon-muted { opacity: 0; }
#music-toggle.music-off .music-svg .icon-muted { opacity: 0; }
#music-toggle.music-muted .music-svg .icon-muted { opacity: 1; color: var(--color-accent); }
#music-toggle.music-muted .music-svg .icon-wave { opacity: 0; }

@media (max-width: 480px) {
    #music-toggle { right: 12px; bottom: 18px; width:48px; height:48px; }
}