    :root {
    --bg-2: #21181d;
    --bg-4: #2b2026;
    --bg-6: #49323d;
    --bg-6-hover: #59404d;
    --surface-2: #34262e;
    --outline: #624552;
    --text: #f2e6ea;
    --text-8: #fff7fa;
    --text-9: #c9aeb9;
    --text-10: #ffeef4;
    --border: rgba(255, 255, 255, .07);
    --button-bar: #9b6178;
    --button-bar-hover: #b16e89;
    --pink: #e99ab5;
    --dialog-bg: #34262e;
    --dialog-border: #ffffff12;
    --cerrar-dialog: #49323d;
    --cerrar-dialog-hover: #59404d;
    }

    *{
    margin:0;
    padding:0;
    box-sizing:border-box;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    }

    ::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
    }

    body {
    margin: 0;
    padding: 22px;
    min-height: 100dvh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    font-family: Inter, Segoe UI, sans-serif;
    background:
        radial-gradient(circle at top, #573545 0%, transparent 45%),
        radial-gradient(circle at bottom, #33242c 0%, transparent 50%),
    var(--bg-2);
    color: var(--text);
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
    }

    .columna {
    position: relative;
    width: 100%;
    max-width: 420px;
    }

    .puffle {
    position: absolute;
    bottom: 100%;
    left: 50%;
    width: 180px;
    z-index: 1;
    filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .45));
    transform: translateX(-50%) translateY(58%);
    animation: puffleFloat 2.5s ease-in-out infinite;
    will-change: transform;
    }

    @keyframes puffleFloat {
    0% {
    transform: translateX(-50%) translateY(58%) scale(1) rotate(0deg);
    }

    50% {
    transform: translateX(-50%) translateY(36%) scale(1.08) rotate(5deg);
    }

    100% {
    transform: translateX(-50%) translateY(58%) scale(1) rotate(0deg);
    }
    }

    .container {
    position: relative;
    z-index: 2;
    width: 100%;
    background: var(--bg-4);
    border: 1px solid var(--border);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(0, 0, 0, .45), inset 0 1px rgba(255, 255, 255, .03);
    }

    .header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, .02);
    }

    .logo {
    display: flex;
    align-items: center;
    gap: 14px;
    }

    .logo-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--bg-6);
    border: 1px solid var(--border);
    font-family: "Material Symbols Rounded";
    font-size: 26px;
    color: var(--pink);
    transition: background .2s ease, transform .18s cubic-bezier(.2, .8, .2, 1);
    }

    .logo-icon:hover,
    .settings:hover {
    background: var(--bg-6-hover);
    }

    .settings:active,
    .logo-icon:active {
    transform: scale(.94);
    }

    .logo-title {
    display: flex;
    flex-direction: column;
    }

    .logo-title b {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-10);
    }

    .logo-title span {
    margin-top: 3px;
    font-size: 13px;
    color: var(--text-9);
    }

    .settings {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: var(--bg-6);
    border: 1px solid var(--border);
    font-family: "Material Symbols Rounded";
    font-size: 22px;
    color: var(--text-9);
    transition: background .2s ease, transform .18s cubic-bezier(.2, .8, .2, 1);
    cursor: pointer;
    }

    .content {
    padding: 24px;
    }

    .card {
    padding: 22px 18px;
    color: var(--text);
    background: var(--surface-2);
    border: 1px solid var(--outline);
    border-radius: 20px;
    text-align: center;
    }

    .card small {
    display: block;
    font-size: 12px;
    color: var(--pink);
    margin-bottom: 10px;
    font-weight: 600;
    }

    .card h2 {
    margin: 0;
    font-size: 27px;
    font-weight: 700;
    color: var(--text-8);
    }

    .card p {
    margin: 12px 0 0;
    line-height: 1.6;
    font-size: 14px;
    color: var(--text-9);
    }

    .heart {
    font-size: 24px;
    margin-bottom: 8px;
    color: var(--pink);
    }

    .actions {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 24px;
    }

    .button {
    height: 56px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background: var(--button-bar);
    border: 1px solid rgba(255, 255, 255, .05);
    border-radius: 18px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: background .2s, transform .2s;
    font-size: 16px;
    font-family: Inter, Segoe UI, sans-serif;
    cursor: pointer;
    }

    .button:hover {
    background: var(--button-bar-hover);
    transform: translateY(-2px);
    }

    .button:active {
    transform: scale(.98);
    }

    .button span {
    font-family: "Material Symbols Rounded";
    font-size: 22px;
    }

    .footer {
    margin-top: 22px;
    text-align: center;
    font-size: 12px;
    color: var(--text-9);
    }

    /* Fondo independiente por delante de la web pero por detrás del sobre */
    .backdrop-fondo {
    position: fixed;
    inset: 0;
    z-index: 9990;
    background: rgba(15, 10, 13, .65);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .5s ease, backdrop-filter .5s ease, -webkit-backdrop-filter .5s ease;
    will-change: opacity, backdrop-filter;
    transform: translateZ(0);
    }

    .backdrop-fondo.activo {
    opacity: 1;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    pointer-events: auto;
    }

    /* El sobre se posiciona por encima del backdrop impreso */
    .sobre-animacion {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9995;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    }

    .sobre {
    will-change: transform, opacity;
    transform: translateZ(0);
    }

    /* Canvas exclusivo para el confeti por encima de absolutamente todo */
    #confettiCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10000;
    pointer-events: none;
    }

    /* Estilos del Dialog / Modal */
    dialog {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -40%) scale(0.95) translateZ(0);
    width: 90%;
    max-width: 420px;
    margin: 0;
    padding: 20px 26px 26px 26px;
    background: var(--dialog-bg);
    color: var(--text);
    border: 2px solid var(--dialog-border);
    border-radius: 22px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
    z-index: 9999;
    }

    dialog::backdrop {
    display: none;
    }

    dialog.modal-visible {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) translateZ(0);
    }

    dialog h3 {
    margin: 0 0px 18px 0;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-8);
    line-height: 1.3;
    }

    dialog p {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-9);
    }

    .cerrar-modal {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 12px;
    background: var(--cerrar-dialog);
    color: var(--text-9);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s;
    }

    .cerrar-modal:hover {
    background: var(--cerrar-dialog-hover);
    }

    .cerrar-modal span {
    font-size: 21px;
    }

    .modal-info {
    margin-top: 20px;
    padding: 16px;
    background: rgba(255, 255, 255, .035);
    border: 1px solid var(--border);
    border-radius: 16px;
    }

    .modal-info div {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
    font-size: 14px;
    color: var(--text);
    }

    .modal-info div:first-child {
    margin-top: 0;
    }

    .modal-info div:last-child {
    margin-bottom: 0;
    }

    .modal-info span {
    font-family: "Material Symbols Rounded";
    font-size: 21px;
    color: var(--pink);
    }

    .maps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    height: 50px;
    border-radius: 16px;
    background: var(--button-bar);
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: background .2s;
    }

    .maps:hover {
    background: var(--button-bar-hover);
    }

    .maps span {
    font-family: "Material Symbols Rounded";
    font-size: 21px;
    }

    #bienvenida{
    text-transform:uppercase;
    }