/* ============================================
   OnlyFansLink.me — Main Styles
   Dark theme, glassmorphism, modern link-in-bio
   ============================================ */

:root {
    --bg: #0a0a0a;
    --bg-card: #151515;
    --bg-card-hover: #1a1a1a;
    --border: rgba(255,255,255,0.08);
    --text: #ffffff;
    --text-secondary: #a0a0a0;
    --text-muted: #666;
    --accent: #8b5cf6;
    --accent-glow: rgba(139,92,246,0.3);
    --radius: 16px;
    --radius-sm: 10px;
    --radius-full: 50%;
    --transition: 0.25s cubic-bezier(.4,0,.2,1);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --max-width: 480px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    min-height: 100vh;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* ============================================
   PROFILE PAGE
   ============================================ */

.profile-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    position: relative;
}

/* Hero / Cover Background */
.profile-hero {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 45vh;
    z-index: 0;
    overflow: hidden;
}

.hero-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6) saturate(1.2);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
        rgba(10,10,10,0) 0%,
        rgba(10,10,10,0.4) 40%,
        rgba(10,10,10,0.95) 80%,
        var(--bg) 100%
    );
}

/* Profile Container */
.profile-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: var(--max-width);
    padding: 0 16px 40px;
    margin-top: 25vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Avatar */
.profile-avatar-wrap {
    margin-bottom: 16px;
    position: relative;
}

.profile-avatar {
    width: 110px;
    height: 110px;
    border-radius: var(--radius-full);
    object-fit: cover;
    border: 3px solid var(--accent);
    box-shadow: 0 0 30px var(--accent-glow), 0 4px 20px rgba(0,0,0,0.5);
    transition: transform var(--transition);
}

.profile-avatar:hover {
    transform: scale(1.05);
}

.profile-avatar-placeholder {
    width: 110px;
    height: 110px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--accent), #6d28d9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    font-weight: 800;
    border: 3px solid rgba(255,255,255,0.2);
}

/* Name */
.profile-name {
    font-size: 26px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.verified-badge {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    filter: drop-shadow(0 0 4px var(--accent-glow));
}

.profile-username {
    color: var(--text-secondary);
    font-size: 15px;
    margin-top: 2px;
    margin-bottom: 16px;
}

/* Social Icons Row */
.social-icons-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 16px;
}

.social-icon-btn {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background: var(--bg-card);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    cursor: pointer;
}

.social-icon-btn:hover {
    transform: translateY(-2px) scale(1.08);
    border-color: var(--accent);
    box-shadow: 0 4px 15px var(--accent-glow);
}

.social-icon-btn svg {
    width: 24px;
    height: 24px;
}

/* Followers Badge */
.followers-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid var(--border);
    margin-bottom: 14px;
    font-size: 14px;
    font-weight: 600;
}

.followers-count {
    letter-spacing: 0.5px;
}

/* Bio Section */
.profile-bio-section {
    text-align: center;
    margin-bottom: 24px;
}

.profile-meta {
    font-size: 15px;
    color: var(--text);
    font-weight: 500;
    margin-bottom: 4px;
}

.profile-snap {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.profile-bio {
    font-size: 14px;
    color: var(--text-secondary);
    max-width: 360px;
    line-height: 1.6;
}

/* Featured Links (Cards) */
.featured-links {
    width: 100%;
    margin-bottom: 12px;
}

.featured-card {
    display: block;
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: all var(--transition);
    cursor: pointer;
}

.featured-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255,255,255,0.15);
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}

.featured-card-large {
    width: 100%;
    height: 280px;
    margin-bottom: 12px;
}

.featured-card-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}

.featured-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
}

.featured-card-icon {
    position: absolute;
    top: 14px;
    left: 14px;
}

.featured-card-icon svg {
    width: 32px;
    height: 32px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.featured-card-title {
    font-size: 20px;
    font-weight: 700;
}

/* Featured Grid (2 cols) */
.featured-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    width: 100%;
    margin-bottom: 20px;
}

.featured-card-small {
    height: 180px;
}

.featured-card-small .featured-card-title {
    font-size: 16px;
}

.featured-card-small .featured-card-icon svg {
    width: 26px;
    height: 26px;
}

/* Custom Links (Buttons) */
.custom-links {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.custom-link-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    transition: all var(--transition);
    text-align: center;
    justify-content: center;
}

.custom-link-btn:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px var(--accent-glow);
}

.custom-link-icon svg {
    width: 22px;
    height: 22px;
}

/* Contact */
.contact-section {
    width: 100%;
    padding: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
    justify-content: center;
}

.contact-link:hover {
    color: var(--text);
}

/* Profile Footer */
.profile-footer {
    padding-top: 16px;
}

.footer-brand {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
    transition: color var(--transition);
}

.footer-brand:hover {
    color: var(--accent);
}

