/* ============================================================
   PANDAHANIMM • Mor Panda Temalı Bağlantı Sayfası
   ============================================================ */

:root {
    --purple-1: #2a0a3d;   /* en koyu mor (arka plan) */
    --purple-2: #4b1f7a;   /* orta mor */
    --purple-3: #7c3aed;   /* canlı mor */
    --purple-4: #a855f7;   /* parlak mor */
    --purple-5: #d8b4fe;   /* açık mor (vurgu) */
    --glow:     #b87dff;   /* ışıltı rengi */
    --text:     #f3e8ff;
    --text-dim: #c4b5fd;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

body {
    min-height: 100vh;
    color: var(--text);
    background:
        radial-gradient(1200px 800px at 80% 10%,  rgba(168, 85, 247, 0.25), transparent 60%),
        radial-gradient(900px 700px at 10% 90%,  rgba(124, 58, 237, 0.30), transparent 65%),
        radial-gradient(700px 700px at 50% 50%,  rgba(75, 31, 122, 0.35), transparent 70%),
        linear-gradient(135deg, #1a0530 0%, #2a0a3d 40%, #1a0530 100%);
    background-attachment: fixed;
    position: relative;
}

/* ----- 3D Panda canvas (en arkada) ----- */
#panda-canvas {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    pointer-events: none;
}

/* ----- Sparkle (toz parçacığı) canvas ----- */
#sparkle-canvas {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: 2;
    pointer-events: none;
}

/* ----- Bulutsu / yıldızlı katman ----- */
.nebula-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(2px 2px at 20% 30%, rgba(216,180,254,0.8), transparent 50%),
        radial-gradient(1px 1px at 80% 20%, rgba(216,180,254,0.7), transparent 50%),
        radial-gradient(2px 2px at 40% 80%, rgba(216,180,254,0.6), transparent 50%),
        radial-gradient(1px 1px at 70% 60%, rgba(216,180,254,0.8), transparent 50%),
        radial-gradient(1.5px 1.5px at 10% 70%, rgba(216,180,254,0.7), transparent 50%),
        radial-gradient(1px 1px at 90% 85%, rgba(216,180,254,0.6), transparent 50%),
        radial-gradient(2px 2px at 60% 10%, rgba(216,180,254,0.8), transparent 50%),
        radial-gradient(1px 1px at 30% 50%, rgba(216,180,254,0.6), transparent 50%);
    animation: twinkle 6s ease-in-out infinite alternate;
}

@keyframes twinkle {
    from { opacity: 0.55; }
    to   { opacity: 1; }
}

/* ----- Sayfa konteyneri ----- */
.background-container {
    position: relative;
    z-index: 3;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* ============================================================
   PROFİL KARTI (Adacık) — TAMAMEN ŞEFFAF MOR
   ============================================================ */
.profile-card {
    position: relative;
    width: 100%;
    max-width: 420px;
    padding: 36px 28px 26px;
    border-radius: 24px;
    text-align: center;

    /* Şeffaf cam efekti */
    background: linear-gradient(
        145deg,
        rgba(124, 58, 237, 0.18) 0%,
        rgba(75, 31, 122, 0.22) 50%,
        rgba(168, 85, 247, 0.18) 100%
    );
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);

    border: 1px solid rgba(216, 180, 254, 0.28);
    box-shadow:
        0 20px 60px rgba(30, 0, 60, 0.55),
        0 0 40px rgba(168, 85, 247, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);

    animation: cardFloat 6s ease-in-out infinite;
}

@keyframes cardFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-6px); }
}

/* Kartın etrafında dönen ince mor halka */
.profile-card::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 26px;
    padding: 2px;
    background: linear-gradient(
        135deg,
        rgba(216, 180, 254, 0.6),
        rgba(124, 58, 237, 0.1) 40%,
        rgba(216, 180, 254, 0.6)
    );
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
    opacity: 0.7;
}

