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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(to bottom, #5a5a5a 0%, #404040 25%, #2a2a2a 50%, #1a1a1a 75%, #0a0a0a 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
    width: 100%;
}

/* Lightning Bolt Effect */
.lightning-bolt {
    position: fixed;
    top: -100px;
    width: 60px;
    height: auto;
    pointer-events: none;
    z-index: 5;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.8)) drop-shadow(0 0 20px rgba(135, 206, 250, 0.6));
    animation: lightning-strike 1.5s ease-out forwards;
}

.lightning-bolt svg {
    width: 100%;
    height: auto;
    fill: #ffffff;
}

@keyframes lightning-strike {
    0% {
        opacity: 0;
        transform: translateY(0) scale(0.8);
    }
    15% {
        opacity: 1;
        transform: translateY(200px) scale(1);
    }
    85% {
        opacity: 1;
        transform: translateY(200px) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(200px) scale(1);
    }
}

/* Lightning Flash Background Effect */
.lightning-flash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center top, rgba(255, 255, 255, 0.3) 0%, rgba(135, 206, 250, 0.15) 40%, transparent 70%);
    opacity: 0;
    pointer-events: none;
    z-index: 4;
    animation: flash-bg 1.5s ease-out;
}

@keyframes flash-bg {
    0% {
        opacity: 0;
    }
    15% {
        opacity: 1;
    }
    85% {
        opacity: 0.3;
    }
    100% {
        opacity: 0;
    }
}

/* Falling Drops Background (Diagonal Rain Effect) */
.heart {
    position: fixed;
    top: -60px;
    width: 2px;
    height: 80px;
    background: #ffffff;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    animation: fall-down-diagonal linear infinite;
    pointer-events: none;
    z-index: 1;
    will-change: transform, opacity;
    transform: rotate(-15deg);
}

@keyframes fall-down-diagonal {
    0% {
        transform: translate(0, 0) rotate(-15deg);
        opacity: 0.8;
    }
    100% {
        transform: translate(200px, 130vh) rotate(-15deg);
        opacity: 0.8;
    }
}

.container {
    max-width: 250px;
    width: 100%;
    animation: fadeIn 0.6s ease-in;
    position: relative;
    z-index: 10;
}

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

.profile {
    text-align: center;
    margin-bottom: 40px;
    animation: slideDown 0.8s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.profile-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
    object-fit: cover;
    animation: pulse 2s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.profile-img:hover {
    transform: scale(1.1) rotate(5deg);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(255, 255, 255, 0.4);
    }
    50% {
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2), 0 0 0 10px rgba(255, 255, 255, 0);
    }
}

.username {
    color: white;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% {
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), 0 0 10px rgba(255, 255, 255, 0.3);
    }
    50% {
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), 0 0 20px rgba(255, 255, 255, 0.6);
    }
}

.bio {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    font-weight: 400;
}

.links {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.link-btn {
    background: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    padding: 20px 24px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    animation: slideIn 0.6s ease-out backwards;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

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

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.link-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.link-btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.link-btn:hover::before {
    opacity: 1;
}

.link-btn:active {
    transform: translateY(-2px) scale(0.98);
}

.link-icon {
    font-size: 24px;
    position: relative;
    z-index: 1;
    animation: bounce 1s ease-in-out infinite;
    background: linear-gradient(135deg, #333333, #666666);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.link-btn:hover .link-icon {
    animation: spin 0.5s ease-in-out;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.link-text {
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, #1f2937, #4b5563);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    padding: 20px 0;
    animation: fadeIn 1s ease-in 0.8s backwards;
}

.footer p {
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.1);
    }
    50% {
        transform: scale(1);
    }
}

@media (max-width: 480px) {
    .username {
        font-size: 24px;
    }

    .link-btn {
        padding: 16px 20px;
        font-size: 15px;
    }

    .link-icon {
        font-size: 20px;
    }
}

.roblox-icon {
  width: 24px;
  height: 24px;
  filter: brightness(0) saturate(100%) invert(20%) sepia(10%) saturate(500%) hue-rotate(180deg); /* Hace el logo gris oscuro como el texto */
}