/* ============================================
   LATEST POSTS — Grid of small rounded cards
   2 cols on phone, 4 cols on desktop
   ============================================ */

.posts-section {
    width: 100%;
    margin-bottom: 24px;
    animation: fadeUp 0.5s ease-out both;
    animation-delay: 0.38s;
}

.posts-section-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-secondary);
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.post-thumb {
    display: block;
    position: relative;
    aspect-ratio: 3 / 4;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: all var(--transition);
}

.post-thumb:hover {
    transform: scale(1.03);
    border-color: var(--accent);
    box-shadow: 0 4px 16px rgba(139,92,246,0.25);
    z-index: 2;
}

.post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-thumb-play {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.2);
    transition: background var(--transition);
}

.post-thumb:hover .post-thumb-play {
    background: rgba(0,0,0,0.4);
}

.post-thumb-play svg {
    width: 32px;
    height: 32px;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5));
    transition: transform var(--transition);
}

.post-thumb:hover .post-thumb-play svg {
    transform: scale(1.15);
}

/* ============================================
   HOME PAGE
   ============================================ */

.home-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10,10,10,0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 800;
    white-space: nowrap;
}

.logo-icon {
    font-size: 22px;
}

.header-search {
    flex: 1;
    max-width: 320px;
}

.search-form {
    position: relative;
}

.search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

.search-input {
    width: 100%;
    padding: 10px 14px 10px 38px;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 14px;
    font-family: var(--font);
    outline: none;
    transition: all var(--transition);
}

.search-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.search-input::placeholder {
    color: var(--text-muted);
}

/* Hero */
.home-hero {
    padding: 80px 20px 60px;
    text-align: center;
    background: radial-gradient(ellipse at 50% 0%, rgba(139,92,246,0.12) 0%, transparent 60%);
}

.hero-title {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
}

.gradient-text {
    background: linear-gradient(135deg, #8b5cf6, #ec4899, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 480px;
    margin: 0 auto 32px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-num {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent), #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 2px;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 0 20px 60px;
}

.content-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.results-header h2 {
    font-size: 20px;
    font-weight: 700;
}

.clear-search {
    color: var(--text-muted);
    font-size: 14px;
    transition: color var(--transition);
}

.clear-search:hover {
    color: var(--accent);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 80px 20px;
}

.empty-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.empty-state h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.empty-state p {
    color: var(--text-muted);
}

/* Profile Cards Grid */
.profiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}

.profile-card {
    display: block;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--transition);
    cursor: pointer;
}

.profile-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255,255,255,0.12);
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.card-cover {
    height: 100px;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    position: relative;
    overflow: hidden;
}

.card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-cover-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.3));
}

.card-body {
    padding: 0 16px 20px;
    text-align: center;
    margin-top: -32px;
    position: relative;
}

.card-avatar-wrap {
    margin-bottom: 10px;
}

.card-avatar {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-full);
    object-fit: cover;
    border: 3px solid var(--bg-card);
    margin: 0 auto;
}

.card-avatar-placeholder {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--accent), #6d28d9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    margin: 0 auto;
    border: 3px solid var(--bg-card);
}

.card-name {
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.verified-badge-sm {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.card-username {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 2px;
}

.card-followers {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 6px;
    padding: 3px 10px;
    background: rgba(255,255,255,0.04);
    border-radius: 10px;
    display: inline-block;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 40px;
}

.page-btn {
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: all var(--transition);
}

.page-btn:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent);
}

.page-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

/* Footer */
.site-footer {
    padding: 20px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 16px;
    font-size: 13px;
    color: var(--text-muted);
}

/* ============================================
   404 PAGE
   ============================================ */

.error-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
    padding: 20px;
}

.error-code {
    font-size: 80px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent), #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 12px;
}

.error-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.error-text {
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-size: 15px;
}

.error-btn {
    display: inline-block;
    padding: 12px 24px;
    background: var(--accent);
    color: #fff;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: all var(--transition);
}

.error-btn:hover {
    background: #7c3aed;
    transform: translateY(-1px);
}

/* ============================================
   VIDEO PAGE
   ============================================ */

.video-page {
    display: flex;
    justify-content: center;
    min-height: 100vh;
    background: var(--bg);
}

.video-container {
    width: 100%;
    max-width: var(--max-width);
    padding: 20px 16px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.video-nav {
    width: 100%;
    margin-bottom: 20px;
}

.video-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 8px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    transition: all var(--transition);
}

.video-back:hover {
    color: var(--text);
    border-color: var(--accent);
    background: rgba(139,92,246,0.1);
}

.video-creator {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin-bottom: 20px;
    padding: 12px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
}

.video-creator-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent);
}

.video-creator-name {
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}

.video-creator-username {
    font-size: 13px;
    color: var(--text-muted);
}

/* Video player area */
.video-player-wrap {
    display: block;
    width: 100%;
    aspect-ratio: 9/14;
    max-height: 65vh;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    margin-bottom: 16px;
    transition: all var(--transition);
}

