/* --- إعدادات الألوان والهوية --- */
:root {
    --bg-dark: #080812;
    --card-bg: #11112b;
    --purple-main: #6c5ce7;
    --green-neon: #00ff88;
    --text-white: #ffffff;
    --text-muted: #a0a0c0;
    --glass: rgba(255, 255, 255, 0.05);
}

/* --- التنسيق العام --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    direction: rtl;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

/* --- الهيدر (Header) --- */
header {
    background: rgba(8, 8, 18, 0.9);
    backdrop-filter: blur(15px);
    padding: 20px 0;
    border-bottom: 1px solid var(--purple-main);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: 900;
    color: var(--text-white);
    letter-spacing: 1px;
}

.logo span {
    color: var(--green-neon);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links a {
    color: var(--text-white);
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--green-neon);
    text-shadow: 0 0 10px var(--green-neon);
}

/* --- نظام الظهور التدريجي (Reveal System) --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: 1s all ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- صفحة الهبوط (Hero Section) --- */
.hero {
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle at center, rgba(108, 92, 231, 0.15) 0%, transparent 70%);
}

.badge {
    background: var(--purple-main);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 12px;
    margin-bottom: 20px;
    display: inline-block;
}

.neon-text {
    color: var(--green-neon);
    text-shadow: 0 0 15px var(--green-neon);
}

.hero-btns {
    margin-top: 40px;
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-main, .btn-sub {
    padding: 15px 35px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.4s;
}

.btn-main { background: var(--purple-main); color: white; box-shadow: 0 0 20px var(--purple-main); }
.btn-main:hover { background: var(--green-neon); color: black; box-shadow: 0 0 20px var(--green-neon); }

.btn-sub { border: 2px solid var(--green-neon); color: var(--green-neon); }
.btn-sub:hover { background: var(--green-neon); color: black; }

/* --- الكليبات والستريمرز (Grid System) --- */
.section-title { padding: 60px 0 30px; text-align: center; }

.clips-grid, .streamers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.clip-card, .streamer-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--glass);
    transition: 0.4s;
}

.clip-card:hover, .streamer-card:hover {
    border-color: var(--green-neon);
    transform: scale(1.03);
}

.rank-badge {
    background: linear-gradient(90deg, var(--purple-main), #8e44ad);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10px;
    margin-left: 10px;
}

/* --- نظام الإشعارات (Notification Toast) --- */
#notification-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 2000;
}

.toast {
    background: rgba(17, 17, 43, 0.9);
    backdrop-filter: blur(10px);
    border-right: 4px solid var(--green-neon);
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    margin-top: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    gap: 15px;
    animation: slideLeft 0.5s ease-out forwards;
}

@keyframes slideLeft {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* --- الفوتر (Footer nxr_) --- */
footer {
    background: #04040a;
    padding: 60px 0 30px;
    border-top: 1px solid var(--glass);
    text-align: center;
}

.footer-logo { font-size: 24px; font-weight: bold; margin-bottom: 20px; }
.designer {
    color: var(--green-neon);
    font-weight: 900;
    text-shadow: 0 0 8px var(--green-neon);
}

.socials { display: flex; justify-content: center; gap: 20px; margin: 20px 0; font-size: 20px; }
.socials i { cursor: pointer; transition: 0.3s; }
.socials i:hover { color: var(--green-neon); }
