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

body {
    background-color: #000;
    color: #fff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
}

/* الصفحة الرئيسية */
.home-page {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    min-height: 100vh;
}

/* الأزرار العامة */
button {
    border: none;
    padding: 15px 40px;
    font-size: 18px;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s, opacity 0.2s;
    font-weight: 600;
}

button:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

button:active {
    transform: scale(0.98);
}

/* زر اقطف وردة */
.btn-pick,
.btn-pick-another {
    background-color: #E60023;
    color: #fff;
}

/* زر أنا */
.btn-i-am {
    background-color: #fff;
    color: #000;
}

/* صفحة الوردة */
.flower-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    gap: 30px;
    min-height: 100vh;
}

/* حاوية البطاقة */
.card-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

/* بطاقة الصورة */
.flower-card {
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.1);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    max-width: 90%;
}

.flower-card:hover {
    transform: scale(1.02);
}

.flower-card img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
}

/* حاوية النصوص */
.text-container {
    width: 90%;
    max-width: 700px;
    text-align: center;
}

/* النص الطويل */
.long-text {
    font-size: 20px;
    line-height: 1.8;
    margin-bottom: 20px;
    white-space: pre-wrap;
}

/* النص القصير */
.short-text {
    font-size: 16px;
    color: #ccc;
    font-style: italic;
    margin-bottom: 20px;
}

/* زر النسخ */
.btn-copy {
    background-color: #4ade80;
    color: #000;
    padding: 12px 30px;
    font-size: 16px;
    margin-bottom: 20px;
}

/* الأزرار السفلية */
.bottom-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 40px;
}

/* زر إرسال الوردة */
.btn-send {
    background-color: #fff;
    color: #000;
}

/* وضع ملء الشاشة */
.fullscreen {
    position: fixed;
    inset: 0;
    background: #000;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.fullscreen.active {
    display: flex;
}

.fullscreen img {
    object-fit: contain;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
}

/* زر الإغلاق */
.close-btn {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 2px solid #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
    transition: background-color 0.3s;
}

.close-btn:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

/* استجابة للشاشات الصغيرة */
@media (max-width: 768px) {
    .long-text {
        font-size: 18px;
    }

    .short-text {
        font-size: 14px;
    }

    button {
        font-size: 16px;
        padding: 12px 30px;
    }

    .bottom-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }

    .bottom-buttons button {
        width: 100%;
    }
}
* {
    -webkit-tap-highlight-color: transparent;
  }
