/* إضافات جديدة للتصميم المحسن */

/* شعارات شركات الاتصال */
.telecom-logos {
    text-align: center;
    margin-bottom: 20px;
}

.telecom-logo {
    max-width: 300px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* عجلة الحظ في الصفحة الرئيسية */
.wheel-section {
    background: white;
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 25px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* شبكة الجوائز المحسنة */
.prizes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.prize-item.large {
    grid-column: span 1;
    font-size: 1.2em;
    padding: 25px;
}

.probability {
    font-size: 0.8em;
    color: #7f8c8d;
    margin-top: 8px;
    font-weight: normal;
}

/* شركاء الشحن */
.partners-section, .telecom-partners {
    background: white;
    padding: 25px;
    border-radius: 15px;
    margin: 20px 0;
    text-align: center;
}

.partners-logos {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
}

.partner-logo {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 25px;
    border-radius: 10px;
    font-weight: bold;
    min-width: 100px;
}

/* مشغلي الهاتف */
.operator-selection {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 15px;
    margin: 20px 0;
}

.operators-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 15px;
}

.operator-option {
    cursor: pointer;
    transition: all 0.3s ease;
}

.operator-option.selected {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.operator-logo {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    font-weight: bold;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.operator-option:hover .operator-logo {
    border-color: #667eea;
}

.operator-logo.mobilis { color: #FF6B6B; }
.operator-logo.ooredoo { color: #4ECDC4; }
.operator-logo.djezzy { color: #45B7D1; }

.operator-display {
    background: #e8f4fd;
    border: 2px solid #b8daff;
    color: #004085;
    padding: 10px 15px;
    border-radius: 10px;
    margin: 10px 0;
    text-align: center;
    font-weight: bold;
}

/* شبكة التحقق */
.verification-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 15px;
}

.verification-item {
    background: white;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* حاوية الفيديو */
.video-container {
    position: relative;
    width: 100%;
    margin: 20px 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.video-container iframe {
    border-radius: 15px;
}

/* تحسينات للهواتف */
@media (max-width: 768px) {
    .prizes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .operators-grid {
        grid-template-columns: 1fr;
    }
    
    .verification-grid {
        grid-template-columns: 1fr;
    }
    
    .partners-logos {
        flex-direction: column;
        align-items: center;
    }
    
    .telecom-logo {
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    .prizes-grid {
        grid-template-columns: 1fr;
    }
    
    .prize-item.large {
        padding: 20px;
    }
}
/* تنسيقات الصفحة الأولى المحسنة */

.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px 20px;
    border-radius: 20px;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    animation: float 20s infinite linear;
}

@keyframes float {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(-20px, -20px) rotate(360deg); }
}

.main-logo {
    max-width: 180px;
    height: auto;
    margin: 0 auto 20px;
    display: block;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
    transition: all 0.3s ease;
}

.hero-title {
    font-size: 2.2em;
    margin-bottom: 10px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.3em;
    margin-bottom: 25px;
    opacity: 0.9;
}

.location-warning {
    background: #e74c3c;
    color: white;
    padding: 12px 20px;
    border-radius: 10px;
    margin: 20px 0;
    font-weight: bold;
    text-align: center;
    border: 2px solid #c0392b;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.feature-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border: 1px solid #f1f2f6;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5em;
    margin-bottom: 15px;
}

.feature-title {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.2em;
    font-weight: 600;
}

.feature-description {
    color: #7f8c8d;
    line-height: 1.6;
}

.telecom-partners {
    background: white;
    padding: 25px;
    border-radius: 15px;
    margin: 25px 0;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.partners-title {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.4em;
    font-weight: 600;
}

.partners-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.partner-item {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 25px;
    border-radius: 10px;
    font-weight: bold;
    min-width: 100px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.cta-section {
    text-align: center;
    margin: 30px 0;
}

.btn-start {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    border: none;
    padding: 20px 40px;
    border-radius: 50px;
    font-size: 1.3em;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(245, 87, 108, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-start:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(245, 87, 108, 0.4);
}

.stats-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 30px 0;
}

.stat-card {
    background: white;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.stat-number {
    font-size: 2em;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 5px;
}

.stat-label {
    color: #7f8c8d;
    font-size: 0.9em;
}

/* نافذة الموافقة المحسنة */
.consent-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.popup-content {
    background: white;
    padding: 40px;
    border-radius: 25px;
    max-width: 500px;
    margin: 20px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: popIn 0.5s ease-out;
}

@keyframes popIn {
    0% { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.popup-header {
    margin-bottom: 25px;
}

.popup-header h2 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.consent-content {
    text-align: right;
    margin: 25px 0;
}

.consent-content ul {
    list-style: none;
    padding: 0;
}

.consent-content li {
    padding: 10px 0;
    border-bottom: 1px solid #ecf0f1;
}

.consent-content li:last-child {
    border-bottom: none;
}

/* تحسينات للهواتف */
@media (max-width: 768px) {
    .hero-title {
        font-size: 1.8em;
    }
    
    .hero-subtitle {
        font-size: 1.1em;
    }
    
    .main-logo {
        max-width: 140px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .partners-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-start {
        padding: 18px 35px;
        font-size: 1.2em;
    }
    
    .popup-content {
        padding: 30px 20px;
        margin: 15px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.6em;
    }
    
    .hero-section {
        padding: 30px 15px;
    }
    
    .main-logo {
        max-width: 120px;
    }
    
    .btn-start {
        padding: 15px 30px;
        font-size: 1.1em;
    }
    
    .stat-card {
        padding: 15px;
    }
    
    .stat-number {
        font-size: 1.6em;
    }
}