﻿:root {
    --bg: #0b0a12;
    --bg-2: #17122a;
    --card: rgba(255, 255, 255, 0.06);
    --card-border: rgba(255, 255, 255, 0.12);
    --text: #f5f2ff;
    --muted: #b2a9cf;
    --accent: #7c3aed;
    --accent-2: #a855f7;
    --shadow: rgba(0, 0, 0, 0.45);
}

* {
    box-sizing: border-box;
}

body {
    background: radial-gradient(1200px 600px at 12% -10%, rgba(124, 58, 237, 0.18), transparent 60%),
                radial-gradient(900px 700px at 90% 0%, rgba(168, 85, 247, 0.16), transparent 55%),
                linear-gradient(160deg, var(--bg) 0%, var(--bg-2) 100%);
    color: var(--text);
    font-family: "Poppins", sans-serif;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
}

.bg-glow {
    position: fixed;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px),
        radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px);
    background-size: 40px 40px, 60px 60px;
    opacity: 0.6;
    z-index: -2;
}

.container {
    width: min(92%, 520px);
    padding: 48px 0 56px;
    z-index: 1;
}

.profile {
    text-align: center;
}

.logo-wrapper {
    position: relative;
    width: 108px;
    height: 108px;
    margin: 0 auto 18px;
}

.logo-ring {
    position: absolute;
    inset: -6px;
    border: 2px solid rgba(124, 58, 237, 0.85);
    border-radius: 38% 62% 55% 45% / 42% 34% 66% 58%;
    animation: morph 10s ease-in-out infinite;
    filter: drop-shadow(0 10px 30px rgba(124, 58, 237, 0.25));
}

.logo {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ffffff, #ece7ff);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 20px 40px var(--shadow);
}

h1 {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin: 0 0 6px;
}

h1 span {
    color: var(--accent);
}

.tagline {
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 34px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.links {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.link-card {
    position: relative;
    background: var(--card);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(12px);
    padding: 18px 22px;
    border-radius: 18px;
    text-decoration: none;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 14px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
    opacity: 0;
    transform: translateY(18px);
    animation: riseIn 0.6s forwards;
    animation-delay: calc(var(--i) * 0.08s);
}

.link-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 18px;
    border: 1px solid transparent;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.45), rgba(168, 85, 247, 0.3)) border-box;
    -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.icon-box {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: var(--accent);
}

.link-card span {
    flex-grow: 1;
    font-weight: 600;
    font-size: 1.05rem;
}

.arrow {
    opacity: 0.55;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.link-card:hover {
    transform: translateY(-4px) scale(1.01);
    border-color: rgba(124, 58, 237, 0.6);
    box-shadow: 0 18px 35px rgba(2, 8, 20, 0.55);
    background: rgba(255, 255, 255, 0.09);
}

.link-card:hover::after {
    opacity: 1;
}

.link-card:hover .icon-box {
    color: #0b0a12;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.link-card:hover .arrow {
    opacity: 1;
    transform: translateX(6px);
}

.separator {
    margin: 12px 0 2px;
    text-align: center;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
}

footer {
    margin-top: 44px;
    text-align: center;
    opacity: 0.6;
    font-size: 0.85rem;
}

@keyframes morph {
    0% { border-radius: 38% 62% 55% 45% / 42% 34% 66% 58%; }
    50% { border-radius: 58% 42% 38% 62% / 60% 48% 52% 40%; }
    100% { border-radius: 38% 62% 55% 45% / 42% 34% 66% 58%; }
}

@keyframes riseIn {
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    .link-card { padding: 16px 18px; }
}
