/* ============================================================
   Kişisel Tanıtım Sitesi - Liquid Glass (Glassmorphism) Tema
   ============================================================ */

:root {
    --glass-bg: rgba(255, 255, 255, 0.12);
    --glass-border: rgba(255, 255, 255, 0.25);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.75);
    --accent: #ffffff;
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-full: 999px;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Inter', Roboto, Arial, sans-serif;
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* ---------------- Arkaplan katmanları ---------------- */
.bg-layer {
    position: fixed;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
}

.bg-video {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.bg-overlay {
    position: fixed;
    inset: 0;
    z-index: -1;
    background: rgba(0, 0, 0, 0.25);
    pointer-events: none;
}

/* ---------------- Fare takip efekti ---------------- */
#mouse-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 70%);
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
    will-change: transform;
}

/* ---------------- Ana kart ---------------- */
.page-wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.glass-card {
    width: 100%;
    max-width: 460px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--glass-shadow);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 18px;
}

.profile-photo {
    width: 132px;
    height: 132px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.1);
}

.profile-photo-placeholder {
    width: 132px;
    height: 132px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
}

.display-name {
    font-size: 1.6rem;
    font-weight: 600;
    margin: 0;
    letter-spacing: 0.2px;
}

.bio-text {
    font-size: 0.98rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
    white-space: pre-line;
}

/* ---------------- Sosyal medya ikonları ---------------- */
.social-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
}

.social-icon-link {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    text-decoration: none;
    transition: transform 0.18s ease, background 0.18s ease;
}

.social-icon-link:hover {
    background: rgba(255, 255, 255, 0.28);
    transform: translateY(-3px);
}

.social-icon-link i {
    font-size: 18px;
    line-height: 1;
}

/* ---------------- Konum & Paylaş ---------------- */
.utility-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.utility-btn {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    cursor: pointer;
    transition: transform 0.18s ease, background 0.18s ease;
}

.utility-btn:hover {
    background: rgba(255, 255, 255, 0.28);
    transform: translateY(-3px);
}

.utility-btn i {
    font-size: 18px;
    line-height: 1;
}

/* ---------------- Logo bölümü ---------------- */
.logos-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: 100%;
    padding-top: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.logo-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---------------- Konum modalı ---------------- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 50;
    padding: 20px;
}

.modal-overlay.open {
    display: flex;
}

.modal-box {
    width: 100%;
    max-width: 640px;
    background: rgba(30, 30, 40, 0.85);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    padding: 16px;
    position: relative;
}

.modal-box iframe {
    width: 100%;
    height: 420px;
    border: 0;
    border-radius: 12px;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 14px;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.4rem;
    cursor: pointer;
    line-height: 1;
}

/* ---------------- Kopyalandı bildirimi ---------------- */
#toast {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(20, 20, 20, 0.85);
    color: #fff;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 100;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

#toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ---------------- Mobil uyumluluk ---------------- */
@media (max-width: 480px) {
    .glass-card {
        padding: 32px 20px;
        border-radius: 22px;
        gap: 14px;
    }

    .profile-photo, .profile-photo-placeholder {
        width: 108px;
        height: 108px;
    }

    .display-name {
        font-size: 1.35rem;
    }

    #mouse-glow {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    #mouse-glow {
        display: none;
    }
}
