/* @import الرابط والخطوط */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cairo', sans-serif;
}

body {
    background-color: #050508;
    color: #ffffff;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

/* خلفية النيون الأزرق المظلمة */
.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 81, 255, 0.12) 0%, rgba(5, 5, 8, 1) 85%);
    z-index: -1;
}

.container {
    width: 100%;
    max-width: 1200px;
    padding: 40px 20px;
    text-align: center;
}

/* الهيدر والعناوين */
.gang-header {
    margin-bottom: 50px;
}

.gang-title {
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 0 25px rgba(0, 102, 255, 0.6);
}

.gang-subtitle {
    font-size: 1.1rem;
    color: #6c7281;
    margin-top: 10px;
}

/* الأزرار وتنسيق صفوف الأزرار */
.buttons-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 35px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.btn-submit {
    background: linear-gradient(135deg, #0051ff 0%, #002b87 100%);
    color: #fff;
    border: 1px solid rgba(0, 81, 255, 0.5);
    box-shadow: 0 0 15px rgba(0, 81, 255, 0.3);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(0, 81, 255, 0.6);
}

.btn-discord {
    background: #0b0e14;
    color: #0066ff;
    border: 1px solid rgba(0, 102, 255, 0.3);
}

.btn-discord:hover {
    background: rgba(0, 102, 255, 0.1);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.4);
}

.btn-login-nav {
    background: transparent;
    color: #6c7281;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.btn-login-nav:hover {
    color: #fff;
    border-color: #0066ff;
    background: rgba(0, 102, 255, 0.05);
}

/* الكروت والقوائم للأعضاء */
.section-title {
    font-size: 2rem;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: #0066ff;
    box-shadow: 0 0 10px #0066ff;
}

.members-grid {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.member-card {
    background: linear-gradient(145deg, #090d16 0%, #05060a 100%);
    border: 1px solid rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    padding: 30px;
    width: 250px;
    transition: all 0.4s ease;
    position: relative;
}

.member-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 102, 255, 0.3);
    box-shadow: 0 0 20px rgba(0, 81, 255, 0.15);
}

.owner-card {
    border: 1px solid rgba(0, 102, 255, 0.3);
}

.avatar-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 15px auto;
}

.member-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #0a0f1d;
}

.owner-card .member-avatar {
    border-color: #0066ff;
}

.badge-owner {
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    background: #0066ff;
    font-size: 0.7rem;
    font-weight: 900;
    padding: 2px 10px;
    border-radius: 20px;
    box-shadow: 0 0 8px #0066ff;
}

.member-name {
    font-size: 1.15rem;
    margin-bottom: 5px;
}

.member-role {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
}

.owner-card .member-role { color: #0066ff; }
.title-co-leader { color: #267fff; }
.title-manager { color: #599bff; }
.title-member { color: #8cb7ff; }

/* الاستمارات (Forms) والدخول */
.form-box {
    background: #090d16;
    border: 1px solid rgba(0, 102, 255, 0.1);
    max-width: 550px;
    margin: 40px auto;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: right;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
}

.form-box h2 {
    text-align: center;
    margin-bottom: 30px;
    font-weight: 900;
    color: #fff;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: #a0a6b5;
    font-weight: 600;
}

.input-group input, .input-group select, .input-group textarea {
    width: 100%;
    padding: 14px;
    background: #05070c;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.input-group input:focus, .input-group textarea:focus {
    border-color: #0066ff;
    box-shadow: 0 0 10px rgba(0, 102, 255, 0.2);
}

.btn-block {
    width: 100%;
    justify-content: center;
    margin-top: 10px;
}

/* لوحة التحكم والطلبات */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 20px;
    margin-bottom: 40px;
}

.user-info-tag {
    display: flex;
    align-items: center;
    gap: 15px;
}

.role-badge {
    background: rgba(0, 102, 255, 0.2);
    color: #0066ff;
    padding: 4px 14px;
    border-radius: 6px;
    font-weight: 700;
    border: 1px solid rgba(0, 102, 255, 0.3);
}

.apps-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: right;
}

.app-card {
    background: #090d16;
    border: 1px solid rgba(255,255,255,0.03);
    border-radius: 10px;
    padding: 25px;
    position: relative;
}

.app-card-header {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 12px;
    margin-bottom: 15px;
}

.app-grid-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.field-block {
    margin-bottom: 10px;
}

.field-title {
    font-size: 0.85rem;
    color: #6c7281;
    margin-bottom: 3px;
}

.field-value {
    font-size: 1.05rem;
    font-weight: 600;
}

.video-link {
    color: #0066ff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.video-link:hover {
    text-decoration: underline;
}

.no-apps {
    text-align: center;
    color: #6c7281;
    padding: 40px;
    font-size: 1.2rem;
}

/* فوتر الحقوق */
.gang-footer {
    margin-top: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 25px;
    color: #414550;
    font-size: 0.9rem;
}

.developer-name {
    color: #0066ff;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(0, 102, 255, 0.4);
}