:root {
    --bg-dark: #0a0d18;
    --panel: rgba(12, 18, 34, 0.82);
    --panel-strong: rgba(16, 24, 44, 0.9);
    --text: #f7f9ff;
    --muted: #b8c1dd;
    --border: rgba(255, 255, 255, 0.2);
    --accent: #39dbff;
    --accent-soft: rgba(57, 219, 255, 0.2);
}

* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
}

body {
    font-family: "Roboto Condensed", sans-serif;
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    background-color: var(--bg-dark);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.overlay-container {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.bg-image {
    position: absolute;
    inset: 0;
    background-image: url('../images/Michael.webp');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    filter: saturate(108%) contrast(104%);
}

.bg-gradient-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 4%, rgba(47, 95, 255, 0.35), transparent 38%),
        radial-gradient(circle at 85% 14%, rgba(57, 219, 255, 0.25), transparent 32%),
        linear-gradient(180deg, rgba(8, 12, 20, 0.42), rgba(8, 11, 19, 0.92));
}

.page-shell {
    width: min(100%, 580px);
    position: relative;
    z-index: 2;
    padding: 16px 12px 22px;
    display: grid;
    gap: 12px;
}

.profile-card,
.link-stack,
.extra-block {
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--panel);
    backdrop-filter: blur(6px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3);
}

.profile-card {
    text-align: center;
    padding: 18px 14px 16px;
}

.avatar {
    width: 108px;
    height: 108px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    border: 3px solid rgba(255, 255, 255, 0.36);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
}

h1 {
    margin: 10px 0 2px;
    font-family: "Anton", sans-serif;
    letter-spacing: 0.03em;
    font-size: clamp(2rem, 10vw, 3rem);
    line-height: 1;
    text-shadow: 0 7px 22px rgba(0, 0, 0, 0.44);
}

.handle {
    margin: 0;
    color: var(--muted);
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.handle-icon {
    width: 19px;
    height: 19px;
    object-fit: contain;
}

.social-strip {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
}

.social-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    aspect-ratio: 1 / 1;
    transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.social-pill img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.social-pill:hover,
.social-pill:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.45);
}

.instagram:hover,
.instagram:focus-visible {
    background-image: linear-gradient(130deg, rgba(254, 200, 102, 0.3), rgba(212, 48, 124, 0.35));
}

.snapchat:hover,
.snapchat:focus-visible {
    background-color: rgba(255, 252, 0, 0.45);
}

.facebook:hover,
.facebook:focus-visible {
    background-color: rgba(59, 89, 152, 0.5);
}

.x-platform:hover,
.x-platform:focus-visible {
    background-color: rgba(0, 0, 0, 0.56);
}

.youtube:hover,
.youtube:focus-visible {
    background-color: rgba(255, 0, 0, 0.5);
}

.tiktok:hover,
.tiktok:focus-visible {
    background-image: linear-gradient(130deg, rgba(37, 244, 238, 0.3), rgba(238, 29, 82, 0.35));
}

.link-stack {
    padding: 14px;
}

.stack-heading {
    margin: 0 0 10px;
    text-align: center;
    color: var(--muted);
    font-size: 1.02rem;
}

.link-card {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: var(--panel-strong);
    color: var(--text);
    text-decoration: none;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px;
    margin-top: 8px;
    font-size: 1.08rem;
    font-weight: 700;
    transition: border-color 0.24s ease, background 0.24s ease, transform 0.24s ease;
}

.link-card:hover,
.link-card:focus-visible {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(24, 34, 58, 0.96);
    transform: translateY(-1px);
}

.link-card.onlyfans:hover,
.link-card.onlyfans:focus-visible {
    border-color: var(--accent);
    background: rgba(18, 48, 70, 0.92);
}

.link-left {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.link-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.link-arrow {
    color: var(--accent);
    font-size: 1.3rem;
    line-height: 1;
}

.extra-grid {
    display: grid;
    gap: 12px;
}

.extra-block {
    padding: 14px;
}

h2 {
    margin: 0;
    font-size: 1.12rem;
    letter-spacing: 0.02em;
}

.empty-state {
    margin-top: 10px;
    border: 1px dashed rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.02);
    padding: 14px 10px;
    text-align: center;
}

.empty-state img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    opacity: 0.82;
}

.empty-state p {
    margin: 8px 0 4px;
    font-weight: 700;
}

.empty-state small {
    color: var(--muted);
}

.site-footer {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 14px 24px;
    color: var(--muted);
}

.site-footer p {
    margin: 0;
}

.site-footer a {
    color: var(--accent);
    text-decoration: none;
}

@media (min-width: 640px) {
    .page-shell {
        padding: 24px 18px;
        gap: 14px;
    }

    .profile-card,
    .link-stack,
    .extra-block {
        border-radius: 22px;
        padding: 16px;
    }

    .link-card {
        font-size: 1.16rem;
    }

    .extra-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}