/* ===== ESTILOS ESPECÍFICOS PARA ROBOX ===== */

/* Variables de colores Roblox */
:root {
    --roblox-blue: #00a2ff;
    --roblox-blue-dark: #0088cc;
    --roblox-blue-light: #33bbff;
    --roblox-green: #00d261;
    --roblox-red: #ff3b5c;
    --roblox-yellow: #ffcc00;
    --roblox-purple: #b366ff;
    --roblox-gray-dark: #1a1a2e;
    --roblox-gray-light: #f5f7fa;
    --roblox-card-bg: #ffffff;
    --roblox-border: #e1e8ed;
    --roblox-shadow: rgba(0, 162, 255, 0.1);
    --primary-color: #1a1a2e;
    --secondary-color: #666666;
    --background-color: #f8fafc;
    --text-color: #333333;
}

/* Tema oscuro mejorado */
[data-theme="dark"] {
    --roblox-blue: #4da6ff;
    --roblox-blue-dark: #3399ff;
    --roblox-blue-light: #66c2ff;
    --roblox-green: #2ecc71;
    --roblox-red: #ff6b8b;
    --roblox-yellow: #ffd166;
    --roblox-purple: #b794f4;
    --roblox-gray-dark: #0d1117;
    --roblox-gray-light: #1a1f2e;
    --roblox-card-bg: #23283a;
    --roblox-border: #3a4158;
    --roblox-shadow: rgba(0, 162, 255, 0.2);
    --primary-color: #e2e8f0;
    --secondary-color: #a0aec0;
    --background-color: #121826;
    --text-color: #e2e8f0;
}

/* Reset y base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.6;
    transition: background-color 0.3s, color 0.3s;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header específico Roblox */
.roblox-header {
    background: linear-gradient(135deg, var(--roblox-blue), var(--roblox-purple));
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px var(--roblox-shadow);
}

.roblox-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.roblox-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.roblox-logo i {
    font-size: 2.5rem;
    color: var(--roblox-yellow);
    background: rgba(255, 255, 255, 0.1);
    padding: 0.8rem;
    border-radius: 50%;
}

.roblox-logo h1 {
    font-size: 1.8rem;
    margin: 0;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.logo-subtitle {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 0.2rem;
    color: rgba(255, 255, 255, 0.9);
}

.roblox-nav {
    display: flex;
    gap: 1.5rem;
    margin-left: auto;
    align-items: center;
}

.nav-back {
    background: rgba(255, 255, 255, 0.15);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 600;
}

.nav-back:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    text-decoration: none;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 600;
}

.nav-link.active {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.nav-link:hover:not(.active) {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
}

.nav-link i {
    font-size: 1.1rem;
}

.header-controls {
    display: flex;
    gap: 0.5rem;
    margin-left: 2rem;
}

.btn-icon {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-icon:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(15deg);
}

/* Dropdown mejorado */
.export-dropdown {
    position: relative;
    display: inline-block;
}

.export-dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--roblox-card-bg);
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--roblox-border);
    right: 0;
    top: 100%;
}

[data-theme="dark"] .export-dropdown-content {
    background-color: var(--roblox-gray-dark);
    border-color: var(--roblox-border);
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.4);
}

.export-dropdown-content a {
    color: var(--text-color);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s ease;
    font-size: 0.9rem;
}

.export-dropdown-content a:hover {
    background-color: var(--roblox-gray-light);
    color: var(--roblox-blue);
    text-decoration: none;
}

.export-dropdown:hover .export-dropdown-content {
    display: block;
}

.export-dropdown-content:hover {
    display: block;
}

/* Breadcrumb Roblox */
.breadcrumb-container {
    background: var(--roblox-gray-light);
    padding: 1rem 0;
    border-bottom: 1px solid var(--roblox-border);
}

