/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 120, 120, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(160, 160, 160, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 25%, #2d2d2d 75%, #1a1a1a 100%);
    color: #ffffff;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Animated Background */
.animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

/* Gradient Orbs */
.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
    animation: orbFloat 20s infinite ease-in-out;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(200, 200, 200, 0.3) 0%, rgba(150, 150, 150, 0.1) 50%, transparent 100%);
    top: -10%;
    left: -10%;
    animation-delay: 0s;
    animation-duration: 25s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(180, 180, 180, 0.2) 0%, rgba(120, 120, 120, 0.1) 60%, transparent 100%);
    top: 50%;
    right: -15%;
    animation-delay: -8s;
    animation-duration: 30s;
}

.orb-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(160, 160, 160, 0.25) 0%, rgba(100, 100, 100, 0.1) 55%, transparent 100%);
    bottom: -5%;
    left: 20%;
    animation-delay: -15s;
    animation-duration: 22s;
}

.orb-4 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(140, 140, 140, 0.2) 0%, rgba(90, 90, 90, 0.08) 65%, transparent 100%);
    top: 20%;
    left: 60%;
    animation-delay: -20s;
    animation-duration: 35s;
}

/* Enhanced Floating Particles */
.particle {
    position: absolute;
    border-radius: 50%;
    animation: floatEnhanced 20s infinite linear;
}

.particle:nth-child(5) {
    width: 2px;
    height: 2px;
    background: rgba(255, 255, 255, 0.6);
    left: 5%;
    animation-delay: 0s;
    animation-duration: 25s;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.3);
}

.particle:nth-child(6) {
    width: 3px;
    height: 3px;
    background: rgba(200, 200, 200, 0.7);
    left: 15%;
    animation-delay: -5s;
    animation-duration: 30s;
    box-shadow: 0 0 8px rgba(200, 200, 200, 0.4);
}

.particle:nth-child(7) {
    width: 1px;
    height: 1px;
    background: rgba(255, 255, 255, 0.8);
    left: 25%;
    animation-delay: -10s;
    animation-duration: 22s;
}

.particle:nth-child(8) {
    width: 4px;
    height: 4px;
    background: rgba(180, 180, 180, 0.5);
    left: 35%;
    animation-delay: -15s;
    animation-duration: 28s;
    box-shadow: 0 0 10px rgba(180, 180, 180, 0.3);
}

.particle:nth-child(9) {
    width: 2px;
    height: 2px;
    background: rgba(220, 220, 220, 0.6);
    left: 45%;
    animation-delay: -20s;
    animation-duration: 26s;
}

.particle:nth-child(10) {
    width: 3px;
    height: 3px;
    background: rgba(160, 160, 160, 0.7);
    left: 55%;
    animation-delay: -8s;
    animation-duration: 32s;
    box-shadow: 0 0 7px rgba(160, 160, 160, 0.4);
}

.particle:nth-child(11) {
    width: 1px;
    height: 1px;
    background: rgba(240, 240, 240, 0.9);
    left: 65%;
    animation-delay: -12s;
    animation-duration: 24s;
}

.particle:nth-child(12) {
    width: 5px;
    height: 5px;
    background: rgba(140, 140, 140, 0.4);
    left: 75%;
    animation-delay: -18s;
    animation-duration: 29s;
    box-shadow: 0 0 12px rgba(140, 140, 140, 0.2);
}

.particle:nth-child(13) {
    width: 2px;
    height: 2px;
    background: rgba(190, 190, 190, 0.6);
    left: 85%;
    animation-delay: -3s;
    animation-duration: 27s;
}

.particle:nth-child(14) {
    width: 3px;
    height: 3px;
    background: rgba(170, 170, 170, 0.5);
    left: 92%;
    animation-delay: -25s;
    animation-duration: 31s;
}

.particle:nth-child(15) {
    width: 4px;
    height: 4px;
    background: rgba(210, 210, 210, 0.6);
    left: 78%;
    animation-delay: -7s;
    animation-duration: 33s;
    box-shadow: 0 0 9px rgba(210, 210, 210, 0.3);
}

/* Advanced Geometric Shapes */
.geometric-shape {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.08);
    animation: geometricFloat 40s infinite ease-in-out;
    backdrop-filter: blur(1px);
}

.shape-1 {
    width: 120px;
    height: 120px;
    top: 15%;
    left: 8%;
    border-radius: 15px;
    transform: rotate(45deg);
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.02), rgba(200, 200, 200, 0.05));
    animation-delay: 0s;
    animation-duration: 45s;
}

.shape-2 {
    width: 90px;
    height: 90px;
    top: 65%;
    right: 12%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(180, 180, 180, 0.03), rgba(150, 150, 150, 0.06));
    animation-delay: -15s;
    animation-duration: 50s;
}

