/* إعدادات عامة */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

body {
    line-height: 1.8;
    color: #333;
    background: linear-gradient(to bottom, #fff7e6, #ffedd2);
    overflow-x: hidden;
}

/* الرأس (Hero Section) */
.hero {
    background: linear-gradient(135deg, #ff9d00, #ff7f00, #ff6100);
    color: white;
    text-align: center;
    padding: 80px 20px;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.hero .btn {
    background: white;
    color: #ff6100;
    padding: 15px 40px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    box-shadow: 0 10px 20px rgba(255, 97, 0, 0.3);
    transition: transform 0.3s, background 0.3s;
}

.hero .btn:hover {
    transform: translateY(-5px);
    background: #ff6100;
    color: white;
    box-shadow: 0 15px 30px rgba(255, 97, 0, 0.5);
}

/* قائمة النطاقات */
.domain-list {
    background: white;
    padding: 60px 20px;
    border-radius: 20px;
    margin: 50px auto;
    max-width: 90%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 3px solid #ff9d00;
}

.domain-list h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
    color: #ff6100;
    text-transform: uppercase;
}

.domain-list ul {
    list-style: none;
    padding: 0;
}

.domain-list ul li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(90deg, #fff7e6, #fffdf5);
    padding: 20px 30px;
    margin-bottom: 15px;
    border-radius: 15px;
    box-shadow: 0 5px 10px rgba(255, 97, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.domain-list ul li:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 97, 0, 0.2);
}

.domain-list ul li span {
    font-size: 1.3rem;
    font-weight: bold;
    color: #ff6100;
}

.buy-btn {
    background: #ff6100;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: transform 0.3s, background 0.3s;
    font-weight: bold;
    box-shadow: 0 5px 10px rgba(255, 97, 0, 0.3);
}

.buy-btn:hover {
    background: #ff7f00;
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(255, 97, 0, 0.5);
}

/* التذييل */
footer {
    text-align: center;
    background: #ff6100;
    color: white;
    padding: 20px;
    font-size: 1rem;
    border-radius: 10px 10px 0 0;
    margin-top: 50px;
    box-shadow: 0 -5px 10px rgba(255, 97, 0, 0.3);
}
/* تحسين النصوص للشاشات الصغيرة */
@media (max-width: 768px) {
    body {
        font-size: 14px; /* حجم افتراضي أصغر للنص */
    }

    .hero h1 {
        font-size: 4vw; /* تصغير النص الرئيسي */
        text-transform: none; /* إزالة الحروف الكبيرة */
        word-break: break-word; /* كسر الكلمات الطويلة */
    }

    .hero p {
        font-size: 3vw;
        text-transform: none;
    }

    .domain-list ul li {
        font-size: 2.5vw; /* ضبط حجم النصوص داخل العناصر */
        word-break: break-word; /* كسر النصوص الطويلة */
        text-align: center; /* توسيط النصوص */
    }

    .buy-btn {
        font-size: 3vw; /* تصغير حجم الأزرار */
        padding: 10px 15px; /* تقليل المسافات الداخلية */
        width: 100%; /* اجعل الأزرار تأخذ عرض الإطار بالكامل */
    }
}

/* تحسين الشاشات الصغيرة جدًا */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 5vw; /* تصغير أكبر للعناوين */
    }

    .hero p {
        font-size: 4vw;
    }

    .buy-btn {
        font-size: 4vw;
    }
}
