:root {
--bg-color: #070a12;
--card-bg: #111827;
--card-hover: #1f2937;
--border-color: #263244;

--text-primary: #ffffff;
--text-secondary: #9ca3af;
--text-muted: #4b5563;

--accent-cyan: #38bdf8;
--accent-glow: rgba(56, 189, 248, 0.15);

--content-width: 760px;


}

/* ------------------------------
Reset
------------------------------ */

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

/* ------------------------------
Base
------------------------------ */

html {
min-height: 100%;
scroll-behavior: smooth;
}

body {
min-height: 100vh;

font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;

color: var(--text-secondary);

background:
    radial-gradient(
        circle at 50% 0%,
        rgba(56, 189, 248, 0.08),
        transparent 35%
    ),
    linear-gradient(
        180deg,
        #070a12 0%,
        #05070d 100%
    );

overflow-x: hidden;


}

/* ------------------------------
Page
------------------------------ */

.page {
width: min(calc(100% - 40px), var(--content-width));
min-height: 100vh;

margin: 0 auto;
padding: 70px 0 40px;

display: flex;
flex-direction: column;


}

/* ------------------------------
Verification
------------------------------ */

.verification {
position: absolute;

width: 1px;
height: 1px;

overflow: hidden;
clip: rect(0, 0, 0, 0);


}

/* ------------------------------
Hero
------------------------------ */

.hero {
text-align: center;
margin-bottom: 45px;
}

.profile-avatar {
width: 112px;
height: 112px;

margin: 0 auto 24px;

overflow: hidden;

border-radius: 50%;
border: 3px solid #1f2937;

background: #1e293b;

box-shadow:
    0 0 0 8px rgba(56, 189, 248, 0.025),
    0 15px 45px var(--accent-glow);


}

.profile-avatar img {
width: 100%;
height: 100%;

display: block;

object-fit: cover;


}

h1 {
margin-bottom: 12px;

color: var(--text-primary);

font-size: clamp(2.2rem, 6vw, 3.2rem);
font-weight: 800;
line-height: 1.1;

letter-spacing: -1.5px;


}

.title-badge {
display: inline-flex;
align-items: center;
justify-content: center;

padding: 7px 18px;
margin-bottom: 22px;

border: 1px solid #334155;
border-radius: 999px;

background: rgba(30, 41, 59, 0.8);

color: var(--accent-cyan);

font-size: 0.82rem;
font-weight: 700;
letter-spacing: 0.5px;


}

.bio-text {
max-width: 600px;

margin: 0 auto;

font-size: 1.05rem;
line-height: 1.7;


}

/* ------------------------------
Link Sections
------------------------------ */

.links-group {
margin-bottom: 34px;
}

.section-title {
padding-left: 5px;
margin-bottom: 13px;

color: #6b7280;

font-size: 0.78rem;
font-weight: 800;

text-transform: uppercase;
letter-spacing: 1.6px;


}

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

/* ------------------------------
Link Cards
------------------------------ */

.link-card {
display: flex;
align-items: center;
justify-content: space-between;

width: 100%;
min-height: 68px;

padding: 16px 21px;

border: 1px solid var(--border-color);
border-radius: 14px;

background: rgba(17, 24, 39, 0.9);

color: var(--text-primary);

text-decoration: none;

font-size: 1rem;
font-weight: 650;

transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;


}

.link-card:hover {
transform: translateY(-2px);

background: var(--card-hover);

box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.2);


}

.link-card:focus-visible {
outline: 2px solid var(--accent-cyan);
outline-offset: 3px;
}

/* ------------------------------
Platform Info
------------------------------ */

.platform-info {
display: flex;
align-items: center;

min-width: 0;

gap: 16px;


}

.platform-icon {
width: 28px;

display: flex;
align-items: center;
justify-content: center;

flex-shrink: 0;

font-size: 1.35rem;


}

.platform-icon img {
width: 24px;
height: 24px;

display: block;

object-fit: contain;


}

.platform-name {
overflow: hidden;

text-overflow: ellipsis;
white-space: nowrap;


}

/* ------------------------------
Arrow
------------------------------ */

.arrow {
margin-left: 15px;

color: var(--text-muted);

font-size: 1.25rem;

transition:
    transform 0.2s ease,
    color 0.2s ease;


}

.link-card:hover .arrow {
color: var(--accent-cyan);
transform: translateX(4px);
}

/* ------------------------------
Platform Hover Colors
------------------------------ */

.link-card.github-platform:hover {
border-color: #ffffff;
}

.link-card.gitlab-platform:hover {
border-color: #e24329;
}

.link-card.itch-platform:hover {
border-color: #fa5c5c;
}

.link-card.bluesky-platform:hover {
border-color: #1185fe;
}

.link-card.mastodon-platform:hover {
border-color: #6364ff;
}

.link-card.x-platform:hover {
border-color: #9ca3af;
}

.link-card.website-platform:hover {
border-color: var(--accent-cyan);
}

/* ------------------------------
Footer
------------------------------ */

footer {
margin-top: auto;
padding-top: 28px;

border-top: 1px solid var(--border-color);

color: var(--text-muted);

text-align: center;

font-size: 0.78rem;
letter-spacing: 0.4px;


}

/* ------------------------------
Loading / Errors
------------------------------ */

.loading {
padding: 30px;

color: var(--text-muted);

text-align: center;


}

.error-message {
padding: 20px;

border: 1px solid #7f1d1d;
border-radius: 12px;

background: rgba(127, 29, 29, 0.15);

color: #fca5a5;

text-align: center;


}

/* ------------------------------
Mobile
------------------------------ */

@media (max-width: 600px) {

.page {
    width: calc(100% - 28px);

    padding-top: 45px;
}

.profile-avatar {
    width: 96px;
    height: 96px;
}

.bio-text {
    font-size: 0.98rem;
}

.title-badge {
    padding: 6px 14px;

    font-size: 0.76rem;
}

.link-card {
    min-height: 64px;

    padding: 14px 17px;

    font-size: 0.94rem;
}

.platform-info {
    gap: 12px;
}

.arrow {
    font-size: 1.1rem;
}


}

/* ------------------------------
Reduced Motion
------------------------------ */

@media (prefers-reduced-motion: reduce) {

html {
    scroll-behavior: auto;
}

.link-card,
.arrow {
    transition: none;
}


}
