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

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

html {
    background: #000000;
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: #ffffff;
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
    background: #000000;
}

.bubbles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.bubble {
    position: absolute;
}

.bubble-1 {
    width: 400px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #00ffff, #00ffff, transparent);
    top: 15%;
    left: 5%;
    animation: slideLR1 8s ease-in-out infinite;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

.bubble-2 {
    width: 3px;
    height: 300px;
    background: linear-gradient(180deg, transparent, #ffff00, #ffff00, transparent);
    top: 5%;
    left: 20%;
    animation: slideUD1 7s ease-in-out infinite;
    box-shadow: 0 0 15px rgba(192, 192, 192, 0.6);
}

.bubble-3 {
    width: 350px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #39ff14, #39ff14, transparent);
    top: 45%;
    right: 5%;
    animation: slideLR2 9s ease-in-out infinite;
    box-shadow: 0 0 15px rgba(205, 127, 50, 0.6);
}

.bubble-4 {
    width: 3px;
    height: 280px;
    background: linear-gradient(180deg, transparent, #ff00ff, #ff00ff, transparent);
    top: 15%;
    right: 15%;
    animation: slideUD2 10s ease-in-out infinite;
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.6);
}

.bubble-5 {
    width: 250px;
    height: 250px;
    border: 3px solid #00ffff;
    top: 5%;
    right: 5%;
    animation: rotateScale1 12s ease-in-out infinite;
    transform: rotate(45deg);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.bubble-6 {
    width: 200px;
    height: 200px;
    border: 3px solid #39ff14;
    bottom: 10%;
    left: 5%;
    animation: rotateScale2 14s ease-in-out infinite;
    transform: rotate(45deg);
    box-shadow: 0 0 20px rgba(205, 127, 50, 0.5);
}

.bubble-7 {
    width: 300px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ffff00, #ffff00, transparent);
    top: 65%;
    left: 10%;
    animation: slideLR3 6s ease-in-out infinite;
    box-shadow: 0 0 15px rgba(192, 192, 192, 0.6);
}

.bubble-8 {
    width: 3px;
    height: 320px;
    background: linear-gradient(180deg, transparent, #00ffff, #00ffff, transparent);
    top: 25%;
    right: 25%;
    animation: slideUD3 11s ease-in-out infinite;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

@keyframes slideLR1 {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(calc(100vw + 400px)); }
}

@keyframes slideLR2 {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(calc(-100vw - 350px)); }
}

@keyframes slideLR3 {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(calc(100vw + 300px)); }
}

@keyframes slideUD1 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(calc(100vh + 300px)); }
}

@keyframes slideUD2 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(calc(-100vh - 280px)); }
}

@keyframes slideUD3 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(calc(100vh + 320px)); }
}

@keyframes rotateScale1 {
    0%, 100% {
        transform: rotate(45deg) translateX(0) scale(1);
    }
    50% {
        transform: rotate(45deg) translateX(calc(100vw + 250px)) scale(0.8);
    }
}

@keyframes rotateScale2 {
    0%, 100% {
        transform: rotate(45deg) translateX(0) scale(1);
    }
    50% {
        transform: rotate(45deg) translateX(calc(-100vw - 200px)) scale(1.1);
    }
}

.container {
    width: 100%;
    max-width: 600px;
    animation: fadeIn 0.6s ease-out;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: auto;
}

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

.profile-section {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 10;
    width: 100%;
}

.footer {
    text-align: center;
    margin-top: 30px;
    padding: 30px 20px;
    position: relative;
    z-index: 10;
    width: 100%;
}

.footer p {
    font-size: 12px;
    color: #888888;
    margin: 0;
}

@media (max-width: 480px) {
    .footer {
        margin-top: 20px;
        padding: 20px 15px;
    }

    .footer p {
        font-size: 11px;
    }
}

.profile-name {
    font-size: 36px;
    color: #ffffff;
    margin-bottom: 8px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.profile-title {
    font-size: 18px;
    color: #cccccc;
    margin-bottom: 12px;
    font-weight: 500;
}

.profile-bio {
    font-size: 15px;
    color: #b0b0b0;
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto;
}

.links-section {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 21rem;
    margin: 1rem auto;
    width: 100%;
    position: relative;
    z-index: 10;
}

.link-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.link-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-8px);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

.link-card:active {
    transform: translateY(-4px);
}

.link-card a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 1.5rem 28px;
    text-decoration: none;
    color: inherit;
    position: relative;
    gap: 16px;
    height: 96px;
}

.card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.card-icon i {
    font-size: 24px;
    color: #ffffff;
}

.link-card:hover .card-icon {
    transform: scale(1.1) rotate(3deg);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.card-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: left;
}

.link-card h3 {
    font-size: 16px;
    color: #ffffff;
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.link-card p {
    font-size: 12px;
    color: #999999;
    margin: 0;
    font-weight: 400;
    letter-spacing: 0.25px;
}

/* Platform-specific colors */
.github-card .card-icon {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.github-card .card-icon i {
    color: #ffffff;
}

.github-card:hover .card-icon {
    border-color: rgba(255, 215, 0, 0.3);
}

.gitlab-card .card-icon {
    background: rgba(252, 109, 38, 0.1);
    border-color: rgba(252, 109, 38, 0.3);
}

.gitlab-card .card-icon i {
    color: #fda961;
}

.gitlab-card:hover .card-icon {
    border-color: rgba(252, 109, 38, 0.6);
}

.goodreads-card .card-icon {
    background: rgba(139, 111, 71, 0.1);
    border-color: rgba(139, 111, 71, 0.3);
}

.goodreads-card .card-icon i {
    color: #8B6F47;
}

.goodreads-card:hover .card-icon {
    border-color: rgba(139, 111, 71, 0.6);
}

.instagram-card .card-icon {
    background: rgba(217, 70, 239, 0.1);
    border-color: rgba(217, 70, 239, 0.3);
}

.instagram-card .card-icon i {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.instagram-card:hover .card-icon {
    border-color: rgba(217, 70, 239, 0.6);
}

.reddit-card .card-icon {
    background: rgba(255, 69, 0, 0.1);
    border-color: rgba(255, 69, 0, 0.3);
}

.reddit-card .card-icon i {
    color: #ff4500;
}

.reddit-card:hover .card-icon {
    border-color: rgba(255, 69, 0, 0.6);
}

/* Responsive design */
@media (max-width: 480px) {
    .container {
        max-width: 100%;
    }

    .profile-name {
        font-size: 28px;
    }

    .profile-title {
        font-size: 16px;
    }

    .profile-bio {
        font-size: 14px;
    }

    .profile-image img {
        width: 100px;
        height: 100px;
    }

    .link-card a {
        padding: 16px 20px;
    }

    .link-card h3 {
        font-size: 16px;
    }

    .link-card p {
        font-size: 13px;
    }
}
