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

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    background:
        radial-gradient(
            circle at top,
            #fffaf3 0%,
            #f4ede3 55%,
            #e9dfd2 100%
        );

    color: #5d5045;
    font-family: Arial, sans-serif;
}

.landing-page {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 100vh;

    padding: 24px;
}

.opening-card {
    width: 100%;
    max-width: 470px;

    padding: 46px 32px;

    border: 1px solid rgba(93, 80, 69, 0.12);
    border-radius: 24px;

    background: rgba(255, 255, 255, 0.9);

    text-align: center;

    box-shadow:
        0 18px 50px rgba(67, 52, 40, 0.15);

    animation: cardFadeIn 0.9s ease both;
}

.music-icon{
    width:74px;
    height:74px;
    margin:0 auto 20px;
}

.music-icon img{
    width:100%;
    height:100%;
    object-fit:contain;
    border-radius:50%;
    display:block;
}

.eyebrow {
    margin-bottom: 10px;

    color: #9a8574;

    font-size: 12px;
    font-weight: bold;
    letter-spacing: 3px;
}

h1 {
    margin-bottom: 12px;

    color: #665448;

    font-family: Georgia, serif;
    font-size: 40px;
    font-weight: normal;
}

.subtitle {
    max-width: 360px;

    margin: 0 auto 18px;

    color: #7d6e62;

    font-family: Georgia, serif;
    font-size: 17px;
    line-height: 1.7;
}

.divider {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

    width: 75%;

    margin: 4px auto 24px;
}

.divider span:not(.divider-symbol) {
    display: block;
    flex: 1;

    height: 1px;

    background: rgba(111, 90, 74, 0.25);
}

.divider-symbol {
    color: #9a8574;
    font-size: 9px;
}

#openInvitationButton {
    width: 100%;

    padding: 15px 24px;

    border: none;
    border-radius: 30px;

    background: #665448;
    color: white;

    font-size: 16px;
    letter-spacing: 0.4px;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        opacity 0.2s ease,
        box-shadow 0.2s ease;
}

#openInvitationButton:hover {
    opacity: 0.94;

    transform: translateY(-1px);

    box-shadow:
        0 8px 20px rgba(84, 66, 53, 0.2);
}

#openInvitationButton:active {
    transform: scale(0.98);
}

.notice {
    margin-top: 20px;

    color: #8a7c70;

    font-size: 13px;
    line-height: 1.5;
}

.status-message {
    display: none;

    margin-top: 16px;
    padding: 11px 14px;

    border-radius: 10px;

    background: #f3ece5;
    color: #665448;

    font-size: 13px;
    line-height: 1.5;
}

.status-message.show {
    display: block;
}

.music-button {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 100;

    display: none;

    width: 50px;
    height: 50px;

    border: none;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.95);
    color: #665448;

    font-size: 22px;
    cursor: pointer;

    box-shadow:
        0 5px 18px rgba(0, 0, 0, 0.2);
}

.music-button.show {
    display: block;
}

@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

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

@keyframes softPulse {
    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@media (max-width: 600px) {
    .opening-card {
        padding: 40px 24px;
    }

    h1 {
        font-size: 35px;
    }

    .subtitle {
        font-size: 16px;
    }
}

#openInvitationButton:disabled {
    cursor: not-allowed;
    opacity: 0.78;
}

#openInvitationButton.opening {
    position: relative;
    pointer-events: none;
}

#openInvitationButton.opening::after {
    content: "";

    display: inline-block;

    width: 14px;
    height: 14px;

    margin-left: 10px;

    border: 2px solid rgba(255, 255, 255, 0.45);
    border-top-color: #ffffff;
    border-radius: 50%;

    vertical-align: -2px;

    animation: buttonSpinner 0.7s linear infinite;
}

@keyframes buttonSpinner {
    to {
        transform: rotate(360deg);
    }
}