:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a1a;
    --card-bg: rgba(25, 25, 25, 0.95);
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --text-muted: #888888;
    --accent-primary: #f0f0f0;
    --accent-secondary: #404040;
    --accent-dark: #2a2a2a;
    --accent-light: #606060;
    --border-color: rgba(160, 160, 160, 0.3);
    --shadow-color: rgba(0, 0, 0, 0.7);
    --gradient-elegant: linear-gradient(135deg, #ffffff, #e0e0e0, #c0c0c0);
    --gradient-dark: linear-gradient(45deg, #333333, #555555);
    --glow-color: rgba(255, 255, 255, 0.2);
    --hover-glow: rgba(255, 255, 255, 0.4);
}

/* Overlay يغطي كامل الشاشة */
#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(40px);
    background: rgba(10, 10, 10, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    cursor: pointer;
    transition: all 0.4s ease;
}

#overlay-text {
    font-family: 'Inter', sans-serif;
    font-size: 3rem;
    color: #ffffff;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.5), 0 0 60px rgba(255, 255, 255, 0.3);
    font-weight: 300;
    letter-spacing: 4px;
    animation: overlayPulse 2s ease-in-out infinite alternate;
}

@keyframes overlayPulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.02); opacity: 1; }
}

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

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.02) 0%, transparent 50%),
        linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
}

/* تأثير النجوم المتلألئة */
.stars-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #ffffff;
    border-radius: 50%;
    animation: twinkle 3s ease-in-out infinite alternate;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.8);
}

.star:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.star:nth-child(2) { top: 30%; left: 85%; animation-delay: 1s; }
.star:nth-child(3) { top: 60%; left: 20%; animation-delay: 2s; }
.star:nth-child(4) { top: 80%; left: 70%; animation-delay: 0.5s; }
.star:nth-child(5) { top: 15%; left: 60%; animation-delay: 1.5s; }

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

.snow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.snow {
    position: absolute;
    top: -10px;
    width: 2px;
    height: 2px;
    background: #ffffff;
    border-radius: 50%;
    animation: snowfall linear infinite;
    opacity: 0.4;
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.6);
}

.snow:nth-child(1) {
    left: 10%;
    animation-duration: 8s;
    animation-delay: 0s;
}

.snow:nth-child(2) {
    left: 30%;
    animation-duration: 12s;
    animation-delay: 2s;
    width: 3px;
    height: 3px;
}

.snow:nth-child(3) {
    left: 50%;
    animation-duration: 10s;
    animation-delay: 4s;
}

.snow:nth-child(4) {
    left: 70%;
    animation-duration: 15s;
    animation-delay: 1s;
    width: 1px;
    height: 1px;
}

.snow:nth-child(5) {
    left: 90%;
    animation-duration: 9s;
    animation-delay: 3s;
}

@keyframes snowfall {
    0% {
        transform: translateY(-100vh) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.4;
    }
    90% {
        opacity: 0.4;
    }
    100% {
        transform: translateY(100vh) translateX(100px);
        opacity: 0;
    }
}

.fog {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 400px;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.02), transparent);
    z-index: -1;
    animation: fogMove 30s ease-in-out infinite;
}

