* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #ff6b9d 0%, #c44569 25%, #f8b500 50%, #c44569 75%, #ff6b9d 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Floating hearts background */
.hearts-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.hearts-bg::before,
.hearts-bg::after {
    content: '💕 ❤️ 💗 💖 ✨ 🌹';
    position: absolute;
    font-size: 2rem;
    animation: float 6s ease-in-out infinite;
    opacity: 0.3;
}

.hearts-bg::before {
    left: 10%;
    top: 20%;
    animation-delay: 0s;
}

.hearts-bg::after {
    right: 15%;
    top: 60%;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(10deg); }
}

.container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 600px;
    padding: 20px;
}

.step {
    animation: slideIn 0.6s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.proposal-card,
.confirmation-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 30px;
    padding: 50px 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    text-align: center;
    border: 3px solid rgba(255, 105, 180, 0.3);
}

.romantic-title {
    font-size: 2.5rem;
    color: #ff1493;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    animation: titleGlow 2s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% { text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1); }
    50% { text-shadow: 0 0 20px rgba(255, 105, 180, 0.6); }
}

.proposal-text {
    font-size: 1.2rem;
    color: #c44569;
    margin-bottom: 40px;
    font-style: italic;
}

/* Button Styling */
.button-container {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: center;
    min-height: 80px;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 40px;
    font-size: 1.1rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.yes-btn {
    background: linear-gradient(135deg, #ff6b9d 0%, #ff1493 100%);
    color: white;
}

.yes-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 10px 25px rgba(255, 20, 147, 0.4);
}

.yes-btn:active {
    transform: scale(0.95);
}

.no-btn {
    background: linear-gradient(135deg, #e0e0e0 0%, #b0b0b0 100%);
    color: #333;
}

.no-btn:hover {
    background: linear-gradient(135deg, #d0d0d0 0%, #a0a0a0 100%);
}

/* Sad emoji that appears on hover */
.sad-emoji {
    position: absolute;
    font-size: 3rem;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.rejection-text {
    color: #c44569;
    font-size: 1.1rem;
    margin-top: 20px;
    min-height: 30px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Activity Cards */
.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin: 30px 0;
}

.activity-card {
    background: linear-gradient(135deg, #ffeaa7 0%, #fab1a0 100%);
    border-radius: 20px;
    padding: 25px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.activity-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border-color: #ff1493;
}

.activity-card.selected {
    background: linear-gradient(135deg, #ff6b9d 0%, #ff1493 100%);
    color: white;
    border-color: white;
    transform: scale(1.05);
}

.activity-emoji {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.activity-name {
    font-weight: bold;
    color: #333;
    font-size: 0.9rem;
}

.activity-card.selected .activity-name {
    color: white;
}

/* Date & Time Picker */
.date-time-picker {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 25px;
    margin: 30px 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.picker-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.picker-group label {
    font-weight: bold;
    color: #ff1493;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.picker-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ff6b9d;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.picker-group input:focus {
    outline: none;
    border-color: #ff1493;
    box-shadow: 0 0 15px rgba(255, 20, 147, 0.3);
    background-color: #fff5f9;
}

/* Button Group */
.button-group {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.back-btn {
    background: linear-gradient(135deg, #95a5a6 0%, #7f8c8d 100%);
    color: white;
}

.back-btn:hover {
    transform: translateX(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.submit-btn {
    background: linear-gradient(135deg, #ff6b9d 0%, #ff1493 100%);
    color: white;
    flex-grow: 1;
    min-width: 150px;
}

.submit-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(255, 20, 147, 0.4);
}

.submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Confirmation Card */
.confirmation-card {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 245, 250, 0.98) 100%);
}

.summary-box {
    background: linear-gradient(135deg, #ffeaa7 0%, #fab1a0 100%);
    border-radius: 15px;
    padding: 20px;
    margin: 25px 0;
    text-align: left;
    border-left: 5px solid #ff1493;
}

.summary-box p {
    color: #333;
    margin: 10px 0;
    font-size: 1.1rem;
}

.summary-box strong {
    color: #ff1493;
}

.quote-box {
    background: linear-gradient(135deg, #ff6b9d 0%, #ff1493 100%);
    border-radius: 20px;
    padding: 30px;
    margin: 25px 0;
    box-shadow: 0 10px 30px rgba(255, 20, 147, 0.3);
}

.romantic-quote {
    font-size: 1.3rem;
    color: white;
    font-style: italic;
    line-height: 1.6;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.final-message {
    font-size: 1.2rem;
    color: #ff1493;
    margin: 20px 0;
    font-weight: bold;
}

.reset-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    margin-top: 20px;
}

.reset-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

/* Confetti Animation */
.confetti {
    position: fixed;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.confetti-piece {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #ff1493;
    animation: confettiFall 3s ease-in forwards;
}

@keyframes confettiFall {
    to {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .container {
        max-width: 100%;
    }

    .proposal-card,
    .confirmation-card {
        padding: 25px 15px;
        border-radius: 20px;
    }

    .romantic-title {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }

    .proposal-text {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .button-container {
        flex-direction: column;
        gap: 10px;
        min-height: auto;
    }

    .btn {
        width: 100%;
        padding: 12px 30px;
        font-size: 1rem;
    }

    .yes-btn:hover {
        transform: scale(1.08);
    }

    .activities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .activity-card {
        padding: 15px 10px;
        border-radius: 15px;
    }

    .activity-emoji {
        font-size: 2rem;
        margin-bottom: 8px;
    }

    .activity-name {
        font-size: 0.85rem;
    }

    .date-time-picker {
        padding: 15px;
        gap: 15px;
    }

    .picker-group label {
        font-size: 1rem;
    }

    .picker-group input {
        padding: 10px 12px;
        font-size: 16px;
    }

    .button-group {
        flex-direction: column;
        gap: 10px;
    }

    .back-btn,
    .submit-btn,
    .reset-btn {
        width: 100%;
    }

    .summary-box {
        padding: 15px;
        margin: 20px 0;
    }

    .summary-box p {
        margin: 8px 0;
        font-size: 0.95rem;
    }

    .quote-box {
        padding: 20px;
        margin: 20px 0;
    }

    .romantic-quote {
        font-size: 1.1rem;
        line-height: 1.5;
    }

    .final-message {
        font-size: 1rem;
        margin: 15px 0;
    }

    .sad-emoji {
        font-size: 2.5rem;
    }
}

/* Extra small devices (mobile phones) */
@media (max-width: 480px) {
    .proposal-card,
    .confirmation-card {
        padding: 20px 12px;
        margin: 10px;
    }

    .romantic-title {
        font-size: 1.4rem;
        margin-bottom: 12px;
    }

    .proposal-text {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }

    .button-container {
        gap: 8px;
    }

    .btn {
        padding: 11px 20px;
        font-size: 0.95rem;
        border-radius: 40px;
    }

    .activities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .activity-card {
        padding: 12px 8px;
        border-radius: 12px;
    }

    .activity-emoji {
        font-size: 1.8rem;
        margin-bottom: 5px;
    }

    .activity-name {
        font-size: 0.75rem;
    }

    .date-time-picker {
        padding: 12px;
        gap: 12px;
    }

    .picker-group label {
        font-size: 0.9rem;
        margin-bottom: 6px;
    }

    .picker-group input {
        padding: 8px 10px;
        font-size: 14px;
        border-radius: 8px;
    }

    .summary-box {
        padding: 12px;
        margin: 15px 0;
        border-left-width: 3px;
    }

    .summary-box p {
        margin: 6px 0;
        font-size: 0.9rem;
    }

    .quote-box {
        padding: 15px;
        margin: 15px 0;
        border-radius: 15px;
    }

    .romantic-quote {
        font-size: 1rem;
        line-height: 1.4;
    }

    .final-message {
        font-size: 0.95rem;
        margin: 12px 0;
    }

    .hearts-bg::before,
    .hearts-bg::after {
        font-size: 1.5rem;
        opacity: 0.2;
    }

    .reset-btn {
        margin-top: 15px;
    }

    .step {
        animation: slideIn 0.4s ease-out;
    }
}