.breadcrumb {
    list-style: none;
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.breadcrumb li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumb li:not(:last-child)::after {
    content: "›";
    opacity: 0.5;
}

.breadcrumb li a {
    color: var(--roblox-blue);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 600;
}

.breadcrumb li a:hover {
    color: var(--roblox-blue-dark);
    text-decoration: underline;
}

.breadcrumb li.active {
    color: var(--text-color);
    opacity: 0.7;
}

/* Hero Section Roblox */
.roblox-hero {
    background: linear-gradient(135deg, var(--roblox-gray-light) 0%, var(--background-color) 100%);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Crect fill='%2300a2ff' opacity='0.03' x='0' y='0' width='100' height='100'/%3E%3C/svg%3E");
    background-size: cover;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.roblox-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Crect fill='%2300a2ff' opacity='0.03' x='0' y='0' width='100' height='100'/%3E%3C/svg%3E");
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.roblox-hero h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.roblox-hero h2 i {
    color: var(--roblox-yellow);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    min-width: 120px;
}

.stat i {
    font-size: 2rem;
    color: var(--roblox-blue);
    margin-bottom: 0.5rem;
}

.stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--secondary-color);
    opacity: 0.8;
}

/* Categorías de Herramientas */
.tools-categories {
    padding: 4rem 0;
    background: var(--background-color);
}

.tools-categories h3 {
    font-size: 2rem;
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--primary-color);
}

/* Filtro de categorías */
.category-filter {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.category-filter-btn {
    padding: 0.6rem 1.5rem;
    border: 2px solid var(--roblox-border);
    border-radius: 25px;
    background: var(--background-color);
    color: var(--text-color);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.category-filter-btn.active {
    background: var(--roblox-blue);
    color: white;
    border-color: var(--roblox-blue);
}

.category-filter-btn:hover:not(.active) {
    border-color: var(--roblox-blue);
    color: var(--roblox-blue);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.category-card {
    background: var(--roblox-card-bg);
    border: 1px solid var(--roblox-border);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px var(--roblox-shadow);
    border-color: var(--roblox-blue);
}

.category-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--roblox-blue), var(--roblox-purple));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-card:hover::before {
    opacity: 1;
}

.category-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--roblox-blue-light), var(--roblox-purple));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.category-icon i {
    font-size: 2rem;
    color: white;
}

.category-card h4 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--primary-color);
}

.category-card p {
    color: var(--secondary-color);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.tool-count {
    display: inline-block;
    background: var(--roblox-gray-light);
    color: var(--roblox-blue);
    padding: 0.3rem 1rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Mensaje sin herramientas */
.no-tools-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: var(--secondary-color);
}

.no-tools-message i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.3;
}

/* Herramientas Destacadas */
.featured-tools-rblx {
    padding: 4rem 0;
    background: var(--roblox-gray-light);
}

.tools-grid-rblx {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.tool-card-rblx {
    background: var(--roblox-card-bg);
    border: 1px solid var(--roblox-border);
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.tool-card-rblx.featured {
    border: 2px solid var(--roblox-yellow);
    transform: scale(1.02);
}

.tool-card-rblx:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--roblox-shadow);
}

.tool-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--roblox-red);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 1;
}

.tool-header-rblx {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    align-items: flex-start;
}

.tool-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--roblox-blue), var(--roblox-purple));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tool-icon i {
    font-size: 1.5rem;
    color: white;
}

