/* GENERAL STYLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body, html {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #000;
    color: #fff;
}

.screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    transition: opacity 0.8s;
}

.hidden {
    display: none;
}

/* MINI GAME */
#connect4 {
    border: 3px solid #555;
    background: #111;
    margin: 20px 0;
    touch-action: none;
}

/* LOADING SCREEN */
#terminal-text {
    color: #0f0;
    font-family: monospace;
    font-size: 1.2rem;
    white-space: pre-wrap;
}

/* PROPOSAL SCREEN */
#proposal-screen {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #4b001f, #800020);
    overflow: hidden;
    text-align: center;
}

#floating-hearts, #floating-hearts-love {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.buttons {
    margin-top: 30px;
}

button {
    padding: 15px 25px;
    margin: 0 10px;
    font-size: 1.2rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

#yes-btn {
    background: #ff4b6e;
    color: #fff;
}

#no-btn {
    background: #555;
    color: #fff;
}

/* CONFETTI CANVAS */
#confetti {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* LOVE PAGE */
#love-page {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ffe6cc, #ffd1b3);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.letter-card {
    background: #800020;
    color: #fff;
    padding: 40px;
    border-radius: 20px;
    max-width: 600px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* FLOATING HEARTS */
.heart {
    position: absolute;
    font-size: 1.2rem;
    color: #ff4b6e;
    opacity: 0.8;
    animation: floatUp linear infinite;
}

@keyframes floatUp {
    0% { transform: translateY(100vh) scale(0.5); opacity: 0; }
    10% { opacity: 1; }
    100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

/* RESPONSIVE */
@media (max-width: 600px) {
    button { font-size: 1rem; padding: 12px 20px; }
    .letter-card { padding: 20px; }
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1rem; }
}