* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #8b5cf6;
    --secondary-color: #3b82f6;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    /* Scrollbarları tamamen gizle */
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #000;
    color: var(--text-primary);
    cursor: none;
}

/* Scrollbar Gizleme (Webkit) */
::-webkit-scrollbar {
    display: none;
}

/* Loading Screen - Minimal */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    pointer-events: all;
    cursor: wait;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loading-content {
    text-align: center;
}

.loading-spinner {
    display: none;
}

.loading-text {
    font-size: 28px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 25px;
    letter-spacing: 3px;
}

.loading-bar {
    width: 250px;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 auto;
    overflow: hidden;
}

.loading-progress {
    height: 100%;
    background: #fff;
    animation: loading 3s ease-out forwards;
}

@keyframes loading {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}

/* Giriş Ekranı - Transparan & Blur */
.enter-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.enter-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.enter-content {
    text-align: center;
    animation: pulse 2s ease-in-out infinite;
}

.enter-emoji {
    font-size: 80px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 30px rgba(139, 92, 246, 0.8));
}

.enter-text {
    font-size: 18px;
    color: var(--text-primary);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

/* Ana İçerik */
.main-content {
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease;
}

.main-content.active {
    opacity: 1;
    visibility: visible;
}

/* Arka Plan Video */
.bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) brightness(0.4);
    z-index: -2;
}

/* Glow Efektleri */
.glow-effect {
    position: fixed;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.3;
    z-index: -1;
    animation: float 8s ease-in-out infinite;
}

.glow-left {
    top: 10%;
    left: -10%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.glow-right {
    bottom: 10%;
    right: -10%;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    animation-delay: -4s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-30px) scale(1.1);
    }
}

/* Audio Player with Visualizer */
.audio-player {
    position: fixed;
    bottom: 30px;
    left: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: 12px 20px;
    z-index: 1000;
    transition: all 0.3s ease;
}

.audio-player:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.visualizer {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 15px;
    margin-right: 15px;
}

.volume-control-container {
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    width: 140px;
    height: 48px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 0 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 99;
    /* Ok işareti sol tarafta olsun */
    margin-left: 10px;
}

.audio-player:hover .volume-control-container {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

.volume-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    outline: none;
    transform: none;
    /* Dikey döndürmeyi kaldır */
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    /* cursor: pointer; kaldırıldı */
    box-shadow: 0 0 10px var(--primary-color);
    transition: transform 0.2s;
}

.volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

/* Çubuk animasyonları ritme göre */
@keyframes visualize {
    0% {
        height: 4px;
        opacity: 0.5;
    }

    50% {
        height: 100%;
        opacity: 1;
    }

    100% {
        height: 4px;
        opacity: 0.5;
    }
}

.audio-player.paused .bar {
    animation-play-state: paused;
    height: 3px !important;
    opacity: 0.3;
    transition: height 0.3s ease;
}

.bar {
    width: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    /* Her çubuk için farklı süre vererek dalga efekti oluştur */
    animation: visualize 0.8s ease-in-out infinite;
}

/* Her çubuğun animasyon detayları */
.bar:nth-child(1) {
    animation-duration: 0.7s;
    height: 12px;
}

.bar:nth-child(2) {
    animation-duration: 0.4s;
    height: 18px;
}

.bar:nth-child(3) {
    animation-duration: 0.6s;
    height: 24px;
}

.bar:nth-child(4) {
    animation-duration: 0.5s;
    height: 14px;
}

.bar:nth-child(5) {
    animation-duration: 0.8s;
    height: 10px;
}

.play-pause-btn {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-pause-btn:hover {
    color: var(--primary-color);
    transform: scale(1.2);
}

/* Mouse İmleci */
.cursor-trail {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.5);
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease;
    mix-blend-mode: screen;
}

/* Kart Container */
.card-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

/* Glassmorphism Kart */
.card {
    width: 100%;
    max-width: 450px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px 35px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Başlık */
.card-header {
    text-align: center;
    margin-bottom: 20px;
}

.username {
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.9) 0%,
            rgba(255, 255, 255, 0.6) 50%,
            rgba(255, 255, 255, 0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    margin-bottom: 0;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5)) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    position: relative;
}

.icon-badge {
    font-size: 20px;
    margin-left: 8px;
    display: inline-block;
    animation: rotate 3s linear infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Typing Efekti */
.typing-container {
    min-height: 30px;
    margin: 20px 0;
    text-align: center;
    font-size: 14px;
    color: var(--text-secondary);
}

.typing-text {
    display: inline;
}

.cursor-blink {
    display: inline-block;
    animation: blink 1s step-end infinite;
    margin-left: 2px;
}

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

/* Divider */
.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
    margin: 25px 0;
}

/* Sosyal Medya Linkleri */
.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    font-size: 22px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.social-icon:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.social-icon:hover::before {
    opacity: 0.2;
}

.social-icon.discord:hover {
    border-color: #5865f2;
}

.social-icon.bitcoin:hover {
    border-color: #f7931a;
}

.social-icon.ethereum:hover {
    border-color: #627eea;
}

.social-icon.github:hover {
    border-color: #ffffff;
}

.social-icon.git:hover {
    border-color: #f05032;
}

.social-icon.spotify:hover {
    border-color: #1db954;
}

/* Spotify/Activity Widget - Multi-Activity Support */
.spotify-widget {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 25px 30px;
    margin: 25px auto;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
    min-height: 90px;
    max-width: 100%;
}

.spotify-widget:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: scale(1.02);
}

.activities-slider {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    width: 100%;
    opacity: 1;
}

.activities-slider.fading-out {
    opacity: 0;
}

.activity-item {
    min-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    opacity: 0;
    animation: fadeIn 0.3s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.spotify-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.album-cover {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.track-info {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.track-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.artist-name {
    font-size: 12px;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.activity-icon {
    display: none !important;
}

.activity-icon.game {
    color: #8b5cf6;
}

.activity-icon.vscode {
    color: #007acc;
}

.activity-icon.default {
    color: #5865f2;
}

/* Navigation Dots - Hidden */
.activity-dots {
    display: none !important;
}

.activity-dot {
    display: none !important;
}

.spotify-icon {
    font-size: 28px;
    color: #1db954;
}

/* View Counter */
.view-counter {
    width: 100%;
    text-align: center;
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 20px;
}

.view-counter i {
    margin-right: 8px;
}



/* Responsive */
@media (max-width: 768px) {
    .card {
        padding: 30px 25px;
    }

    .username {
        font-size: 28px;
    }

    .social-icon {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }

    .sound-toggle {
        top: 20px;
        left: 20px;
        width: 45px;
        height: 45px;
    }

    .enter-emoji {
        font-size: 60px;
    }
}

/* Footer */
.footer {
    position: fixed;
    bottom: 30px;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 100;
    pointer-events: none;
}

.footer p {
    font-size: 13px;
    color: var(--text-secondary);
    letter-spacing: 1px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.main-content.active~.footer p {
    opacity: 0.4;
}