:root {
    --bg: #0d0d0d;
    --surface: #161616;
    --border: #2a2a2a;
    --accent: #7c6af7;
    --text: #e8e8e8;
    --muted: #666;
    --radius: 10px;
}

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

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Segoe UI', system-ui, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

nav {
    display: flex;
    gap: 24px;
    padding: 20px 40px;
    border-bottom: 1px solid var(--border);
}

nav a {
    color: var(--muted);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

nav a:hover { color: var(--accent); }

main {
    flex: 1;
    max-width: 720px;
    margin: 0 auto;
    padding: 60px 24px;
    width: 100%;
}

footer {
    text-align: center;
    padding: 24px;
    color: var(--muted);
    font-size: 13px;
    border-top: 1px solid var(--border);
}

/* Hero */
.hero {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 60px;
}

.avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #a78bfa);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
}

h1 { font-size: 28px; font-weight: 700; }
h2 { font-size: 18px; font-weight: 600; margin-bottom: 20px; color: var(--muted); }

.muted { color: var(--muted); }
.bio { color: #aaa; line-height: 1.6; max-width: 500px; }

/* Links */
.link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
}

.link-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    transition: border-color 0.2s, transform 0.15s;
}

.link-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.icon { font-size: 16px; }

/* Reviews */
.reviews-section { display: flex; flex-direction: column; gap: 32px; }
.reviews-section h1 { font-size: 28px; }

.review-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
}

.review-form input,
.review-form textarea {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text);
    padding: 10px 14px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
}

.review-form input:focus,
.review-form textarea:focus { border-color: var(--accent); }

.review-form textarea { resize: vertical; min-height: 100px; }

.review-form button {
    align-self: flex-end;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 10px 24px;
    font-size: 14px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.review-form button:hover { opacity: 0.85; }

.reviews-list { display: flex; flex-direction: column; gap: 12px; }

.review-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 20px;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.review-name { font-weight: 600; font-size: 15px; }
.review-date { font-size: 12px; color: var(--muted); }
.review-message { color: #bbb; line-height: 1.6; font-size: 14px; }
