/* ================= NAVBAR ================= */
.navbar {
    background: #020617 !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.navbar a {
    color: #fff !important;
    font-weight: 500;
}

.navbar a:hover {
    color: #8b5cf6 !important;
}


/* ================= HERO ================= */
#parallax {
    position: relative;
    background: linear-gradient(135deg, #020617 0%, #0f172a 100%);
    margin-bottom: -90px;
}

.parallax-image {
    opacity: 0.12 !important;
    filter: blur(4px) !important;
}

#parallax .mask {
    background: rgba(2,6,23,0.9) !important;
}

.hero-box {
    padding: 70px 20px 40px;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 56px;
    font-weight: 900;
    color: #fff;
    line-height: 1.3;
}

.hero-sub {
    color: #94a3b8;
    margin-top: 10px;
    font-size: 18px;
}

.hero-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 40px;
    border-radius: 50px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff !important;
    font-weight: bold;
    font-size: 15px;
    box-shadow: 0 10px 25px rgba(99,102,241,0.4);
    transition: all 0.3s ease;
}

.hero-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(99,102,241,0.6);
}

/* Glow */
.hero-box::after {
    content: "";
    position: absolute;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(99,102,241,0.2), transparent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(120px);
    z-index: -1;
}

/* Fade */
#parallax::after {
    content: "";
    position: absolute;
    bottom: -1px;
    width: 100%;
    height: 120px;
    background: linear-gradient(
        to bottom,
        rgba(2,6,23,0) 0%,
        rgba(2,6,23,0.7) 40%,
        #020617 100%
    );
}


/* ================= PAGE ================= */
body {
    background: #020617 !important;
    font-family: 'Cairo', sans-serif;
}

.page-wrapper,
.page-content,
.container,
section {
    background: transparent !important;
}

div[class*="bg-"] {
    background: transparent !important;
}

.page-content {
    padding-top: 5px !important;
    position: relative;
}

.container.py-4 {
    padding-top: 5px !important;
    margin-top: -80px;
    position: relative;
    z-index: 3;
}

/* Glow */
.page-content::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99,102,241,0.1), transparent);
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    filter: blur(120px);
    z-index: 0;
}


/* ================= CARDS ================= */
.card {
    border-radius: 20px !important;
    background: linear-gradient(145deg, #020617, #0b1220) !important;
    border: 1px solid rgba(255,255,255,0.06);
    transition: all 0.4s ease;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.6s ease forwards;
}

.card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0,0,0,0.7);
    border-color: rgba(99,102,241,0.8);
}

.card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(99,102,241,0.2), transparent);
    opacity: 0;
    transition: 0.4s;
    pointer-events: none;
}

.card:hover::after {
    opacity: 1;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ================= ADS ================= */
.ad-box {
    background: #020617;
    padding: 10px;
    border-radius: 14px;
    margin: 15px 0;
    text-align: center;
    border: 1px solid rgba(99,102,241,0.15);
}

.ad-box iframe {
    max-width: 100%;
    border-radius: 10px;
}


/* ================= FOOTER ================= */
footer {
    background: #020617 !important;
    border-top: 1px solid rgba(255,255,255,0.05);
}


/* ================= MOBILE ================= */
@media (max-width: 768px) {

    html, body {
        overflow-x: hidden !important;
    }

    .hero-box {
        padding: 40px 15px 20px !important;
        text-align: center;
    }

    .hero-title {
        font-size: 26px !important;
        line-height: 1.5;
    }

    .hero-sub {
        font-size: 14px;
        padding: 0 10px;
    }

    .hero-btn {
        font-size: 14px;
        padding: 10px 20px;
    }

    #parallax {
        margin-bottom: -40px !important;
    }

    .container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 10px !important;
        margin: 0 !important;
    }

    .row {
        margin: 0 !important;
    }

    .col,
    .col-md-6,
    .col-lg-4 {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        padding: 5px !important;
    }

    .card {
        margin-bottom: 15px !important;
        width: 100% !important;
    }

    .item-box {
        padding: 10px !important;
        font-size: 13px !important;
    }

    .item-box img {
        width: 26px;
        height: 26px;
    }

    .sidebars {
        margin-top: 20px;
    }

}




.extra-tools-btn {
    text-align: center;
    margin-top: 15px;
}

/* زرار احترافي */
.extra-btn {
    display: inline-block;
    padding: 10px 28px;
    border-radius: 40px;
    background: rgba(139,92,246,0.15);
    color: #c4b5fd;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(139,92,246,0.3);
    transition: all 0.3s ease;
}

.extra-btn:hover {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(99,102,241,0.4);
}