@import url('https://fonts.googleapis.com/css2?family=Courier+Prime:ital,wght@0,400;0,700;1,400&family=Poppins:wght@300;400;600&display=swap');

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

body {
    font-family: 'Poppins', sans-serif;
    color: white;
    overflow: hidden; /* Kaydırma çubuklarını gizler */
    background-color: #000;
}

/* Giriş Ekranı */
.entrance {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6); /* Tam siyah yerine yarı saydam */
    backdrop-filter: blur(8px); /* Arkadaki videoyu ilk başta bulanık gösterir */
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    cursor: pointer;
    transition: opacity 0.8s ease-out, backdrop-filter 0.8s ease-out;
    user-select: none; /* Mobilde çift tıklayınca yazının seçilmesini engeller */
    -webkit-user-select: none;
}

.entrance h2 {
    font-family: 'Courier Prime', monospace;
    font-size: 1.5rem;
    animation: pulse 1.5s infinite;
}

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

/* Arka Plan Videosu */
.bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -1;
    filter: blur(5px); /* Karanlık yapmadan sadece bulanıklık efekti verir */
}

/* Ana Konteyner & Cam Efekti (Glassmorphism) */
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
    opacity: 1;
    transition: opacity 1s ease-in;
}

.container.hidden {
    opacity: 0;
    pointer-events: none;
}

.profile-card {
    background: rgba(15, 15, 15, 0.45);
    backdrop-filter: blur(12px); /* Arkadaki videoyu bulanıklaştırır */
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 40px 30px; /* Mobilde taşmasın diye yanlardan paddingi hafif azalttık */
    text-align: center;
    width: 90%; /* Çok dar telefonlarda kırılmasını engeller */
    max-width: 360px; /* Büyük ekranlarda ise bu boyutta tutar */
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.7);
    animation: float 6s ease-in-out infinite; /* Süzülme animasyonu */
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* Profil Resmi */
.avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
    transition: transform 0.3s;
    user-select: none; /* Mobilde Easter Egg için 5 kere basarken resmin büyümesini ve seçilmesini engeller */
    -webkit-user-select: none;
    pointer-events: auto; /* Tıklanabilir olmasını garantiler */
}

.avatar:hover {
    transform: scale(1.1) rotate(5deg);
}

.username {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(255,255,255,0.4);
}

.typewriter {
    font-family: 'Courier Prime', monospace;
    font-size: 0.9rem;
    color: #ccc;
    min-height: 20px;
    margin-bottom: 25px;
}

.about-text {
    font-size: 0.8rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 20px;
}

/* Sosyal Medya İkonları */
.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: #fff;
    text-shadow: 0 0 15px rgba(255, 255, 255, 1);
    transform: translateY(-3px);
}

/* --- EASTER EGG (GİZLİ ÖZELLİK EFEKTLERİ) --- */
.golden-glow {
    border-color: rgba(255, 255, 255, 0.4) !important;
    box-shadow: 0 0 35px rgba(255, 255, 255, 0.6), inset 0 0 20px rgba(255, 255, 255, 0.2) !important;
    transform: scale(1.05); /* Kart birazcık büyür */
    transition: all 0.5s ease;
}

.falling-emoji {
    position: fixed;
    top: -50px;
    font-size: 1.5rem;
    color: white;
    text-shadow: 0 0 10px rgba(255,255,255,0.8);
    pointer-events: none;
    z-index: 9999;
    animation: fall linear forwards;
}

@keyframes fall {
    0% { transform: translateY(-50px) rotate(0deg); opacity: 1; }
    100% { transform: translateY(110vh) rotate(360deg); opacity: 0; }
}

/* Ses Kontrolleri (Sol Alt) */
.volume-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(15, 15, 15, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 10px 15px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 50;
    opacity: 1;
    transition: opacity 1s ease-in;
}

.volume-container.hidden {
    opacity: 0;
    pointer-events: none;
}

.volume-container button {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.3s;
    width: 24px;
    display: flex;
    justify-content: center;
}

.volume-container button:hover {
    color: #ccc;
    text-shadow: 0 0 10px rgba(255,255,255,0.5);
}

.volume-container input[type="range"] {
    cursor: pointer;
    width: 80px;
    accent-color: #fff; /* Kaydırıcının rengi */
}

@media (max-width: 480px) {
    .entrance h2 {
        font-size: 1.2rem;
    }

    .profile-card {
        padding: 28px 20px;
    }

    .social-links {
        gap: 16px;
    }
}