@keyframes fogMove {
    0%, 100% { opacity: 0.02; transform: translateX(0); }
    50% { opacity: 0.06; transform: translateX(20px); }
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.discord-widget,
.spotify-widget {
    position: fixed;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    backdrop-filter: blur(30px);
    z-index: 1000;
    min-width: 300px;
    box-shadow: 
        0 15px 50px var(--shadow-color), 
        0 0 30px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.discord-widget {
    top: 20px;
    left: 20px;
    animation: slideInLeft 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.spotify-widget {
    top: 20px;
    right: 20px;
    animation: slideInRight 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.widget-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
}

.widget-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gradient-elegant);
    border-radius: 2px;
}

.widget-header i {
    font-size: 20px;
    color: var(--accent-primary);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.discord-profile {
    display: flex;
    align-items: center;
    gap: 16px;
}

.avatar-container {
    position: relative;
}

.discord-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid var(--accent-primary);
    box-shadow: 
        0 0 20px rgba(255, 255, 255, 0.3),
        0 8px 16px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.status-indicator {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 3px solid var(--bg-primary);
    background: #666666;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.status-indicator.online { 
    background: #00ff88; 
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.6); 
}
.status-indicator.idle { 
    background: #ffaa00; 
    box-shadow: 0 0 15px rgba(255, 170, 0, 0.6); 
}
.status-indicator.dnd { 
    background: #ff4444; 
    box-shadow: 0 0 15px rgba(255, 68, 68, 0.6); 
}
.status-indicator.offline { 
    background: #666666; 
    box-shadow: 0 0 10px rgba(102, 102, 102, 0.4); 
}

.discord-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.discord-username {
    font-weight: 700;
    font-size: 18px;
    color: var(--text-primary);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.discord-discriminator {
    display: none;
}

.discord-activity {
    margin-top: 8px;
}

.activity-text {
    font-size: 13px;
    color: var(--text-secondary);
    font-style: italic;
    font-family: 'Inter', sans-serif;
    line-height: 1.4;
}

.spotify-content {
    display: flex;
    align-items: center;
    gap: 0;
}

.spotify-widget.no-music {
    min-width: 220px;
    padding: 18px;
}

.spotify-widget.no-music .spotify-content {
    justify-content: center;
}

.spotify-widget.no-music .track-info {
    text-align: center;
}

.spotify-widget.no-music .artist-name {
    display: none;
}

.spotify-content .track-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.spotify-content .track-name {
    font-weight: 700;
    font-size: 15px;
    color: var(--text-primary);
    margin-bottom: 4px;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.spotify-content .artist-name {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 0;
    font-family: 'Inter', sans-serif;
}

.spotify-content .album-art {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    overflow: hidden;
    display: none;
    margin-left: 16px;
    border: 2px solid var(--accent-primary);
    box-shadow: 
        0 0 15px rgba(255, 255, 255, 0.2),
        0 8px 16px rgba(0, 0, 0, 0.4);
}

.spotify-content .album-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 24px;
    padding: 50px;
    max-width: 480px;
    width: 100%;
    backdrop-filter: blur(30px);
    box-shadow: 
        0 30px 80px var(--shadow-color), 
        0 0 50px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    animation: cardEntrance 1.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-dark);
    opacity: 0.03;
    z-index: -1;
    border-radius: 24px;
}

.card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg, 
        transparent, 
        rgba(255, 255, 255, 0.05), 
        transparent
    );
    animation: rotate 25s linear infinite;
    z-index: -2;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes cardEntrance {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.profile {
    text-align: center;
    margin-bottom: 40px;
}

.profile-img-container {
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
}

.profile-img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--accent-primary);
    animation: gentleFloat 8s ease-in-out infinite;
    box-shadow: 
        0 0 40px rgba(255, 255, 255, 0.4),
        0 20px 40px rgba(0, 0, 0, 0.6);
    filter: brightness(1.1);
}

.frost-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: radial-gradient(
        circle, 
        transparent 50%, 
        rgba(255, 255, 255, 0.1) 100%
    );
    pointer-events: none;
}

@keyframes gentleFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-12px) scale(1.02); }
}

.username {
    font-size: 36px;
    font-weight: 300;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-family: 'Inter', sans-serif;
    letter-spacing: -1px;
}

.name-text {
    background: var(--gradient-elegant);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
}

.winter-symbol {
    font-size: 32px;
    animation: gentleSpin 15s linear infinite;
    color: var(--accent-primary);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
}

@keyframes gentleSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.bio {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-family: 'Inter', sans-serif;
    font-style: italic;
    font-weight: 300;
    line-height: 1.6;
}

.typing-text {
    border-right: 3px solid var(--accent-primary);
    animation: typing 4s steps(40) infinite;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.cursor-blink {
    animation: blink 1.2s infinite;
    color: var(--accent-primary);
}

@keyframes typing {
    0%, 50% { border-color: var(--accent-primary); }
    51%, 100% { border-color: transparent; }
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 40px;
}

.social-link {
    position: relative;
    display: flex;
    align-items: center;
    padding: 20px 25px;
    background: rgba(255, 255, 255, 0.02);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-elegant);
    transition: left 0.6s ease;
    z-index: -1;
    opacity: 0.1;
}

.social-link:hover::before {
    left: 0;
}

.social-link:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 
        0 15px 50px rgba(255, 255, 255, 0.2),
        0 0 30px rgba(255, 255, 255, 0.1);
    border-color: var(--accent-primary);
    background: rgba(255, 255, 255, 0.05);
}