.tool-info h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.tool-rating {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.tool-rating i {
    color: var(--roblox-yellow);
    font-size: 0.9rem;
}

.rating-text {
    margin-left: 0.5rem;
    font-size: 0.85rem;
    color: var(--secondary-color);
}

.tool-description {
    color: var(--secondary-color);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.tool-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.feature-badge {
    background: var(--roblox-gray-light);
    color: var(--roblox-blue);
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.feature-badge i {
    font-size: 0.7rem;
}

.tool-actions {
    display: flex;
    gap: 0.8rem;
}

.btn-rblx-primary {
    background: linear-gradient(135deg, var(--roblox-blue), var(--roblox-blue-dark));
    color: white;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    flex: 1;
    justify-content: center;
}

.btn-rblx-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 162, 255, 0.3);
    text-decoration: none;
}

.btn-rblx-secondary {
    background: transparent;
    color: var(--roblox-blue);
    border: 2px solid var(--roblox-blue);
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    flex: 1;
    justify-content: center;
}

.btn-rblx-secondary:hover {
    background: rgba(0, 162, 255, 0.1);
    transform: translateY(-2px);
}

.view-all-tools {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--roblox-border);
}

.btn-rblx-outline {
    background: transparent;
    color: var(--roblox-blue);
    border: 2px solid var(--roblox-blue);
    padding: 0.8rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-rblx-outline:hover {
    background: var(--roblox-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 162, 255, 0.3);
    text-decoration: none;
}

/* Gestión de Datos Roblox */
.data-management-rblx {
    padding: 4rem 0;
    background: var(--background-color);
}

.data-controls-rblx {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.btn-rblx-success {
    background: linear-gradient(135deg, var(--roblox-green), #00b359);
    color: white;
    border: none;
    padding: 0.8rem 1.8rem;
    border-radius: 25px;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-rblx-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 210, 97, 0.3);
}

.btn-rblx-info {
    background: linear-gradient(135deg, var(--roblox-blue-light), var(--roblox-blue));
    color: white;
    border: none;
    padding: 0.8rem 1.8rem;
    border-radius: 25px;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-rblx-info:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(51, 187, 255, 0.3);
}

.btn-rblx-danger {
    background: linear-gradient(135deg, var(--roblox-red), #ff1e50);
    color: white;
    border: none;
    padding: 0.8rem 1.8rem;
    border-radius: 25px;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-rblx-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 59, 92, 0.3);
}

.data-stats-rblx {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.data-stat-rblx {
    background: var(--roblox-card-bg);
    border: 1px solid var(--roblox-border);
    border-radius: 15px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
}

.data-stat-rblx:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--roblox-shadow);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--roblox-blue), var(--roblox-purple));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon i {
    font-size: 1.8rem;
    color: white;
}

.stat-content {
    flex: 1;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.stat-value {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Historial Reciente */
.recent-history-rblx {
    background: var(--roblox-card-bg);
    border: 1px solid var(--roblox-border);
    border-radius: 15px;
    padding: 2rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.section-header h4 {
    font-size: 1.3rem;
    margin: 0;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.btn-icon.small {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
}

.recent-list-rblx {
    min-height: 200px;
}

.empty-history {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--secondary-color);
}

.empty-history i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.3;
}

.empty-history p {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.empty-history small {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Estilos para items recientes */
.recent-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--background-color);
    border: 1px solid var(--roblox-border);
    border-radius: 10px;
    margin-bottom: 0.8rem;
    transition: all 0.3s ease;
}

.recent-item:hover {
    transform: translateX(5px);
    box-shadow: 0 3px 10px var(--roblox-shadow);
}

.recent-item-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--roblox-blue), var(--roblox-purple));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.recent-item-icon i {
    color: white;
    font-size: 1.2rem;
}

.recent-item-content {
    flex: 1;
    min-width: 0;
}

.recent-item-content h5 {
    margin: 0 0 0.3rem 0;
    font-size: 1rem;
    color: var(--primary-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.recent-item-desc {
    margin: 0 0 0.3rem 0;
    font-size: 0.85rem;
    color: var(--secondary-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.recent-item-time {
    color: var(--secondary-color);
    opacity: 0.7;
    font-size: 0.8rem;
}

.recent-item-actions {
    display: flex;
    gap: 0.3rem;
}

/* Tutorial */
.tutorial-section {
    padding: 4rem 0;
    background: var(--roblox-gray-light);
}

.tutorial-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.tutorial-step {
    background: var(--roblox-card-bg);
    border: 1px solid var(--roblox-border);
    border-radius: 15px;
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
}

.tutorial-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--roblox-shadow);
}

.step-number {
    position: absolute;
    top: -15px;
    left: -15px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--roblox-blue), var(--roblox-purple));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    z-index: 1;
}

