/* النسخة الألماسية - ملف الأنماط الرئيسي */
* {
    font-family: 'Cairo', sans-serif;
}

:root {
    --primary-silver: #C0C0C0;
    --primary-dark: #2C2C2C;
    --secondary-silver: #E8E8E8;
    --accent-diamond: #B8B8B8;
    --gradient-silver: linear-gradient(135deg, #C0C0C0 0%, #E8E8E8 50%, #B8B8B8 100%);
    --gradient-dark: linear-gradient(135deg, #1a1a1a 0%, #2C2C2C 50%, #3a3a3a 100%);
    --gradient-diamond: linear-gradient(45deg, #C0C0C0, #E8E8E8, #C0C0C0, #B8B8B8);
    --text-light: #ffffff;
    --text-dark: #2C2C2C;
    --shadow-silver: 0 0 30px rgba(192, 192, 192, 0.4);
    --shadow-dark: 0 0 50px rgba(44, 44, 44, 0.6);
    --diamond-pad: 1rem;
}

body {
    background: var(--gradient-dark);
    color: var(--text-light);
    overflow-x: hidden;
    position: relative;
    line-height: 1.7;
}

/* شبكة الماس المتحركة في الخلفية */
.diamond-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.15;
}

.diamond-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--gradient-silver);
    transform: rotate(45deg);
    animation: float 8s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { 
        transform: rotate(45deg) translateY(0px) scale(0.8); 
        opacity: 0.3;
    }
    50% { 
        transform: rotate(45deg) translateY(-30px) scale(1.2); 
        opacity: 0.8;
    }
}

/* الناف بار */
.navbar {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(15px);
    border-bottom: 2px solid var(--primary-silver);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(26, 26, 26, 0.98);
    box-shadow: var(--shadow-dark);
}

.navbar-brand {
    font-weight: 900;
    font-size: 2rem;
    background: var(--gradient-silver);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 10px rgba(192, 192, 192, 0.5));
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 8px 15px;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.navbar-brand::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.8s ease;
}

.navbar-brand:hover {
    transform: scale(1.02);
    filter: drop-shadow(0 0 20px rgba(192, 192, 192, 0.6));
}

.navbar-brand:hover::before {
    left: 100%;
}

.logo-diamond {
    width: 40px;
    height: 40px;
    background: var(--gradient-silver);
    background-size: 200% 200%;
    transform: rotate(45deg);
    border-radius: 8px;
    position: relative;
    animation: logoFloat 6s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(192, 192, 192, 0.3);
}

.logo-diamond::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60%;
    height: 60%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%) rotate(-45deg);
    border-radius: 4px;
}

@keyframes logoFloat {
    0%, 100% { 
        transform: rotate(45deg) translateY(0px);
        background-position: 0% 50%;
    }
    25% { 
        transform: rotate(135deg) translateY(-5px);
        background-position: 100% 50%;
    }
    50% { 
        transform: rotate(225deg) translateY(0px);
        background-position: 0% 50%;
    }
    75% { 
        transform: rotate(315deg) translateY(-5px);
        background-position: 100% 50%;
    }
}

.nav-link {
    color: var(--text-light) !important;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-silver);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::before {
    width: 100%;
}

/* هيرو سكشن */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at center, rgba(192, 192, 192, 0.1) 0%, rgba(26, 26, 26, 0.9) 70%);
    position: relative;
    overflow: hidden;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    background: var(--gradient-silver);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s ease-in-out infinite;
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 20px rgba(192, 192, 192, 0.3));
}

@keyframes shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-subtitle {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 3rem;
    line-height: 1.8;
}

/* البطاقات الألماسية - تفاعل بسيط */
.diamond-card {
    background: rgba(26, 26, 26, 0.7);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(192, 192, 192, 0.3);
    border-radius: 25px;
    padding: 2.5rem;
    margin: 1rem 0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.diamond-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, rgba(192, 192, 192, 0.15), transparent);
    animation: rotate 8s linear infinite;
    z-index: -1;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.diamond-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(192, 192, 192, 0.3);
    border-color: var(--primary-silver);
}

/* البطاقات البسيطة - بدون تفاعل ماوس */
.simple-card {
    background: rgba(26, 26, 26, 0.7);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(192, 192, 192, 0.3);
    border-radius: 25px;
    padding: 2.5rem;
    margin: 1rem 0;
    position: relative;
    overflow: hidden;
}

.simple-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, rgba(192, 192, 192, 0.15), transparent);
    animation: rotate 8s linear infinite;
    z-index: -1;
}

