:root {
            --bg: #0b0d14;
            --text: #f4f6fb;
            --muted: #98a0b5;
            --accent: #00e5ff;
            --accent-2: #8b5cf6;
            --glass: rgba(255, 255, 255, 0.05);
            --glass-border: rgba(255, 255, 255, 0.10);
        }

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

        html { -webkit-text-size-adjust: 100%; }

        body {
            font-family: 'Prompt', sans-serif;
            background: var(--bg);
            color: var(--text);
            min-height: 100vh;
            min-height: 100dvh;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 28px 16px;
            overflow-x: hidden;
            position: relative;
        }

        /* ---------- พื้นหลัง: ก้อนแสงลอย + ตาราง ---------- */
        .bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }

        .orb {
            position: absolute;
            border-radius: 50%;
            filter: blur(90px);
            opacity: 0.55;
            animation: float 18s ease-in-out infinite;
        }
        .orb.o1 { width: 420px; height: 420px; background: #252a2b; top: -120px; left: -120px; }
        .orb.o2 { width: 460px; height: 460px; background: #3c3b3e; bottom: -160px; right: -140px; animation-delay: -6s; }
        .orb.o3 { width: 300px; height: 300px; background: #181617; top: 45%; left: 55%; opacity: 0.28; animation-delay: -12s; }

        .grid {
            position: absolute; inset: 0;
            background-image:
                linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
            background-size: 44px 44px;
            mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
            -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
        }

        @keyframes float {
            0%, 100% { transform: translate(0, 0) scale(1); }
            33%      { transform: translate(40px, 30px) scale(1.08); }
            66%      { transform: translate(-30px, 50px) scale(0.95); }
        }

        /* ---------- การ์ดหลัก ---------- */
        .container {
            position: relative;
            z-index: 1;
            width: 100%;
            max-width: 420px;
            padding: 44px 24px 28px;
            text-align: center;
            background: linear-gradient(160deg, rgba(255,255,255,0.08), rgba(255,255,255,0.025));
            border: 1px solid var(--glass-border);
            border-radius: 32px;
            backdrop-filter: blur(22px) saturate(140%);
            -webkit-backdrop-filter: blur(22px) saturate(140%);
            box-shadow: 0 30px 80px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.12);
            animation: rise 0.9s cubic-bezier(.2,.8,.2,1) both;
        }

        @keyframes rise {
            from { opacity: 0; transform: translateY(28px) scale(.97); }
            to   { opacity: 1; transform: none; }
        }

        /* ---------- รูปโปรไฟล์ ---------- */
        .avatar-wrap {
            position: relative;
            width: 132px; height: 132px;
            margin: 0 auto 20px;
        }
        .avatar-wrap::before {
            content: '';
            position: absolute; inset: -5px;
            border-radius: 50%;
            background: conic-gradient(from 0deg, white);
        }
        .avatar-wrap::after {
            content: '';
            position: absolute; inset: -5px;
            border-radius: 50%;
            filter: blur(18px);
            opacity: .55;
            background: conic-gradient(from 0deg, white);
            z-index: -1;
        }

        .profile-img {
            position: relative;
            z-index: 1;
            width: 100%; height: 100%;
            border-radius: 50%;
            object-fit: cover;
            border: 4px solid var(--bg);
            background: #151826;
            display: block;
        }

        h1 {
            font-size: 2rem;
            font-weight: 700;
            letter-spacing: 3px;
            background: linear-gradient(90deg, #fff, grey 60%, black);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            margin-bottom: 8px;
        }

        .badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 6px 16px;
            font-size: .9rem;
            font-weight: 500;
            color: var(--accent);
            background: rgba(0, 229, 255, 0.08);
            border: 1px solid rgba(0, 229, 255, 0.25);
            border-radius: 999px;
            margin-bottom: 18px;
        }
        .badge .dot {
            width: 8px; height: 8px;
            border-radius: 50%;
            background: #22c55e;
            box-shadow: 0 0 0 0 rgba(34,197,94,.7);
            animation: pulse 2s infinite;
        }
        @keyframes pulse {
            70%  { box-shadow: 0 0 0 9px rgba(34,197,94,0); }
            100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
        }

        .description {
            font-size: .88rem;
            font-weight: 300;
            color: var(--muted);
            line-height: 1.75;
            margin-bottom: 30px;
        }
        .description strong { color: var(--text); font-weight: 600; }

        /* ---------- ปุ่มลิงก์ ---------- */
        .link-container { display: flex; flex-direction: column; gap: 12px; }

        .link-btn {
            --c: var(--accent);
            position: relative;
            display: flex;
            align-items: center;
            gap: 14px;
            padding: 11px 16px 11px 12px;
            color: var(--text);
            text-decoration: none;
            font-size: 1rem;
            font-weight: 500;
            text-align: left;
            background: var(--glass);
            border: 1px solid var(--glass-border);
            border-radius: 18px;
            overflow: hidden;
            transition: transform .3s cubic-bezier(.2,.8,.2,1), border-color .3s, box-shadow .3s, background .3s;
            animation: rise .7s cubic-bezier(.2,.8,.2,1) backwards;
            animation-delay: calc(.25s + var(--i) * .07s);
            -webkit-tap-highlight-color: transparent;
        }

        /* แสงกวาดผ่านตอน hover */
        .link-btn::before {
            content: '';
            position: absolute; inset: 0;
            background: linear-gradient(110deg, transparent 30%, color-mix(in srgb, var(--c) 22%, transparent) 50%, transparent 70%);
            transform: translateX(-120%);
            transition: transform .7s ease;
        }

        .link-btn .ico {
            flex: none;
            width: 42px; height: 42px;
            display: grid; place-items: center;
            font-size: 1.15rem;
            color: var(--c);
            background: color-mix(in srgb, var(--c) 14%, transparent);
            border-radius: 13px;
            transition: background .3s, color .3s, transform .3s;
        }

        .link-btn .label { flex: 1; position: relative; }
        .link-btn .label small {
            display: block;
            font-size: .72rem;
            font-weight: 300;
            color: var(--muted);
            margin-top: 1px;
        }

        .link-btn .arrow {
            color: var(--muted);
            font-size: .8rem;
            transition: transform .3s, color .3s;
        }

        .link-btn:hover,
        .link-btn:focus-visible {
            transform: translateY(-3px);
            border-color: color-mix(in srgb, var(--c) 70%, transparent);
            background: color-mix(in srgb, var(--c) 7%, var(--glass));
            box-shadow: 0 12px 30px color-mix(in srgb, var(--c) 22%, transparent);
            outline: none;
        }
        .link-btn:hover::before,
        .link-btn:focus-visible::before { transform: translateX(120%); }
        .link-btn:hover .ico,
        .link-btn:focus-visible .ico { background: var(--c); color: #fff; transform: rotate(-6deg) scale(1.06); }
        .link-btn:hover .arrow,
        .link-btn:focus-visible .arrow { transform: translateX(4px); color: var(--c); }
        .link-btn:active { transform: translateY(-1px) scale(.99); }

        .btn-yt      { --c: #000000; }
        .btn-tw      { --c: #9146ff; }
        .btn-tk      { --c: #ffffff; }
        .btn-fb      { --c: #1877f2; }
        .btn-discord { --c: #ffffff; }
        .btn-donate  { --c: #ffffff; }

        .divider {
            display: flex;
            align-items: center;
            gap: 12px;
            margin: 8px 0 2px;
            font-size: .72rem;
            letter-spacing: 2px;
            text-transform: uppercase;
            color: #5b6178;
            animation: rise .7s backwards;
            animation-delay: calc(.25s + 5 * .07s);
        }
        .divider::before, .divider::after {
            content: ''; flex: 1; height: 1px;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,.14), transparent);
        }

        /* ปุ่มสนับสนุนเด่นกว่าปุ่มอื่นนิดนึง */
        .btn-donate {
            background: linear-gradient(135deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.1));
            border-color: rgba(255, 254, 255, 0.35);
        }
        .btn-donate .ico.ico-img,
        .btn-donate:hover .ico.ico-img,
        .btn-donate:focus-visible .ico.ico-img { background: rgba(255,255,255,.06); }
        .btn-donate { padding-top: 9px; padding-bottom: 9px; }
        .btn-donate .ico.ico-img { width: 58px; height: 58px; border-radius: 16px; }
        .ico-img img {
            width: 52px; height: 52px;
            object-fit: contain;
            image-rendering: auto;
            filter: drop-shadow(0 2px 6px rgba(0,0,0,.35));
            animation: beat 1.8s ease-in-out infinite;
        }
        @keyframes beat {
            0%, 100% { transform: scale(1); }
            15%      { transform: scale(1.22); }
            30%      { transform: scale(1); }
        }

        .footer {
            margin-top: 28px;
            font-size: .72rem;
            color: #5b6178;
            letter-spacing: .5px;
        }

        @media (max-width: 380px) {
            .container { padding: 36px 16px 22px; border-radius: 26px; }
            h1 { font-size: 1.7rem; }
        }

        @media (prefers-reduced-motion: reduce) {
            *, *::before, *::after { animation: none !important; transition: none !important; }
        }