/* --- GLOBAL --- */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }
body { overflow-x: hidden; direction: rtl; background: #000; }

.bg { position: fixed; inset: 0; background: linear-gradient(-45deg, #6a11cb, #2575fc, #ffffff, #f3e5f5); background-size: 400% 400%; animation: gradientBG 15s ease infinite; z-index: -2; }
@keyframes gradientBG { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }

/* --- NAVIGATION --- */
.top-bar { position: fixed; top: 0; width: 100%; height: 80px; padding: 0 40px; display: flex; justify-content: space-between; align-items: center; background: rgba(0, 0, 0, 0.85); backdrop-filter: blur(15px); z-index: 1000; color: white; }
.logo-text { font-size: 24px; font-weight: 800; }
.social-header a i { color: white; font-size: 22px; margin-left: 15px; transition: 0.3s; }

/* --- PASSWORD CARD FIX --- */
.password-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 30px 0;
}

.password-card-pro {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    padding: 30px;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 90%;
    max-width: 450px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    text-align: center;
}

.pass-header {
    color: white;
    margin-bottom: 20px;
}

.pass-header i {
    font-size: 40px;
    margin-bottom: 10px;
    display: block;
}

.pass-header h3 {
    font-size: 24px;
    font-weight: 800;
}

.pass-group-pro {
    display: flex;
    gap: 10px;
    flex-direction: column; /* Better for mobile/tablet */
}

.pass-group-pro input {
    padding: 15px;
    border-radius: 12px;
    border: none;
    outline: none;
    font-size: 16px;
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
}

.pass-btn-glow {
    background: #6a11cb;
    color: white;
    padding: 15px;
    border-radius: 12px;
    border: none;
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s;
}

.pass-btn-glow:hover {
    background: #2575fc;
    transform: translateY(-2px);
}

/* --- HERO & MAIN CONTENT --- */
.video-section-big { width: 100%; height: 100vh; background: #000; padding-top: 80px; }
.video-section-big iframe { width: 100%; height: 100%; border: none; }
.main-container { width: 100%; display: flex; flex-direction: column; align-items: center; padding: 60px 20px; position: relative; }
.welcome-text-huge { color: white; font-size: 60px; font-weight: 900; margin-bottom: 40px; text-align: center; }
.join-btn-massive { background: white; color: #6a11cb; padding: 20px 50px; border-radius: 50px; font-size: 22px; font-weight: 800; border: none; cursor: pointer; transition: 0.4s; margin-bottom: 40px; }

/* --- INFORMATION FRAME FIX --- */
.frame-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.9); backdrop-filter: blur(15px); display: flex; justify-content: center; align-items: center; z-index: 9999; }
.frame-content-mega { background: white; padding: 40px; border-radius: 30px; width: 90%; max-width: 500px; position: relative; text-align: center; box-shadow: 0 25px 50px rgba(0,0,0,0.5); }
.kurdish-title-huge { font-size: 28px; margin-bottom: 25px; color: #333; }
.input-container-huge { display: flex; flex-direction: column; gap: 15px; }
.input-field { display: flex; align-items: center; background: #f0f2f5; padding: 15px; border-radius: 15px; gap: 10px; border: 2px solid transparent; }
.input-field i { color: #6a11cb; font-size: 20px; width: 30px; }
.input-field input, .input-field textarea { border: none; background: none; outline: none; width: 100%; font-size: 17px; text-align: right; font-weight: 600; }
.input-field textarea { height: 100px; resize: none; }
.submit-btn-massive { width: 100%; margin-top: 25px; background: linear-gradient(90deg, #6a11cb, #2575fc); color: white; padding: 18px; border: none; border-radius: 15px; font-size: 20px; font-weight: 800; cursor: pointer; }
.close-btn-new { position: absolute; top: 20px; left: 20px; background: #eee; border: none; width: 35px; height: 35px; border-radius: 50%; cursor: pointer; }

/* --- GRID & FOOTER --- */
.news-section { padding: 80px 40px; text-align: center; background: #000; }
.news-main-title { font-size: 50px; color: white; margin-bottom: 50px; }
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; max-width: 1300px; margin: 0 auto; }
.news-thumb { width: 100%; aspect-ratio: 16/9; border-radius: 15px; overflow: hidden; margin-bottom: 15px; border: 2px solid #222; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.news-card { text-decoration: none; color: white; }
.footer-info-fixed { margin-top: 60px; text-align: center; max-width: 900px; }
.description-text-large { color: white; font-size: 24px; font-weight: 600; line-height: 1.6; margin-bottom: 30px; display: block; }
.discord-btn-cool { display: inline-block; background: #5865F2; color: white; padding: 18px 40px; border-radius: 50px; text-decoration: none; font-size: 20px; font-weight: 800; }
.reveal { opacity: 0; transform: translateY(30px); transition: 0.8s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }