:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --success-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --dark-gradient: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    --accent-color: #8b9eff;
    --text-primary: #ffffff;
    --text-secondary: #e0e7ff;
    --text-muted: #c7d2fe;
    --bg-dark: #0f0c29;
    --bg-darker: #0a0818;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow-color: rgba(102, 126, 234, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', 'Tajawal', sans-serif;
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.8;
    min-height: 100vh;
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(15px, 4vw, 30px);
    position: relative;
    z-index: 1;
}

.floating-shapes {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
    opacity: 0.1;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: min(300px, 40vw);
    height: min(300px, 40vw);
    background: var(--primary-gradient);
    border-radius: 50%;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
    filter: blur(60px);
}

.shape-2 {
    width: min(400px, 50vw);
    height: min(400px, 50vw);
    background: var(--secondary-gradient);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    top: 50%;
    right: 5%;
    animation-delay: 5s;
    filter: blur(80px);
}

.shape-3 {
    width: min(250px, 35vw);
    height: min(250px, 35vw);
    background: var(--success-gradient);
    border-radius: 50%;
    bottom: 20%;
    left: 10%;
    animation-delay: 10s;
    filter: blur(70px);
}

.shape-4 {
    width: min(350px, 45vw);
    height: min(350px, 45vw);
    background: var(--dark-gradient);
    border-radius: 50%;
    bottom: 10%;
    right: 20%;
    animation-delay: 15s;
    filter: blur(90px);
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -50px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 40px) rotate(240deg);
    }
}

.music-player {
    position: fixed;
    top: clamp(80px, 10vh, 120px);
    left: clamp(15px, 3vw, 30px);
    z-index: 1000;
}

.music-btn {
    width: clamp(50px, 8vw, 60px);
    height: clamp(50px, 8vw, 60px);
    border-radius: 50%;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    font-size: clamp(16px, 3vw, 20px);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px var(--shadow-color);
}

.music-btn:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 12px 40px var(--shadow-color);
}

.music-btn.playing {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
    padding: clamp(15px, 3vh, 25px) 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: clamp(10px, 2vh, 15px) 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.glass-effect {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

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

.nav-brand h2 {
    font-size: clamp(18px, 4vw, 24px);
    font-weight: 700;
}

.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: clamp(15px, 3vw, 30px);
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
    font-size: clamp(14px, 2vw, 16px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    width: 30px;
    height: 25px;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: clamp(80px, 12vh, 120px) 0;
}

.hero-content {
    text-align: center;
    width: 100%;
}

.hero-3d-wrapper {
    perspective: 1000px;
    margin-bottom: clamp(25px, 5vh, 40px);
}

.avatar-3d {
    width: clamp(120px, 25vw, 200px);
    height: clamp(120px, 25vw, 200px);
    margin: 0 auto;
    position: relative;
    transform-style: preserve-3d;
    animation: rotate3d 20s infinite linear;
}

.avatar-circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--primary-gradient);
    box-shadow: 0 20px 60px var(--shadow-color);
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.avatar-circle::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--secondary-gradient);
    opacity: 0.5;
    animation: pulse-ring 3s ease-out infinite;
}

@keyframes rotate3d {
    from {
        transform: rotateY(0deg);
    }
    to {
        transform: rotateY(360deg);
    }
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.2;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 900;
    margin-bottom: clamp(15px, 3vh, 20px);
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 4vw, 1.8rem);
    font-weight: 600;
    margin-bottom: clamp(25px, 5vh, 40px);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    line-height: 1.3;
}

.hero-buttons {
    display: flex;
    gap: clamp(15px, 3vw, 20px);
    justify-content: center;
    margin-bottom: clamp(25px, 5vh, 40px);
    flex-wrap: wrap;
}

.btn {
    padding: clamp(12px, 2.5vw, 15px) clamp(25px, 5vw, 40px);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: clamp(14px, 2vw, 16px);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 10px 30px var(--shadow-color);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px var(--shadow-color);
}

.btn-secondary {
    background: var(--glass-bg);
    color: white;
    border: 2px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    border-color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: clamp(15px, 3vw, 20px);
    justify-content: center;
    flex-wrap: wrap;
}

.social-link {
    width: clamp(40px, 8vw, 50px);
    height: clamp(40px, 8vw, 50px);
    border-radius: 50%;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    text-decoration: none;
    font-size: clamp(16px, 3vw, 20px);
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    background: var(--primary-gradient);
    box-shadow: 0 10px 25px var(--shadow-color);
}

.scroll-indicator {
    position: absolute;
    bottom: clamp(20px, 4vh, 30px);
    left: 50%;
    transform: translateX(-50%);
}

