/* Desarrollado por LayerGaming - Redise�0�9ado por Leyen */
@import url('https://fonts.cdnfonts.com/css/montserrat');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background-color: #0a0a0a;
    min-height: 100vh;
    font-family: 'Montserrat', sans-serif;
    display: flex;
    color: #ffffff;
    overflow: hidden;
}

.scene-container {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 0;
}

#sparks-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.fire-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 60%, rgba(255,100,0,0.15) 0%, rgba(255,0,0,0) 60%);
    mix-blend-mode: screen;
    z-index: 2;
    pointer-events: none;
    animation: fireGlow 8s infinite alternate;
}

@keyframes fireGlow {
    0% { opacity: 0.4; }
    50% { opacity: 0.7; }
    100% { opacity: 0.4; }
}

.sidebar {
    width: 220px;
    padding: 20px;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    z-index: 1000;
    background-color: rgba(10, 10, 15, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    justify-content: space-between;
}

.sidebar-logo {
    padding: 15px;
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.sidebar-logo img {
    height: 120px;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sidebar-menu li {
    width: 100%;
}

/* Botones de navegación */
.nav-button {
    display: block;
    width: 100%;
    padding: 15px 20px;
    margin: 10px 0;
    text-decoration: none;
    color: white;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
    text-align: center;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(0, 128, 255, 0.3);
}

.nav-button i {
    margin-right: 2px;
    font-size: 18px;
}

.nav-button.registro {
    background: linear-gradient(135deg, #40A0FF, #0080FF);
    border-color: #40A0FF;
}

.nav-button.registro:hover {
    background-color: #222228;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.nav-button.descargar {
    background: linear-gradient(135deg, #0080FF, #0060CC);
    border-color: #0080FF;
}

.nav-button.descargar:hover {
    background-color: #222228;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.nav-button.ranking {
    background: linear-gradient(135deg, #00BFFF, #0080FF);
    border-color: #00BFFF;
}

.nav-button.ranking:hover {
    background-color: #222228;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.nav-button.inicio {
    background: linear-gradient(135deg, #0099FF, #0080FF);
    border-color: #0099FF;
    color: white;
}

/* Efectos hover para botones de navegación */
.nav-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 128, 255, 0.6);
}

.nav-button.registro:hover {
    background: linear-gradient(135deg, #00BFFF, #40A0FF);
    box-shadow: 0 8px 25px rgba(64, 160, 255, 0.6);
}

.nav-button.descargar:hover {
    background: linear-gradient(135deg, #0099FF, #0080FF);
    box-shadow: 0 8px 25px rgba(0, 128, 255, 0.6);
}

.nav-button.ranking:hover {
    background: linear-gradient(135deg, #40A0FF, #00BFFF);
    box-shadow: 0 8px 25px rgba(0, 191, 255, 0.6);
}

.nav-button.inicio:hover {
    background: linear-gradient(135deg, #00BFFF, #0099FF);
    box-shadow: 0 8px 25px rgba(0, 153, 255, 0.6);
}

.main-content {
    margin-left: 220px;
    flex-grow: 1;
    padding: 20px;
    position: relative;
    z-index: 10;
}

.nav-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
}

.nav-button:hover::after {
    opacity: 1;
}

.server-card {
    background-color: rgba(15, 15, 20, 0.7);
    border-radius: 10px;
    padding: 15px;
    margin-top: auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.server-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #FFC107;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.server-stats {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}

.stat-label {
    color: #cccccc;
}

.stat-value {
    color: #ffffff;
    font-weight: 600;
}

.website-button {
    background-color: #2196F3;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 8px 0;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    display: block;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.website-button:hover {
    background-color: #0d8aed;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.center-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    width: 80%;
    max-width: 800px;
    padding: 30px;
}

.main-title {
    font-family: 'Inter', Helvetica, Arial, sans-serif;
    font-weight: 700;
    font-size: 60px;
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.sub-text {
    font-family: 'Inter', Helvetica, Arial, sans-serif;
    font-weight: 100;
    font-size: 24px;
    color: #e0e0e0;
    line-height: 1.4;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.social-sidebar {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background-color: rgba(10, 10, 15, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-decoration: none;
    font-size: 22px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.youtube-button {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: flex;
    align-items: center;
    text-decoration: none;
    font-weight: 600;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    z-index: 1000;
    height: 40px;
    width: 200px;
}

.youtube-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: #FF0000;
    color: white;
    font-size: 20px;
}

.youtube-text {
    background-color: #1a1a1f;
    color: white;
    padding: 0 15px;
    height: 100%;
    display: flex;
    align-items: center;
    flex-grow: 1;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.play-icon {
    background-color: rgba(128, 0, 0, 0.5);
    color: white;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
}

.youtube-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.6);
}

.watermark {
    position: fixed;
    bottom: 10px;
    left: 245px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
    font-family: 'Inter', Helvetica, Arial, sans-serif;
    font-weight: 300;
    z-index: 900;
    pointer-events: none;
    user-select: none;
    transition: opacity 0.3s ease;
    letter-spacing: 1px;
}

.watermark:hover {
    opacity: 0.6;
}

.floating-online-widget {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(20, 20, 20, 0.9);
    border: 1px solid rgba(0, 255, 0, 0.25);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    padding: 12px 16px;
    border-radius: 12px;
    backdrop-filter: blur(6px);
}
.floating-online-widget .dot {
    width: 10px;
    height: 10px;
    background: #21c521;
    border-radius: 50%;
    box-shadow: 0 0 10px #21c521, 0 0 20px rgba(33,197,33,0.7);
}
.floating-online-widget .content {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}
.floating-online-widget .title {
    color: #29e329;
    font-weight: 700;
    font-size: 14px;
}
.floating-online-widget .subtitle {
    color: #dfe7df;
    font-size: 13px;
}
.floating-online-widget.error {
    border-color: rgba(255, 0, 0, 0.35);
}
.floating-online-widget.error .dot {
    background: #ff3b3b;
    box-shadow: 0 0 10px #ff3b3b, 0 0 20px rgba(255,59,59,0.7);
}
@media (max-width: 768px) {
    .floating-online-widget {
        left: 10px;
        bottom: 10px;
        padding: 10px 12px;
    }
}

/* admin_banner: componente de banners administrables */
.admin-banner {
    width: 100%;
    max-width: var(--admin-banner-max-width, 360px);
    padding: 8px;
    box-sizing: border-box;
    background: rgba(0,0,0,0.35);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    backdrop-filter: blur(3px);
    z-index: 2;
    margin: 10px auto;
}

.admin-banner-align-right { margin-left: auto; margin-right: 24px; }
.admin-banner-align-left  { margin-right: auto; margin-left: 24px; }
.admin-banner-align-center{ margin-left: auto; margin-right: auto; }
.admin-banner-align-overlay {
    position: fixed;
    right: var(--admin-banner-right, 24px);
    top: var(--admin-banner-top, 120px);
    z-index: 9999;
}

.admin-banner-slider {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.35);
}

.admin-banner-slide {
    display: none;
    width: 100%;
    height: 0;
    padding-top: 56.25%; /* 16:9 */
    position: relative;
}

.admin-banner-slide img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admin-banner-slide.active {
    display: block;
}

.admin-banner-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.45);
    color: #fff;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    line-height: 32px;
    text-align: center;
    transition: background 0.2s ease;
}
.admin-banner-nav:hover { background: rgba(0,0,0,0.7); }

.admin-banner-prev { left: 8px; }
.admin-banner-next { right: 8px; }

@media (max-width: 768px) {
    .admin-banner {
        max-width: 95%;
        margin: 12px auto;
    }
    .admin-banner-nav { width: 28px; height: 28px; font-size: 16px; line-height: 28px; }
}