* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    overflow: hidden;
}

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

.container {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    max-width: 500px;
    width: 90%;
}

h1 {
    font-size: 2.8rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    color: #ffffff;
}

.buttons {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

.btn {
    padding: 1.2rem;
    font-size: 1.4rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.jellyfin-btn {
    background: linear-gradient(to right, #00A4DC, #006B9E);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 107, 158, 0.4);
}

.jellyfin-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 107, 158, 0.6);
}

.nextcloud-btn {
    background: linear-gradient(to right, #0082C9, #005C9D);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 92, 157, 0.4);
}

.nextcloud-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 92, 157, 0.6);
}

.octoprint-btn {
    background: linear-gradient(to right, #02A665, #27F5A6);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 150, 92, 0.4);
}

.octoprint-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 92, 157, 0.6);
}

.mqtt-btn {
    background: linear-gradient(to right, #A6C400, #D4EB67);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 92, 157, 0.4);
}

.mqtt-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 92, 157, 0.6);
}

.btn-icon {
    font-size: 1.6rem;
}

.footer {
    margin-top: 2rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Efectos de partículas de fondo */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.particle {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: float 15s infinite linear;
}

@keyframes float {
    from { transform: translateY(100vh) rotate(0deg); }
    to { transform: translateY(-100px) rotate(360deg); }
}