.video-player-wrap:hover {
    border-color: var(--accent);
    box-shadow: 0 8px 40px rgba(139,92,246,0.2);
}

.video-player-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-player-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: rgba(0,0,0,0.3);
    transition: background var(--transition);
}

.video-player-wrap:hover .video-player-overlay {
    background: rgba(0,0,0,0.45);
}

.video-play-btn {
    transition: transform var(--transition);
}

.video-player-wrap:hover .video-play-btn {
    transform: scale(1.15);
}

.video-play-btn svg {
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.5));
}

.video-play-text {
    font-size: 14px;
    font-weight: 600;
    color: white;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
    padding: 6px 18px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    border-radius: 20px;
}

/* Video info */
.video-info {
    text-align: center;
    margin-bottom: 24px;
}

.video-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
}

.video-desc {
    font-size: 14px;
    color: var(--text-secondary);
}

/* More videos — small horizontal strip */
.video-more {
    width: 100%;
    margin-bottom: 24px;
}

.video-more-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
}

.video-more-grid {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 4px 0;
}

.video-more-grid::-webkit-scrollbar { display: none; }

.video-more-item {
    flex: 0 0 auto;
    width: 90px;
    height: 120px;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: all var(--transition);
    display: block;
}

.video-more-item:hover,
.video-more-item.active {
    border-color: var(--accent);
    transform: scale(1.05);
}

.video-more-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-more-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.2);
}

/* CTA button */
.video-cta {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px 20px;
    background: var(--accent);
    color: white;
    font-size: 15px;
    font-weight: 700;
    border-radius: 14px;
    margin-bottom: 24px;
    transition: all var(--transition);
}

.video-cta:hover {
    background: #7c3aed;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--accent-glow);
}

/* ============================================
   GRADIENT CARD COVERS (Homepage)
   ============================================ */

.card-cover-gradient {
    background: linear-gradient(135deg,
        #667eea 0%, #764ba2 25%, #f093fb 50%, #4facfe 75%, #00f2fe 100%);
    background-size: 300% 300%;
    animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.profile-card:nth-child(6n+1) .card-cover-gradient {
    background: linear-gradient(135deg, #667eea, #764ba2);
}
.profile-card:nth-child(6n+2) .card-cover-gradient {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}
.profile-card:nth-child(6n+3) .card-cover-gradient {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}
.profile-card:nth-child(6n+4) .card-cover-gradient {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
}
.profile-card:nth-child(6n+5) .card-cover-gradient {
    background: linear-gradient(135deg, #fa709a, #fee140);
}
.profile-card:nth-child(6n+6) .card-cover-gradient {
    background: linear-gradient(135deg, #a18cd1, #fbc2eb);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 600px) {
    .profiles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .card-cover {
        height: 70px;
    }

    .card-body {
        padding: 0 10px 14px;
        margin-top: -24px;
    }

    .card-avatar {
        width: 48px;
        height: 48px;
    }

    .card-avatar-placeholder {
        width: 48px;
        height: 48px;
        font-size: 18px;
    }

    .card-name {
        font-size: 13px;
    }

    .card-username {
        font-size: 11px;
    }

    .featured-card-large {
        height: 220px;
    }

    .featured-card-small {
        height: 150px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .video-player-wrap {
        border-radius: 16px;
        max-height: 70vh;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */

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

.profile-container > * {
    animation: fadeUp 0.5s ease-out both;
}

.profile-avatar-wrap  { animation-delay: 0.05s; }
.profile-name         { animation-delay: 0.1s; }
.profile-username     { animation-delay: 0.13s; }
.social-icons-row     { animation-delay: 0.16s; }
.followers-badge      { animation-delay: 0.2s; }
.profile-bio-section  { animation-delay: 0.24s; }
.featured-links       { animation-delay: 0.28s; }
.featured-grid        { animation-delay: 0.32s; }
.custom-links         { animation-delay: 0.36s; }
.contact-section      { animation-delay: 0.44s; }
.profile-footer       { animation-delay: 0.48s; }

.profile-card {
    animation: fadeUp 0.4s ease-out both;
}

.profiles-grid .profile-card:nth-child(1) { animation-delay: 0.05s; }
.profiles-grid .profile-card:nth-child(2) { animation-delay: 0.1s; }
.profiles-grid .profile-card:nth-child(3) { animation-delay: 0.15s; }
.profiles-grid .profile-card:nth-child(4) { animation-delay: 0.2s; }
.profiles-grid .profile-card:nth-child(5) { animation-delay: 0.22s; }
.profiles-grid .profile-card:nth-child(6) { animation-delay: 0.24s; }
.profiles-grid .profile-card:nth-child(7) { animation-delay: 0.26s; }
.profiles-grid .profile-card:nth-child(8) { animation-delay: 0.28s; }

/* Smooth scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.2);
}