.shape-3 {
    width: 140px;
    height: 70px;
    top: 35%;
    left: 82%;
    border-radius: 35px;
    transform: rotate(-30deg);
    background: linear-gradient(135deg, rgba(160, 160, 160, 0.04), rgba(120, 120, 120, 0.07));
    animation-delay: -30s;
    animation-duration: 55s;
}

.shape-4 {
    width: 80px;
    height: 80px;
    top: 5%;
    right: 25%;
    transform: rotate(30deg);
    background: linear-gradient(90deg, rgba(200, 200, 200, 0.03), rgba(170, 170, 170, 0.05));
    animation-delay: -40s;
    animation-duration: 42s;
}

.shape-5 {
    width: 110px;
    height: 60px;
    bottom: 20%;
    right: 5%;
    border-radius: 20px;
    transform: rotate(15deg);
    background: linear-gradient(45deg, rgba(140, 140, 140, 0.04), rgba(110, 110, 110, 0.06));
    animation-delay: -25s;
    animation-duration: 48s;
}

/* Mesh Grid */
.mesh-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: meshMove 60s linear infinite;
    opacity: 0.3;
}

/* Animated Lines */
.animated-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: lineMove 15s linear infinite;
}

.line-1 {
    top: 20%;
    width: 200px;
    left: -200px;
    animation-delay: 0s;
    animation-duration: 18s;
}

.line-2 {
    top: 60%;
    width: 150px;
    right: -150px;
    animation-delay: -6s;
    animation-duration: 22s;
    background: linear-gradient(90deg, transparent, rgba(200, 200, 200, 0.4), transparent);
}

.line-3 {
    top: 40%;
    width: 180px;
    left: -180px;
    animation-delay: -12s;
    animation-duration: 20s;
    background: linear-gradient(90deg, transparent, rgba(180, 180, 180, 0.35), transparent);
}

/* Enhanced Animations */
@keyframes orbFloat {
    0%, 100% {
        transform: translateY(0px) translateX(0px) scale(1);
    }
    25% {
        transform: translateY(-30px) translateX(20px) scale(1.05);
    }
    50% {
        transform: translateY(-10px) translateX(-15px) scale(0.95);
    }
    75% {
        transform: translateY(20px) translateX(10px) scale(1.02);
    }
}

@keyframes floatEnhanced {
    0% {
        transform: translateY(100vh) rotate(0deg) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
        transform: translateY(90vh) rotate(36deg) scale(1);
    }
    90% {
        opacity: 1;
        transform: translateY(10vh) rotate(324deg) scale(1);
    }
    100% {
        transform: translateY(-10px) rotate(360deg) scale(0);
        opacity: 0;
    }
}

@keyframes geometricFloat {
    0% {
        transform: translateY(0px) rotate(0deg) scale(1);
        opacity: 0.1;
    }
    25% {
        transform: translateY(-30px) rotate(90deg) scale(1.1);
        opacity: 0.2;
    }
    50% {
        transform: translateY(0px) rotate(180deg) scale(0.9);
        opacity: 0.15;
    }
    75% {
        transform: translateY(20px) rotate(270deg) scale(1.05);
        opacity: 0.25;
    }
    100% {
        transform: translateY(0px) rotate(360deg) scale(1);
        opacity: 0.1;
    }
}

@keyframes meshMove {
    0% {
        transform: translateX(0) translateY(0);
    }
    100% {
        transform: translateX(50px) translateY(50px);
    }
}

@keyframes lineMove {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(100vw + 200px));
    }
}

/* Container */
.container {
    max-width: 480px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

/* Profile Section */
.profile-section {
    text-align: center;
    margin-bottom: 40px;
    padding-top: 40px;
}

.profile-image {
    margin-bottom: 20px;
}

.avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto;
    border: 3px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    object-fit: cover;
    display: block;
}

.avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4);
}

.profile-name {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.profile-handle {
    font-size: 16px;
    color: #999999;
    margin-bottom: 12px;
    font-weight: 400;
}

.profile-bio {
    font-size: 14px;
    color: #cccccc;
    max-width: 400px;
    margin: 0 auto;
    font-weight: 300;
    line-height: 1.5;
}

/* Links Section */
.links-section {
    flex: 1;
}

.link-category {
    margin-bottom: 32px;
}

.category-title {
    font-size: 14px;
    font-weight: 600;
    color: #999999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    padding-left: 4px;
}

.link-item {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    text-decoration: none;
    color: #ffffff;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.link-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.link-item:hover::before {
    left: 100%;
}

.link-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.link-item:active {
    transform: translateY(0);
}

.link-icon {
    width: 32px;
    height: 32px;
    margin-right: 16px;
    flex-shrink: 0;
    border-radius: 8px;
    object-fit: contain;
    filter: brightness(1) contrast(1.1) saturate(1.1);
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px;
}

.link-item:hover .link-icon {
    filter: brightness(1.1) contrast(1.2) saturate(1.2);
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.1);
}