.social-link i {
    font-size: 22px;
    margin-right: 18px;
    width: 28px;
    text-align: center;
    color: var(--accent-primary);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.social-link span {
    font-weight: 500;
    font-size: 17px;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.frost-effect {
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.social-link:hover .frost-effect {
    opacity: 1;
}

.footer {
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    font-family: 'Inter', sans-serif;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--gradient-elegant);
}

.last-seen {
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: var(--text-secondary);
}

.cursor {
    position: fixed;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent-primary);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: all 0.2s ease;
    box-shadow: 
        0 0 20px rgba(255, 255, 255, 0.8),
        0 0 40px rgba(255, 255, 255, 0.4);
    mix-blend-mode: difference;
}

@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-60px) scale(0.9);
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
        filter: blur(0);
    }
}

@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(60px) scale(0.9);
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
        filter: blur(0);
    }
}

.discord-activity-frame {
    margin-top: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 12px;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
}

.activity-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.activity-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.activity-image-container {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--accent-primary);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.activity-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.activity-image:not([src]), .activity-image[src=""] {
    display: none;
}

/* تحسينات الـ Hover Effects */
.discord-widget {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.discord-widget:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 
        0 30px 80px rgba(255, 255, 255, 0.3), 
        0 50px 60px var(--shadow-color);
    border-color: var(--accent-primary);
    background: rgba(35, 35, 35, 0.98);
}

.discord-widget:hover .discord-avatar {
    transform: scale(1.2) rotate(10deg);
    transition: transform 0.5s ease;
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.6);
}

.discord-widget:hover .status-indicator {
    transform: scale(1.4);
    transition: transform 0.5s ease;
    box-shadow: 0 0 25px currentColor;
}

.discord-widget:hover .discord-activity-frame {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-primary);
    transform: scale(1.05);
    transition: all 0.5s ease;
}

.discord-widget:hover .activity-text {
    color: var(--text-primary);
    transition: color 0.5s ease;
}

.spotify-widget {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.spotify-widget:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 
        0 30px 80px rgba(255, 255, 255, 0.3), 
        0 50px 60px var(--shadow-color);
    border-color: var(--accent-primary);
    background: rgba(35, 35, 35, 0.98);
}

.spotify-widget:hover .album-art {
    transform: scale(1.2) rotate(-8deg);
    transition: transform 0.5s ease;
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.4);
}

.spotify-widget:hover .track-name {
    color: var(--accent-primary);
    transition: color 0.5s ease;
    text-shadow: 0 0 25px rgba(255, 255, 255, 0.7);
}

@keyframes statusPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.3);
    }
}

.status-indicator.online:hover {
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes activityImageFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-6px) rotate(5deg);
    }
}

.discord-widget:hover .activity-image {
    animation: activityImageFloat 3s ease-in-out infinite;
}

@keyframes elegantShimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.discord-widget:hover::before,
.spotify-widget:hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    background-size: 200% 100%;
    animation: elegantShimmer 3s ease-in-out infinite;
    pointer-events: none;
    border-radius: 16px;
}

.discord-widget:hover .discord-username,
.spotify-widget:hover .artist-name {
    text-shadow: 0 0 25px rgba(255, 255, 255, 0.8);
    transition: text-shadow 0.5s ease;
}

@keyframes elegantIconBounce {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-4px) scale(1.1);
    }
}

.discord-widget:hover .widget-header i,
.spotify-widget:hover .widget-header i {
    animation: elegantIconBounce 1.5s ease-in-out infinite;
}

/* تأثيرات جديدة للبطاقة الرئيسية */
.card:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 
        0 40px 100px var(--shadow-color), 
        0 0 80px rgba(255, 255, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.6s ease;
}

.card:hover .profile-img {
    transform: scale(1.05);
    box-shadow: 
        0 0 60px rgba(255, 255, 255, 0.6),
        0 30px 60px rgba(0, 0, 0, 0.8);
}

