:root {
    --primary-color: #ffffff;
    --accent-color: #000000;
    --glass-bg: rgba(0, 0, 0, 0.65); /* Siyah cam efekti */
    --glass-border: rgba(0, 0, 0, 0.8);
    --blur-amount: 15px;
}

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

/* Seçim Rengi (Tema Rengine Duyarlı) */
::selection {
    background: var(--accent-color);
    color: #000;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #050505;
    background-image: url('bg-xp.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--primary-color);
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-drag: none;
}

/* Scanline/Noise Overlay */
body::before {
    content: " ";
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.1) 50%);
    z-index: 9999;
    background-size: 100% 4px;
    pointer-events: none;
    opacity: 0.15;
}

body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://raw.githubusercontent.com/pankaj-patel/crank-v1/master/src/assets/images/noise.png');
    opacity: 0.05;
    z-index: 9998;
    pointer-events: none;
    animation: noiseAnim 0.2s infinite;
}

@keyframes noiseAnim {
    0% { transform: translate(0,0) }
    10% { transform: translate(-5%,-5%) }
    20% { transform: translate(-10%,5%) }
    30% { transform: translate(5%,-10%) }
    40% { transform: translate(-5%,15%) }
    50% { transform: translate(-10%,5%) }
    60% { transform: translate(15%,0) }
    70% { transform: translate(0,10%) }
    80% { transform: translate(-15%,0) }
    90% { transform: translate(10%,5%) }
    100% { transform: translate(5%,0) }
}

/* 3D Arka Plan (Three.js) */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    /* Arka plana tıklamayı engeller, sadece karta tıklanır */
}

/* Kart Tasarımı */
.card {
    width: 650px;
    max-width: 95%;
    padding: 40px;
    background: rgba(8, 8, 8, 0.55);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.8),
        inset 0 1px 1px rgba(255, 255, 255, 0.15),
        inset 0 -1px 1px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 30px;
    position: relative;
    z-index: 10;
    transition: transform 0.1s ease-out, box-shadow 0.3s ease, filter 0.3s;
    transform-style: preserve-3d;
    animation: cardBreathe 4s infinite alternate ease-in-out;
    opacity: 0;
    transform: translateY(40px);
}

/* Sayfa yüklendikten sonra JS ile eklenecek sinematik giriş sınıfı */
.card.loaded {
    animation: cardEntrance 1.2s cubic-bezier(0.165, 0.84, 0.44, 1) forwards, cardBreathe 4s infinite alternate ease-in-out 1.2s;
}

@keyframes cardEntrance {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes cardBreathe {
    0% {
        box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), inset 0 1px 1px rgba(255, 255, 255, 0.15);
    }
    100% {
        box-shadow: 0 40px 80px rgba(0, 0, 0, 0.9), 0 0 40px rgba(255, 255, 255, 0.05), inset 0 1px 1px rgba(255, 255, 255, 0.2);
    }
}

.card:hover {
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.9), 0 0 50px rgba(255, 255, 255, 0.08);
}

/* Hareketli Işıklı Kenarlık (Animated Gradient Border) */
.card-border {
    position: absolute;
    inset: -2px;
    border-radius: 32px;
    background: conic-gradient(from var(--border-angle), transparent 70%, rgba(255, 255, 255, 0.8) 90%, transparent 100%);
    z-index: -1;
    animation: rotateBorder 4s linear infinite;
    pointer-events: none;
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    padding: 2px;
}

@property --border-angle {
    syntax: "<angle>";
    initial-value: 0turn;
    inherits: false;
}

@keyframes rotateBorder {
    to { --border-angle: 1turn; }
}

/* Kart Yansıma (Glare) Efekti */
.card-glare {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 30px;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.glare-effect {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        105deg,
        transparent 30%,
        rgba(255, 255, 255, 0.05) 45%,
        rgba(255, 255, 255, 0.15) 50%,
        rgba(255, 255, 255, 0.05) 55%,
        transparent 70%
    );
    transform: translateX(var(--glare-x, -100%));
    transition: transform 0.1s ease-out;
}

/* Profil Resmi */
.profile-wrapper {
    flex-shrink: 0;
    width: 150px;
    height: 150px;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.profile-wrapper:hover {
    transform: scale(1.15) translateZ(60px);
}

.profile-img {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: #111;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2), 0 0 40px rgba(255, 255, 255, 0.1);
    transform: translateZ(50px);
    transition: 0.4s;
}

.profile-wrapper:hover .profile-img {
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.4), 0 0 60px rgba(255, 255, 255, 0.2);
    border-color: #ffffff;
}

