/* ====================================
   ROMANTIC ASK-OUT PAGE STYLES
   ==================================== */

* {
    direction: rtl;
    text-align: right;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}

.romance-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #ffeef5 0%, #ffe0ec 50%, #ffcceb 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.romance-container::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 107, 107, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(255, 182, 193, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* ====================================
   ANIMATIONS
   ==================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes heartBeat {
    0%, 100% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.1);
    }
    50% {
        transform: scale(1);
    }
}

@keyframes rainFall {
    0% {
        opacity: 1;
        transform: translateY(-100px) translateX(0);
    }
    100% {
        opacity: 0;
        transform: translateY(500px) translateX(100px);
    }
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 105, 180, 0.7);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(255, 105, 180, 0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* ====================================
   GENERAL STYLES
   ==================================== */

.landing-section,
.question-section,
.final-section {
    position: relative;
    z-index: 10;
}

.hearts-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    opacity: 0.4;
    pointer-events: none;
}

.heart {
    font-size: 60px;
    animation: float 4s ease-in-out infinite;
}

.heart:nth-child(2) {
    animation-delay: 0.5s;
}

.heart:nth-child(3) {
    animation-delay: 1s;
}

.hearts-decoration {
    text-align: center;
    margin-bottom: 30px;
    font-size: 40px;
}

.heart-float {
    display: inline-block;
    margin: 0 10px;
    animation: float 3s ease-in-out infinite;
}

.heart-float:nth-child(2) {
    animation-delay: 0.3s;
}

.decoration {
    text-align: center;
    font-size: 50px;
    margin-bottom: 20px;
    animation: heartBeat 1.5s ease-in-out infinite;
}

.hearts-rain {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    pointer-events: none;
}

.heart-rain {
    position: absolute;
    font-size: 30px;
    animation: rainFall 3s ease-in 0s forwards;
}

.heart-rain:nth-child(1) { left: 10%; animation-delay: 0s; }
.heart-rain:nth-child(2) { left: 20%; animation-delay: 0.3s; }
.heart-rain:nth-child(3) { left: 30%; animation-delay: 0.6s; }
.heart-rain:nth-child(4) { left: 70%; animation-delay: 0.2s; }
.heart-rain:nth-child(5) { left: 80%; animation-delay: 0.5s; }

/* ====================================
   LANDING PAGE
   ==================================== */

.landing-section {
    text-align: center;
    max-width: 600px;
    background: rgba(255, 255, 255, 0.95);
    padding: 50px 30px;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(255, 105, 180, 0.3);
    position: relative;
}

.welcome-title {
    font-size: 3.5rem;
    color: #ff1493;
    margin: 20px 0 10px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(255, 105, 180, 0.2);
}

.welcome-subtitle {
    font-size: 1.5rem;
    color: #ff69b4;
    margin-bottom: 30px;
}

.welcome-text {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.8;
    margin: 30px 0;
}

/* ====================================
   QUESTION SECTIONS
   ==================================== */

.question-section {
    max-width: 600px;
    width: 100%;
}

.question-box {
    background: rgba(255, 255, 255, 0.98);
    padding: 40px 30px;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(255, 105, 180, 0.25);
    border: 3px solid #ffe0ec;
}

.question-title {
    font-size: 2rem;
    color: #d81b60;
    margin: 0 0 15px 0;
    font-weight: bold;
}

.question-subtitle {
    font-size: 1.1rem;
    color: #ff69b4;
    margin: 0 0 30px 0;
}

.no-response-title {
    font-size: 2.2rem;
    color: #c2185b;
    margin: 0 0 15px 0;
}

.angry-title {
    color: #b71c1c;
}

.no-response-text {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    margin: 20px 0;
}

.announcement-title {
    font-size: 1.5rem;
    color: #ff69b4;
    margin: 0 0 10px 0;
}

.announcement-highlight {
    font-size: 2.2rem;
    color: #d81b60;
    margin: 10px 0;
    font-weight: bold;
}

.announcement-text {
    font-size: 1.3rem;
    color: #ff8c00;
    margin: 15px 0;
}

/* ====================================
   CHOICES & INPUTS
   ==================================== */

.choices-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 30px 0;
}

.choice-btn {
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 20px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    color: white;
    cursor: pointer;
    text-transform: none;
}

