/* assets/css/docs.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Roboto Flex", sans-serif;
    background-color: #111111;
    color: #eeeeee;
    line-height: 1.6;
    min-height: 100vh;
}

header {
    background-color: #111111;
    border-bottom: 2px solid #333333;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 500;
    text-decoration: none;
    color: #eeeeee;
    align-items: center;
    display: flex;
    gap: 10px;
}

.logo i {
    color: #666666;
    margin-right: 0.5rem;
}

.logo img {
    height: 35px;
    width: 35px;
}

.breadcrumb {
    color: #666666;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: #666666;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #eeeeee;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    padding: 2rem;
}

.sidebar {
    background-color: #1a1a1a;
    border: 1px solid #333333;
    border-radius: 8px;
    padding: 1.5rem;
    font-size: 0.9rem;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.sidebar h3 {
    color: #eeeeee;
    margin-bottom: 1rem;
    border-bottom: 1px solid #333333;
    padding-bottom: 0.5rem;
}

.category-list {
    list-style: none;
}

.category-item {
    margin-bottom: 0.5rem;
}

.category-item a {
    color: #666666;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem;
    border-radius: 4px;
    transition: all 0.3s;
}

.category-item a:hover,
.category-item a.active {
    background-color: #333333;
    color: #eeeeee;
}

.category-text {
    display: flex;
    align-items: center;
}

.category-text i {
    margin-right: 0.5rem;
    width: 16px;
}

.category-count {
    background-color: #333333;
    color: #eeeeee;
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
}

.category-item a.active .category-count {
    background-color: #666666;
}

.main-content {
    background-color: #1a1a1a;
    border: 1px solid #333333;
    border-radius: 8px;
    padding: 2rem;
}

.search-box {
    background-color: #333333;
    border: 1px solid #666666;
    border-radius: 6px;
    padding: 0.8rem;
    width: 100%;
    color: #eeeeee;
    margin-bottom: 2rem;
}

.search-box::placeholder {
    color: #666666;
}

.category-section {
    margin-bottom: 3rem;
}

.category-title {
    color: #eeeeee;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #666666;
    padding-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.category-title-text {
    display: flex;
    align-items: center;
}

.category-title i {
    margin-right: 0.5rem;
    color: #666666;
}

.category-title .category-count {
    background-color: #333333;
    color: #eeeeee;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: bold;
}

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

.command-card {
    background-color: #0a0a0a;
    border: 1px solid #333333;
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
}

.command-card:hover {
    border-color: #666666;
    transform: translateY(-2px);
}

.command-header {
    padding: 1rem 1.5rem;
    background-color: #1a1a1a;
    border-bottom: 1px solid #333333;
}

.command-name {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    font-weight: bold;
    color: #eeeeee;
    margin-bottom: 0.5rem;
}

.command-name i {
    margin-right: 0.5rem;
    color: #666666;
}

.command-description {
    color: #eeeeee;
    opacity: 0.9;
    font-size: 0.9rem;
}

.command-usage {
    background-color: #333333;
    color: #eeeeee;
    padding: 1rem 1.5rem;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    border-left: 3px solid #666666;
    display: none;
}

.command-card.expanded .command-usage {
    display: block;
}

.hidden {
    display: none;
}

/* Botón del menú móvil */
.mobile-menu-toggle {
    display: none;
    background-color: #333333;
    border: 1px solid #666666;
    border-radius: 6px;
    padding: 0.8rem;
    color: #eeeeee;
    cursor: pointer;
    z-index: 1001;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background-color: #666666;
}

/* Overlay para cerrar el menú en móvil */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

