* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cinzel', 'Courier New', monospace;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: radial-gradient(circle at center, #98929d 0%, #05020a 100%);
    overflow: hidden;
}

/* حاوية تطبيق الطقس بتصميم جوهرة سحرية عائمة مطابقة للحاسبة */
.weather-container {
    background: rgba(30, 15, 50, 0.4);
    backdrop-filter: blur(25px);
    border: 2px solid rgba(168, 85, 247, 0.3);
    width: 420px;
    padding: 30px;
    border-radius: 40px;
    box-shadow: 0 0 50px rgba(139, 92, 246, 0.2),
                inset 0 0 30px rgba(217, 70, 239, 0.1);
    animation: floatOrb 6s ease-in-out infinite;
}

@keyframes floatOrb {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(0.5deg); }
}

/* قسم البحث */
.search-box {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.search-box input {
    flex: 1;
    background: rgba(10, 5, 20, 0.8);
    border: 1px solid rgba(217, 70, 239, 0.4);
    border-radius: 15px;
    padding: 12px 18px;
    color: #f3e8ff;
    font-size: 1rem;
    outline: none;
    box-shadow: inset 0 0 15px rgba(168, 85, 247, 0.2);
}

.search-box input::placeholder {
    color: rgba(243, 232, 255, 0.4);
}

.search-box button {
    background: linear-gradient(135deg, #c084fc 0%, #db2777 100%);
    color: #ffffff;
    border: none;
    padding: 0 20px;
    border-radius: 15px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(219, 39, 119, 0.6);
    transition: all 0.3s ease;
}

.search-box button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(244, 63, 94, 0.9);
}

/* بطاقة عرض معلومات الطقس الأساسية */
.weather-card {
    background: rgba(39, 24, 70, 0.8);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 20px;
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    box-shadow: inset 0 0 20px rgba(168, 85, 247, 0.2);
}

.temp-info h1 {
    font-size: 2.8rem;
    color: #f3e8ff;
    text-shadow: 0 0 15px rgba(243, 232, 255, 0.6);
    margin-bottom: 5px;
}

.temp-info p {
    color: #e879f9;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.weather-icon img {
    width: 80px;
    filter: drop-shadow(0 0 10px rgba(232, 121, 249, 0.5));
}

/* تفاصيل إضافية (الرطوبة والرياح) */
.weather-details {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.detail-item {
    flex: 1;
    background: rgba(48, 22, 81, 0.6);
    border: 1px solid rgba(172, 91, 248, 0.2);
    border-radius: 15px;
    padding: 15px;
    text-align: center;
    color: #e2e8f0;
}

.detail-item span {
    display: block;
    color: #a789ff;
    font-size: 0.8rem;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.detail-item p {
    font-size: 1.1rem;
    font-weight: bold;
    color: #f3e8ff;
}
