:root {
    --bg-color: #0b1329;
    --card-bg: #162238;
    --card-hover: #1e2d4a;
    --text-color: #ffffff;
    --text-muted: #94a3b8;
    --accent-color: #38bdf8;
    --border-color: #263859;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    display: flex;
    justify-content: center;
    min-height: 100vh;
    padding: 40px 20px;
}

.container {
    width: 100%;
    max-width: 620px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Header Styles */
.profile {
    text-align: center;
    margin-bottom: 30px;
}

.avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-color);
    margin-bottom: 15px;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.3);
}

.avatar-placeholder {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: #162238;
    border: 3px solid var(--accent-color);
    margin: 0 auto 15px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--accent-color);
    font-size: 1.2rem;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.3);
}

.brand-name {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.bio {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Links List */
.links-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.link-card {
    display: flex;
    align-items: center;
    background-color: var(--card-bg);
    padding: 16px 20px;
    border-radius: 14px;
    text-decoration: none;
    color: var(--text-color);
    border: 1px solid var(--border-color);
    transition: all 0.25s ease;
}

.link-card:hover {
    background-color: var(--card-hover);
    transform: translateY(-2px);
    border-color: var(--accent-color);
    box-shadow: 0 4px 20px rgba(56, 189, 248, 0.15);
}

.link-card .icon {
    font-size: 1.8rem;
    margin-right: 16px;
    width: 35px;
    text-align: center;
}

.link-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.link-info .title {
    font-weight: 700;
    font-size: 1.05rem;
}

/* THIẾT KẾ BADGE LINK NỔI BẬT RỰC RỠ */
.short-url {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    color: #38bdf8 !important; /* Màu xanh sáng */
    background: rgba(56, 189, 248, 0.15) !important;
    padding: 4px 10px !important;
    border-radius: 20px !important;
    border: 1px solid rgba(56, 189, 248, 0.4) !important;
    font-family: Consolas, Monaco, monospace;
    white-space: nowrap;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.15);
}

.link-card:hover .short-url {
    background: #38bdf8 !important;
    color: #0b1329 !important;
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.5);
}

.link-info .description {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.link-card .arrow {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-left: 10px;
    transition: transform 0.2s ease;
}

.link-card:hover .arrow {
    color: var(--accent-color);
    transform: translateX(4px);
}

/* Footer */
footer {
    margin-top: 40px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Responsive mobile */
@media (max-width: 520px) {
    .title-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
}