:root {
    --accent-purple: #c084fc;
    --accent-glow: rgba(192, 132, 252, 0.4);
    --text-primary: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.75);
    --card-bg: rgba(8, 8, 12, 0.12); /* Ultra saydam glass */
    --card-border: rgba(255, 255, 255, 0.15);
    --card-border-glow: rgba(192, 132, 252, 0.55);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none !important; /* Varsayılan Windows imlecini tamamen gizler */
}

body, html, a, button, input, div, span, img {
    cursor: none !important;
}

body {
    background-color: #050508;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
    user-select: none;
}

/* Saf Kılıç Custom Cursor */
#sword-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 32px;
    height: 32px;
    pointer-events: none;
    z-index: 999999;
    transform: translate(-3px, -3px);
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.1s ease-out;
}

#sword-cursor.visible {
    opacity: 1;
}

.sword-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 6px rgba(192, 132, 252, 0.9));
    transition: transform 0.15s cubic-bezier(0.2, 0.8, 0.2, 1);
}

#sword-cursor.active .sword-svg {
    transform: scale(1.22) rotate(-10deg);
    filter: drop-shadow(0 0 12px rgba(244, 63, 94, 0.95));
}

/* Mor Kıvılcım (Sparkle) Efekti */
.sparkle-particle {
    position: fixed;
    pointer-events: none;
    border-radius: 50%;
    z-index: 99999;
    animation: sparkAnim 0.65s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

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

/* Arka Plan Şövalye Görseli */
.bg-image-wrapper {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    overflow: hidden;
}

.bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.65) contrast(1.1) saturate(1.05);
    transform: scale(1.03);
    transition: transform 10s ease-out;
}

.bg-vignette {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at center, rgba(5, 5, 8, 0.2) 0%, rgba(5, 5, 8, 0.85) 90%);
    pointer-events: none;
    z-index: 1;
}

#particles-canvas {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 2;
}

/* Splash Screen (Tıklayınca açılış) */
#splash-screen {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9000;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s;
}

.splash-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 5, 8, 0.88);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
}

#splash-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.splash-content {
    position: relative;
    z-index: 2;
    text-align: center;
    animation: floatAnim 4s ease-in-out infinite;
}

.splash-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
}

.splash-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.splash-title {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    letter-spacing: 5px;
    color: #fff;
    text-shadow: 0 0 25px rgba(255, 255, 255, 0.4);
    margin-bottom: 8px;
}

.splash-subtext {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    animation: pulseText 1.8s infinite;
}

/* Ana Konteyner */
.container {
    position: relative;
    z-index: 10;
    padding: 20px;
    perspective: 1200px;
}

/* 3D Glass Profil Kartı (Kompakt, Modern & Ultra Saydam) */
.profile-card {
    width: 360px;
    max-width: 90vw;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(12px) saturate(140%);
    -webkit-backdrop-filter: blur(12px) saturate(140%);
    border-radius: 22px;
    padding: 28px 22px 22px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4),
                inset 0 1px 1px rgba(255, 255, 255, 0.25);
    transform-style: preserve-3d;
    transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.15s ease-out;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.profile-card:hover {
    border-color: var(--card-border-glow);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6),
                0 0 30px var(--accent-glow),
                inset 0 1px 2px rgba(255, 255, 255, 0.35);
}

.card-glass-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
    transform: skewX(-25deg);
    pointer-events: none;
    animation: glassShine 7s infinite;
}

/* Profil Karagül Avatar */
.avatar-container {
    position: relative;
    width: 94px;
    height: 94px;
    margin: 0 auto 16px;
}

.avatar-glow {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(192, 132, 252, 0.45) 0%, transparent 70%);
    filter: blur(8px);
}

.avatar-frame {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
    background: #0d0d12;
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: contrast(1.1);
    transition: transform 0.4s ease;
}

.profile-card:hover .avatar-img {
    transform: scale(1.08);
}

/* Profil Yazıları */
.username-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-bottom: 8px;
}

