/* ============================================================
   Majlis57.css — الأنماط الخاصة بصفحة Majlis57.html
   يُحمَّل بعد الملفات المشتركة، فأي قاعدة هنا تتجاوزها.
   ============================================================ */

/* ============================================================
   Majlis57.css — الأنماط الخاصة بصفحة Majlis57.html
   يُحمَّل بعد الملفات المشتركة، فأي قاعدة هنا تتجاوزها.
   ============================================================ */

[data-theme="light"] {
    --glow-cyan-intense: 0 4px 30px rgba(0, 168, 204, 0.3);
}

html {
    overflow-x: hidden;
    width: 100%;
}

body {
    width: 100%;
    max-width: 100vw;
}

.bg-glow {
    overflow: hidden;
}

.navbar-content {
    margin-inline: auto;
}

/* SECTION COMMON */

section {
    padding: 100px 20px;
    position: relative;
    z-index: 1;
    width: 100%;
}

.container {
    max-width: 1200px;
    margin-inline: auto;
    width: 100%;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    margin-inline: auto;
    width: 80px;
    height: 3px;
    background: var(--gradient-neon);
    border-radius: 2px;
}

.section-title .accent {
    color: var(--neon-cyan);
    text-shadow: var(--glow-text);
}

/* Main Page Title Style */

.page-title {
    font-family: var(--font-body);
    font-size: clamp(2.5rem, 6vw, 4rem);
    text-align: center;
    margin-bottom: 50px;
    color: var(--neon-cyan);
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.5), 0 0 60px rgba(0, 212, 255, 0.3);
    letter-spacing: normal;
    animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    from { text-shadow: 0 0 20px rgba(0, 212, 255, 0.4), 0 0 40px rgba(0, 212, 255, 0.2); }
    to { text-shadow: 0 0 40px rgba(0, 212, 255, 0.8), 0 0 80px rgba(0, 212, 255, 0.4); }
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: var(--radius-xl);
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-normal);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-neon);
    color: var(--bg-primary);
    box-shadow: var(--glow-cyan);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--glow-cyan-intense);
}

/* HERO SECTION STYLES */

.majlis-hero {
    padding-top: 150px;
}

.glass-card {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, rgba(0, 139, 139, 0.05) 100%);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 28px;
    border: 1px solid var(--border-accent);
    position: relative;
    overflow: hidden;
    text-align: start;   /* يتبع اتجاه الصفحة: يمين بالعربي، يسار بالإنجليزي */
    margin-bottom: 40px;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-neon);
    opacity: 0.9;
}

.rules-text {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 2;
}

.rules-text strong {
    color: var(--neon-cyan);
    text-shadow: var(--glow-text);
}

.rules-bullets {
    list-style: none;
    display: grid;
    gap: 10px;
    margin-top: 15px;
    margin-bottom: 20px;
}

.rules-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: rgba(0,0,0,0.2);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    color: var(--text-secondary);
}

[data-theme="light"] .rules-bullets li {
    background: rgba(255,255,255,0.6);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-top: 9px;
    flex-shrink: 0;
    background: var(--neon-cyan);
    box-shadow: 0 0 12px rgba(0, 212, 255, 0.6);
}

.callout {
    margin-top: 20px;
    padding: 15px 18px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(248, 113, 113, 0.35);
    background: rgba(248, 113, 113, 0.08);
    color: var(--text-secondary);
}

.callout strong {
    color: #f87171;
    text-shadow: none;
}

.note-box {
    margin: 15px 0;
    padding: 15px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 212, 255, 0.28);
    background: rgba(0, 212, 255, 0.07);
    color: var(--text-secondary);
}

.note-box strong {
    color: var(--neon-cyan);
    text-shadow: var(--glow-text);
}

/* Dashboard (Now inside Hero) */

.dashboard-container {
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid var(--neon-cyan);
    box-shadow: var(--glow-cyan);
    border-radius: var(--radius-lg);
    padding: 40px;
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
    margin-bottom: 40px;
}

.dashboard-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 212, 255, 0.05), transparent);
    pointer-events: none;
}

.dash-item {
    position: relative;
    z-index: 2;
}

/* Updated Dash Label Styles */

.dash-label {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 10px;
    font-family: var(--font-body);
}

.dash-value {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--neon-cyan);
    text-shadow: var(--glow-text);
    white-space: pre-line;
}

/* Loading Spinner */

.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    grid-column: 1 / -1;
}

.spinner-circle {
    width: 50px;
    height: 50px;
    border: 3px solid var(--border-subtle);
    border-top-color: var(--neon-cyan);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

.spinner-text {
    color: var(--text-muted);
    font-size: 0.9rem;
}

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

/* Forms Section */

.forms-section {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.forms-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.form-card {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, rgba(0, 139, 139, 0.05) 100%);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 34px;
    border: 1px solid var(--border-accent);
    position: relative;
    overflow: hidden;
    height: 100%;
    transition: all 0.3s ease;
}

.form-card:hover {
    transform: translateY(-6px);
    border-color: var(--neon-cyan);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.15);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.08) 0%, rgba(0, 139, 139, 0.08) 100%);
}

.form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-neon);
    box-shadow: 0 0 10px var(--neon-cyan);
}

.form-header {
    margin-bottom: 25px;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 15px;
}

.form-header h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.form-header p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
}

.form-input, .form-textarea {
    width: 100%;
    padding: 15px 20px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1), var(--glow-cyan);
    transform: translateY(-2px);
}

.form-note {
    font-size: 0.85rem;
    color: #f87171;
    margin-top: 5px;
    display: block;
}

.form-submit {
    width: 100%;
    padding: 16px 32px;
    background: var(--gradient-neon);
    border: none;
    border-radius: var(--radius-xl);
    font-weight: 600;
    cursor: pointer;
    color: var(--bg-primary);
    font-size: 1rem;
    transition: all var(--transition-normal);
    font-family: var(--font-display);
    box-shadow: var(--glow-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.form-submit:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--glow-cyan-intense);
}

.form-submit:active {
    transform: translateY(0) scale(1);
}

.footer-content {
    margin-inline: auto;
}

.social-link {
    font-size: 1.2rem;
}

.social-link.kick:hover {
    box-shadow: 0 0 20px rgba(83, 252, 24, 0.4);
}

.social-link.twitch:hover {
    box-shadow: 0 0 20px rgba(145, 70, 255, 0.4);
}

.social-link.youtube:hover {
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.4);
}

.social-link.tiktok:hover {
    box-shadow: 0 0 20px rgba(255, 0, 80, 0.4);
}

.social-link.instagram:hover {
    box-shadow: 0 0 20px rgba(228, 64, 95, 0.4);
}

.social-link.twitter:hover {
    box-shadow: 0 0 20px rgba(29, 161, 242, 0.4);
}

.social-link.discord:hover {
    box-shadow: 0 0 20px rgba(88, 101, 242, 0.4);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

@media (max-width: 768px) {
    .dashboard-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .forms-grid {
        grid-template-columns: 1fr;
    }

    .majlis-hero {
        padding-top: 120px;
    }
}

/* Modal overlay close on background click */

.modal-overlay {
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.modal-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.modal-overlay > div {
    cursor: default;
    transform: translateY(20px) scale(0.97);
    transition: transform 0.35s ease;
}

.modal-overlay.show > div {
    transform: translateY(0) scale(1);
}

/* Select dropdown styling */

select.form-input option {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}