/* تحسينات إضافية للشاشات الصغيرة */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .card {
        padding: 35px;
        margin: 15px;
        border-radius: 20px;
    }
    
    .discord-widget,
    .spotify-widget {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        margin-bottom: 25px;
        width: 100%;
        max-width: 380px;
        min-width: auto;
    }
    
    .username {
        font-size: 32px;
        flex-direction: column;
        gap: 12px;
    }
    
    .profile-img {
        width: 110px;
        height: 110px;
    }
    
    .bio {
        font-size: 18px;
    }
    
    .social-link {
        padding: 18px 22px;
    }
    
    * {
        cursor: auto !important;
    }
    
    .cursor {
        display: none;
    }
    
    #overlay-text {
        font-size: 2.5rem;
    }
    
    .stars-container {
        display: none; /* إخفاء النجوم على الشاشات الصغيرة لتحسين الأداء */
    }
}

@media (max-width: 480px) {
    .card {
        padding: 30px;
        border-radius: 18px;
    }
    
    .username {
        font-size: 28px;
    }
    
    .bio {
        font-size: 16px;
    }
    
    .social-link {
        padding: 16px 20px;
    }
    
    .social-link i {
        font-size: 20px;
        margin-right: 15px;
    }
    
    .social-link span {
        font-size: 15px;
    }
    
    .profile-img {
        width: 100px;
        height: 100px;
    }
    
    .discord-widget,
    .spotify-widget {
        padding: 18px;
        border-radius: 14px;
    }
    
    .widget-header {
        font-size: 14px;
    }
    
    #overlay-text {
        font-size: 2rem;
    }
}

/* تأثيرات خاصة للعناصر التفاعلية */
.social-link:active {
    transform: translateY(-2px) scale(0.98);
    transition: all 0.1s ease;
}

.card:active {
    transform: translateY(-2px) scale(0.99);
    transition: all 0.1s ease;
}

/* تأثير النبضة للحدود */
@keyframes borderPulse {
    0%, 100% {
        border-color: var(--border-color);
        box-shadow: 0 0 0 rgba(255, 255, 255, 0.2);
    }
    50% {
        border-color: var(--accent-primary);
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    }
}

.card {
    animation: borderPulse 6s ease-in-out infinite;
}

/* تأثير الضوء المتحرك */
@keyframes lightSweep {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100vw);
    }
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 2px;
    height: 100vh;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    animation: lightSweep 8s ease-in-out infinite;
    z-index: -1;
}

/* تأثير الجليد المتساقط المحسن */
.ice-crystal {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #ffffff;
    transform: rotate(45deg);
    animation: iceFall linear infinite;
    opacity: 0.6;
    box-shadow: 
        0 0 6px rgba(255, 255, 255, 0.8),
        2px 2px 0 rgba(255, 255, 255, 0.4),
        -2px -2px 0 rgba(255, 255, 255, 0.4);
}

@keyframes iceFall {
    0% {
        transform: translateY(-100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

/* تدرج لوني متطور للخلفية */
body {
    background-attachment: fixed;
    background-image: 
        radial-gradient(ellipse at top, rgba(255, 255, 255, 0.04) 0%, transparent 70%),
        radial-gradient(ellipse at bottom left, rgba(160, 160, 160, 0.02) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(120, 120, 120, 0.02) 0%, transparent 50%),
        linear-gradient(180deg, #0a0a0a 0%, #151515 50%, #0f0f0f 100%);
}

/* تحسين الخطوط */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500;600;700;800&display=swap');

/* تأثيرات الظل المحسنة */
.elegant-shadow {
    box-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.12),
        0 1px 2px rgba(0, 0, 0, 0.24),
        0 10px 40px rgba(255, 255, 255, 0.1);
}

.deep-shadow {
    box-shadow: 
        0 14px 28px rgba(0, 0, 0, 0.25),
        0 10px 10px rgba(0, 0, 0, 0.22),
        0 0 50px rgba(255, 255, 255, 0.05);
}

/* إضافة تأثيرات الـ Glassmorphism */
.glass-effect {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.discord-widget,
.spotify-widget,
.card {
    background: rgba(25, 25, 25, 0.8);
    backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* تأثير التموج عند الضغط */
.ripple {
    position: relative;
    overflow: hidden;
}

.ripple::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;
}

.ripple:active::before {
    width: 200px;
    height: 200px;
}

/* جعل الروابط الاجتماعية تدعم التموج */
.social-link {
    position: relative;
    overflow: hidden;
}

.social-link::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
    pointer-events: none;
}

.social-link:active::after {
    width: 300px;
    height: 300px;
}