/* الأزرار الألماسية */
.btn-diamond {
    background: var(--gradient-silver);
    border: none;
    color: var(--text-dark);
    padding: 18px 35px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 5px 20px rgba(192, 192, 192, 0.3);
}

.btn-diamond::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.btn-diamond:hover::before {
    left: 100%;
}

.btn-diamond:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(192, 192, 192, 0.4);
    color: var(--text-dark);
}

.btn-outline-diamond {
    background: transparent;
    border: 2px solid var(--primary-silver);
    color: var(--text-light);
}

.btn-outline-diamond:hover {
    background: var(--gradient-silver);
    color: var(--text-dark);
}

/* فورم التسجيل */
.register-form {
    background: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 3.5rem;
    border: 2px solid rgba(192, 192, 192, 0.3);
    box-shadow: var(--shadow-dark);
}

.form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(192, 192, 192, 0.3);
    border-radius: 15px;
    padding: 18px;
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-silver);
    box-shadow: 0 0 15px rgba(192, 192, 192, 0.3);
    color: white;
    transform: scale(1.01);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-label {
    color: var(--primary-silver);
    font-weight: 600;
    margin-bottom: 0.8rem;
}

/* الكابتشا */
.captcha-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin: 2rem 0;
}

.captcha-image {
    border-radius: 15px;
    border: 2px solid var(--primary-silver);
    background: var(--gradient-dark);
    padding: 15px;
    color: var(--text-light);
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    height: 60px;
}

/* ميديا وفيديو */
.media-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.media-item {
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.media-item:hover {
    transform: scale(1.02);
    box-shadow: 0 0 20px rgba(192, 192, 192, 0.3);
}

.video-container {
    position: relative;
    width: 100%;
    height: 250px;
    background: var(--gradient-dark);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-button {
    width: 80px;
    height: 80px;
    background: var(--gradient-silver);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-button:hover {
    transform: scale(1.1);
}

.screenshot {
    width: 100%;
    height: 250px;
    background: linear-gradient(45deg, var(--primary-dark), var(--accent-diamond));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.screenshot::before {
    content: 'لقطة شاشة من اللعبة';
    position: absolute;
    bottom: 10px;
    left: 15px;
    background: rgba(0, 0, 0, 0.7);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* المميزات */
.feature-icon {
    font-size: 3.5rem;
    background: var(--gradient-silver);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 10px rgba(192, 192, 192, 0.3));
}

/* الباجات */
.badge-diamond {
    background: var(--gradient-silver);
    color: var(--text-dark);
    font-weight: 600;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.badge-price {
    display: inline-block;
    background: #2b2b2b;
    color: #ffd500;
    border: 1px solid #444;
    padding: .35rem .75rem;
    border-radius: 999px;
    font-size: .9rem;
    margin-bottom: .75rem;
}

/* بطاقات الأيقونات */
.icon-card {
    background: #141414;
    border: 1px solid #2a2a2a;
    border-radius: 16px;
    padding: 1rem;
    height: 100%;
}

.icon-card i {
    font-size: 2rem;
    display: block;
    margin-bottom: .5rem;
}

/* الأكورديون */
.accordion-button {
    background: #1a1a1a;
    color: #fff;
}

.accordion-item {
    border-color: #333;
}

/* فوتر */
.footer {
    background: rgba(26, 26, 26, 0.95);
    padding: 4rem 0 2rem;
    border-top: 2px solid var(--primary-silver);
}

.social-links a {
    width: 50px;
    height: 50px;
    background: var(--gradient-silver);
    color: var(--text-dark);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 10px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    transform: scale(1.1) rotate(360deg);
    box-shadow: 0 0 20px rgba(192, 192, 192, 0.4);
}

/* تأثيرات إضافية */
.glow-effect {
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { filter: drop-shadow(0 0 5px rgba(192, 192, 192, 0.5)); }
    to { filter: drop-shadow(0 0 20px rgba(192, 192, 192, 0.8)); }
}

.success-alert {
    background: rgba(40, 167, 69, 0.2);
    border: 2px solid #28a745;
    color: #28a745;
    padding: 1rem;
    border-radius: 15px;
    margin: 1rem 0;
}

.error-alert {
    background: rgba(220, 53, 69, 0.2);
    border: 2px solid #dc3545;
    color: #dc3545;
    padding: 1rem;
    border-radius: 15px;
    margin: 1rem 0;
}

.tooltip-inner {
    max-width: 250px;
    text-align: center;
}

.update-policy {
    font-size: 0.9rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.7);
}

/* الرسبونس */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .register-form {
        padding: 2rem 1.5rem;
    }
    
    .media-gallery {
        grid-template-columns: 1fr;
    }
}