/* Reset y variables CSS mejoradas */
:root {
    --primary-color: #00ff88;
    --primary-dark: #00cc6a;
    --secondary-color: #00a8ff;
    --secondary-dark: #0086cc;
    --accent-color: #ff3e80;
    --background-dark: #0a0a0a;
    --background-card: #1a1a1a;
    --background-light: #2a2a2a;
    --text-light: #ffffff;
    --text-muted: #b0b0b0;
    --text-dark: #333333;
    --border-color: #333333;
    --border-light: #444444;
    --shadow: 0 4px 20px rgba(0, 255, 136, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.3);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-slow: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    --border-radius: 12px;
    --border-radius-lg: 20px;
}

.light-mode {
    --background-dark: #f8f9fa;
    --background-card: #ffffff;
    --background-light: #f1f3f5;
    --text-light: #212529;
    --text-muted: #6c757d;
    --text-dark: #495057;
    --border-color: #dee2e6;
    --border-light: #e9ecef;
    --primary-color: #00cc6a;
    --primary-dark: #00a858;
    --secondary-color: #007bff;
    --secondary-dark: #0056b3;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    transition: var(--transition-slow);
}

/* Header mejorado */
.header {
    background: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.header.scrolled {
    padding: 0.75rem 0;
    background: rgba(10, 10, 10, 0.95);
}

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

.header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    transition: var(--transition);
}

.logo:hover {
    transform: rotate(15deg);
}

.site-title {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.site-title .highlight {
    color: var(--accent-color);
    -webkit-text-fill-color: var(--accent-color);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-toggle {
    background: var(--background-light);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.2rem;
}

.theme-toggle:hover {
    background: var(--primary-color);
    color: var(--background-dark);
    transform: scale(1.1);
}

.hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    background: none;
    border: none;
    width: 30px;
    height: 30px;
    justify-content: space-between;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Sidebar mejorado */
.sidebar {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100vh;
    background: var(--background-card);
    z-index: 2000;
    transition: var(--transition);
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.sidebar.active {
    left: 0;
}

.sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
}

.sidebar-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

.sidebar-close:hover {
    color: var(--accent-color);
    transform: scale(1.1);
}

.sidebar-menu {
    list-style: none;
    padding: 1rem 0;
    flex-grow: 1;
}

.sidebar-link {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.sidebar-link:hover, .sidebar-link.active {
    background: rgba(0, 255, 136, 0.1);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
}

.sidebar-link i {
    margin-right: 1rem;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.sidebar-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Hero Section mejorada */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem 1rem;
    overflow: hidden;
}
/* Hero Section mejorada */
.hero-section2 {
    position: relative;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem 1rem;
    overflow: hidden;
}
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, var(--background-card) 0%, var(--background-dark) 100%);
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(0, 255, 136, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 168, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(255, 62, 128, 0.05) 0%, transparent 50%);
}

.hero-content {
    max-width: 800px;
    z-index: 1;
}

.hero-title {
    margin-bottom: 1.5rem;
}

.hero-title-main {
    display: block;
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.hero-title-sub {
    display: block;
    font-size: 2rem;
    font-weight: 600;
    color: var(--accent-color);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.cta-button.primary {
    background: var(--primary-color);
    color: var(--background-dark);
}

.cta-button.primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 255, 136, 0.3);
}

.cta-button.secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.cta-button.secondary:hover {
    background: var(--primary-color);
    color: var(--background-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 255, 136, 0.3);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    animation: bounce 2s infinite;
}

.hero-scroll-indicator i {
    margin-top: 0.5rem;
    font-size: 1.2rem;
}

.hero-scroll-indicator2 {
    position: absolute;
    bottom: 14rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    animation: bounce 2s infinite;
}

.hero-scroll-indicator3 {
    position: absolute;
    bottom: 11rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-10px) translateX(-50%);
    }
    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

