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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    color: #ffffff;
    min-height: 100vh;
    line-height: 1.6;
}

.container {
    max-width: 680px;
    margin: 0 auto;
    padding-bottom: 40px;
}

/* Header Banner */
.header-banner {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    border-radius: 0 0 20px 20px;
}

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

/* Profile Section */
.profile-section {
    padding: 0 20px;
    margin-top: -50px;
    position: relative;
}

.profile-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
}

.profile-pic {
    position: relative;
    flex-shrink: 0;
}

.profile-pic img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 4px solid #0a0a0a;
    background: #1a1a1a;
    object-fit: cover;
}

.status-indicator {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 20px;
    height: 20px;
    background: #00ff00;
    border-radius: 50%;
    border: 3px solid #0a0a0a;
}

.profile-info {
    flex-grow: 1;
    padding-top: 15px;
}

.name-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
}

.username {
    font-size: 26px;
    font-weight: 700;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.5);
}

.verification {
    color: #1da1f2;
    font-size: 20px;
}

.handle-stats-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 0 0 8px 0;
}

.handle {
    color: #888;
    font-size: 16px;
    margin: 0;
}

.status {
    color: #00ff00;
    font-size: 14px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #00ff00;
    border-radius: 50%;
    display: inline-block;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Stats */
.stats {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.stat-item {
    color: #888;
    font-size: 13px;
}

.stat-item strong {
    color: #fff;
    font-weight: 600;
}

/* Bio */
.bio {
    margin: 20px 0 80px;
    padding: 0 20px;
}

.bio p {
    color: #ddd;
    margin-bottom: 10px;
}

.location {
    color: #888;
    font-size: 14px;
}

.location i {
    margin-right: 5px;
}

/* Social Links Row */
.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    color: #fff;
    font-size: 14px;
    transition: all 0.3s ease;
}

.social-icon.twitter {
    background: #1da1f2;
}

.social-icon.twitter:hover {
    background: #1a8cd8;
    transform: translateY(-2px);
}

.social-icon.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-icon.instagram:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

/* Link Sections */
.links-container {
    padding: 0 20px;
}

/* Link Buttons */
.link-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 18px 24px;
    margin-bottom: 14px;
    border-radius: 12px;
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.link-button i {
    font-size: 22px;
    margin-right: 12px;
}

.link-text {
    font-size: 16px;
    letter-spacing: 1px;
}

.link-button:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.15);
}

/* Fansly - Special animated gradient */
.link-button.fansly {
    background: linear-gradient(45deg, #ff006e, #ff4081, #ff006e, #ff4081);
    background-size: 300% 300%;
    animation: gradientShift 3s ease infinite, pulseBorder 2s ease-in-out infinite;
    border: 2px solid rgba(255, 64, 129, 0.5);
    position: relative;
    transform: scale(1.05);
    margin-bottom: 20px;
    box-shadow: 0 0 30px rgba(255, 0, 110, 0.4);
}

.link-button.fansly .vip-badge {
    position: absolute;
    right: 20px;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #000;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1px;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
    animation: badgePulse 2s ease-in-out infinite;
}

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

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 25px rgba(255, 215, 0, 0.9);
    }
}

@keyframes pulseBorder {
    0%, 100% {
        border-color: rgba(255, 64, 129, 0.5);
        box-shadow: 0 0 30px rgba(255, 0, 110, 0.4);
    }
    50% {
        border-color: rgba(255, 64, 129, 0.8);
        box-shadow: 0 0 50px rgba(255, 0, 110, 0.6);
    }
}

.link-button.fansly:hover {
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 15px 60px rgba(255, 0, 110, 0.8);
    animation: gradientShift 1s ease infinite, pulseBorder 1s ease-in-out infinite;
}

.link-button.fansly::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, #ff006e, #ff4081, #ff006e, #ff4081);
    border-radius: 12px;
    opacity: 0.3;
    z-index: -1;
    filter: blur(15px);
    animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.link-button.fansly:hover::before {
    opacity: 0.7;
    filter: blur(20px);
}

