﻿:root {
    --bg-color: #f8fafc;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --primary: #8b5cf6;
    --primary-light: #a78bfa;
    --secondary: #0ea5e9;
    --danger: #ef4444;
    --success: #10b981;
    --gradient-primary: linear-gradient(135deg, #0ea5e9 0%, #8b5cf6 100%);
    --gradient-hover: linear-gradient(135deg, #0284c7 0%, #7c3aed 100%);
    
    /* تم تقليل عتامة الزجاج هنا ليظهر الفيديو بشكل أجمل خلف كل الأقسام */
    --glass-bg: rgba(255, 255, 255, 0.75); 
    --glass-border: rgba(255, 255, 255, 0.85);
    
    --shadow-soft: 0 10px 30px -10px rgba(15, 23, 42, 0.12);
    --shadow-strong: 0 25px 60px -15px rgba(139, 92, 246, 0.25);
    --transition: 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-height: 100vh; background: var(--bg-color); color: var(--text-primary); font-family: "Cairo", sans-serif; line-height: 1.7; overflow-x: hidden; -webkit-user-select: none; user-select: none; }
img, video { -webkit-user-drag: none; user-drag: none; }
button, a { -webkit-tap-highlight-color: transparent; font-family: inherit; }
button:focus-visible, a:focus-visible { outline: 3px solid rgba(139, 92, 246, 0.45); outline-offset: 4px; }

.mx-auto { margin-left: auto; margin-right: auto; }

/* Mouse Glow */
.mouse-glow { position: fixed; top: 0; left: 0; width: 450px; height: 450px; border-radius: 50%; background: radial-gradient(circle, rgba(139, 92, 246, 0.16) 0%, rgba(14, 165, 233, 0.07) 35%, transparent 70%); transform: translate3d(-50%, -50%, 0); pointer-events: none; z-index: 9998; filter: blur(12px); opacity: 0; transition: opacity 0.35s ease; will-change: transform; }

/* Preloader */
#preloader { position: fixed; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #f8fafc; z-index: 100000; transition: opacity 0.7s ease, visibility 0.7s ease; }
#preloader.loaded { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-logo { width: 120px; height: 120px; object-fit: cover; border-radius: 50%; animation: pulse-logo 1.5s ease-in-out infinite alternate; }
.loading-bar { width: 160px; height: 4px; margin-top: 28px; overflow: hidden; border-radius: 999px; background: rgba(139, 92, 246, 0.15); }
.loading-bar span { display: block; width: 50%; height: 100%; border-radius: inherit; background: var(--gradient-primary); animation: loading 1s linear infinite; }
@keyframes pulse-logo { from { transform: scale(1); filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.2)); } to { transform: scale(1.08); filter: drop-shadow(0 0 30px rgba(139, 92, 246, 0.7)); } }
@keyframes loading { from { transform: translateX(-150%); } to { transform: translateX(300%); } }