/* Stats Section */
.stats-section {
    padding: 4rem 1rem;
    background: var(--background-card);
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.stat-card {
    background: var(--background-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    width: 70px;
    height: 70px;
    background: rgba(0, 255, 136, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary-color);
    font-size: 1.8rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Sections comunes */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Mods Section */
.mods-section {
    padding: 5rem 1rem;
}

.mods-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: var(--background-light);
    color: var(--text-muted);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--primary-color);
    color: var(--background-dark);
}

/* Cards Grid mejorado */
.cards-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.card {
    background: var(--background-card);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.card-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: var(--transition);
}

.card:hover .card-image {
    transform: scale(1.05);
}

.card-content {
    padding: 1rem;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.card-category {
    font-size: 0.8rem;
    color: var(--primary-color);
    background: rgba(0, 255, 136, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-weight: 500;
}

.card-date {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-description {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 0.85rem;
    line-height: 1.5;
}

.card-footer {
    padding: 1rem;
    display: flex;
    justify-content: center;
}

.card-stats {
    display: flex;
    gap: 1rem;
}

.card-stat {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-color);
    color: var(--background-dark);
    padding: 0.55rem 1.2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 0.80rem;
}

.download-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 136, 0.3);
}

.download-btn.disabled {
    background: var(--text-muted);
    cursor: not-allowed;
}

.download-btn.disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Features Section mejorada */
.features-section {
    padding: 5rem 1rem;
    background: var(--background-card);
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--background-light);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: rgba(0, 255, 136, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary-color);
    font-size: 2rem;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: var(--primary-color);
    color: var(--background-dark);
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Newsletter Section */
.newsletter-section {
    padding: 5rem 1rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.newsletter-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.newsletter-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex-grow: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
}

.newsletter-form button {
    padding: 1rem 2rem;
    background: var(--background-dark);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.newsletter-form button:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

/* Footer mejorado */
.footer {
    background: var(--background-card);
    padding: 4rem 1rem 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.footer-logo h3 {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--background-light);
    color: var(--text-muted);
    border-radius: 50%;
    transition: var(--transition);
    text-decoration: none;
}

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

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-color);
    padding-left: 0.5rem;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--background-dark);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    box-shadow: var(--shadow);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 255, 136, 0.3);
}

/* Loading Screen mejorada */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--background-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading-content {
    text-align: center;
}

.loading-spinner {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
}

.spinner-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.spinner-ring:nth-child(1) {
    animation-delay: 0s;
}

.spinner-ring:nth-child(2) {
    animation-delay: 0.1s;
    border-top-color: var(--secondary-color);
}

.spinner-ring:nth-child(3) {
    animation-delay: 0.2s;
    border-top-color: var(--accent-color);
}

.spinner-ring:nth-child(4) {
    animation-delay: 0.3s;
    border-top-color: var(--primary-dark);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.loading-subtext {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Modal mejorado */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: var(--background-card);
    margin: 5% auto;
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: var(--shadow-lg);
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-50px); }
    to { opacity: 1; transform: translateY(0); }
}

.close {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
}

.close:hover {
    color: var(--accent-color);
    transform: scale(1.1);
}

.modal h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    text-align: center;
}

.modal form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.modal input,
.modal textarea {
    padding: 1rem 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background: var(--background-light);
    color: var(--text-light);
    font-size: 1rem;
    transition: var(--transition);
}

.modal input:focus,
.modal textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.1);
}

.modal textarea {
    min-height: 120px;
    resize: vertical;
}

.modal button {
    background: var(--primary-color);
    color: var(--background-dark);
    padding: 1rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

.modal button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Notifications */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    color: white;
    font-weight: 600;
    z-index: 10000;
    box-shadow: var(--shadow-lg);
    transform: translateX(400px);
    transition: transform 0.3s ease;
}

.notification.success {
    background: var(--primary-color);
}

.notification.error {
    background: var(--accent-color);
}

.notification.visible {
    transform: translateX(0);
}

/* Animaciones generales */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.card, .feature-card, .stat-card {
    animation: fadeIn 0.6s ease forwards;
    opacity: 0;
}

/* Utilidades */
.hidden {
    display: none !important;
}

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

.mt-2 {
    margin-top: 2rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.p-2 {
    padding: 2rem;
}

/* Scrollbar personalizado */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--background-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}