/* Responsive Styles */
@media (max-width: 968px) {
    .mobile-menu-toggle {
display: block;
    }

    nav {
justify-content: flex-start;
gap: 1rem;
    }

    .logo {
font-size: 0.9rem;
font-weight: 500;
color: #eeeeee;
align-items: center;
display: flex;
gap: 10px;
    }

    .container {
grid-template-columns: 1fr;
padding: 1rem;
    }

    .sidebar {
position: fixed;
top: 0;
left: -320px;
/* Oculto por defecto */
width: 300px;
height: 100vh;
z-index: 1000;
overflow-y: auto;
transition: left 0.3s ease;
border-radius: 0;
border-right: 1px solid #333333;
    }

    .sidebar.active {
left: 0;
/* Mostrar cuando esté activo */
    }

    .sidebar-overlay.active {
display: block;
    }

    .commands-grid {
grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .container {
padding: 0.5rem;
    }

    .sidebar {
width: 280px;
left: -300px;
    }

    .main-content {
padding: 1rem;
    }
}

@media (max-width: 480px) {
    .sidebar {
width: 260px;
left: -280px;
    }

    .mobile-menu-toggle {
padding: 0.6rem;
    }
}


/* Iconos especiales para categorías premium */
.premium-icons {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 8px;
}

.premium-icon {
    font-size: 0.7rem;
    opacity: 0.8;
    transition: all 0.3s;
}

/* Icono de Patreon */
.patreon-icon {
    color: #FF424D;
}

/* Icono de estrella para comandos populares */
.star-icon {
    color: #FFD700;
}

/* Icono de corona para comandos VIP */
.crown-icon {
    color: #9B59B6;
}

/* Icono de fuego para comandos trending */
.fire-icon {
    color: #FF6B35;
}

/* Icono de diamante para comandos exclusivos */
.diamond-icon {
    color: #3498DB;
}

/* Efecto hover en los iconos */
.category-item a:hover .premium-icon {
    opacity: 1;
    transform: scale(1.1);
}

/* Animación sutil para los iconos premium */
@keyframes pulse {

    0%,
    100% {
opacity: 0.8;
    }

    50% {
opacity: 1;
    }
}

.premium-icon.animated {
    animation: pulse 2s infinite;
}

/* Tooltip para los iconos */
.premium-icon {
    position: relative;
    cursor: help;
}

.premium-icon::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #222;
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 1000;
}

.premium-icon:hover::after {
    opacity: 1;
    visibility: visible;
}

/* Estilos para el footer del sidebar */
.sidebar-footer {
    margin-top: 2rem;
}

.footer-divider {
    height: 1px;
    background-color: #333333;
    margin-bottom: 1rem;
}

.footer-icons {
    text-align: center;
}

.footer-icon-group {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 0.8rem;
}

.footer-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #666666;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    background-color: rgba(51, 51, 51, 0.3);
    border: 1px solid transparent;
}

.footer-icon i {
    font-size: 1.1rem;
}

/* Colores específicos para cada icono */
.patreon-link:hover {
    background-color: rgba(255, 66, 77, 0.2);
    color: #FF424D;
    border-color: #FF424D;
    transform: translateY(-2px);
}

.premium-link:hover {
    background-color: rgba(255, 215, 0, 0.2);
    color: #FFD700;
    border-color: #FFD700;
    transform: translateY(-2px);
}

.popular-link:hover {
    background-color: rgba(255, 107, 53, 0.2);
    color: #FF6B35;
    border-color: #FF6B35;
    transform: translateY(-2px);
}

.new-link:hover {
    background-color: rgba(52, 152, 219, 0.2);
    color: #3498DB;
    border-color: #3498DB;
    transform: translateY(-2px);
}

.footer-text {
    font-size: 0.75rem;
    color: #666666;
    margin-top: 0.5rem;
}

/* Tooltip para iconos del footer */
.footer-icon::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #222;
    color: #fff;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 0.7rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 1000;
    pointer-events: none;
}

.footer-icon::before {
    content: '';
    position: absolute;
    bottom: 112%;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid transparent;
    border-top-color: #222;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.footer-icon:hover::after,
.footer-icon:hover::before {
    opacity: 1;
    visibility: visible;
}

/* Animación sutil para los iconos del footer */
@keyframes glow {

    0%,
    100% {
box-shadow: 0 0 5px rgba(255, 66, 77, 0);
    }

    50% {
box-shadow: 0 0 15px rgba(255, 66, 77, 0.3);
    }
}

.patreon-link {
    animation: glow 3s infinite;
}