/* Base Variables & Reset */
:root {
    --bg-dark: #0a0a0f;
    --text-main: #ffffff;
    --text-muted: #a0a0b8;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-hover: rgba(255, 255, 255, 0.08);
    
    /* Brand Colors */
    --patreon: #FF424D;
    --discord: #5865F2;
    --telegram: #229ED9;
    --accent-glow: rgba(255, 66, 77, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow-x: hidden;
    padding: 2rem 1rem;
}

/* Background Animated Blobs */
.bg-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    filter: blur(80px);
    border-radius: 50%;
    opacity: 0.4;
    animation: float 20s infinite alternate ease-in-out;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--patreon) 0%, transparent 70%);
    animation-delay: 0s;
}

.blob-2 {
    bottom: -20%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--discord) 0%, transparent 70%);
    animation-delay: -5s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(10%, 10%) scale(1.1); }
}

/* Main Container */
.container {
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    z-index: 1;
}

/* Profile Section */
.profile-section {
    text-align: center;
    animation: fadeInDown 1s ease-out forwards;
}

.avatar-container {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, var(--patreon), var(--discord));
}

.avatar {
    width: 100%;
    height: 100%;
    background-color: var(--bg-dark);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    color: var(--text-main);
    box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
}

.title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, #fff, var(--text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.5px;
}

.bio {
    font-size: 1.05rem;
    color: var(--text-muted);
    font-weight: 300;
    line-height: 1.5;
}

/* Links Section */
.links-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.link-card {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    text-decoration: none;
    color: var(--text-main);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out forwards;
    position: relative;
    overflow: hidden;
}

/* Featured / Emphasized Link */
.featured {
    border-color: rgba(34, 158, 217, 0.5);
    background: rgba(34, 158, 217, 0.1);
    box-shadow: 0 0 20px rgba(34, 158, 217, 0.2);
    animation: fadeInUp 0.6s ease-out forwards, pulseGlow 2s infinite alternate;
}

@keyframes pulseGlow {
    from { box-shadow: 0 0 15px rgba(34, 158, 217, 0.2); }
    to { box-shadow: 0 0 25px rgba(34, 158, 217, 0.5); border-color: rgba(34, 158, 217, 0.8); }
}

.badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--telegram);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 4px 12px;
    border-bottom-left-radius: 12px;
    letter-spacing: 1px;
}

/* Stagger animations */
.link-card:nth-child(1) { animation-delay: 0.2s; }
.link-card:nth-child(2) { animation-delay: 0.3s; }
.link-card:nth-child(3) { animation-delay: 0.4s; }

.link-card:hover {
    background: var(--glass-hover);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Custom Card Hover Borders */
.patreon-card:hover { border-color: var(--patreon); box-shadow: 0 10px 30px rgba(255, 66, 77, 0.15); }
.discord-card:hover { border-color: var(--discord); box-shadow: 0 10px 30px rgba(88, 101, 242, 0.15); }
.telegram-card:hover { border-color: var(--telegram); box-shadow: 0 10px 30px rgba(34, 158, 217, 0.15); }

.link-icon {
    font-size: 1.8rem;
    margin-right: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
}

.patreon-card .link-icon { color: var(--patreon); }
.discord-card .link-icon { color: var(--discord); }
.telegram-card .link-icon { color: var(--telegram); }

.link-text {
    flex-grow: 1;
}

.link-text h2 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.link-text p {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 300;
}

.link-arrow {
    color: var(--text-muted);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.link-card:hover .link-arrow {
    transform: translateX(5px);
    color: var(--text-main);
}

/* Footer */
footer {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.3);
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.6s;
    opacity: 0;
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