.choice-yes {
    background: linear-gradient(135deg, #28a745, #20c997);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

.choice-yes:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(40, 167, 69, 0.4);
}

.choice-no {
    background: linear-gradient(135deg, #dc3545, #ff6b6b);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
}

.choice-no:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(220, 53, 69, 0.4);
}

.choice-no:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.romantic-input {
    border-radius: 15px;
    border: 2px solid #ffe0ec;
    padding: 12px 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
    direction: rtl;
    text-align: right;
}

.romantic-input:focus {
    border-color: #ff1493;
    box-shadow: 0 0 10px rgba(255, 20, 147, 0.3);
    outline: none;
}

.romantic-input::placeholder {
    color: #bbb;
}

/* ====================================
   BUTTONS
   ==================================== */

.proceed-btn,
.copy-btn {
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 20px;
    border: none;
    transition: all 0.3s ease;
    margin-top: 20px;
    cursor: pointer;
    animation: pulse 2s infinite;
}

.proceed-btn {
    background: linear-gradient(135deg, #ff1493, #ff69b4);
    color: white;
    box-shadow: 0 5px 20px rgba(255, 20, 147, 0.3);
}

.proceed-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 20, 147, 0.4);
}

.copy-btn {
    background: linear-gradient(135deg, #1e90ff, #00bfff);
    color: white;
    box-shadow: 0 5px 20px rgba(30, 144, 255, 0.3);
}

.copy-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(30, 144, 255, 0.4);
}

/* ====================================
   SAFETY NOTES
   ==================================== */

.safety-title {
    font-size: 1.8rem;
    color: #d81b60;
    margin-bottom: 25px;
    border-bottom: 3px solid #ff69b4;
    padding-bottom: 15px;
}

.safety-notes {
    margin: 25px 0;
}

.safety-note {
    background: linear-gradient(135deg, #fff5f7, #fff0f3);
    padding: 15px 20px;
    margin: 12px 0;
    border-radius: 15px;
    border-right: 5px solid #ff69b4;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.note-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.safety-note p {
    margin: 0;
    color: #555;
    line-height: 1.6;
}

/* ====================================
   FINAL SECTION
   ==================================== */

.final-section {
    max-width: 700px;
    width: 100%;
    text-align: center;
    position: relative;
}

.final-box {
    background: rgba(255, 255, 255, 0.98);
    padding: 50px 40px;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(255, 105, 180, 0.3);
    border: 3px solid #ffe0ec;
}

.final-title {
    font-size: 3.5rem;
    color: #ff1493;
    margin: 0 0 10px 0;
    font-weight: bold;
    animation: heartBeat 1.2s ease-in-out infinite;
}

.final-subtitle {
    font-size: 1.8rem;
    color: #d81b60;
    margin: 20px 0 40px 0;
}

.answers-display {
    background: linear-gradient(135deg, #fff5f7, #ffe0ec);
    padding: 25px;
    border-radius: 15px;
    margin: 30px 0;
    text-align: right;
    border-right: 5px solid #ff69b4;
}

.answers-display h3 {
    color: #d81b60;
    font-size: 1.3rem;
    margin-top: 0;
    margin-bottom: 20px;
}

.answer-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #ffb6c1;
    font-size: 1rem;
}

.answer-item:last-child {
    border-bottom: none;
}

.answer-label {
    color: #ff1493;
    font-weight: bold;
}

.answer-value {
    color: #555;
    font-size: 0.95rem;
}

/* ====================================
   RESPONSIVE DESIGN
   ==================================== */

@media (max-width: 768px) {
    .romance-container {
        padding: 15px;
    }

    .landing-section,
    .question-box,
    .final-box {
        padding: 30px 20px;
        border-radius: 20px;
    }

    .welcome-title,
    .final-title {
        font-size: 2.5rem;
    }

    .question-title,
    .announcement-highlight {
        font-size: 1.6rem;
    }

    .choices-container {
        gap: 10px;
    }

    .choice-btn {
        padding: 12px 20px;
        font-size: 1rem;
    }

    .proceed-btn,
    .copy-btn {
        padding: 12px 30px;
        font-size: 1rem;
    }

    .heart {
        font-size: 40px;
    }

    .decoration {
        font-size: 40px;
    }

    .answers-display {
        padding: 15px;
    }

    .answer-item {
        flex-direction: column;
        gap: 8px;
        text-align: right;
    }
}

@media (max-width: 480px) {
    .welcome-title,
    .final-title {
        font-size: 2rem;
    }

    .question-title,
    .announcement-highlight {
        font-size: 1.3rem;
    }

    .question-subtitle,
    .welcome-subtitle {
        font-size: 1rem;
    }

    .welcome-text {
        font-size: 0.95rem;
    }

    .heart {
        font-size: 30px;
    }

    .decoration {
        font-size: 30px;
    }

    .choice-btn,
    .proceed-btn,
    .copy-btn {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
}