.mouse {
    width: clamp(25px, 5vw, 30px);
    height: clamp(40px, 8vw, 50px);
    border: 2px solid var(--text-primary);
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 10px;
    background: var(--text-primary);
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}

.section {
    padding: clamp(60px, 10vh, 100px) 0;
    position: relative;
}

.section-title {
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: clamp(30px, 6vh, 60px);
    line-height: 1.2;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: clamp(25px, 5vw, 40px);
    position: relative;
    transition: all 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px var(--shadow-color);
}

.card-3d-border {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.glass-card:hover .card-3d-border {
    opacity: 0.3;
    filter: blur(20px);
}

.about-text {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    line-height: 1.8;
    text-align: justify;
    color: var(--text-secondary);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.timeline {
    position: relative;
    padding-right: clamp(20px, 4vw, 30px);
}

.timeline::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-gradient);
}

.timeline-item {
    margin-bottom: clamp(25px, 5vh, 40px);
    position: relative;
}

.timeline-marker {
    position: absolute;
    right: clamp(-25px, -5vw, -35px);
    top: 20px;
    width: clamp(15px, 3vw, 20px);
    height: clamp(15px, 3vw, 20px);
    border-radius: 50%;
    background: var(--primary-gradient);
    border: 4px solid var(--bg-dark);
    box-shadow: 0 0 20px var(--shadow-color);
}

.timeline-title {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: 700;
    margin-bottom: 10px;
}

.timeline-field {
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    color: #a5b4fc;
    margin-bottom: 10px;
    font-weight: 500;
}

.timeline-institution,
.timeline-year {
    color: var(--text-secondary);
    margin-bottom: 5px;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
    gap: clamp(20px, 4vw, 30px);
}

.project-card {
    transition: all 0.4s ease;
}

.project-header {
    display: flex;
    align-items: center;
    gap: clamp(15px, 3vw, 20px);
    margin-bottom: clamp(15px, 3vh, 20px);
}

.project-icon {
    width: clamp(50px, 8vw, 60px);
    height: clamp(50px, 8vw, 60px);
    border-radius: 15px;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(18px, 4vw, 24px);
    flex-shrink: 0;
}

.project-title {
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    font-weight: 700;
}