/* Fansly text glow */
.link-button.fansly .link-text {
    font-weight: 900;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    letter-spacing: 2px;
}

/* Instagram */
.link-button.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.link-button.instagram:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(225, 48, 108, 0.4);
}

/* Twitch */
.link-button.twitch {
    background: linear-gradient(135deg, #9146ff 0%, #7c3aed 100%);
}

.link-button.twitch:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(145, 70, 255, 0.4);
}

/* Twitter */
.link-button.twitter {
    background: linear-gradient(135deg, #1da1f2 0%, #1a8cd8 100%);
}

.link-button.twitter:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(29, 161, 242, 0.4);
}

/* TikTok */
.link-button.tiktok {
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
}

.link-button.tiktok:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    background: linear-gradient(135deg, #111111 0%, #444444 100%);
}

/* Fansly Preview Section */
.fansly-preview {
    margin: -14px 0 30px 0;
    padding: 12px 20px;
    background: rgba(255, 0, 110, 0.05);
    border-radius: 0 0 12px 12px;
    border: 1px solid rgba(255, 0, 110, 0.2);
    border-top: none;
}

.preview-grid {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 5px;
}

/* Custom scrollbar for preview grid */
.preview-grid::-webkit-scrollbar {
    height: 6px;
}

.preview-grid::-webkit-scrollbar-track {
    background: rgba(255, 0, 110, 0.1);
    border-radius: 3px;
}

.preview-grid::-webkit-scrollbar-thumb {
    background: rgba(255, 0, 110, 0.4);
    border-radius: 3px;
}

.preview-grid::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 0, 110, 0.6);
}

.preview-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    width: 100px;
    height: 150px;
    flex-shrink: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    scroll-snap-align: start;
}

.preview-item:hover {
    transform: scale(1.05);
    border-color: rgba(255, 0, 110, 0.5);
    box-shadow: 0 5px 20px rgba(255, 0, 110, 0.3);
}

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

.blur-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background: rgba(0, 0, 0, 0.3);
}

.blur-overlay.heavy {
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    background: rgba(0, 0, 0, 0.5);
}

.lock-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 24px;
    background: rgba(0, 0, 0, 0.7);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 20px;
    background: rgba(255, 0, 110, 0.8);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.preview-item:hover .play-icon {
    opacity: 1;
}

.vip-tag {
    position: absolute;
    top: 5px;
    right: 5px;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #000;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.5px;
}

.preview-item.premium .lock-icon {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #000;
}

.preview-footer {
    text-align: center;
    color: #ff4081;
    font-size: 13px;
    margin-top: 10px;
    opacity: 0.8;
}

/* Animation for locked items */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.preview-item.locked:hover {
    animation: shake 0.5s ease-in-out;
}


/* Footer */
footer {
    text-align: center;
    margin-top: 50px;
    padding: 20px;
    color: #666;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 640px) {
    .header-banner {
        height: 150px;
    }

    .profile-header {
        gap: 15px;
    }

    .profile-pic img {
        width: 90px;
        height: 90px;
    }

    .username {
        font-size: 22px;
    }

    .stats {
        gap: 10px;
    }

    .stat-item {
        font-size: 12px;
    }

    .link-button {
        padding: 15px 20px;
    }

    .link-text {
        font-size: 14px;
    }

    .link-price {
        font-size: 16px;
    }
}

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

.profile-section,
.social-links,
.link-section {
    animation: fadeInUp 0.6s ease-out;
}

.link-section:nth-child(1) { animation-delay: 0.1s; }
.link-section:nth-child(2) { animation-delay: 0.2s; }
.link-section:nth-child(3) { animation-delay: 0.3s; }
.link-section:nth-child(4) { animation-delay: 0.4s; }
.link-section:nth-child(5) { animation-delay: 0.5s; }