:root {
    --bg: #0a0a0d;
    --bg-secondary: #111115;
    --card: rgba(22,22,26,0.85);
    --card-border: rgba(255,255,255,0.08);

    --text: #f2f2f4;
    --muted: #b8b8c0;

    --accent: #d4af37;
    --accent-2: #c9ccd6;

    --shadow: 0 20px 50px rgba(0,0,0,0.5);
    --max-width: 820px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background:
    radial-gradient(circle at top left, rgba(212,175,55,0.25), transparent 30%),
    radial-gradient(circle at top right, rgba(210,210,220,0.15), transparent 28%),
    linear-gradient(180deg, #08080c 0%, #0d0d14 100%);
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
}

.page {
    width: 100%;
    padding: 32px 20px 60px;
    display: flex;
    justify-content: center;
}

.container {
    width: 100%;
    max-width: var(--max-width);
}

.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(20,20,30,0.82), rgba(14,14,22,0.88));
    border: 1px solid var(--card-border);
    border-radius: 28px;
    box-shadow: var(--shadow);
    padding: 40px 28px 28px;
    backdrop-filter: blur(10px);
}

.hero::before {
    content: "";
    position: absolute;
    inset: -80px auto auto -80px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(212,175,55,0.22), transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto -80px -100px auto;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(201,204,214,0.16), transparent 70%);
    pointer-events: none;
}

.profile-wrap {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
}

.avatar {
    width: 208px;
    height: 208px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.08);
    background:
    linear-gradient(135deg, rgba(212,175,55,0.30), rgba(201,204,214,0.18)),
    #171723;
    display: grid;
    overflow: hidden;
    place-items: center;
    font-size: 34px;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 0 40px rgba(212,175,55,0.12);
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

h1 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    text-shadow:
    0 0 10px rgba(212,175,55,0.15);
}

.accent-line {
    width:80px;
    height:3px;
    background:linear-gradient(90deg,#d4af37,#f6e27a);
    margin:10px auto 20px;
    border-radius:2px;
}

.tagline {
    margin: 0;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 640px;
}

.mini-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 4px;
}

.badge {
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    color: #d8dcef;
    font-size: 0.92rem;
}

.section {
    margin-top: 22px;
    background: linear-gradient(
    180deg,
    rgba(28,28,34,0.8),
    rgba(14,14,22,0.8)
    );

    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 22px;

    box-shadow:
    0 10px 30px rgba(0,0,0,0.4),
    inset 0 1px 0 rgba(255,255,255,0.04);

    padding: 22px;
    backdrop-filter: blur(10px);
}

.section-title {
    margin: 0 0 14px;
    font-size: 0.95rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #c8cde0;
}

.link-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.link-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 18px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(26,26,38,0.95), rgba(19,19,29,0.95));
    border: 1px solid rgba(255,255,255,0.07);
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.link-card:hover {
    transform: translateY(-2px);
    border-color: rgba(212,175,55,0.6);
    background: linear-gradient(180deg, rgba(31,31,45,0.98), rgba(22,22,34,0.98));
    box-shadow:
    0 8px 25px rgba(0,0,0,0.5),
    0 0 12px rgba(212,175,55,0.15);
}

.link-text {
    text-align: left;
}

.link-label {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: #f5f7ff;
    margin-bottom: 4px;
}

.link-sub {
    display: block;
    font-size: 0.92rem;
    color: var(--muted);
}

.arrow {
    font-size: 1.15rem;
    color: #d8dcef;
    opacity: 0.8;
    flex-shrink: 0;
}

.project-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.project-card {
    padding: 18px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(26,26,38,0.92), rgba(19,19,29,0.92));
    border: 1px solid rgba(255,255,255,0.07);
}

.project-card h3 {
    margin: 0 0 8px;
    font-size: 1.02rem;
}

.project-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

.credit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.credit-card {
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(26,26,38,0.92), rgba(19,19,29,0.92));
  border: 1px solid rgba(255,255,255,0.07);
}

.credit-card h3 {
  margin: 0 0 10px;
  font-size: 1.02rem;
}

.credit-card p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.5;
  font-size: 0.95rem;
}

.footer {
    margin-top: 18px;
    text-align: center;
    color: #aeb4c7;
    font-size: 0.92rem;
    padding: 10px 4px 0;
}

.footer a {
    color: #dde3f4;
}

@media (min-width: 700px) {
    .hero { padding: 52px 38px 34px; }
    .section { padding: 26px; }
    .project-grid { grid-template-columns: 1fr 1fr; }
}