/* Background Video */
.video-container { position: fixed; inset: 0; overflow: hidden; z-index: -3; background: linear-gradient(135deg, #e2e8f0, #f8fafc); }
#bg-video { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; transform: scale(1.05); transition: filter 1s ease, opacity 1s ease; }
.video-overlay { position: fixed; inset: 0; z-index: -2; background: rgba(248, 250, 252, 0.75); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: opacity 1s ease, background 1s ease; }
.video-overlay.hidden { opacity: 0; pointer-events: none; }

/* Intro */
.intro-screen { position: fixed; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 40px; z-index: 50; background: rgba(255, 255, 255, 0.4); backdrop-filter: blur(8px); transition: transform 1s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.8s ease; }
.intro-screen.slide-up { transform: translateY(-100%); opacity: 0; pointer-events: none; }
.intro-logo img { width: 180px; height: 180px; animation: float 6s ease-in-out infinite; filter: drop-shadow(0 10px 25px rgba(139, 92, 246, 0.3)); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }
.smooth-logo-circle { object-fit: cover; border-radius: 50%; border: 2px solid rgba(139, 92, 246, 0.15); box-shadow: 0 4px 20px rgba(139, 92, 246, 0.2), inset 0 0 15px rgba(255, 255, 255, 0.8); transition: var(--transition); }

/* Buttons */
.btn, .explore-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; text-decoration: none; cursor: pointer; overflow: hidden; font-weight: 800; transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, background 0.4s ease; }
.btn { min-height: 56px; padding: 15px 34px; border-radius: 30px; font-size: 1.05rem; }
.btn::before, .explore-btn::after { content: ""; position: absolute; pointer-events: none; }
.btn::before { top: 0; left: -120%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent); transition: left 0.65s ease; }
.btn:hover:not(:disabled)::before { left: 120%; }
.btn-primary { color: #fff; background: var(--gradient-primary); box-shadow: 0 10px 25px rgba(139, 92, 246, 0.35); }
.btn-primary:hover:not(:disabled) { background: var(--gradient-hover); transform: translateY(-6px) scale(1.025); box-shadow: 0 20px 40px rgba(139, 92, 246, 0.48); }
.btn-primary:disabled { opacity: 0.6; filter: grayscale(50%); cursor: not-allowed; transform: none; box-shadow: none; }
.btn-secondary { color: var(--text-primary); background: rgba(255, 255, 255, 0.9); border: 2px solid #e2e8f0; box-shadow: var(--shadow-soft); }
.btn-secondary:hover:not(:disabled) { transform: translateY(-6px); border-color: #94a3b8; box-shadow: 0 15px 35px rgba(15, 23, 42, 0.15); }
.btn-small { padding: 8px 15px; font-size: 0.9rem; border-radius: 12px; width: auto; min-height: unset; }
.discord-btn { background: #5865f2; } .discord-btn:hover { background: #4752c4; }
.tiktok-btn { background: #000; color: #fff; } .tiktok-btn:hover { background: #111; }
.explore-btn { padding: 18px 45px; border-radius: 999px; color: #7c3aed; background: rgba(255, 255, 255, 0.95); border: 1px solid rgba(139, 92, 246, 0.4); font-size: 1.2rem; box-shadow: 0 10px 30px rgba(139, 92, 246, 0.25); }
.explore-btn::after { inset: 50% auto auto 50%; width: 300%; height: 300%; border-radius: 50%; background: radial-gradient(circle, rgba(139, 92, 246, 0.12), transparent 60%); transform: translate(-50%, -50%) scale(0); transition: transform 0.6s ease; }
.explore-btn:hover::after { transform: translate(-50%, -50%) scale(1); }
.explore-btn:hover { transform: scale(1.05); border-color: #8b5cf6; box-shadow: 0 15px 40px rgba(139, 92, 246, 0.4); }
.pulse-btn:not(:disabled) { animation: pulse-glowing 2.5s infinite cubic-bezier(0.66, 0, 0, 1); }
@keyframes pulse-glowing { 0% { box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.4); } 70% { box-shadow: 0 0 0 22px rgba(139, 92, 246, 0); } 100% { box-shadow: 0 0 0 0 rgba(139, 92, 246, 0); } }

/* Main */
.main-content-hidden { min-height: 100vh; opacity: 0; transform: translateY(40px); pointer-events: none; transition: opacity 1s ease, transform 1s cubic-bezier(0.23, 1, 0.32, 1); }
.main-content-hidden.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.content-wrapper { position: relative; z-index: 1; width: min(1200px, calc(100% - 40px)); min-height: 100vh; margin: 0 auto; padding: 30px 0 50px; display: flex; flex-direction: column; }

/* Navbar */
.main-header { position: sticky; top: 20px; z-index: 100; display: flex; align-items: center; justify-content: space-between; margin-bottom: 70px; padding: 10px 30px; border-radius: 60px; background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid rgba(139, 92, 246, 0.2); box-shadow: var(--shadow-soft); transition: transform 0.45s ease, opacity 0.35s ease; }
.main-header.nav-hidden { transform: translateY(-150%); opacity: 0; pointer-events: none; }
.logo-button { border: 0; background: transparent; padding: 0; cursor: pointer; }
.nav-logo { width: 60px; height: 60px; }
.logo-button:hover .nav-logo { transform: scale(1.08); }
nav ul { display: flex; align-items: center; gap: 10px; list-style: none; }
.nav-link { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 20px; color: var(--text-secondary); text-decoration: none; font-weight: 800; transition: var(--transition); }
.nav-link:hover, .nav-link.active { color: #7c3aed; background: rgba(139, 92, 246, 0.1); transform: translateY(-2px); }

/* Pages */
.page-section { display: none; min-height: 60vh; animation: fadeInPage 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards; }
.page-section.active-page { display: block; }
.hidden-page { display: none !important; }
@keyframes fadeInPage { from { opacity: 0; transform: translateY(25px) scale(0.985); } to { opacity: 1; transform: translateY(0) scale(1); } }

/* Cards */
.glass-card { position: relative; overflow: hidden; padding: 50px; border-radius: 32px; background: var(--glass-bg); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); border: 1px solid var(--glass-border); box-shadow: var(--shadow-soft); transition: var(--transition); }
.hero { text-align: center; margin-bottom: 50px; perspective: 1200px; }
.main-card { display: inline-block; width: 100%; max-width: 900px; transform-style: preserve-3d; background: rgba(255, 255, 255, 0.85); }
.glow-effect { position: absolute; inset: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(139, 92, 246, 0.12), transparent 70%); pointer-events: none; }

.badge, .sub-heading { display: inline-flex; align-items: center; gap: 8px; padding: 7px 18px; border-radius: 30px; background: rgba(139, 92, 246, 0.1); border: 1px solid rgba(139, 92, 246, 0.2); color: #7c3aed; font-weight: 800; }
.badge { margin-bottom: 24px; }
.gradient-text { margin-bottom: 20px; font-size: clamp(3.3rem, 8vw, 5rem); font-weight: 900; letter-spacing: -2px; background: var(--gradient-primary); -webkit-background-clip: text; color: transparent; }
.gradient-text-small { background: var(--gradient-primary); -webkit-background-clip: text; color: transparent; }
.subtitle { max-width: 750px; margin: 0 auto 45px; color: var(--text-secondary); font-size: 1.2rem; font-weight: 600; line-height: 1.9; }
.action-buttons { display: flex; justify-content: center; flex-wrap: wrap; gap: 18px; }

/* Sections */
.section-header { text-align: center; margin-bottom: 50px; }
.section-title { margin: 14px 0; font-size: clamp(2.2rem, 5vw, 3rem); font-weight: 900; }
.section-subtitle, .join-desc { max-width: 650px; margin: 0 auto; color: var(--text-secondary); font-size: 1.1rem; font-weight: 600; }
.reveal-element { opacity: 0; transform: translateY(50px); transition: opacity 0.8s cubic-bezier(0.5, 0, 0, 1), transform 0.8s cubic-bezier(0.5, 0, 0, 1); }
.reveal-element.active { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; } .delay-2 { transition-delay: 0.2s; } .delay-3 { transition-delay: 0.3s; } .delay-4 { transition-delay: 0.4s; } .delay-5 { transition-delay: 0.5s; }

/* Departments */
.grid-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; margin-bottom: 50px; }
.dept-card { text-align: center; padding: 42px 28px; cursor: pointer; background: linear-gradient(rgba(255,255,255,0.85), rgba(255,255,255,0.85)) padding-box, linear-gradient(135deg, rgba(255,255,255,1), rgba(255,255,255,0.5)) border-box; border: 2px solid transparent; transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.5s ease; }
.dept-card:hover { transform: translateY(-14px) scale(1.025); box-shadow: var(--shadow-strong); }
.icon-wrapper { width: 80px; height: 80px; margin: 0 auto 28px; display: flex; align-items: center; justify-content: center; border-radius: 24px; color: #fff; font-size: 2.1rem; background: var(--gradient-primary); box-shadow: 0 10px 20px rgba(139, 92, 246, 0.3); transition: var(--transition); }
.dept-card:hover .icon-wrapper { transform: scale(1.12) rotate(8deg); border-radius: 30px; }
.dept-card h3 { margin-bottom: 14px; font-size: 1.45rem; font-weight: 800; }
.dept-card p { margin-bottom: 24px; color: var(--text-secondary); font-weight: 600; }
.click-hint { display: inline-flex; align-items: center; gap: 8px; padding: 6px 15px; border-radius: 20px; color: #8b5cf6; background: rgba(139, 92, 246, 0.1); opacity: 0; transform: translateY(10px); transition: var(--transition); }
.dept-card:hover .click-hint, .dept-card:focus-visible .click-hint { opacity: 1; transform: translateY(0); color: #fff; background: var(--gradient-primary); }
@media (min-width: 1024px) { .staff-card { grid-column: span 2; max-width: 600px; width: 100%; justify-self: center; } }

/* Department Details */
.back-btn-container { margin-bottom: 30px; text-align: right; }
.back-btn { min-height: 48px; padding: 10px 20px; }
.single-dept-card { max-width: 900px; margin: 0 auto; background: rgba(255, 255, 255, 0.88); }
.modal-header { display: flex; align-items: center; gap: 20px; margin-bottom: 25px; padding-bottom: 20px; border-bottom: 2px dashed rgba(139, 92, 246, 0.3); }
.modal-header h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 900; }
.modal-icon { flex: 0 0 auto; width: 70px; height: 70px; display: flex; align-items: center; justify-content: center; border-radius: 20px; color: #fff; font-size: 2rem; background: var(--gradient-primary); }
.modal-desc { margin-bottom: 40px; color: var(--text-secondary); font-size: 1.2rem; font-weight: 600; }
.skills-section { position: relative; overflow: hidden; margin-bottom: 40px; padding: 35px; border-radius: 24px; background: rgba(248, 250, 252, 0.7); border: 2px solid rgba(226, 232, 240, 0.8); }
.skills-section::before { content: ""; position: absolute; top: 0; right: 0; width: 6px; height: 100%; background: var(--gradient-primary); }
.skills-section h3 { margin-bottom: 25px; font-size: 1.3rem; }
.skills-list { list-style: none; padding: 0; }
.skills-list li { position: relative; padding-right: 35px; margin-bottom: 18px; color: var(--text-secondary); font-weight: 600; }
.skills-list li::before { content: "\f058"; position: absolute; right: 0; top: 5px; font-family: "Font Awesome 6 Free"; font-weight: 900; color: #0ea5e9; }
.skills-list strong { display: inline-block; margin-left: 7px; padding: 3px 10px; border-radius: 10px; color: #7c3aed; background: rgba(139, 92, 246, 0.15); }

/* Join Section */
.join-us { text-align: center; margin-bottom: 80px; }
.apply-card { max-width: 950px; margin: 0 auto; padding: 60px 40px; }
.apply-toggle-btn { margin: 0 auto; }
.toggle-icon { transition: transform 0.4s ease; }
.toggle-icon.rotated { transform: rotate(180deg); }
.apply-content-wrapper { display: grid; grid-template-rows: 0fr; margin-top: 0; transition: grid-template-rows 0.6s cubic-bezier(0.4, 0, 0.2, 1); }
.apply-content-wrapper.open { grid-template-rows: 1fr; margin-top: 45px; }
.apply-content { overflow: hidden; }
.steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-bottom: 35px; }
.step-card { position: relative; padding: 30px; border-radius: 24px; text-align: right; background: rgba(248, 250, 252, 0.8); border: 1px solid rgba(226, 232, 240, 0.9); }
.step-number { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; margin-bottom: 15px; border-radius: 14px; color: #fff; background: var(--gradient-primary); font-weight: 900; }
.step-card h3 { margin-bottom: 10px; }
.step-card p { color: var(--text-secondary); font-weight: 600; }
.images-grid { display: flex; flex-direction: column; align-items: center; gap: 35px; padding: 10px; }
.apply-img { display: block; width: auto; max-width: 100%; height: auto; border-radius: 24px; border: 4px solid #fff; box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.15); transition: var(--transition); }
.apply-img:hover { transform: scale(1.015) translateY(-4px); box-shadow: 0 30px 60px -15px rgba(139, 92, 246, 0.25); }
.apply-discord-btn { margin-top: 30px; }

/* AURA Share Styles (المدمج) */
.drop-zone { position: relative; border: 2px dashed rgba(139, 92, 246, 0.5); border-radius: 20px; padding: 45px 20px; text-align: center; cursor: pointer; transition: var(--transition); margin-bottom: 25px; background: rgba(248, 250, 252, 0.6); }
.drop-zone:hover, .drop-zone.dragover { background: rgba(139, 92, 246, 0.1); border-color: var(--primary); transform: translateY(-4px); }
.share-icon-wrapper { background: transparent; box-shadow: none; color: var(--primary); width: auto; height: auto; font-size: 3.5rem; margin-bottom: 15px; }
.drop-zone:hover .share-icon-wrapper { transform: scale(1.15); color: var(--secondary); background: transparent; box-shadow: none; }
.drop-zone h3 { font-size: 1.5rem; margin-bottom: 10px; font-weight: 800; color: var(--text-primary); }
.text-highlight { color: var(--secondary); font-weight: 800; text-decoration: underline; text-decoration-color: rgba(14, 165, 233, 0.4); text-underline-offset: 4px; }

.file-list-container { margin-bottom: 30px; background: rgba(248, 250, 252, 0.85); border-radius: 16px; border: 1px solid rgba(226, 232, 240, 0.9); overflow: hidden; }
.file-list-header { display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; background: rgba(139, 92, 246, 0.1); border-bottom: 1px solid rgba(226, 232, 240, 0.8); }
.file-list-header h4 { font-size: 1.1rem; color: var(--primary); font-weight: 800;}
.file-list { max-height: 250px; overflow-y: auto; padding: 10px; }
.file-list::-webkit-scrollbar { width: 6px; }
.file-list::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 10px; }
.file-item { display: flex; align-items: center; justify-content: space-between; padding: 12px 15px; margin-bottom: 8px; background: #fff; border: 1px solid rgba(226, 232, 240, 0.8); border-radius: 12px; transition: var(--transition); }
.file-item:last-child { margin-bottom: 0; }
.file-item:hover { transform: translateX(-5px); box-shadow: var(--shadow-soft); border-color: rgba(139, 92, 246, 0.3); }
.file-info { display: flex; flex-direction: column; gap: 5px; overflow: hidden; }
.file-name { font-weight: 700; font-size: 0.95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; direction: ltr; text-align: left; max-width: 300px; color: var(--text-primary); }
.file-size { font-size: 0.85rem; color: var(--text-secondary); font-weight: 600; }
.file-status { font-size: 1.2rem; color: var(--text-secondary); }
.file-status.done { color: var(--success); }

.settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 35px; }
.input-group label { display: block; margin-bottom: 10px; font-size: 0.95rem; color: var(--text-secondary); font-weight: 700; }
.input-group input { width: 100%; padding: 16px; background: #fff; border: 2px solid rgba(226, 232, 240, 0.9); border-radius: 14px; color: var(--text-primary); outline: none; transition: var(--transition); font-size: 1rem; font-family: inherit; font-weight: 600; }
.input-group input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.15); }

.progress-container { margin-top: 25px; padding: 20px; background: #fff; border-radius: 14px; border: 2px solid rgba(226, 232, 240, 0.9); }
.progress-info { display: flex; justify-content: space-between; margin-bottom: 12px; font-weight: 800; font-size: 1rem; }
.progress-bar-bg { width: 100%; height: 10px; background: #e2e8f0; border-radius: 10px; overflow: hidden; position: relative; }
.progress-bar { height: 100%; width: 0%; background: var(--gradient-primary); transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: 0 0 15px var(--primary); position: relative; }

.success-icon { font-size: 4.5rem; color: var(--success); margin-bottom: 20px; animation: popIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.success-icon.loading { color: var(--secondary); animation: spinPulse 1.5s infinite; }
.link-box { display: flex; gap: 10px; margin-bottom: 30px; }
.link-box input { flex: 1; padding: 18px; background: #fff; border: 2px solid rgba(226, 232, 240, 0.9); border-radius: 14px; color: var(--primary); font-weight: bold; font-family: monospace; font-size: 1rem; outline: none; direction: ltr; text-align: left; transition: var(--transition); }
.link-box input:focus { border-color: var(--primary); }
.error-msg { background: rgba(239, 68, 68, 0.1); color: var(--danger); border: 1px solid rgba(239, 68, 68, 0.2); padding: 18px; border-radius: 14px; font-weight: bold; margin-top: 20px; text-align: right; }
.hidden { display: none !important; }

@keyframes popIn { 0% { transform: scale(0); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
@keyframes spinPulse { 0% { transform: scale(0.9) rotate(0deg); opacity: 0.8; } 50% { transform: scale(1.1) rotate(180deg); opacity: 1; } 100% { transform: scale(0.9) rotate(360deg); opacity: 0.8; } }

/* Footer */
footer { margin-top: auto; padding-top: 50px; }
.footer-card { text-align: center; padding: 40px; border-radius: 40px; background: rgba(255, 255, 255, 0.85); }
.footer-logo { width: 65px; height: 65px; margin-bottom: 20px; filter: grayscale(100%) opacity(0.5); }
.footer-logo:hover { filter: grayscale(0%) opacity(1) drop-shadow(0 4px 12px rgba(139,92,246,0.5)); transform: scale(1.08); }
.footer-socials { display: flex; align-items: center; justify-content: center; gap: 15px; margin-bottom: 20px; }
.footer-socials a { width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; border-radius: 50%; color: var(--text-secondary); background: #f1f5f9; text-decoration: none; font-size: 1.3rem; transition: var(--transition); }
.footer-socials a:hover { transform: translateY(-5px); }
.footer-socials a:first-child:hover { color: #fff; background: #5865f2; }
.footer-socials a:last-child:hover { color: #fff; background: #000; }
.noscript-message { position: fixed; inset: auto 20px 20px; z-index: 999999; padding: 15px; border-radius: 15px; text-align: center; color: #fff; background: #0f172a; }

/* Responsive */
@media (max-width: 768px) {
    .content-wrapper { width: min(100% - 24px, 1200px); }
    .main-header { position: relative; top: 0; flex-direction: column; gap: 15px; padding: 15px 20px; border-radius: 30px; }
    .nav-logo { width: 50px; height: 50px; }
    nav ul { gap: 3px; }
    .nav-link { padding: 7px 9px; font-size: 0.88rem; }
    .nav-link i { display: none; }
    .glass-card { padding: 30px 18px; border-radius: 25px; }
    .gradient-text { font-size: 3.3rem; }
    .subtitle { font-size: 1.05rem; }
    .action-buttons { flex-direction: column; }
    .btn { width: 100%; }
    .steps { grid-template-columns: 1fr; }
    .single-dept-card { padding: 28px 18px; }
    .modal-header { align-items: flex-start; }
    .modal-icon { width: 58px; height: 58px; font-size: 1.5rem; }
    .skills-section { padding: 25px 18px; }
    .skills-list li { font-size: 0.98rem; }
    .apply-card { padding: 40px 18px; }
    .intro-logo img { width: 140px; height: 140px; }
    .explore-btn { width: calc(100% - 50px); }
    
    /* Share Page Overrides */
    .settings-grid { grid-template-columns: 1fr; gap: 18px; }
    .link-box { flex-direction: column; }
    .file-name { max-width: 200px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
    .mouse-glow { display: none; }
}
