        /* Star background */
        .stars, .stars2, .stars3 {
            position: fixed;
            inset: 0;
            background: #000 url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><circle cx="10" cy="10" r="1" fill="white"/><circle cx="30" cy="70" r="1" fill="white"/><circle cx="80" cy="40" r="1" fill="white"/><circle cx="50" cy="20" r="1" fill="white"/><circle cx="90" cy="90" r="1" fill="white"/></svg>') repeat;
            opacity: 0.4;
            pointer-events: none;
            z-index: -2;
        }
        .stars  { animation: drift 120s linear infinite; }
        .stars2 { animation: drift 180s linear infinite reverse; transform: scale(1.5); opacity: 0.3; }
        .stars3 { animation: drift 240s linear infinite; transform: scale(2); opacity: 0.2; }
        @keyframes drift {
            from { background-position: 0 0; }
            to   { background-position: 1000px 1000px; }
        }

        body {
            margin: 0;
            min-height: 100vh;
            font-family: Arial, Helvetica, sans-serif;
            background: #0d0d0d;
            color: #e0e0e0;
            overflow-x: hidden;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 40px 20px;
            box-sizing: border-box;
        }

        p {
            line-height: 1.6;
            margin: 0 0 25px;
            font-size: 1.1rem;
            color: #cccccc;
            padding: 0.05rem;
        }

        .maincard {
            width: 340px;
            max-width: 100%;
            background: rgba(20, 20, 20, 0.28);
            backdrop-filter: blur(14px);
            -webkit-backdrop-filter: blur(14px);
            border-radius: 28px;
            padding: 32px 24px;
            border: 1px solid #a0e9ff;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35); 
            text-align: center;
        }

        .profile-pic {
            width: 160px;
            height: 160px;
            border-radius: 50%;
            border: 4px solid #a0e9ff;
            box-shadow: 0 0 30px #a0e9ff,
                        inset 0 0 12px #a0e9ff;
            object-fit: cover;
            margin-bottom: 16px;
            transition: transform 0.3s, box-shadow 0.3s;
        }

        .profile-pic:hover {
            transform: scale(1.08);
            box-shadow: 0 0 50px #a0e9ff;
        }

        .nickname {
            position: relative;
            display: block;
            font-size: 2.4rem;
            font-weight: bold;
            color: #a0e9ff;
            text-shadow: 
                0 0 10px #a0e9ff,
                0 0 20px #a0e9ff,
                0 0 35px #6596a5;
            margin: 0 0 24px 0;
            letter-spacing: 1.5px;
        }

        .nickname::after {
            content: '✦';
            position: absolute;
            top: -15px;
            right: 120px;
            font-size: 1.3rem;
            color: #a0e9ff;
            opacity: 0;
            transition: all 0.4s ease;
            pointer-events: none;
        }

        .nickname:hover::after {
            opacity: 0.9;
            transform: translateX(8px) rotate(25deg);
        }

        .skills {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 12px;
            margin: 24px 0 32px;
        }

        .skill-tag {
            background: rgba(0, 53, 60, 0.5);
            color: #a0e9ff;
            padding: 8px 18px;
            border-radius: 30px;
            font-size: 0.95rem;
            border: 1px solid #a0e9ff;
            box-shadow: 0 0 12px #a0e9ff;
            transition: all 0.25s;
            cursor: pointer;
        }

        .skill-tag:hover {
            background: #a0e9ff;
            color: black;
            box-shadow: 0 0 20px rgba(0, 122, 192, 0.8);
            transform: translateY(-2px);
        }

        .socials {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin: 32px 0;
        }

        .social-icon {
            width: 54px;
            height: 54px;
            border-radius: 50%;
            background: rgba(0, 53, 60, 0.5);
            color: #a0e9ff;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.6rem;
            text-decoration: none;
            border: 2px solid #a0e9ff;
            box-shadow: 0 0 15px #a0e9ff;
            transition: all 0.3s;
        }

        .social-icon:hover {
            transform: translateY(-6px) scale(1.12);
            background: rgb(0, 89, 116);
            color: white;
            box-shadow: 0 0 35px #a0e9ff;
            border-color: #a0e9ff;
        }

        .contact-box {
            background: rgba(0, 53, 60, 0.5);
            padding: 18px;
            border-radius: 20px;
            border: 1px solid #a0e9ff;
            box-shadow: 0 0 20px #a0e9ff;
            margin-top: 20px;
        }

        .contact-box a {
            color: #a0e9ff;
            text-decoration: none;
            font-weight: bold;
        }

        .contact-box a:hover {
            color: #a0e9ff;
            text-shadow: 0 0 10px #a0e9ff;
        }

        @media (max-width: 500px) {
            .maincard {
                padding: 24px 18px;
            }
            .profile-pic {
                width: 140px;
                height: 140px;
            }
            .nickname {
                font-size: 2rem;
            }
        }

        .side-box {
            position: fixed;
            top: 50%;
            right: 20px;
            transform: translateY(-50%);
            width: 280px;
            background-color: #1e1e1e;
            border: 1px solid #333;
            border-radius: 12px;
            padding: 20px;
            box-shadow: 0 4px 25px rgba(0,0,0,0.6);
            opacity: 0;
            transform: translateY(-50%) translateX(120%);
            transition: all 0.5s ease;
            z-index: 100;
            pointer-events: none;
        }

        .side-box.visible {
            opacity: 1;
            transform: translateY(-50%) translateX(0);
            pointer-events: auto;
        }

        .side-box h3 {
            margin: 0 0 12px 0;
            font-size: 1.4rem;
        }

        .side-box p {
            font-size: 0.95rem;
            color: #bbb;
            margin: 10px 0;
        }

        /* Close button */
        .close-btn {
            position: absolute;
            top: 8px;
            right: 12px;
            font-size: 1.6rem;
            color: #888;
            cursor: pointer;
            background: none;
            border: none;
            line-height: 1;
        }

        .close-btn:hover {
            color: #ff6b6b;
        }

        @media (max-width: 900px) {
            .side-box {
                display: none;
            }
        }

        footer {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            text-align: center;
            padding: 15px 20px;
            background: rgba(0, 0, 0, 0.158);
            border-top: 1px solid #333;
            color: #888;
            font-size: 0.9rem;
            z-index: 10;
        }

        footer p {
            margin: 0;
            line-height: 1.4;
        }

        #randomQuote {
            opacity: 0;
            transition: opacity 0.5s ease-out;
        }