* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    background: linear-gradient(135deg,#ff9a9e,#fad0c4);
    font-family: Arial, Helvetica, sans-serif;
    overflow-x: hidden;
}

.screen {
    display: none;
    min-height: 100vh;
    padding: 2rem;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

.screen.active {
    display: flex;
}

h1, h2 {
    max-width: 900px;
    color: #222;
    margin-bottom: 2rem;
}

.button-container {
    position: relative;
    width: 100%;
    height: 300px;
}

.yes-btn {
    padding: 20px 40px;
    font-size: 1.5rem;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    background: #00c853;
    color: white;
    font-weight: bold;
    transition: .3s;
}

.yes-btn:hover {
    transform: scale(1.05);
}

.no-btn {
    position: absolute;
    top: 180px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 20px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    background: crimson;
    color: white;
}

.option-grid {
    display: grid;
    gap: 20px;
    width: min(700px, 100%);
}

.option-grid button {
    padding: 20px;
    border: none;
    border-radius: 15px;
    font-size: 1.1rem;
    cursor: pointer;
    background: white;
    transition: .3s;
}

.option-grid button:hover {
    transform: scale(1.05);
}

.final-text {
    font-size: clamp(2rem, 5vw, 4rem);
}

#emojiContainer {
    position: fixed;
    inset: 0;
    pointer-events: none;
}

.emoji {
    position: absolute;
    font-size: 2rem;
    animation: flyUp 3s linear forwards;
}

@keyframes flyUp {
    0% {
        opacity: 1;
        transform: translate(0,0) scale(0.5);
    }

    100% {
        opacity: 0;
        transform: translate(var(--x), -800px) scale(1.5);
    }
}

@media(max-width: 768px){

    h1 {
        font-size: 1.4rem;
    }

    .yes-btn {
        width: 90%;
        font-size: 1.2rem;
    }

    .option-grid button {
        font-size: 1rem;
    }
}
.info-card,
.calendar-card {
    width: min(620px, 100%);
    background: rgba(255, 255, 255, 0.92);
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
    margin-bottom: 24px;
}

.activity-label {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 14px;
}

.outfit-text {
    font-size: clamp(1.5rem, 5vw, 2.4rem);
    font-weight: 800;
}

.primary-btn {
    padding: 16px 28px;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    background: #222;
    color: white;
    font-size: 1.05rem;
    font-weight: 700;
    transition: transform .2s ease, opacity .2s ease;
}

.primary-btn:hover:not(:disabled) {
    transform: scale(1.04);
}

.primary-btn:disabled {
    opacity: .45;
    cursor: not-allowed;
}

.calendar-hint {
    margin-top: -1rem;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.calendar-card {
    display: grid;
    gap: 12px;
    text-align: left;
}

.calendar-card label {
    font-weight: 700;
    margin-top: 6px;
}

.calendar-card input,
.calendar-card select {
    width: 100%;
    padding: 15px;
    border: 2px solid rgba(0, 0, 0, .12);
    border-radius: 12px;
    background: white;
    font: inherit;
    font-size: 1rem;
}

.calendar-card .primary-btn {
    margin-top: 12px;
}

.error-text {
    min-height: 1.2em;
    color: #b00020;
    font-weight: 700;
}

.final-summary {
    line-height: 1.7;
    font-size: 1.1rem;
    margin: -1rem 0 1.5rem;
}

.email-btn {
    margin-bottom: 12px;
}

.config-hint {
    max-width: 680px;
    font-size: .9rem;
    opacity: .75;
}

.small-hint {
    margin-top: -4px;
    margin-bottom: 14px;
    font-size: 0.9rem;
}

#guestEmail {
    width: 100%;
    box-sizing: border-box;
}
