@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

/* تحميل الخط المخصص */
@font-face {
    font-family: 'Zain';
    src: url('./assets/Zain-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

/* إعدادات عامة */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Zain', 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: linear-gradient(180deg, #000000 0%, #1a0000 50%, #330000 100%);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* خلفية النجوم المتحركة */
.stars-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.star {
    position: absolute;
    background: #FFD700;
    border-radius: 50%;
    animation: twinkle 3s infinite ease-in-out;
}

.star:nth-child(1) {
    width: 2px;
    height: 2px;
    top: 10%;
    left: 20%;
    animation-delay: 0s;
}

.star:nth-child(2) {
    width: 3px;
    height: 3px;
    top: 20%;
    left: 80%;
    animation-delay: 0.5s;
}

.star:nth-child(3) {
    width: 1px;
    height: 1px;
    top: 30%;
    left: 50%;
    animation-delay: 1s;
}

.star:nth-child(4) {
    width: 2px;
    height: 2px;
    top: 40%;
    left: 10%;
    animation-delay: 1.5s;
}

.star:nth-child(5) {
    width: 3px;
    height: 3px;
    top: 50%;
    left: 90%;
    animation-delay: 2s;
}

.star:nth-child(6) {
    width: 1px;
    height: 1px;
    top: 60%;
    left: 30%;
    animation-delay: 2.5s;
}

.star:nth-child(7) {
    width: 2px;
    height: 2px;
    top: 70%;
    left: 70%;
    animation-delay: 0.3s;
}

.star:nth-child(8) {
    width: 3px;
    height: 3px;
    top: 80%;
    left: 40%;
    animation-delay: 0.8s;
}

.star:nth-child(9) {
    width: 1px;
    height: 1px;
    top: 90%;
    left: 60%;
    animation-delay: 1.3s;
}

.star:nth-child(10) {
    width: 2px;
    height: 2px;
    top: 15%;
    left: 85%;
    animation-delay: 1.8s;
}

.star:nth-child(11) {
    width: 3px;
    height: 3px;
    top: 25%;
    left: 15%;
    animation-delay: 2.3s;
}

.star:nth-child(12) {
    width: 1px;
    height: 1px;
    top: 35%;
    left: 75%;
    animation-delay: 0.1s;
}

.star:nth-child(13) {
    width: 2px;
    height: 2px;
    top: 45%;
    left: 25%;
    animation-delay: 0.6s;
}

.star:nth-child(14) {
    width: 3px;
    height: 3px;
    top: 55%;
    left: 95%;
    animation-delay: 1.1s;
}

.star:nth-child(15) {
    width: 1px;
    height: 1px;
    top: 65%;
    left: 5%;
    animation-delay: 1.6s;
}

.star:nth-child(16) {
    width: 2px;
    height: 2px;
    top: 75%;
    left: 55%;
    animation-delay: 2.1s;
}

.star:nth-child(17) {
    width: 3px;
    height: 3px;
    top: 85%;
    left: 35%;
    animation-delay: 0.4s;
}

.star:nth-child(18) {
    width: 1px;
    height: 1px;
    top: 95%;
    left: 65%;
    animation-delay: 0.9s;
}

.star:nth-child(19) {
    width: 2px;
    height: 2px;
    top: 5%;
    left: 45%;
    animation-delay: 1.4s;
}

.star:nth-child(20) {
    width: 3px;
    height: 3px;
    top: 12%;
    left: 88%;
    animation-delay: 1.9s;
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* الهيدر */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    color: #00FFFF;
    margin-bottom: 0.2rem;
    /* text-shadow: 
        2px 2px 0px #ff0000,
        4px 4px 0px #00ff00,
        6px 6px 0px #0000ff,
        8px 8px 0px rgba(255, 255, 0, 0.8),
        10px 10px 0px rgba(255, 0, 255, 0.6),
        12px 12px 0px rgba(0, 255, 255, 0.4); */
    /* animation: pixelGlow 2s ease-in-out infinite alternate; */
    letter-spacing: 2px;
    position: relative;
    text-shadow: 2px 2px 0px #800080, 4px 4px 0px #FF00FF;
}



@keyframes pixelGlow {
    0% {
        text-shadow: 
            2px 2px 0px #ff0000,
            4px 4px 0px #00ff00,
            6px 6px 0px #0000ff,
            8px 8px 0px rgba(255, 255, 0, 0.8),
            10px 10px 0px rgba(255, 0, 255, 0.6),
            12px 12px 0px rgba(0, 255, 255, 0.4);
    }
    50% {
        text-shadow: 
            2px 2px 0px #00ff00,
            4px 4px 0px #0000ff,
            6px 6px 0px #ff0000,
            8px 8px 0px rgba(0, 255, 255, 0.8),
            10px 10px 0px rgba(255, 255, 0, 0.6),
            12px 12px 0px rgba(255, 0, 255, 0.4);
    }
    100% {
        text-shadow: 
            2px 2px 0px #0000ff,
            4px 4px 0px #ff0000,
            6px 6px 0px #00ff00,
            8px 8px 0px rgba(255, 0, 255, 0.8),
            10px 10px 0px rgba(0, 255, 255, 0.6),
            12px 12px 0px rgba(255, 255, 0, 0.4);
    }
}



.logo span {
    font-size: 0.9rem;
    color: #FF0000;
    font-weight: normal;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav a:hover {
    color: #FF0000;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #FF0000;
    transition: width 0.3s ease;
}

.nav a:hover::after {
    width: 100%;
}

/* القسم الرئيسي */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
}

.hero-content {
    max-width: 800px;
}

.hero-title {
    font-size: 4rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 2rem;
    color: #FF0000;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-description {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 2rem;
    line-height: 1.8;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* الأزرار */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(45deg, #FF0000, #FF4444);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(45deg, #CC0000, #FF0000);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
}

.btn-secondary:hover {
    background: #FFD700;
    color: #000000;
    transform: translateY(-2px);
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    color: #ffffff;
}

/* قسم الفيديوهات */
.featured-videos {
    padding: 5rem 0;
    background: rgba(0, 0, 0, 0.3);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    color: #ffffff;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(45deg, #FF0000, #FFD700);
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.video-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 0, 0, 0.2);
}

.video-thumbnail {
    position: relative;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.1);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 0, 0, 0.8);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.video-card:hover .play-button {
    background: rgba(255, 0, 0, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-info {
    padding: 1.5rem;
}

.video-info h3 {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.video-info p {
    color: #e0e0e0;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

/* قسم حول */
.about {
    padding: 5rem 0;
    background: rgba(255, 0, 0, 0.1);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-content ul {
    text-align: right;
    max-width: 600px;
    margin: 2rem auto;
}

.about-content li {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: #e0e0e0;
}

/* الفوتر */
.footer {
    background: rgba(0, 0, 0, 0.8);
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(255, 0, 0, 0.3);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p {
    color: #e0e0e0;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #FF0000;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #999999;
}

/* الأنيميشن */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* تأثير تدرج اللون الأحمر عند النزول */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, 
        rgba(0, 0, 0, 0) 0%, 
        rgba(26, 0, 0, 0.3) 30%, 
        rgba(51, 0, 0, 0.5) 60%, 
        rgba(102, 0, 0, 0.7) 100%);
    z-index: -2;
    pointer-events: none;
}

/* الاستجابة للهواتف */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav ul {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .videos-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 120px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .videos-grid {
        grid-template-columns: 1fr;
    }
    
    .video-card {
        margin: 0 10px;
    }
}



/* قسم التواصل الاجتماعي */
.social-media {
    padding: 5rem 0;
    background: rgba(0, 0, 0, 0.5);
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 3rem;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #ffffff;
    font-size: 1.1rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-link:hover {
    transform: translateY(-10px);
    color: #FF0000;
}

.social-link img {
    width: 60px;
    height: 60px;
    margin-bottom: 0.5rem;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
    transition: box-shadow 0.3s ease;
}

.social-link:hover img {
    box-shadow: 0 0 25px rgba(255, 0, 0, 0.5);
}

/* ألوان خاصة لكل أيقونة */
.social-link.telegram img {
    background-color: #0088cc;
}

.social-link.x-twitter img {
    background-color: #000000;
}

.social-link.instagram img {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.social-link.tiktok img {
    background-color: #000000;
}

@media (max-width: 768px) {
    .social-links {
        gap: 1.5rem;
    }

    .social-link img {
        width: 50px;
        height: 50px;
    }

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




latform */
.social-media-popup .social-icon.telegram:hover {
    background: rgba(0, 136, 204, 0.2);
    color: #0088cc;
}

.social-media-popup .social-icon.x-twitter:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.social-media-popup .social-icon.instagram:hover {
    background: linear-gradient(45deg, rgba(253, 89, 73, 0.2), rgba(214, 36, 159, 0.2));
    color: #fd5949;
}

.social-media-popup .social-icon.tiktok:hover {
    background: rgba(255, 0, 80, 0.2);
    color: #ff0050;
}

/* Adjust navigation for popup */
.nav ul {
    position: relative;
}

.nav ul li:last-child {
    position: relative;
}

/* Animation for popup entrance */
@keyframes popupSlideIn {
    0% {
        opacity: 0;
        transform: translateY(-20px) scale(0.8);
    }
    50% {
        transform: translateY(5px) scale(1.05);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.social-media-popup.show {
    animation: popupSlideIn 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .social-media-popup {
        right: -10px;
        min-width: 160px;
        padding: 15px;
    }
    
    .social-media-popup .social-icon {
        padding: 10px 12px;
        gap: 10px;
    }
    
    .social-media-popup .social-icon img {
        width: 30px;
        height: 30px;
    }
}






/* قسم التواصل الجديد */
.contact {
    padding: 5rem 0;
    background: rgba(0, 0, 0, 0.5);
    text-align: center;
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}




.social-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 3rem;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #ffffff;
    font-size: 1.1rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-link:hover {
    transform: translateY(-10px);
    color: #FF0000;
}

.social-link img {
    width: 60px;
    height: 60px;
    margin-bottom: 0.5rem;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
    transition: box-shadow 0.3s ease;
}

.social-link:hover img {
    box-shadow: 0 0 25px rgba(255, 0, 0, 0.5);
}

/* ألوان خاصة لكل أيقونة */
.social-link.telegram img {
    background-color: #0088cc;
}

.social-link.x-twitter img {
    background-color: #000000;
}

.social-link.instagram img {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.social-link.tiktok img {
    background-color: #000000;
}

@media (max-width: 768px) {
    .social-links {
        gap: 1.5rem;
    }

    .social-link img {
        width: 50px;
        height: 50px;
    }

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




.logo-white {
    color: #ffffff;
    text-shadow: none;
}