/* Discord Durum Noktası */
.status-dot {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 25px;
    height: 25px;
    background-color: #747f8d; /* Çevrimdışı (Offline) */
    border-radius: 50%;
    border: 4px solid #111; /* Karta uyumlu kalın kenarlık */
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    z-index: 10;
    transition: 0.3s;
    transform: translateZ(55px);
}

/* Çevrimiçi (Online) Nefes Alma Efekti */
@keyframes pulse-online {
    0% { box-shadow: 0 0 0 0 rgba(35, 165, 89, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(35, 165, 89, 0); }
    100% { box-shadow: 0 0 0 0 rgba(35, 165, 89, 0); }
}

.status-online {
    background-color: #23a559;
    animation: pulse-online 2s infinite;
}

.status-idle { background-color: #f0b232; }
.status-dnd { background-color: #f23f43; }

/* 3D Dışa fırlama efekti */
.content-right {
    flex: 1;
    min-width: 0;
    transform-style: preserve-3d;
    transform: translateZ(30px);
    /* İçeriklerin tamamını karttan dışarı çıkarır */
}

/* Kullanıcı Adı ve Rozetler */
.name-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.username {
    font-family: 'Poppins', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    color: #000000;
    letter-spacing: 2px;
    margin-right: 10px;
    text-transform: uppercase;
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.6),
        0 0 20px rgba(255, 255, 255, 0.4);
    animation: neonBlackGlow 2s infinite alternate ease-in-out;
    cursor: default;
    display: inline-block;
}

@keyframes neonBlackGlow {
    0% {
        transform: translateY(0px) scale(1);
        text-shadow: 
            0 0 5px rgba(255, 255, 255, 0.4),
            0 0 10px rgba(255, 255, 255, 0.2);
    }
    100% {
        transform: translateY(-5px) scale(1.05);
        text-shadow: 
            0 0 10px rgba(255, 255, 255, 0.8),
            0 0 20px rgba(255, 255, 255, 0.6),
            0 0 40px rgba(255, 255, 255, 0.4),
            0 0 80px rgba(255, 255, 255, 0.2);
    }
}

.badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.badge-link {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.badge-icon {
    color: #ffffff;
    filter: drop-shadow(0 0 3px rgba(255,255,255,0.4));
    transition: 0.3s ease;
}

.verified-icon {
    color: #ffffff;
    filter: drop-shadow(0 0 5px rgba(255,255,255,0.8));
}

.brand-icon {
    color: rgba(255, 255, 255, 0.7);
    filter: drop-shadow(0 0 2px rgba(255,255,255,0.2));
    transition: color 0.3s ease, filter 0.3s ease, transform 0.2s ease;
}

.badge-link:hover .brand-icon.fa-spotify {
    color: #1DB954;
    filter: drop-shadow(0 0 8px rgba(29, 185, 84, 0.6));
    transform: scale(1.1);
}

.badge-link:hover .brand-icon.fa-discord {
    color: #5865F2;
    filter: drop-shadow(0 0 8px rgba(88, 101, 242, 0.6));
    transform: scale(1.1);
}

.badge-link:hover .brand-icon.fa-steam {
    color: #c7d5e0;
    filter: drop-shadow(0 0 8px rgba(199, 213, 224, 0.6));
    transform: scale(1.1);
}

.badge-link:hover .badge-icon.fa-globe {
    color: #ffffff;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.8));
    transform: scale(1.1);
}

/* Toast Animasyonları */
@keyframes toastEnter {
    from { transform: translate(-50%, -20px); opacity: 0; }
    to { transform: translate(-50%, 0); opacity: 1; }
}

@keyframes toastExit {
    from { transform: translate(-50%, 0); opacity: 1; }
    to { transform: translate(-50%, -20px); opacity: 0; }
}

.toast {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 0.9rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    animation: toastEnter 0.4s ease forwards;
    pointer-events: auto;
    display: flex;
    align-items: center;
}

.bio-text {
    font-size: 0.95rem;
    opacity: 0.8;
    margin-bottom: 20px;
    min-height: 24px;
    /* Daktilo efekti yazılırken zıplamayı önler */
}

/* Custom Cursor CSS */
body {
    cursor: none;
    /* Varsayılan imleci gizle */
}

a,
.social-btn,
.username {
    cursor: none;
}

.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    /* Translate değerlerini JS ile yöneteceğiz */
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background-color: #000000;
    box-shadow: none;
    transition: transform 0.05s linear;
}

.cursor-outline {
    width: 30px;
    height: 30px;
    border: 2px solid #000000;
    box-shadow: none;
    transition: width 0.15s ease-out, height 0.15s ease-out, background-color 0.15s ease-out, transform 0.15s ease-out;
}

/* Müzik Oynatıcı Widget */
.music-widget {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    width: 100%;
    transition: background 0.3s ease;
    transform: translateZ(20px);
    /* Widget'ı öne çıkarır */
}

.music-widget:hover {
    background: rgba(255, 255, 255, 0.1);
}

.album-art {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    background: #222;
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

/* Müzik çalar dinamik bulanık arkaplanı için eklenecek div class'ı */
.spotify-blur-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    filter: blur(30px) brightness(0.6);
    opacity: 0.5;
    z-index: 0;
    border-radius: 15px;
    transition: background-image 0.5s ease;
    pointer-events: none;
}
.music-widget {
    position: relative;
    overflow: hidden;
}
.music-widget > * {
    position: relative;
    z-index: 2;
}

.track-info {
    flex: 1;
    overflow: hidden;
}

.track-header {
    display: flex;
    align-items: center;
    gap: 8px;
}

.track-name {
    font-weight: 600;
    font-size: 0.85rem;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.artist-name {
    font-size: 0.75rem;
    opacity: 0.5;
}

.spotify-link-btn {
    margin-left: auto;
    text-decoration: none;
    cursor: none;
    z-index: 10;
}

.brand-icon-large {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    transition: color 0.3s ease, filter 0.3s ease, transform 0.2s ease;
}

.spotify-link-btn:hover .brand-icon-large {
    color: #1DB954;
    filter: drop-shadow(0 0 10px rgba(29, 185, 84, 0.5));
    transform: scale(1.1);
}

/* Dummy Controls */
.spotify-dummy-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 10px;
    margin-right: 10px;
}
.dummy-btn {
    color: rgba(255, 255, 255, 0.3);
    font-size: 1rem;
    transition: 0.3s;
    cursor: none;
}
.dummy-btn:hover {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255,255,255,0.8);
    transform: scale(1.1);
}

/* Audio Visualizer */
.visualizer {
    display: flex;
    gap: 2px;
    height: 12px;
    align-items: flex-end;
}

.visualizer span {
    width: 3px;
    background: #1DB954;
    border-radius: 2px;
    animation: bounce 0.5s ease-in-out infinite alternate;
}

.visualizer span:nth-child(1) {
    height: 100%;
    animation-delay: 0s;
}

.visualizer span:nth-child(2) {
    height: 50%;
    animation-delay: 0.2s;
}

.visualizer span:nth-child(3) {
    height: 80%;
    animation-delay: 0.4s;
}

.visualizer span:nth-child(4) {
    height: 40%;
    animation-delay: 0.1s;
}

.visualizer span:nth-child(5) {
    height: 90%;
    animation-delay: 0.5s;
}

@keyframes bounce {
    from {
        height: 3px;
    }

    to {
        height: 100%;
    }
}

/* Progress Bar & Time */
.spotify-time-container {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    width: 100%;
}

.spotify-time-container span {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Inter', monospace;
    font-variant-numeric: tabular-nums;
}

.progress-bar-container {
    flex: 1;
    height: 3px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: #ffffff; /* Siyah-beyaz estetiğine uyması için beyaz yaptık, marka renkleri eklenebilir */
    box-shadow: 0 0 5px rgba(255,255,255,0.5);
    transition: width 1s linear;
}

/* Dinamik Müzik Ekolayzeri (Visualizer) */
.visualizer {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 12px;
    margin-left: 5px;
}

.visualizer span {
    display: inline-block;
    width: 3px;
    background-color: #1DB954;
    border-radius: 2px;
    animation: visualizerBounce 0.5s infinite alternate ease-in-out;
}

.visualizer span:nth-child(1) { animation-delay: 0.1s; height: 40%; }
.visualizer span:nth-child(2) { animation-delay: 0.3s; height: 80%; }
.visualizer span:nth-child(3) { animation-delay: 0.0s; height: 100%; }
.visualizer span:nth-child(4) { animation-delay: 0.4s; height: 60%; }
.visualizer span:nth-child(5) { animation-delay: 0.2s; height: 50%; }

@keyframes visualizerBounce {
    0% { height: 20%; }
    100% { height: 100%; }
}

/* Sosyal Medya İkonları */
.social-grid {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    position: relative;
    z-index: 10; /* Butonların her zaman en üstte tıklanabilir olmasını sağlar */
}

.social-btn {
    width: 45px;
    height: 35px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: background 0.3s, color 0.3s, transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-btn:hover {
    background: var(--accent-color);
    color: #fff;
    box-shadow: 0 0 20px var(--accent-color), 0 0 40px var(--accent-color);
}

/* Alt Bilgiler */
.bottom-info {
    position: absolute;
    bottom: 20px;
    left: 30px;
    right: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    pointer-events: none; /* Yanlışlıkla üstteki butonların tıklamasını engellemesini önler */
}

.bottom-stats {
    display: flex;
    gap: 25px;
    align-items: center;
}

/* Animasyonlar */
@keyframes shine {
    to {
        background-position: 200% center;
    }
}

/* Ses Toggle Butonu */
.sound-toggle-btn {
    cursor: none;
    transition: 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
}

.sound-toggle-btn:hover {
    opacity: 1;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

/* Gelişmiş Glitch (RGB Split) Efekti */
@keyframes rgbSplit {
    0% { text-shadow: -2px 0 red, 2px 0 cyan; }
    20% { text-shadow: 2px 0 red, -2px 0 cyan; }
    40% { text-shadow: -1px 0 red, 1px 0 cyan; }
    60% { text-shadow: 1px 0 red, -1px 0 cyan; }
    80% { text-shadow: -2px 0 red, 2px 0 cyan; }
    100% { text-shadow: 2px 0 red, -2px 0 cyan; }
}

.glitch-active {
    animation: rgbSplit 0.15s steps(2, end) infinite !important;
    position: relative;
}

/* Tıklama Efekti (Ripple) */
.click-ripple {
    position: fixed;
    border-radius: 50%;
    border: 2px solid var(--accent-color);
    box-shadow: 0 0 15px var(--accent-color);
    transform: translate(-50%, -50%) scale(0);
    animation: rippleAnim 0.5s ease-out forwards;
    pointer-events: none;
    z-index: 9998;
}

/* Kıvılcım Patlaması (Sparks) */
.spark {
    position: fixed;
    width: 6px;
    height: 6px;
    background: var(--accent-color);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 15px var(--accent-color), 0 0 30px var(--accent-color);
    animation: sparkAnim 0.6s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
}

@keyframes sparkAnim {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    100% { transform: translate(calc(-50% + var(--tx)), calc(-50% + var(--ty))) scale(0); opacity: 0; }
}

@keyframes rippleAnim {
    to {
        transform: translate(-50%, -50%) scale(4);
        opacity: 0;
    }
}

/* Fare İz (Trail) Efekti */
.trail-particle {
    position: fixed;
    width: 4px;
    height: 4px;
    background: var(--accent-color);
    box-shadow: 0 0 8px var(--accent-color);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9997;
    opacity: 0.8;
    transition: opacity 0.35s ease-out, transform 0.35s ease-out;
}

/* Responsive */
@media (max-width: 600px) {
    .card {
        flex-direction: column;
        text-align: center;
        padding-bottom: 60px;
    }

    .name-container {
        justify-content: center;
    }

    .social-grid {
        justify-content: center;
    }

    .bottom-info {
        left: 20px;
        right: 20px;
    }
}

/* Premium Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #050505;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease, visibility 0.8s;
}

/* Preloader username kuralı kaldırıldı (çakışmayı önlemek için) */

.loader-text {
    font-family: 'Poppins', sans-serif;
    font-size: 4rem;
    font-weight: 800;
    color: #000000;
    letter-spacing: 12px;
    text-transform: uppercase;
    -webkit-text-stroke: 2px #ffffff;
    text-shadow: 
        0 0 15px rgba(255, 255, 255, 0.4),
        0 0 30px rgba(255, 255, 255, 0.2);
    animation: pulseGlow 1.5s infinite alternate;
    margin-bottom: 30px;
}

.loader-bar {
    width: 280px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.loader-progress {
    width: 0%;
    height: 100%;
    background: #ffffff; /* Cyan yerine siyah tasarıma uygun saf beyaz */
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5); /* Beyaz parlama */
    animation: loadBar 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.terminal-loader {
    margin-top: 25px;
    font-family: 'Courier New', Courier, monospace;
    color: #ffffff;
    opacity: 0.6;
    font-size: 0.8rem;
    text-align: left;
    width: 280px;
    height: 100px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-shadow: 0 0 5px rgba(255,255,255,0.3);
}

.terminal-line {
    display: block;
    white-space: nowrap;
    animation: typeLine 0.1s ease-out forwards;
}

@keyframes typeLine {
    from { opacity: 0; transform: translateX(-10px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes pulseGlow {
    from {
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    }

    to {
        text-shadow: 0 0 40px rgba(255, 255, 255, 0.8), 0 0 80px rgba(255, 255, 255, 0.4);
    }
}

@keyframes loadBar {
    0% {
        width: 0%;
    }

    40% {
        width: 60%;
    }

    100% {
        width: 100%;
    }
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

/* Toast Bildirim Sistemi */
.toast-container {
    position: fixed;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10001;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
    /* Tıklamayı engellememesi için */
}

.toast {
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transform: translateY(-50px);
    opacity: 0;
    animation: toastEnter 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes toastEnter {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes toastExit {
    to {
        transform: translateY(-30px);
        opacity: 0;
    }
}

/* Özel Sağ Tık Menüsü */
.custom-context-menu {
    position: fixed;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 8px;
    width: 230px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.9);
    transform-origin: top left;
    transition: 0.2s cubic-bezier(0.1, 0.8, 0.3, 1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 15px rgba(255, 255, 255, 0.05);
}

.custom-context-menu.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.menu-item {
    padding: 10px 15px;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.2s;
}

.menu-item i {
    color: var(--accent-color);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.menu-item:hover {
    background: var(--accent-color);
    color: #000;
}

.menu-item:hover i {
    color: #000;
}

.menu-item.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.menu-item.disabled:hover {
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
}
.menu-item.disabled:hover i {
    color: var(--accent-color);
}



/* =========================================
   MOBİL UYUMLULUK (RESPONSIVE DESIGN)
========================================= */
@media (max-width: 768px) {
    .card {
        flex-direction: column;
        padding: 30px 20px;
        text-align: center;
        gap: 20px;
        width: 90%;
        min-height: auto;
    }

    .content-right {
        align-items: center;
    }

    .badges {
        justify-content: center;
        margin-top: 5px;
    }

    .social-grid {
        justify-content: center;
    }

    .profile-wrapper {
        width: 120px;
        height: 120px;
    }

    .username {
        font-size: 1.8rem;
    }

    .bio-text {
        font-size: 0.95rem;
    }

    .music-widget {
        flex-direction: column;
        text-align: center;
        padding: 15px;
        gap: 15px;
        max-width: 100%;
        overflow: hidden;
    }

    .track-info {
        display: flex;
        flex-direction: column;
        align-items: center;
        max-width: 100%;
    }

    .track-name {
        max-width: 200px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .track-info > div {
        justify-content: center;
    }

    .music-widget .fa-spotify {
        margin-left: 0 !important;
        margin-top: 5px;
    }

    .bottom-info {
        position: relative;
        bottom: auto;
        left: auto;
        right: auto;
        margin-top: 20px;
        flex-direction: column;
        gap: 10px;
        justify-content: center;
    }

    .loader-text {
        font-size: 2.5rem;
    }
}

/* =========================================
   HACKER MODU (EASTER EGG)
========================================= */
body.hacker-mode {
    background-image: none !important;
    background-color: #000500 !important;
    --accent-color: #00ff00 !important;
    --primary-color: #33ff33 !important;
    --glass-bg: rgba(0, 20, 0, 0.8) !important;
    --glass-border: rgba(0, 255, 0, 0.5) !important;
    animation: hackerShake 0.1s infinite !important;
}
@keyframes hackerShake {
    0% { transform: translate(1px, 1px) rotate(0deg); }
    50% { transform: translate(-1px, -2px) rotate(-1deg); }
    100% { transform: translate(-3px, 0px) rotate(1deg); }
}
body.hacker-mode * {
    text-shadow: 0 0 10px #00ff00 !important;
}
body.hacker-mode .profile-img {
    filter: invert(1) hue-rotate(90deg) sepia(1) saturate(5) hue-rotate(50deg) !important;
    border-color: #00ff00 !important;
    box-shadow: 0 0 50px #00ff00 !important;
}
body.hacker-mode .terminal-loader {
    color: #00ff00 !important;
}

/* Matrix Yağmuru Canvas */
#matrix-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s;
}
body.hacker-mode #matrix-canvas {
    opacity: 0.35;
}
