:root {
    --bg-color: #030305;
    --card-bg: rgba(10, 10, 15, 0.45);
    --card-border: rgba(255, 255, 255, 0.08);
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --glow-color: rgba(138, 43, 226, 0.9); /* Mor parlaklık */
    --accent-color: #8a2be2;
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none; /* Hide default cursor everywhere */
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
    height: 100vh;
    overflow: hidden; 
    display: flex;
    justify-content: center;
    align-items: center;
    user-select: none;
    -webkit-user-drag: none;
}

/* Custom Cursor */
.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: white;
}
.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}
.cursor-dot, .cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 99999;
    pointer-events: none;
}
.cursor-hover .cursor-outline {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.1);
    border-color: transparent;
}

/* Giriş Ekranı (Shutter Effect) */
#enter-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: none;
}

.shutter {
    position: absolute;
    left: 0;
    width: 100%;
    height: 50%;
    background: #000;
    transition: transform 1.2s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 1;
}
.shutter-top { top: 0; }
.shutter-bottom { bottom: 0; }

#enter-screen.opened .shutter-top { transform: translateY(-100%); }
#enter-screen.opened .shutter-bottom { transform: translateY(100%); }

.enter-content {
    position: relative;
    z-index: 2;
    transition: opacity 0.5s ease;
}
#enter-screen.opened .enter-content { opacity: 0; }

.glitch-text {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: white;
    text-transform: uppercase;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
    animation: pulse 2s infinite alternate;
}
.enter-content:hover .glitch-text {
    color: var(--accent-color);
    text-shadow: 0 0 20px var(--glow-color);
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.05); opacity: 1; text-shadow: 0 0 25px rgba(255,255,255,0.9); }
}

/* Arka Plan Medyası */
#bg-video {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    z-index: 1;
    object-fit: cover;
    opacity: 0.6;
    filter: blur(2px) brightness(0.7);
}

/* TsParticles */
#tsparticles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

/* Ana Konteyner */
.container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 440px;
    padding: 20px;
    opacity: 1;
    transform: scale(1);
    transition: opacity 1.5s ease, transform 1.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.container.hidden {
    opacity: 0;
    transform: scale(0.8) translateY(40px);
}

/* Profil Kartı */
.profile-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 45px 35px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.8), inset 0 0 0 1px rgba(255,255,255,0.05);
    text-align: center;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

/* Noise Overlay for extra glass realness */
.noise-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.04;
    z-index: 0;
    pointer-events: none;
}

/* Üstteki kayan parlak çizgi efekti */
.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    animation: scanline 4s linear infinite;
    z-index: 1;
}

@keyframes scanline {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(50%); }
}

.profile-header, .social-links, .footer {
    position: relative;
    z-index: 10;
    transform: translateZ(30px); /* 3D effect with tilt */
}

/* Profil Fotoğrafı ve Parlama Efekti */
.avatar-container {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 25px;
    transform: translateZ(40px);
}

.avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.15);
    position: relative;
    z-index: 2;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.avatar-container:hover .avatar {
    transform: scale(1.15) rotate(8deg);
}

.glow-ring {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent, var(--accent-color), transparent);
    z-index: 1;
    animation: rotate-glow 4s linear infinite;
    filter: blur(15px);
    opacity: 0.8;
}

@keyframes rotate-glow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Username and Status */
.username-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 8px;
}

.username {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    text-shadow: 0 0 20px rgba(255,255,255,0.3);
    letter-spacing: 1px;
}

.status-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    position: relative;
}

.status-dot.dnd {
    background-color: #f04747;
    box-shadow: 0 0 10px #f04747;
    animation: pulse-status-dnd 2s infinite;
}

.status-dot.online {
    background-color: #43b581;
    box-shadow: 0 0 10px #43b581;
    animation: pulse-status-online 2s infinite;
}

@keyframes pulse-status-dnd {
    0% { box-shadow: 0 0 0 0 rgba(240, 71, 71, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(240, 71, 71, 0); }
    100% { box-shadow: 0 0 0 0 rgba(240, 71, 71, 0); }
}

/* Badges */
.badges {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 18px;
}

.badge {
    color: var(--accent-color);
    font-size: 1.3rem;
    filter: drop-shadow(0 0 8px var(--glow-color));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.badge:hover {
    transform: translateY(-3px) scale(1.1);
    filter: drop-shadow(0 0 15px var(--glow-color));
}

.bio {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 35px;
    min-height: 27px;
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* Yazı yazma (typewriter) efekti imleci */
.type-effect::after {
    content: '|';
    animation: blink 1s step-start infinite;
    color: var(--accent-color);
}

/* Sosyal Medya Butonları */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.15rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-btn i {
    font-size: 1.5rem;
    transition: color 0.3s ease, transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s ease;
}

.social-btn:hover::before {
    left: 100%;
}

.social-btn:hover {
    border-color: var(--btn-color);
    transform: translateY(-4px);
    box-shadow: 0 15px 25px rgba(0,0,0,0.5), inset 0 0 20px rgba(255,255,255,0.02);
    background: rgba(255, 255, 255, 0.06);
}

.social-btn:hover i {
    color: var(--btn-color);
    transform: scale(1.3) rotate(5deg);
    filter: drop-shadow(0 0 10px var(--btn-color));
}

/* Alt Kısım (Footer) */
.footer {
    margin-top: 35px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.view-count {
    font-family: var(--font-heading);
    color: #fff;
    font-weight: 800;
    text-shadow: 0 0 8px rgba(255,255,255,0.6);
}

/* Mobil Uyumluluk */
@media (max-width: 480px) {
    .profile-card {
        padding: 35px 25px;
    }
    .username {
        font-size: 1.6rem;
    }
    .avatar-container {
        width: 100px;
        height: 100px;
    }
}
