:root {
    --primary: #FFA500;
    --accent: #FF6B00;
    --dark: #121212;
    --light: #f8f8f8;
    --gold: #FFD700;
}

body {
    font-family: 'Poppins', sans-serif;
    background-image: url('../images/background.jpg');
    background-size: cover;
    color: white;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.overlay {
    background-color: rgba(0, 0, 0, 0.85);
    min-height: 100vh;
}

header {
    padding: 1.5rem;
    text-align: center;
    background: linear-gradient(to right, #1d1d1d, #1d1d1d, #1d1d1d);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.logo {
    font-family: 'Bungee', cursive;
    font-size: 2.8rem;
    color: white;
    background: linear-gradient(to right, #ffc14e, #ffc400);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding: 0.5rem;
}

nav {
    background-color: rgba(20, 20, 20, 0.95);
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.nav-links {
    display: flex;
    gap: 1.8rem;
}

.nav-links a {
    color: var(--light);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a.active {
    color: var(--primary);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--primary), var(--accent));
    border-radius: 3px;
}

.nav-buttons {
    display: flex;
    gap: 1.2rem;
}

.btn {
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    background: linear-gradient(to right, var(--primary), var(--accent));
    color: var(--dark);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 165, 0, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--light);
    border: 2px solid var(--light);
}

.btn-secondary:hover {
    background-color: var(--light);
    color: var(--dark);
}

/* ESTILOS PARA STAFF */
.staff-section {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
}

.staff-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.staff-header h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.staff-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

.staff-header::after {
    content: '';
    display: block;
    width: 150px;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--accent));
    margin: 1.5rem auto;
    border-radius: 4px;
}

.staff-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.staff-category {
    background: rgba(30, 30, 30, 0.8);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
    border-left: 5px solid;
    backdrop-filter: blur(5px);
}

.staff-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.staff-category h3 {
    margin-bottom: 1.8rem;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.6rem;
}

.staff-category h3 i {
    font-size: 1.4em;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 2rem;
}

.staff-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s;
    padding: 1.2rem;
    border-radius: 10px;
    background: rgba(20, 20, 20, 0.5);
}

.staff-member:hover {
    transform: translateY(-8px);
    background: rgba(40, 40, 40, 0.7);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.staff-head {
    width: 90px;
    height: 90px;
    image-rendering: pixelated;
    border-radius: 10px;
    border: 4px solid;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.staff-head:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.staff-name {
    font-weight: 600;
    text-align: center;
    font-size: 1.1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Colores por rango */
.dueno { border-left-color: var(--gold); }
.dueno h3 { color: var(--gold); }
.dueno h3 i { background: rgba(255, 215, 0, 0.2); }
.dueno .staff-head { border-color: var(--gold); }

.dev { border-left-color: #ff0000; }
.dev h3 { color: #ff0000; }
.dev h3 i { background: rgba(255, 0, 0, 0.2); }
.dev .staff-head { border-color: #ff0000; }

.autor { border-left-color: #ff6600; }
.autor h3 { color: #ff6600; }
.autor h3 i { background: rgba(255, 102, 0, 0.2); }
.autor .staff-head { border-color: #ff6600; }

.ownerboss { border-left-color: #cccccc; }
.ownerboss h3 { color: #cccccc; }
.ownerboss h3 i { background: rgba(204, 204, 204, 0.2); }
.ownerboss .staff-head { border-color: #cccccc; }

.owner { border-left-color: #ff0000; }
.owner h3 { color: #ff0000; }
.owner h3 i { background: rgba(255, 0, 0, 0.2); }
.owner .staff-head { border-color: #ff0000; }

.admin { border-left-color: #ff6666; }
.admin h3 { color: #ff6666; }
.admin h3 i { background: rgba(255, 102, 102, 0.2); }
.admin .staff-head { border-color: #ff6666; }

.mod { border-left-color: #093eec; }
.mod h3 { color: #093eec; }
.mod h3 i { background: rgba(0, 0, 170, 0.2); }
.mod .staff-head { border-color: #093eec; }

.helper { border-left-color: #00aa00; }
.helper h3 { color: #00aa00; }
.helper h3 i { background: rgba(0, 170, 0, 0.2); }
.helper .staff-head { border-color: #00aa00; }

/* Botones de navegación */
.navigation-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 3rem 0;
}

.nav-btn {
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.nav-btn i {
    font-size: 1.2em;
}

footer {
    background: linear-gradient(to right, #1a1a1a, #2a2a2a, #1a1a1a);
    padding: 2rem;
    text-align: center;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 165, 0, 0.2);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s;
}

.social-links a:hover {
    color: var(--primary);
    transform: translateY(-3px);
}

footer p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0.5rem 0;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-links {
        width: 100%;
        justify-content: center;
    }
    
    .nav-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .staff-section {
        padding: 1rem;
    }
    
    .staff-header h2 {
        font-size: 2.2rem;
    }
    
    .staff-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
}

@media (max-width: 480px) {
    .staff-header h2 {
        font-size: 1.8rem;
    }
    
    .staff-category {
        padding: 1.5rem;
    }
    
    .staff-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 1rem;
    }
    
    .staff-head {
        width: 70px;
        height: 70px;
    }
    
    .navigation-buttons {
        flex-direction: column;
        align-items: center;
    }
}