:root {
    --bg-color: #0d0f14;
    --card-bg: #141822;
    --accent-color: #00ff66;
    --discord-color: #5865F2;
    --text-color: #ffffff;
    --text-muted: #949aab;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* NAVBAR */
header {
    background-color: rgba(20, 24, 34, 0.8);
    backdrop-filter: blur(8px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.green { color: var(--accent-color); }

nav a {
    color: var(--text-color);
    text-decoration: none;
    margin-left: 20px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 0.3s;
}

nav a:hover { color: var(--accent-color); }

/* HERO SECTION */
.hero {
    height: 65vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    margin-top: 70px;
    background: radial-gradient(circle at center, rgba(0, 255, 102, 0.05) 0%, transparent 70%);
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    font-weight: 800;
}

.hero-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 30px auto;
    line-height: 1.6;
}

/* BOTONES */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.2s, background-color 0.3s;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-discord {
    background-color: var(--discord-color);
    color: #fff;
}

.btn-discord:hover { background-color: #4752c4; }

/* SERVIDORES GRID */
.servers-section {
    padding: 60px 20px 100px 20px;
}

.servers-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    font-weight: 800;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

/* TARJETAS */
.card {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.02);
    transition: box-shadow 0.3s, transform 0.3s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 255, 102, 0.06);
}

.card-icon {
    font-size: 2.2rem;
    margin-bottom: 12px;
    color: var(--accent-color);
}

.card h3 {
    margin-bottom: 8px;
    font-size: 1.35rem;
}

.status {
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 20px;
    background-color: rgba(0, 0, 0, 0.15);
}

.dot {
    height: 7px;
    width: 7px;
    border-radius: 50%;
}

.online { color: #00ff66; }
.online .dot { background-color: #00ff66; }

.voting { color: #ffb700; }
.voting .dot { background-color: #ffb700; }

.desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 20px;
    min-height: 70px;
}

.ip-box {
    background-color: rgba(9, 11, 16, 0.5);
    padding: 12px;
    border-radius: 6px;
    border: 1px dashed rgba(255, 255, 255, 0.08);
}

.ip-box code {
    font-family: 'Courier New', Courier, monospace;
    color: #e3e6ed;
    font-size: 0.95rem;
    font-weight: bold;
}

.ip-box span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* FOOTER */
footer {
    background-color: #090a0e;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.footer-content p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.socials a {
    color: var(--text-muted);
    font-size: 1.3rem;
    transition: color 0.3s;
}

.socials a:hover { color: var(--discord-color); }


/* DISCORD WIDGET */
.discord-section {
    padding: 20px 20px 80px 20px;
    text-align: center;
}

.discord-section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    font-weight: 800;
}

.widget-container {
    max-width: 400px; /* Mantiene un tamaño elegante */
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.widget-container iframe {
    width: 100%;
    height: 500px; /* Alto del widget, puedes cambiarlo */
    border: none;
    display: block;
}