/* ============================================================
   BOTÓN "VER AUTOR" EN LA CARD
   ============================================================ */
/* META: mantiene el layout original, autor en la misma fila */
.mod-card-v2__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 6px;
}

/* BOTÓN AUTOR */
.mod-card-v2__author-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    color: var(--author-color, #00ff88);
    border-color: var(--author-color, #00ff88);
    font-size: 11px;
    padding: 3px 10px;
    height: 22px;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
    line-height: 1;
    opacity: 0.9;
}
.mod-card-v2__author-btn:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.08);
}
/* ============================================================
   OVERLAY DEL POPUP DE AUTOR
   ============================================================ */
.author-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    backdrop-filter: blur(4px);
}
.author-overlay.show {
    opacity: 1;
    pointer-events: all;
}

/* ============================================================
   POPUP CARD DEL AUTOR
   ============================================================ */
.author-popup {
    background: var(--background-card);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-lg);
    padding: 1.75rem;
    width: 320px;
    max-width: 90vw;
    position: relative;
    transform: scale(0.9) translateY(16px);
    transition: transform 0.28s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.author-overlay.show .author-popup {
    transform: scale(1) translateY(0);
}

.author-popup__close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 30px;
    height: 30px;
    background: var(--background-light);
    border: none;
    border-radius: 50%;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.author-popup__close:hover {
    background: rgba(255, 62, 128, 0.2);
    color: var(--accent-color);
}

.author-popup__avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: var(--background-dark);
    margin-bottom: 10px;
}

.author-popup__name {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 2px;
}
.author-popup__role {
    font-size: 12px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.author-popup__mods-count {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(0, 255, 136, 0.07);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 6px;
    padding: 3px 9px;
    font-size: 11px;
    color: var(--primary-color);
    margin-bottom: 12px;
}
.author-popup__mods-count i {
    font-size: 10px;
}

.author-popup__desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 14px;
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
    lang: es;
}
/* Header: foto izquierda, info derecha */
.author-popup__header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.author-popup__header-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.author-popup__stat--mods {
    border-color: var(--primary-color);
}

.author-popup__stat--mods strong {
    color: var(--primary-color);
}
.author-popup__stat {
    background: var(--background-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 7px 10px;
    font-size: 11px;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;    /* 👈 centrado */
    gap: 2px;
    flex: 1;                /* 👈 mismo ancho los 3 */
    text-align: center;     /* 👈 texto centrado */
}
.author-popup__stat strong {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-light);
}

.author-popup__links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.author-popup__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    border-radius: 20px;
    padding: 6px 13px;
    text-decoration: none;
    border: 1px solid;
    transition: var(--transition);
    font-weight: 500;
}
.author-popup__link--yt {
    color: #ff4444;
    border-color: rgba(255, 68, 68, 0.3);
    background: rgba(255, 68, 68, 0.07);
}
.author-popup__link--yt:hover {
    background: rgba(255, 68, 68, 0.2);
    transform: translateY(-2px);
}
.author-popup__link--fb {
    color: #4488ff;
    border-color: rgba(68, 136, 255, 0.3);
    background: rgba(68, 136, 255, 0.07);
}
.author-popup__link--fb:hover {
    background: rgba(68, 136, 255, 0.2);
    transform: translateY(-2px);
}

/* Foto en el botón de la card */
.mod-card-v2__author-img {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.mod-card-v2__author-initials {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--author-color, #00ff88);
    color: #000;
    font-size: 9px;
    font-weight: 700;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Avatar más grande ahora que está en fila */
.author-popup__avatar {
    width: 64px;
    height: 64px;
    min-width: 64px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    color: var(--background-dark);
}

/* Stats centradas */
.author-popup__stats {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
    justify-content: center;
}
.author-popup__modbar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: rgba(0, 255, 136, 0.06);
    border: 1px solid rgba(0, 255, 136, 0.18);
    border-radius: 6px;
    padding: 5px 12px;
    font-size: 11px;
    color: var(--primary-color);
    margin-bottom: 14px;
    width: 100%;
}

.author-popup__modbar i {
    font-size: 10px;
}
