/* Variables for easy customization */
:root {
    --bg-gradient: radial-gradient(circle at top left, #1e293b, #0f172a, #020617);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    
    /* Brand Colors */
    --accent-personal: #818cf8;
    --accent-studio: #f59e0b;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    background: var(--bg-gradient);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 60px 20px;
    line-height: 1.5;
}

.container {
    width: 100%;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Profile Sections */
.profile-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.avatar-wrapper {
    margin-bottom: 30px;
    filter: drop-shadow(0 0 15px rgba(245, 158, 11, 0.2));
}

.studio-logo {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    transform: rotate(-1deg); /* Leve inclinação para a vibe 'paste up' */
}

.avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, var(--accent-personal), transparent);
    object-fit: cover;
}

.studio-avatar {
    background: linear-gradient(135deg, var(--accent-studio), transparent);
    border-radius: 16px; /* Squircle style for studio */
}

h1, h2 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: linear-gradient(to bottom, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bio, .studio-bio {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    max-width: 90%;
    text-align: center;
    text-wrap: balance;
    line-height: 1.6;
}

#random-struggle {
    font-family: 'JetBrains Mono', monospace;
    font-style: italic;
    color: var(--accent-personal);
    font-size: 0.9em;
    display: block;
    margin: 10px 0;
    opacity: 0.9;
}

/* Links Grid */
.links-grid {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.link-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.link-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-icon {
    width: 22px;
    height: 22px;
    filter: brightness(0) invert(1); 
    opacity: 0.9;
}

.link-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    
}

.personal-link:hover {
    box-shadow: 0 10px 20px -10px var(--accent-personal);
}

.studio-link:hover {
    box-shadow: 0 10px 20px -10px var(--accent-studio);
}

.no-link {
    cursor: default;
    opacity: 0.8;
}

.platform {
    font-weight: 600;
    font-size: 0.9rem;
}

.username {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-family: 'JetBrains Mono', monospace;
    opacity: 0.5;
}

/* Decorators */
.separator {
    border: 0;
    margin: 10px 0;
    height: 2px;
    background: repeating-linear-gradient(
        45deg,
        var(--glass-border),
        var(--glass-border) 10px,
        transparent 10px,
        transparent 20px
    );
    opacity: 0.3;
}

.footer {
    margin-top: 20px;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-secondary);
    opacity: 0.6;
}

/* Responsive */
@media (max-width: 640px) {
    body {
        padding: 40px 16px;
    }
}