/* Modern Reset & Variables */
:root {
    --bg-color: #0a0a0a;
    --surface-color: #1a1a1a;
    --surface-hover: #252525;
    --primary-accent: #ffffff;
    --secondary-accent: #888888;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --price-color: #4ade80; /* Green for price */
    --border-color: #333333;
    --font-main: 'Outfit', sans-serif;
    --card-radius: 16px;
    --transition-speed: 0.3s;
    --container-width: 680px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow-x: hidden;
}

/* Background Glow Effect */
.background-glow {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    z-index: -1;
    pointer-events: none;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
}

/* Profile Section */
.profile-section {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    animation: fadeInDown 0.8s ease-out;
}

.profile-image-container {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--border-color);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    margin-bottom: 0.5rem;
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-name {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.profile-bio {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 400;
}

/* Links Container */
.links-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

/* Link Card */
.link-card {
    display: flex;
    align-items: center;
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
    padding: 0.75rem;
    text-decoration: none;
    color: var(--text-primary);
    transition: all var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    gap: 1rem;
}

.link-card:hover {
    background-color: var(--surface-hover);
    transform: translateY(-2px) scale(1.01);
    border-color: var(--text-secondary);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.link-card:active {
    transform: translateY(0) scale(0.99);
}

.link-thumbnail {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    background-color: #222;
}

.link-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.link-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.25rem;
    min-width: 0; /* Prevents text overflow issues */
}

.link-title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-primary);
}

.link-price {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--price-color);
    display: inline-block;
    background: rgba(74, 222, 128, 0.1);
    padding: 2px 8px;
    border-radius: 6px;
    width: fit-content;
}

.link-icon {
    color: var(--text-secondary);
    opacity: 0;
    transform: translateX(-10px);
    transition: all var(--transition-speed) ease;
    margin-right: 0.5rem;
}

.link-card:hover .link-icon {
    opacity: 1;
    transform: translateX(0);
    color: var(--text-primary);
}

/* Footer */
.footer {
    margin-top: 1rem;
    color: var(--text-secondary);
    font-size: 0.8rem;
    opacity: 0.6;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Adjustments */
@media (max-width: 480px) {
    .container {
        padding: 1.5rem 1rem;
    }
    
    .link-thumbnail {
        width: 56px;
        height: 56px;
    }
    
    .link-title {
        font-size: 0.95rem;
    }
}
