/* Base styles */
.glass-card {
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 2px solid rgba(255, 255, 255, 0.18);
    transition: all 0.4s ease;
    position: relative;
    animation: cardGlow 3s infinite;
}

/* Glowing border effect */
.glass-card::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: inherit;
    background: linear-gradient(45deg, 
        rgba(255,255,255,0.1),
        rgba(255,255,255,0.2),
        rgba(255,255,255,0.3),
        rgba(255,255,255,0.2),
        rgba(255,255,255,0.1)
    );
    z-index: -1;
    animation: borderGlow 3s ease-in-out infinite;
}

/* White line border */
.glass-card::after {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: inherit;
    pointer-events: none;
}

.glass-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 
        0 15px 45px rgba(31, 38, 135, 0.4),
        0 0 30px rgba(255, 255, 255, 0.2);
}

.glass-card:hover::before {
    opacity: 1;
    filter: brightness(1.2);
}

@keyframes cardGlow {
    0%, 100% {
        box-shadow: 
            0 8px 32px rgba(31, 38, 135, 0.37),
            0 0 20px rgba(255, 255, 255, 0.1);
    }
    50% {
        box-shadow: 
            0 8px 32px rgba(31, 38, 135, 0.37),
            0 0 40px rgba(255, 255, 255, 0.2);
    }
}

@keyframes borderGlow {
    0%, 100% {
        opacity: 0.5;
        filter: brightness(1);
    }
    50% {
        opacity: 0.8;
        filter: brightness(1.3);
    }
}
/* Profile Picture */
.profile-picture img {
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.profile-picture img:hover {
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.5);
}

/* Social Media Icons Base */
.social-icon {
    position: relative;
    padding: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.social-icon i {
    font-size: 1.8rem;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.6));
    color: white;
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-8px);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.5),
                0 0 45px rgba(255, 255, 255, 0.3),
                0 0 65px rgba(255, 255, 255, 0.1);
}

/* Spotify Stats */
.spotify-stats {
    padding: 15px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.spotify-stats:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.02);
}

/* Animation classes for ScrollReveal */
.fade-in {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.fade-in.visible {
    opacity: 1;
}

/* Particles.js container */
#particles-js {
    width: 100%;
    height: 100%;
}

/* Tooltip/Label Styles */
.social-icon::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-bottom-color: rgba(0, 0, 0, 0.9);
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

.social-icon::after {
    content: attr(data-label-tr);
    position: absolute;
    bottom: -45px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Hover Effects */
.social-icon:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.5),
                0 0 45px rgba(255, 255, 255, 0.3);
}

.social-icon:hover::before {
    opacity: 1;
    bottom: -15px;
}

.social-icon:hover::after {
    opacity: 1;
    visibility: visible;
    bottom: -40px;
}

/* Floating animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}
/* Brand Colors on Hover */
.social-icon.instagram:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%);
    box-shadow: 0 0 25px rgba(253, 89, 73, 0.5);
}

.social-icon.twitter:hover {
    background: #1DA1F2;
    box-shadow: 0 0 25px rgba(29, 161, 242, 0.5);
}

.social-icon.github:hover {
    background: #333;
    box-shadow: 0 0 25px rgba(51, 51, 51, 0.5);
}

.social-icon.spotify:hover {
    background: #1DB954;
    box-shadow: 0 0 25px rgba(29, 185, 84, 0.5);
}

/* Language Toggle Button */
.lang-toggle {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 0.95rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.lang-toggle::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 2px solid transparent;
    border-radius: inherit;
    background: linear-gradient(45deg, 
        rgba(255,255,255,0.2), 
        rgba(255,255,255,0.4), 
        rgba(255,255,255,0.2)
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, 
                  linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, 
          linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: borderRotate 4s linear infinite;
}

.lang-toggle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 60%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.5s ease-out;
    pointer-events: none;
}

.lang-toggle:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 8px 25px rgba(255, 255, 255, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.3);
}

.lang-toggle:active {
    transform: translateY(1px) scale(0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.lang-toggle:active::after {
    transform: translate(-50%, -50%) scale(2);
    opacity: 0;
}

.lang-indicator {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    transition: opacity 0.3s ease-in-out;
}

.lang-indicator.changing {
    opacity: 0;
    transform: scale(0.95);
}

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

@keyframes buttonPulse {
    0%, 100% {
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }
    50% {
        box-shadow: 0 5px 25px rgba(255, 255, 255, 0.3);
    }
}

/* Spotify Stats Styles */
.spotify-stats i.fab.fa-spotify {
    color: white;
    transition: all 0.3s ease;
}

.spotify-stats:hover i.fab.fa-spotify,
.spotify-stats:active i.fab.fa-spotify {
    color: #1DB954; /* Spotify brand green */
    filter: drop-shadow(0 0 8px rgba(29, 185, 84, 0.6));
    transform: scale(1.1);
}

.spotify-stats {
    cursor: pointer;
}

.spotify-stats:active i.fab.fa-spotify {
    transform: scale(0.95);
}