.username {
    font-family: 'Cinzel', serif;
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #ffffff 40%, #d8b4fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(192, 132, 252, 0.4);
}

.verified-icon {
    color: #38bdf8;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.7));
}

/* Sadece Dostlar Badge */
.sadece-dostlar-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(192, 132, 252, 0.3);
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
    box-shadow: 0 0 15px rgba(192, 132, 252, 0.15);
}

.sadece-dostlar-badge span {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #e9d5ff;
}

/* Tooltip */
[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: rgba(8, 8, 12, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.65rem;
    font-family: 'JetBrains Mono', monospace;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s ease;
    z-index: 50;
    color: #fff;
}

[data-tooltip]:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Bio Alıntısı (Typewriter) */
.bio-quote {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    color: var(--text-muted);
    min-height: 20px;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.bio-quote .cursor {
    color: var(--accent-purple);
    animation: blinkCursor 0.8s infinite;
}

/* Best Friend Group Bölümü */
.bf-group-section {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 12px 10px;
    margin-bottom: 16px;
}

.bf-group-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.68rem;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--accent-purple);
    margin-bottom: 12px;
    text-transform: uppercase;
}

.bf-group-header i {
    font-size: 0.75rem;
}

.bf-group-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.bf-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 10px 4px;
    text-decoration: none;
    transition: all 0.25s ease;
    position: relative;
}

.bf-card:hover {
    background: rgba(225, 48, 108, 0.15);
    border-color: rgba(225, 48, 108, 0.45);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(225, 48, 108, 0.25);
}

.bf-avatar-wrapper {
    position: relative;
    width: 44px;
    height: 44px;
}

.bf-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    transition: transform 0.3s ease;
}

.bf-card:hover .bf-avatar {
    transform: scale(1.06);
    border-color: #e1306c;
}

.bf-badge {
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 14px;
    height: 14px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.5rem;
    color: #fff;
    border: 1.5px solid #000;
}

.bf-name {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 85px;
    transition: color 0.2s ease;
}

.bf-card:hover .bf-name {
    color: #fff;
}

/* Minimal Müzik Çalar */
.music-player {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 10px 14px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.music-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
}

.equalizer {
    display: flex;
    align-items: flex-end;
    gap: 2.5px;
    height: 16px;
}

.equalizer .bar {
    width: 2.5px;
    height: 100%;
    background: var(--accent-purple);
    border-radius: 2px;
    animation: equalizeBar 1s infinite alternate ease-in-out;
}

.equalizer .bar:nth-child(1) { animation-delay: 0.1s; height: 50%; }
.equalizer .bar:nth-child(2) { animation-delay: 0.3s; height: 100%; }
.equalizer .bar:nth-child(3) { animation-delay: 0.2s; height: 40%; }
.equalizer .bar:nth-child(4) { animation-delay: 0.4s; height: 80%; }

.equalizer.paused .bar {
    animation-play-state: paused;
    height: 3px !important;
}

.music-text {
    display: flex;
    flex-direction: column;
}

.song-title {
    font-size: 0.78rem;
    font-weight: 600;
    color: #ffffff;
}

.song-time {
    font-size: 0.65rem;
    font-family: 'JetBrains Mono', monospace;
    color: rgba(255, 255, 255, 0.45);
}

.player-controls {
    display: flex;
    gap: 6px;
}

.ctrl-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    transition: all 0.2s ease;
    outline: none;
}

.ctrl-btn:hover {
    background: var(--accent-purple);
    border-color: #fff;
    transform: scale(1.1);
}

.progress-bar-container {
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    cursor: pointer;
    overflow: hidden;
    margin-top: 4px;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent-purple), #ffffff);
    border-radius: 2px;
    transition: width 0.1s linear;
}

/* Animasyonlar */
@keyframes floatAnim {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@keyframes pulseText {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

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

@keyframes equalizeBar {
    0% { height: 20%; }
    50% { height: 100%; }
    100% { height: 40%; }
}

@keyframes glassShine {
    0% { left: -100%; }
    20%, 100% { left: 200%; }
}