.step-content h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.step-content p {
    color: var(--secondary-color);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Footer Roblox */
.roblox-footer {
    background: var(--roblox-gray-dark);
    color: white;
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

[data-theme="dark"] .roblox-footer {
    background: #0f141f;
}

.footer-content-rblx {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section-rblx h5 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-logo i {
    font-size: 2rem;
    color: var(--roblox-yellow);
}

.footer-logo h4 {
    font-size: 1.5rem;
    margin: 0;
    color: white;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--roblox-blue);
    transform: translateY(-3px);
    text-decoration: none;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
    text-decoration: none;
}

.export-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.export-badge {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.footer-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.footer-note i {
    color: var(--roblox-blue-light);
}

.footer-bottom-rblx {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

.disclaimer-rblx {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.disclaimer-rblx p {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.disclaimer-rblx i {
    color: var(--roblox-yellow);
    flex-shrink: 0;
}

.copyright-rblx {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.copyright-rblx p {
    margin: 0.5rem 0;
}

.version-info {
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Modales personalizados */
.roblox-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Notificaciones y mensajes */
.roblox-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--roblox-green);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.roblox-notification.error {
    background: var(--roblox-red);
}

.roblox-notification.info {
    background: var(--roblox-blue);
}

.roblox-notification.warning {
    background: var(--roblox-yellow);
    color: #333;
}

/* Herramientas próximas */
.upcoming-tools {
    background: var(--roblox-gray-light);
    border-radius: 15px;
    padding: 2rem;
    margin-top: 2rem;
}

/* Animaciones específicas */
@keyframes pulse-roblox {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 162, 255, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 162, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 162, 255, 0);
    }
}

.featured .tool-icon {
    animation: pulse-roblox 2s infinite;
}

/* Corregir switch en modo oscuro */
[data-theme="dark"] .switch .slider {
    background-color: #4a5568;
}

[data-theme="dark"] .switch .slider:before {
    background-color: #e2e8f0;
}

/* Mejorar contraste en modo oscuro para textos */
[data-theme="dark"] .hero-subtitle,
[data-theme="dark"] .tool-description,
[data-theme="dark"] .step-content p,
[data-theme="dark"] .category-card p {
    color: #cbd5e0;
}

/* Botones deshabilitados */
.btn-rblx-primary:disabled,
.btn-rblx-success:disabled,
.btn-rblx-info:disabled,
.btn-rblx-danger:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* Inputs en modo oscuro */
[data-theme="dark"] .converter-input,
[data-theme="dark"] .limiteds-input,
[data-theme="dark"] .converter-select,
[data-theme="dark"] .item-search input {
    background: var(--roblox-gray-dark);
    color: var(--text-color);
    border-color: var(--roblox-border);
}

[data-theme="dark"] .converter-input:focus,
[data-theme="dark"] .limiteds-input:focus,
[data-theme="dark"] .converter-select:focus,
[data-theme="dark"] .item-search input:focus {
    border-color: var(--roblox-blue);
    box-shadow: 0 0 0 3px rgba(77, 166, 255, 0.2);
}

/* Cards en modo oscuro */
[data-theme="dark"] .tool-card-rblx:hover,
[data-theme="dark"] .category-card:hover,
[data-theme="dark"] .data-stat-rblx:hover,
[data-theme="dark"] .tutorial-step:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    border-color: var(--roblox-blue);
}

/* Responsive */
@media (max-width: 768px) {
    .roblox-logo h1 {
        font-size: 1.5rem;
    }
    
    .roblox-nav {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 1rem;
        margin-left: 0;
        display: none; /* Ocultar en móvil y mostrar en hamburguesa */
    }
    
    .header-controls {
        margin-left: auto;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .data-controls-rblx {
        justify-content: center;
    }
    
    .tool-actions {
        flex-direction: column;
    }
    
    .footer-content-rblx {
        grid-template-columns: 1fr;
    }
    
    .roblox-hero h2 {
        font-size: 2rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .tools-grid-rblx {
        grid-template-columns: 1fr;
    }
    
    .data-stats-rblx {
        grid-template-columns: 1fr;
    }
    
    .tutorial-steps {
        grid-template-columns: 1fr;
    }
    
    .category-filter {
        flex-direction: column;
        align-items: stretch;
    }
    
    .category-filter-btn {
        text-align: center;
        justify-content: center;
    }
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--roblox-gray-light);
}

::-webkit-scrollbar-thumb {
    background: var(--roblox-blue);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--roblox-purple);
}

/* Anuncio de actualización */
.update-announcement {
    background: linear-gradient(135deg, var(--roblox-green), var(--roblox-blue));
    color: white;
    padding: 1rem;
    text-align: center;
    border-radius: 10px;
    margin: 1rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    animation: pulse-roblox 2s infinite;
}

.update-announcement i {
    font-size: 1.5rem;
}

/* Tooltip */
.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 200px;
    background-color: var(--roblox-gray-dark);
    color: white;
    text-align: center;
    border-radius: 6px;
    padding: 8px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -100px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 0.9rem;
}

.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: var(--roblox-gray-dark) transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

/* Loading spinner */
.spinner {
    border: 3px solid rgba(0, 162, 255, 0.1);
    border-radius: 50%;
    border-top: 3px solid var(--roblox-blue);
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 2rem auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Mejoras para accesibilidad */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Impresión */
@media print {
    .roblox-header,
    .roblox-nav,
    .header-controls,
    .view-all-tools,
    .roblox-footer,
    .export-dropdown,
    .btn-icon {
        display: none !important;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
    
    .tool-card-rblx,
    .category-card,
    .data-stat-rblx {
        break-inside: avoid;
        page-break-inside: avoid;
    }
/* ===== ESTILOS PARA VISTA DE CATEGORÍAS ===== */
.category-tools-view {
    display: none;
    margin-top: 2rem;
    animation: fadeIn 0.5s ease;
}

.category-tools-view.active {
    display: block;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--roblox-blue);
}

.category-header h4 {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0;
    color: var(--primary-color);
}

.category-header h4 i {
    color: var(--roblox-blue);
    font-size: 1.5rem;
}

.back-to-categories {
    background: var(--roblox-blue);
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.back-to-categories:hover {
    background: var(--roblox-blue-dark);
    transform: translateY(-2px);
    text-decoration: none;
}

.category-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

/* Animaciones para transiciones */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInLeft {
    from { transform: translateX(-100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Mejoras para categorías clickeables */
.category-card {
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px var(--roblox-shadow);
}

.category-card:active {
    transform: translateY(-5px) scale(1.01);
}

/* Indicador visual de que es clickeable */
.category-card::after {
    content: "Ver herramientas →";
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    font-size: 0.8rem;
    color: var(--roblox-blue);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-card:hover::after {
    opacity: 1;
}

/* Estilos para modal de tutoriales */
.tutorial-modal-content {
    max-width: 700px;
    width: 90%;
}

.tutorial-section-modal {
    margin: 1rem 0;
}

.tutorial-step-modal {
    background: var(--background-color);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-left: 4px solid var(--roblox-blue);
}

.tutorial-step-modal h5 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--roblox-blue);
    margin-bottom: 0.5rem;
}

.tutorial-step-modal ul {
    padding-left: 1.5rem;
    color: var(--secondary-color);
}

.tutorial-step-modal li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}
}