.link-text {
    flex: 1;
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
}

.link-arrow {
    font-size: 18px;
    color: #999999;
    transition: transform 0.3s ease;
}

.link-item:hover .link-arrow {
    transform: translateX(4px);
    color: #ffffff;
}

/* Social Link Specific Styles */
.social-link[data-platform="instagram"]:hover {
    border-color: rgba(225, 48, 108, 0.4);
    box-shadow: 0 8px 32px rgba(225, 48, 108, 0.1);
}

.social-link[data-platform="tiktok"]:hover {
    border-color: rgba(255, 0, 80, 0.4);
    box-shadow: 0 8px 32px rgba(255, 0, 80, 0.1);
}

.social-link[data-platform="twitch"]:hover {
    border-color: rgba(145, 70, 255, 0.4);
    box-shadow: 0 8px 32px rgba(145, 70, 255, 0.1);
}

.social-link[data-platform="kick"]:hover {
    border-color: rgba(83, 255, 26, 0.4);
    box-shadow: 0 8px 32px rgba(83, 255, 26, 0.1);
}

.social-link[data-platform="twitter"]:hover {
    border-color: rgba(29, 161, 242, 0.4);
    box-shadow: 0 8px 32px rgba(29, 161, 242, 0.1);
}

.social-link[data-platform="youtube"]:hover {
    border-color: rgba(255, 0, 0, 0.4);
    box-shadow: 0 8px 32px rgba(255, 0, 0, 0.1);
}

/* Footer */
.footer {
    text-align: center;
    padding: 30px 0 20px;
    margin-top: auto;
}

.footer p {
    font-size: 12px;
    color: #666666;
    font-weight: 300;
}

/* Mobile Responsive Design */
@media (max-width: 480px) {
    .container {
        padding: 16px;
    }
    
    .profile-section {
        padding-top: 20px;
        margin-bottom: 32px;
    }
    
    .avatar {
        width: 80px;
        height: 80px;
    }
    
    .profile-name {
        font-size: 24px;
    }
    
    .link-item {
        padding: 14px 16px;
        margin-bottom: 10px;
    }
    
    .link-icon {
        width: 28px;
        height: 28px;
        margin-right: 12px;
        padding: 3px;
    }
    
    .link-text {
        font-size: 15px;
    }
    
    /* Reduce animation on mobile for performance */
    .gradient-orb {
        filter: blur(40px);
        opacity: 0.2;
    }
    
    .particle:nth-child(n+10) {
        display: none;
    }
    
    .geometric-shape {
        animation-duration: 60s;
        opacity: 0.05;
    }
    
    .mesh-grid {
        opacity: 0.1;
        background-size: 40px 40px;
    }
    
    .animated-line {
        display: none;
    }
}

/* Very small screens */
@media (max-width: 360px) {
    .container {
        padding: 12px;
    }
    
    .profile-name {
        font-size: 22px;
    }
    
    .link-item {
        padding: 12px 14px;
        font-size: 14px;
    }
}

/* Large screens */
@media (min-width: 768px) {
    .container {
        padding: 40px 20px;
    }
    
    .profile-section {
        padding-top: 60px;
        margin-bottom: 50px;
    }
    
    .avatar {
        width: 120px;
        height: 120px;
    }
    
    .profile-name {
        font-size: 32px;
    }
    
    .link-item {
        padding: 18px 24px;
        margin-bottom: 14px;
        border-radius: 16px;
    }
    
    .link-icon {
        width: 36px;
        height: 36px;
        padding: 5px;
    }
    
    .link-text {
        font-size: 17px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Accessibility: Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .gradient-orb {
        animation: none;
        opacity: 0.1;
    }
    
    .particle {
        animation: none;
        opacity: 0.02;
    }
    
    .geometric-shape {
        animation: none;
        opacity: 0.01;
    }
    
    .mesh-grid {
        animation: none;
        opacity: 0.05;
    }
    
    .animated-line {
        animation: none;
        opacity: 0;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .avatar {
        transition: none;
    }
    
    .link-item {
        transition: none;
    }
}

/* Loading animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.link-item {
    animation: fadeInUp 0.6s ease forwards;
}

.link-item:nth-child(1) { animation-delay: 0.1s; }
.link-item:nth-child(2) { animation-delay: 0.2s; }
.link-item:nth-child(3) { animation-delay: 0.3s; }
.link-item:nth-child(4) { animation-delay: 0.4s; }
.link-item:nth-child(5) { animation-delay: 0.5s; }
.link-item:nth-child(6) { animation-delay: 0.6s; }

