:root {
            --bg-primary: #fdf6e3;
            --bg-secondary: #ffffff;
            --text-primary: #1e293b;
            --text-secondary: #64748b;
            --accent: #f59e0b;
            --border-color: #e2e8f0;
        }

        [data-theme="pastel"] {
            --bg-primary: #fff8f0;
            --bg-secondary: #ffffff;
            --text-primary: #334155;
            --text-secondary: #64748b;
            --accent: #ec4899;
            --border-color: #fbcfe8;
        }

        [data-theme="dark"] {
            --bg-primary: #0f172a;
            --bg-secondary: #1e293b;
            --text-primary: #f8fafc;
            --text-secondary: #94a3b8;
            --accent: #38bdf8;
            --border-color: #334155;
        }

        [data-theme="neon"] {
            --bg-primary: #09090b;
            --bg-secondary: #18181b;
            --text-primary: #ffffff;
            --text-secondary: #a1a1aa;
            --accent: #d946ef;
            --border-color: #d946ef;
        }

        [data-theme="retro"] {
            --bg-primary: #2b213a;
            --bg-secondary: #3b2d52;
            --text-primary: #ffeb99;
            --text-secondary: #d4b8ff;
            --accent: #ff5e7e;
            --border-color: #ff9e00;
        }

        body {
            font-family: 'Inter', sans-serif;
            background-color: var(--bg-primary);
            color: var(--text-primary);
            transition: background-color 0.3s ease, color 0.3s ease;
            overflow-x: hidden;
        }

        .font-fun { font-family: 'Fredoka', sans-serif; }
        .font-hand { font-family: 'Patrick Hand', cursive; }

        .texture-plain { background-image: none; }
        .texture-cork {
            background-color: #d4a373;
            background-image: 
                radial-gradient(rgba(139, 90, 43, 0.25) 1px, transparent 0),
                radial-gradient(rgba(92, 58, 24, 0.2) 1px, transparent 0);
            background-size: 20px 20px;
            background-position: 0 0, 10px 10px;
        }
        .texture-lined {
            background-image: linear-gradient(var(--border-color) 1px, transparent 1px);
            background-size: 100% 32px;
        }
        .texture-dots {
            background-image: radial-gradient(var(--text-secondary) 1.2px, transparent 1.2px);
            background-size: 24px 24px;
        }

        .sticky-note {
            transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
        }
        .sticky-note:hover {
            transform: scale(1.03) rotate(0deg) !important;
            z-index: 20;
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
        }

        .secret-blur {
            filter: blur(7px);
            user-select: none;
            transition: filter 0.3s ease;
        }

        ::-webkit-scrollbar { width: 8px; height: 8px; }
        ::-webkit-scrollbar-track { background: transparent; }
        ::-webkit-scrollbar-thumb { background: rgba(156, 163, 175, 0.5); border-radius: 9999px; }
        ::-webkit-scrollbar-thumb:hover { background: rgba(156, 163, 175, 0.8); }

        @keyframes popIn {
            0% { opacity: 0; transform: scale(0.85) translateY(15px); }
            100% { opacity: 1; transform: scale(1) translateY(0); }
        }
        .animate-pop { animation: popIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; }

        @keyframes floatSlow {
            0%, 100% { transform: translateY(0px); }
            50% { transform: translateY(-6px); }
        }
        .animate-float { animation: floatSlow 3.2s ease-in-out infinite; }
        
        .legendary-card {
            background: linear-gradient(135deg, rgba(251, 191, 36, 0.18), rgba(245, 158, 11, 0.06));
            border-color: #f59e0b !important;
            box-shadow: 0 8px 25px -5px rgba(245, 158, 11, 0.25);
        }
        .mythic-card {
            background: linear-gradient(135deg, rgba(244, 63, 94, 0.18), rgba(251, 113, 133, 0.07));
            border-color: #f43f5e !important;
            box-shadow: 0 8px 28px -5px rgba(244, 63, 94, 0.28);
        }
        .cosmic-card {
            background: linear-gradient(135deg, rgba(20, 184, 166, 0.2), rgba(99, 102, 241, 0.15), rgba(236, 72, 153, 0.12));
            border-color: #14b8a6 !important;
            box-shadow: 0 10px 30px -5px rgba(99, 102, 241, 0.35);
        }
        .epic-card {
            background: linear-gradient(135deg, rgba(192, 132, 252, 0.16), rgba(168, 85, 247, 0.05));
            border-color: #a855f7 !important;
        }
        .rare-card {
            background: linear-gradient(135deg, rgba(56, 189, 248, 0.15), rgba(14, 165, 233, 0.05));
            border-color: #0ea5e9 !important;
        }

        /* Ahşap ve Cam Vitrin Rafı Tasarımı */
        .shelf-cabinet {
            background: linear-gradient(180deg, rgba(255,255,255,0.45) 0%, rgba(241,245,249,0.2) 100%);
            backdrop-filter: blur(8px);
        }
        .wooden-plank {
            height: 20px;
            background: linear-gradient(180deg, #e7bc91 0%, #c68b59 45%, #8c583a 100%);
            border-radius: 10px;
            box-shadow: 0 10px 18px -4px rgba(74, 44, 24, 0.35), inset 0 2px 3px rgba(255, 255, 255, 0.45);
            position: relative;
        }
        .wooden-plank::after {
            content: '';
            position: absolute;
            bottom: -6px;
            left: 16px;
            right: 16px;
            height: 6px;
            background: rgba(60, 35, 18, 0.25);
            border-radius: 0 0 8px 8px;
        }
        .glass-tank-card {
            background: linear-gradient(180deg, rgba(224, 242, 254, 0.75) 0%, rgba(186, 230, 253, 0.55) 60%, rgba(153, 246, 228, 0.65) 100%);
            box-shadow: inset 0 2px 12px rgba(255, 255, 255, 0.85), 0 8px 20px -4px rgba(14, 116, 144, 0.18);
            border: 2px solid rgba(255, 255, 255, 0.75);
        }
        .glass-tank-skeleton {
            background: linear-gradient(180deg, rgba(203, 213, 225, 0.7) 0%, rgba(148, 163, 184, 0.6) 65%, rgba(100, 116, 139, 0.7) 100%);
            box-shadow: inset 0 2px 10px rgba(255, 255, 255, 0.5), 0 8px 20px -4px rgba(51, 65, 85, 0.25);
            border: 2px solid rgba(226, 232, 240, 0.7);
        }

        /* Sıcacık Çalışma & Oturma Odası Arka Planı (Vitrinler İçin) */
        .cozy-room-backdrop {
            background: 
                radial-gradient(circle at 12% 16%, rgba(254, 240, 138, 0.35) 0%, transparent 32%),
                radial-gradient(circle at 88% 20%, rgba(251, 207, 232, 0.28) 0%, transparent 36%),
                linear-gradient(180deg, #f5ebe0 0%, #edede9 58%, #d6ccc2 100%);
            position: relative;
            overflow: hidden;
        }
        [data-theme="dark"] .cozy-room-backdrop,
        [data-theme="neon"] .cozy-room-backdrop,
        [data-theme="retro"] .cozy-room-backdrop {
            background: 
                radial-gradient(circle at 14% 16%, rgba(251, 191, 36, 0.22) 0%, transparent 35%),
                radial-gradient(circle at 86% 18%, rgba(56, 189, 248, 0.16) 0%, transparent 38%),
                linear-gradient(180deg, #1e293b 0%, #0f172a 65%, #090d16 100%);
        }
        .room-wallpaper-stripes {
            background-image: repeating-linear-gradient(
                90deg,
                rgba(255, 255, 255, 0.14) 0px,
                rgba(255, 255, 255, 0.14) 24px,
                transparent 24px,
                transparent 48px
            );
        }
        @keyframes fairyTwinkle {
            0%, 100% { opacity: 0.45; transform: scale(0.95); }
            50% { opacity: 1; transform: scale(1.15); }
        }
        .fairy-bulb { animation: fairyTwinkle 2.4s ease-in-out infinite; }


/* Profil penceresi: temaya uyumlu, dokunmatik dostu */
.profile-cover { background: linear-gradient(125deg, #7c3aed 0%, #a855f7 48%, #ec4899 100%); }
.profile-input { background: var(--bg-primary); color: var(--text-primary); border-color: var(--border-color); }
.profile-input::placeholder { color: var(--text-secondary); opacity: .75; }
.avatar-opt { min-width: 0; aspect-ratio: 1; border-radius: 1rem; background: rgba(148,163,184,.12); border: 2px solid var(--border-color); font-size: 1.55rem; transition: transform .18s ease, background .18s ease, border-color .18s ease; }
.avatar-opt:hover { transform: translateY(-2px); background: rgba(168,85,247,.12); }
.avatar-opt.is-selected { border-color: #a855f7; background: rgba(168,85,247,.18); box-shadow: 0 0 0 2px rgba(168,85,247,.15); }
@media (max-width: 480px) { .profile-card { border-radius: 1.5rem; } .profile-cover { padding: 1.1rem; } }


/* ==========================================
   NADİRLİK SEVİYESİ ÖZEL PARILTI & AURA EFEKTLERİ
   ========================================== */
@keyframes rarityShimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes mythicPulse {
    0%, 100% { box-shadow: 0 8px 26px -4px rgba(244, 63, 94, 0.32), 0 0 0 1px rgba(251, 113, 133, 0.35); }
    50% { box-shadow: 0 12px 34px -2px rgba(251, 146, 60, 0.48), 0 0 18px rgba(244, 63, 94, 0.25); }
}

@keyframes cosmicAura {
    0%, 100% { box-shadow: 0 10px 30px -4px rgba(20, 184, 166, 0.38), 0 0 16px rgba(129, 140, 248, 0.28); }
    50% { box-shadow: 0 14px 38px -2px rgba(217, 70, 239, 0.42), 0 0 22px rgba(34, 211, 238, 0.35); }
}

.rare-card {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.16), rgba(14, 165, 233, 0.05));
    border-color: #0ea5e9 !important;
    box-shadow: 0 6px 18px -6px rgba(14, 165, 233, 0.25);
}

.epic-card {
    background: linear-gradient(135deg, rgba(192, 132, 252, 0.18), rgba(168, 85, 247, 0.06));
    border-color: #a855f7 !important;
    box-shadow: 0 8px 22px -6px rgba(168, 85, 247, 0.28);
}

.legendary-card {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.22), rgba(245, 158, 11, 0.08));
    border-color: #f59e0b !important;
    box-shadow: 0 8px 26px -5px rgba(245, 158, 11, 0.32);
}

.mythic-card {
    background: linear-gradient(135deg, rgba(244, 63, 94, 0.2), rgba(251, 146, 60, 0.12), rgba(244, 63, 94, 0.08));
    background-size: 200% 200%;
    animation: rarityShimmer 6s ease infinite, mythicPulse 3.2s ease-in-out infinite;
    border-color: #f43f5e !important;
}

.cosmic-card {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.22), rgba(99, 102, 241, 0.18), rgba(217, 70, 239, 0.16));
    background-size: 220% 220%;
    animation: rarityShimmer 7s ease infinite, cosmicAura 3.8s ease-in-out infinite;
    border-color: #2dd4bf !important;
}
