:root {
    --bg-dark: #070a12;
    --card-bg: rgba(15, 23, 42, 0.7);
    --card-border: rgba(65, 126, 237, 0.3);
    --primary-blue: #417eed;
    --accent-blue: #60a5fa;
    --glow-blue: rgba(65, 126, 237, 0.35);
    --text-white: #f8fafc;
    --text-dim: #94a3b8;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    padding: 2rem 1rem;
    position: relative;
}

.bg-glow {
    position: fixed;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--glow-blue) 0%, rgba(7, 10, 18, 0) 70%);
    z-index: -1;
    pointer-events: none;
    filter: blur(50px);
}

.linktree-container {
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
}

.top-nav {
    margin-bottom: 1.5rem;
}

.home-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-blue);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.4rem 0.9rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 50px;
    transition: all 0.2s;
}

.home-btn:hover {
    color: var(--text-white);
    border-color: var(--primary-blue);
}

.linktree-header {
    text-align: center;
    margin-bottom: 2rem;
}

.profile-card {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-blue);
    box-shadow: 0 0 25px var(--glow-blue);
    margin-bottom: 1rem;
}

h1 {
    font-size: 2rem;
    font-weight: 800;
}

.linktree-header p {
    color: var(--text-dim);
    font-size: 0.95rem;
    margin-top: 0.2rem;
}

/* Link Items */
.linktree-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
}

.link-item {
    display: flex;
    align-items: center;
    padding: 1rem 1.25rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    color: var(--text-white);
    text-decoration: none;
    backdrop-filter: blur(10px);
    transition: all 0.25s ease;
}

.link-item:hover {
    border-color: var(--primary-blue);
    background: rgba(65, 126, 237, 0.2);
    box-shadow: 0 5px 20px -5px var(--glow-blue);
    transform: translateY(-3px);
}

.link-item.featured {
    border-color: var(--primary-blue);
    background: rgba(65, 126, 237, 0.15);
}

.link-icon {
    font-size: 1.4rem;
    color: var(--accent-blue);
    width: 40px;
}

.link-text {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.link-text .title {
    font-weight: 700;
    font-size: 1rem;
}

.link-text .sub {
    font-size: 0.8rem;
    color: var(--text-dim);
}

.arrow {
    color: var(--text-dim);
    font-size: 0.85rem;
    transition: transform 0.2s;
}

.link-item:hover .arrow {
    transform: translateX(4px);
    color: var(--text-white);
}

footer {
    text-align: center;
    margin-top: auto;
}

footer a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.85rem;
}

footer p {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.75rem;
    margin-top: 0.4rem;
}