.project-description {
    color: var(--text-secondary);
    margin-bottom: clamp(15px, 3vh, 20px);
    line-height: 1.8;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.project-tech,
.project-features,
.project-role {
    margin-bottom: clamp(10px, 2vh, 15px);
    padding: clamp(12px, 2.5vw, 15px);
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.project-tech strong,
.project-features strong,
.project-role strong {
    display: block;
    margin-bottom: 8px;
    color: #a5b4fc;
    font-weight: 600;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: clamp(20px, 4vw, 30px);
}

.skill-category {
    text-align: center;
}

.skill-category-title {
    font-size: clamp(1.2rem, 3vw, 1.4rem);
    font-weight: 700;
    margin-bottom: clamp(15px, 3vh, 20px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.skill-tags {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: clamp(20px, 4vh, 30px);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: clamp(15px, 3vw, 20px);
}

.contact-icon {
    width: clamp(50px, 8vw, 60px);
    height: clamp(50px, 8vw, 60px);
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(18px, 4vw, 24px);
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    margin-bottom: 5px;
}

.contact-details p {
    color: var(--text-secondary);
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
}

.footer {
    text-align: center;
    padding: clamp(25px, 5vh, 40px) 0;
    margin-top: clamp(30px, 6vh, 50px);
}

.footer-admin {
    margin-top: clamp(15px, 3vh, 20px);
}

.admin-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0.9;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.admin-link:hover {
    color: #a5b4fc;
    opacity: 1;
}

.admin-login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(15px, 4vh, 20px);
}

.login-container {
    position: relative;
    z-index: 10;
    width: 100%;
}

.login-card {
    max-width: min(450px, 90vw);
    width: 100%;
    margin: 0 auto;
}

.login-header {
    text-align: center;
    margin-bottom: clamp(25px, 5vh, 40px);
}

.login-icon {
    width: clamp(60px, 12vw, 80px);
    height: clamp(60px, 12vw, 80px);
    margin: 0 auto clamp(15px, 3vh, 20px);
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(24px, 6vw, 36px);
}

.login-form {
    margin-bottom: clamp(20px, 4vh, 30px);
}

.form-group {
    margin-bottom: clamp(15px, 3vh, 25px);
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.form-control {
    width: 100%;
    padding: clamp(12px, 2.5vw, 15px) clamp(15px, 3vw, 20px);
    border-radius: 10px;
    border: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.3);
    color: var(--text-primary);
    font-size: clamp(14px, 2.5vw, 16px);
    font-family: 'Cairo', sans-serif;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 20px var(--shadow-color);
}

.btn-block {
    width: 100%;
}

.alert {
    padding: clamp(12px, 2.5vw, 15px) clamp(15px, 3vw, 20px);
    border-radius: 10px;
    margin-bottom: clamp(15px, 3vh, 20px);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.alert-error {
    background: rgba(245, 87, 108, 0.2);
    border: 1px solid rgba(245, 87, 108, 0.5);
}

.alert-success {
    background: rgba(79, 172, 254, 0.2);
    border: 1px solid rgba(79, 172, 254, 0.5);
}

.login-footer {
    text-align: center;
}

.back-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0.9;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.back-link:hover {
    color: #a5b4fc;
    opacity: 1;
}

.admin-page {
    background: linear-gradient(135deg, #0f0c29, #1a1537, #24243e);
    min-height: 100vh;
}

.admin-header {
    padding: clamp(20px, 4vh, 30px) 0;
    margin-bottom: clamp(25px, 5vh, 40px);
}

.admin-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.admin-header h1 {
    font-size: clamp(1.5rem, 4vw, 2rem);
}

.admin-actions {
    display: flex;
    gap: clamp(10px, 2vw, 15px);
    flex-wrap: wrap;
}

.btn-danger {
    background: var(--secondary-gradient);
    color: white;
}

.btn-success {
    background: var(--success-gradient);
    color: white;
}

.admin-container {
    padding-bottom: clamp(30px, 6vh, 50px);
}

.admin-section {
    margin-bottom: clamp(25px, 5vh, 40px);
}

.admin-section h2 {
    font-size: clamp(1.4rem, 3.5vw, 1.8rem);
    margin-bottom: clamp(15px, 3vh, 25px);
}

.admin-form {
    max-width: min(800px, 100%);
}

.mb-3 {
    margin-bottom: clamp(15px, 3vh, 20px);
}

.admin-list {
    margin-top: clamp(20px, 4vh, 30px);
}

.admin-list-item {
    background: rgba(0, 0, 0, 0.2);
    padding: clamp(15px, 3vw, 20px);
    border-radius: 10px;
    margin-bottom: clamp(10px, 2vh, 15px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.btn-sm {
    padding: clamp(6px, 1.5vw, 8px) clamp(15px, 3vw, 20px);
    font-size: clamp(12px, 2.5vw, 14px);
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(300px, 80vw);
    height: 100vh;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--glass-border);
    z-index: 200;
    transition: right 0.3s ease;
    padding: 80px 30px 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav .nav-link {
    font-size: 18px;
    padding: 10px 0;
}

.mobile-nav-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 24px;
    cursor: pointer;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 150;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Media Queries */
@media (max-width: 1200px) {
    .container {
        max-width: 100%;
    }
}

@media (max-width: 992px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .timeline::before {
        right: 15px;
    }
    
    .timeline-marker {
        right: -20px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-title {
        font-size: clamp(2rem, 9vw, 2.5rem);
    }
    
    .hero-subtitle {
        font-size: clamp(1.1rem, 4.5vw, 1.3rem);
    }
    
    .section-title {
        font-size: clamp(1.8rem, 7vw, 2rem);
    }
    
    .projects-grid,
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .admin-header .container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .admin-list-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .project-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .timeline {
        padding-right: 0;
        padding-left: 30px;
    }
    
    .timeline::before {
        right: auto;
        left: 0;
    }
    
    .timeline-marker {
        right: auto;
        left: -15px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 100px 0 60px;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .glass-card {
        padding: 20px;
        border-radius: 15px;
    }
    
    .music-player {
        top: 70px;
        left: 15px;
    }
    
    .shape {
        display: none;
    }
    
    .shape-1, .shape-2 {
        display: block;
    }
}

@media (max-width: 400px) {
    .hero-buttons .btn {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .login-card {
        padding: 20px;
    }
}

/* تحسينات إضافية للشاشات الكبيرة جدًا */
@media (min-width: 1600px) {
    .container {
        max-width: 1400px;
    }
}

/* تحسينات للطباعة */
@media print {
    .navbar, .music-player, .floating-shapes, #particles-js, .scroll-indicator, .footer-admin {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .glass-card {
        background: white;
        border: 1px solid #ddd;
        box-shadow: none;
    }
    
    .gradient-text {
        background: none;
        -webkit-text-fill-color: black;
        color: black;
    }
}