/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #0f2c59;
    color: white;
    line-height: 1.6;
    overflow-x: hidden; /* Evita desbordamiento horizontal */
    animation: waveBackground 10s linear infinite alternate; /* Fondo ondulado */
}

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

/* Header */
header {
    background-color: #0a2540;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    transition: background-color 0.3s ease; /* Transición suave */
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    max-width: 1200px;
    margin: auto;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #00ffff;
}

.menu {
    list-style: none;
    display: flex;
    gap: 20px;
}

.menu li a {
    text-decoration: none;
    color: white;
    transition: color 0.3s ease, transform 0.3s ease;
}

.menu li a:hover,
.menu li a.active {
    color: #00ffff;
    transform: scale(1.05); /* Efecto de zoom */
}

/* Hero Section */
.hero {
    background: linear-gradient(to bottom, #0077be, #004080);
    text-align: center;
    padding: 100px 20px 80px;
    position: relative;
    overflow: hidden;
    animation: fadeIn 1s ease-in-out; /* Animación de entrada */
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    animation: slideInDown 1s ease-in-out 0.5s; /* Animación de entrada */
}

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

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    animation: slideInUp 1s ease-in-out 0.7s; /* Animación de entrada */
}

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

.btn-explore {
    background-color: #00ffff;
    color: #002233;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    animation: pulse 2s infinite alternate; /* Pulso suave */
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.btn-explore:hover {
    background-color: #00cccc;
    transform: scale(1.05); /* Efecto de zoom */
}

/* Server Info */
.server-section {
    background-color: #003355;
    padding: 60px 20px;
    text-align: center;
    animation: fadeIn 1s ease-in-out 1s; /* Animación de entrada */
}

.server-section h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    animation: slideInDown 1s ease-in-out 1.2s; /* Animación de entrada */
}

.server-details {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.server-box {
    background-color: #002233;
    padding: 30px;
    border-radius: 10px;
    width: 300px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    animation: slideInUp 1s ease-in-out 1.5s; /* Animación de entrada */
}

.server-box h3 {
    margin-bottom: 10px;
}

.ip {
    font-size: 1.2rem;
    margin: 15px 0;
    word-break: break-all;
}

.server-box button {
    background-color: #00ffff;
    color: #002233;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.server-box button:hover {
    background-color: #00cccc;
    transform: scale(1.05); /* Efecto de zoom */
}

/* Social Section */
.social-section {
    background-color: #002b5c;
    padding: 60px 20px;
    text-align: center;
    animation: fadeIn 1s ease-in-out 1.8s; /* Animación de entrada */
}

.discord-btn {
    background-color: #5865F2;
    color: white;
    padding: 14px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
    display: inline-block;
    margin-top: 20px;
}

.discord-btn:hover {
    background-color: #4752c4;
    transform: scale(1.05); /* Efecto de zoom */
}

/* Wave Divider */
.wave-divider {
    text-align: center;
}

.wave-divider img {
    width: 100%;
    height: auto;
    display: block;
    animation: waveAnimation 2s linear infinite; /* Ondas continuas */
}

@keyframes waveAnimation {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Footer */
footer {
    background-color: #0a2540;
    padding: 20px;
    text-align: center;
    font-size: 14px;
    color: #aaa;
}

/* Responsive */
@media (max-width: 768px) {
    .server-details {
        flex-direction: column;
        align-items: center;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }
}