﻿/* استيراد خطوط */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    background-color: #0a0d14;
    color: #e0e0e0;
    line-height: 1.7;
}

/* الخط الإنجليزي */
h1, h2, h3, .cta-button, .download-box h3, .download-button, .navbar ul li a {
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.5px;
}

/* Navbar */
.navbar {
    background: linear-gradient(to right, #10141b, #1a1f28);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar ul {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    list-style: none;
}

.navbar ul li a {
    color: #00ffd5;
    text-decoration: none;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
    background-color: rgba(255, 255, 255, 0.05);
}

.navbar ul li a:hover {
    background-color: #00ffd5;
    color: #000;
    box-shadow: 0 0 12px #00ffd5;
}

.welcome {
    color: #4caf50;
    font-weight: bold;
}

.online-count {
    color: #ff9800;
    font-weight: bold;
}

/* روابط التواصل */
.social-links {
    background-color: #11161e;
    text-align: center;
    padding: 15px 0;
}

.social-icon {
    width: 36px;
    margin: 0 8px;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.1);
}

/* الهيدر */
.header-image {
    background: url('images/header.jpg') no-repeat center center/cover;
    height: 350px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-image::after {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.65);
    z-index: 1;
}

.header-image .overlay {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
}

.header-image h1 {
    font-size: 42px;
    color: #00ffe1;
    margin-bottom: 10px;
    text-shadow: 1px 1px 10px #00ffe1;
}

.header-image p {
    font-size: 18px;
    color: #ccc;
}

/* المحتوى */
main {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
}

main section {
    margin-bottom: 50px;
    padding: 30px;
    background-color: #1b222d;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0,0,0,0.4);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

main h2, section h2 {
    font-size: 28px;
    color: #00ffe1;
    margin-bottom: 25px;
    text-align: center;
}

/* CTA Button */
.cta {
    text-align: center;
}

.cta-button {
    display: inline-block;
    margin: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #00bcd4, #0fffc1);
    color: #000;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 0 12px #00ffe1;
}

.cta-button:hover {
    background: linear-gradient(135deg, #00a5ba, #0cd4a2);
    color: #fff;
    transform: translateY(-2px);
}

/* Footer */
footer {
    background: #10141b;
    color: #777;
    text-align: center;
    padding: 20px;
    border-top: 1px solid #222;
    margin-top: 60px;
}

/* فورم */
form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

label {
    font-weight: bold;
    color: #ccc;
}

input[type="text"],
input[type="email"],
input[type="password"] {
    padding: 12px;
    border: none;
    border-radius: 6px;
    background-color: #2a313d;
    color: #fff;
    font-size: 16px;
    transition: all 0.2s ease;
}

input:focus {
    outline: none;
    background-color: #333b49;
    box-shadow: 0 0 5px #03a9f4;
}

button[type="submit"] {
    padding: 14px;
    background: linear-gradient(135deg, #00ffd5, #00b8a2);
    color: #000;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px #00ffe1;
}

button:hover {
    background-color: #00c5a5;
    color: #fff;
    transform: scale(1.02);
}

/* كابتشا */
img[alt="CAPTCHA Image"] {
    margin-top: -10px;
    max-width: 150px;
}

/* رسائل */
.success {
    background-color: #2e7d32;
    padding: 12px;
    color: #fff;
    border-radius: 6px;
    margin-bottom: 20px;
    text-align: center;
}

.error {
    background-color: #c62828;
    padding: 12px;
    color: #fff;
    border-radius: 6px;
    margin-bottom: 20px;
    text-align: center;
}

/* Responsive */
@media (max-width: 600px) {
    main section {
        margin: 20px;
        padding: 20px;
    }
}

/* رقم الهاتف */
#phone {
    width: 300px;
    padding: 10px 15px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    direction: ltr;
}

.iti__country-list {
    background-color: #fff !important;
    color: #000 !important;
    border: 1px solid #ccc;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 9999;
}

.iti__country {
    padding: 10px;
}

.iti__country:hover,
.iti__country.iti__highlight {
    background-color: #f0f0f0 !important;
    color: #000 !important;
}

.iti__flag-box {
    margin-right: 10px;
}

/* صفحة التحميل */
.download-section {
    max-width: 1100px;
    margin: 60px auto;
    padding: 30px;
    background-color: #1a1a1a;
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
    color: #f5f5f5;
    text-align: center;
    font-family: 'Segoe UI', sans-serif;
}

.download-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #00ffd5;
    letter-spacing: 1px;
}

.download-section p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: #ccc;
}

.download-boxes {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 30px;
}

.download-box {
    background-color: #2b2b2b;
    border: 1px solid #444;
    border-radius: 16px;
    padding: 25px;
    width: 100%;
    max-width: 480px;
    box-shadow: 0 0 12px rgba(0, 255, 213, 0.2);
    transition: transform 0.3s ease;
}

.download-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 18px rgba(0, 255, 213, 0.4);
}

.download-box h3 {
    font-size: 1.6rem;
    color: #00ffd5;
    margin-bottom: 15px;
}

.download-box p {
    font-size: 1rem;
    color: #bbb;
    margin-bottom: 25px;
}

.download-button {
    display: inline-block;
    background: linear-gradient(145deg, #00ffd5, #007b7b);
    color: #000;
    text-decoration: none;
    padding: 12px 22px;
    margin: 5px;
    border-radius: 12px;
    font-weight: bold;
    transition: 0.2s ease;
}

.download-button:hover {
    background: #00c0a3;
    color: #fff;
}

.discord-btn {
    display: inline-block;
    background-color: #5865F2;
    color: white;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 16px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.discord-btn:hover {
    background-color: #4752c4;
}
/* التصميم العام لأي sidebar */
.sidebar {
    position: fixed;
    top: 100px;
    width: 320px;
    background-color: #1e1e1e;
    padding: 10px;
    z-index: 999;
    overflow-y: auto;
    max-height: 90vh;
    border-radius: 8px;
}

/* اليسار */
.left-sidebar {
    left: 0;
    border-right: 2px solid #444;
}

/* اليمين */
.right-sidebar {
    right: 0;
    border-left: 2px solid #444;
}

.iframe-container {
    margin-bottom: 20px;
    background-color: #2b2b2b;
    padding: 10px;
    border-radius: 8px;
}

.iframe-container h3 {
    color: #fff;
    text-align: center;
    margin-bottom: 10px;
    font-size: 16px;
}
@media (max-width: 768px) {
    .sidebar {
        display: none;
    }
}