/* ============================================================
   LOGO
   ============================================================ */
.logo-wrapper {
    position: relative;
    width: 110px;
    height: 110px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-circle {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 44px;
    background:
        radial-gradient(circle at 30% 30%, #c084fc, #7c3aed 60%, #4b1f7a 100%);
    border: 2px solid rgba(216, 180, 254, 0.7);
    box-shadow:
        0 0 30px rgba(168, 85, 247, 0.7),
        inset 0 0 18px rgba(255, 255, 255, 0.18);
    z-index: 2;
    animation: logoBeat 3s ease-in-out infinite;
}

@keyframes logoBeat {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.05); }
}

.logo-circle i {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
}

.logo-glow {
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.55), transparent 70%);
    filter: blur(12px);
    z-index: 1;
    animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% { opacity: 0.55; transform: scale(1); }
    50%      { opacity: 1;    transform: scale(1.15); }
}

/* ============================================================
   YAZILAR
   ============================================================ */
.username {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 1.2px;
    margin-bottom: 6px;
    background: linear-gradient(90deg, #f3e8ff, #d8b4fe, #f3e8ff);
    background-size: 200% 100%;
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 18px rgba(216, 180, 254, 0.35);
    animation: shine 4s linear infinite;
}

@keyframes shine {
    0%   { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.bio {
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--text-dim);
    margin-bottom: 28px;
    font-weight: 500;
    text-transform: uppercase;
}

/* ============================================================
   LİNK BUTONLARI
   ============================================================ */
.links-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 22px;
}

.link-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    padding: 14px 18px;
    border-radius: 14px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    letter-spacing: 0.5px;

    background: linear-gradient(
        135deg,
        rgba(124, 58, 237, 0.22) 0%,
        rgba(168, 85, 247, 0.14) 100%
    );
    border: 1px solid rgba(216, 180, 254, 0.30);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 4px 14px rgba(30, 0, 60, 0.25);

    transition: transform 0.25s ease, background 0.25s ease,
                box-shadow 0.25s ease, border-color 0.25s ease;
    overflow: hidden;
}

/* Sol kenardaki sosyal medya ikonu */
.link-btn > i:first-child {
    width: 28px;
    text-align: center;
    font-size: 20px;
    color: var(--purple-5);
    text-shadow: 0 0 10px rgba(216, 180, 254, 0.6);
}

.link-btn span {
    flex: 1;
    text-align: left;
}

.link-btn .arrow {
    font-size: 12px;
    color: var(--text-dim);
    opacity: 0.7;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Hover ışıltı efekti */
.link-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(216, 180, 254, 0.35),
        transparent
    );
    transform: skewX(-20deg);
    transition: left 0.7s ease;
}

.link-btn:hover {
    transform: translateY(-3px);
    background: linear-gradient(
        135deg,
        rgba(168, 85, 247, 0.40) 0%,
        rgba(124, 58, 237, 0.30) 100%
    );
    border-color: rgba(216, 180, 254, 0.65);
    box-shadow:
        0 10px 28px rgba(124, 58, 237, 0.45),
        0 0 22px rgba(168, 85, 247, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.link-btn:hover::before {
    left: 130%;
}

.link-btn:hover .arrow {
    opacity: 1;
    transform: translateX(3px) translateY(-3px);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer-text {
    margin-top: 16px;
    font-size: 11px;
    letter-spacing: 1.2px;
    color: rgba(216, 180, 254, 0.55);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 480px) {
    .profile-card {
        max-width: 92vw;
        padding: 28px 20px 22px;
    }
    .username  { font-size: 22px; }
    .bio       { font-size: 11px; margin-bottom: 22px; }
    .link-btn  { font-size: 14px; padding: 12px 14px; }
    .logo-wrapper { width: 92px; height: 92px; }
    .logo-circle  { width: 84px; height: 84px; font-size: 36px; }
}
