/* Estilos principales para El Gran Santo Domingo Portal */

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Variables CSS */
:root {
    --primary-color: #f5c842;
    --secondary-color: #f4d465;
    --dark-bg: #0a0a0a;
    --card-bg: #1a1a1a;
    --card-bg-hover: #2d2d2d;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --text-muted: #999999;
    --border-color: #333333;
    --gradient-bg: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    --golden-gradient: linear-gradient(135deg, #f5c842 0%, #f4d465 100%);
    --shadow-card: 0 25px 50px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 35px 60px rgba(0, 0, 0, 0.4);
    --border-radius: 20px;
    --transition: all 0.3s ease;
}

/* Fondos animados */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: var(--gradient-bg);
    overflow: hidden;
}

.animated-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(245, 200, 66, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--golden-gradient);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.auth-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--golden-gradient);
    color: var(--dark-bg);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(245, 200, 66, 0.3);
}

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

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.user-menu {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    cursor: pointer;
    transition: var(--transition);
}

.user-avatar:hover {
    transform: scale(1.1);
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Main content */
.main-content {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
}

/* Hero Section */
.hero-section {
    padding: 4rem 0;
    text-align: center;
    position: relative;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: #ffffff !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: #ffffff !important;
    background-clip: initial !important;
    text-shadow: 
        0 0 5px #f5c842,
        0 0 10px #f5c842,
        0 0 15px #f5c842,
        0 0 20px #f5c842,
        0 0 35px #f5c842;
    animation: fadeInUp 1s ease-out;
}

.neon-text {
    color: #ffffff !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: #ffffff !important;
    background-clip: initial !important;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.4s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    border: 1px solid rgba(245, 200, 66, 0.1);
    position: relative;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(245, 200, 66, 0.3);
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.card-content {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

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

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
}

/* Game Cards específicos */
.game-card {
    position: relative;
    background: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
}

.game-card:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(245, 200, 66, 0.2);
}

.game-card-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.game-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 2rem 1.5rem 1.5rem;
    color: white;
}

.game-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.game-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

/* Sections */
.section {
    padding: 4rem 0;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

/* Footer */
.footer {
    background: var(--card-bg);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 2rem;
    margin-top: 4rem;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Forzar layout vertical en pantallas pequeñas */
@media (max-width: 1024px) {
    .footer-content {
        display: flex !important;
        flex-direction: column !important;
        gap: 2rem;
        grid-template-columns: none !important;
    }
}

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

.footer-section p,
.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    line-height: 1.6;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--primary-color);
}

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

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

.footer-section ul li a {
    display: inline-block;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 0.2rem 0;
}

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

.server-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    margin: 1rem 0;
}

.status-indicator {
    font-size: 0.8rem;
}

.status-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.social-link {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.8rem 1.2rem;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(245, 200, 66, 0.12), rgba(245, 200, 66, 0.04));
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 500;
    border: 2px solid rgba(245, 200, 66, 0.2);
    min-width: 120px;
    text-align: center;
}

.social-link span {
    display: inline-block;
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

.social-link:hover {
    color: var(--primary-color);
    background: linear-gradient(135deg, rgba(245, 200, 66, 0.25), rgba(245, 200, 66, 0.15));
    border-color: rgba(245, 200, 66, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 200, 66, 0.2);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    text-align: center;
    color: var(--text-muted);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-info p {
    margin: 0.2rem 0;
    font-size: 0.9rem;
}

.design-credits .credit-link {
    color: var(--primary-color);
    text-decoration: none;
}

.design-credits .credit-link:hover {
    text-decoration: underline;
}

.footer-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.separator {
    color: var(--text-muted);
}

/* Flash Messages */
.flash-message {
    position: fixed;
    top: 100px;
    right: 2rem;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    z-index: 1001;
    animation: slideIn 0.3s ease-out;
    max-width: 400px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.flash-success {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    border: 1px solid #4CAF50;
}

.flash-error {
    background: linear-gradient(135deg, #f44336, #da190b);
    border: 1px solid #f44336;
}

.flash-warning {
    background: linear-gradient(135deg, #ff9800, #f57c00);
    border: 1px solid #ff9800;
}

.flash-info {
    background: linear-gradient(135deg, #2196F3, #1976D2);
    border: 1px solid #2196F3;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Loading States */
.loading {
    text-align: center;
    padding: 2rem;
    color: var(--text-secondary);
}

.loading::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
    margin-left: 0.5rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    .section-container {
        padding: 0 1rem;
    }
    
    .flash-message {
        right: 1rem;
        left: 1rem;
        max-width: none;
    }
    
    /* Footer responsivo */
    .footer {
        padding: 2rem 0 1.5rem;
        margin-top: 2rem;
    }
    
    .footer-container {
        padding: 0 1rem;
    }
    
    .footer-content {
        display: flex !important;
        flex-direction: column !important;
        gap: 2rem;
        margin-bottom: 2rem;
        width: 100%;
        max-width: 100%;
        grid-template-columns: none !important;
    }
    
    .footer-section {
        display: block !important;
        text-align: left;
        width: 100% !important;
        max-width: 100%;
        box-sizing: border-box;
        overflow-wrap: break-word;
        word-wrap: break-word;
        padding: 1.5rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        margin-bottom: 1rem;
        flex: none !important;
    }
    
    .footer-section:last-child {
        border-bottom: none;
        margin-bottom: 0;
    }
    
    .footer-section h3 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    /* Footer social en tablet */
    .footer-social {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 0.5rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .social-link {
        flex: 1 1 calc(50% - 0.25rem);
        min-width: 120px;
        padding: 0.8rem 0.6rem;
        font-size: 0.85rem;
        text-align: center;
        background: linear-gradient(135deg, rgba(245, 200, 66, 0.12), rgba(245, 200, 66, 0.04));
        border-radius: 10px;
        border: 1px solid rgba(245, 200, 66, 0.25);
        transition: all 0.3s ease;
        font-weight: 500;
    }
    
    .social-link:hover {
        background: linear-gradient(135deg, rgba(245, 200, 66, 0.2), rgba(245, 200, 66, 0.1));
        border-color: rgba(245, 200, 66, 0.4);
        transform: translateY(-1px);
    }
    
    .footer-bottom {
        padding-top: 1.5rem;
        font-size: 0.9rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }
}

@media (max-width: 480px) {
    body {
        overflow-x: hidden;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .card-content {
        padding: 1rem;
    }
    
    /* Footer en pantallas muy pequeñas */
    .footer {
        padding: 1.5rem 0 1rem;
        margin-top: 1.5rem;
        width: 100vw;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .footer-container {
        padding: 0 1rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .footer-content {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.5rem;
        margin-bottom: 1.5rem;
        width: 100%;
        max-width: 100%;
        grid-template-columns: none !important;
    }
    
    .footer-section {
        display: block !important;
        width: 100% !important;
        padding: 1rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        margin-bottom: 0.5rem;
        flex: none !important;
        box-sizing: border-box;
    }
    
    .footer-section:last-child {
        border-bottom: none;
        margin-bottom: 0;
    }
    
    .footer-section h3 {
        font-size: 1rem;
        margin-bottom: 1rem;
        color: var(--primary-color);
        font-weight: 600;
    }
    
    .footer-section p,
    .footer-section a {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 0.8rem;
    }
    
    .footer-section p:last-child {
        margin-bottom: 0;
    }
    
    /* Listas del footer en móvil */
    .footer-section ul {
        padding-left: 0;
        margin: 0;
    }
    
    .footer-section ul li {
        list-style: none;
        padding: 0.5rem 0;
        margin-bottom: 0.3rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .footer-section ul li:last-child {
        border-bottom: none;
        margin-bottom: 0;
    }
    
    .footer-section ul li a {
        display: block;
        padding: 0.7rem 0.5rem;
        border-radius: 6px;
        transition: all 0.3s ease;
        color: var(--text-secondary);
    }
    
    .footer-section ul li a:hover {
        background-color: rgba(245, 200, 66, 0.1);
    }
    
    /* Server status en móvil */
    .server-status {
        margin: 1.5rem 0;
        padding: 0.8rem;
        background: rgba(245, 200, 66, 0.05);
        border-radius: 8px;
        border: 1px solid rgba(245, 200, 66, 0.2);
    }
    
    /* Footer social en móvil */
    .footer-social {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
        margin-top: 1.5rem;
        justify-content: center;
    }
    
    .social-link {
        flex: 1 1 calc(50% - 0.5rem);
        min-width: 140px;
        max-width: calc(50% - 0.5rem);
        text-align: center;
        padding: 1rem 0.8rem;
        background: linear-gradient(135deg, rgba(245, 200, 66, 0.15), rgba(245, 200, 66, 0.05));
        border-radius: 12px;
        font-size: 0.9rem;
        font-weight: 500;
        color: var(--text-secondary);
        text-decoration: none;
        transition: all 0.3s ease;
        box-sizing: border-box;
        border: 2px solid rgba(245, 200, 66, 0.3);
        position: relative;
        overflow: hidden;
    }
    
    .social-link:hover {
        background: linear-gradient(135deg, rgba(245, 200, 66, 0.25), rgba(245, 200, 66, 0.15));
        border-color: rgba(245, 200, 66, 0.5);
        color: var(--primary-color);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(245, 200, 66, 0.2);
    }
    
    .social-link span {
        display: inline-block;
        margin-right: 0.5rem;
        font-size: 1.1rem;
    }
    
    .footer-bottom {
        padding-top: 1rem;
        font-size: 0.8rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-info p {
        margin: 0.3rem 0;
    }
    
    .footer-meta {
        font-size: 0.75rem;
    }
    
    /* Redes sociales optimizadas para pantallas muy pequeñas */
    .footer-social {
        gap: 1.2rem;
        margin-top: 2rem;
    }
    
    .social-link {
        flex: 1 1 calc(50% - 0.6rem);
        min-width: 130px;
        max-width: calc(50% - 0.6rem);
        padding: 1.2rem 1rem;
        font-size: 0.9rem;
        font-weight: 600;
        background: linear-gradient(135deg, rgba(245, 200, 66, 0.18), rgba(245, 200, 66, 0.08));
        border-radius: 14px;
        border: 2px solid rgba(245, 200, 66, 0.35);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    .social-link:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 16px rgba(245, 200, 66, 0.25);
        background: linear-gradient(135deg, rgba(245, 200, 66, 0.28), rgba(245, 200, 66, 0.18));
        border-color: rgba(245, 200, 66, 0.6);
    }
    
    .social-link span {
        font-size: 1.2rem;
        margin-right: 0.6rem;
    }
    
    /* Optimización específica para páginas de noticias en móvil */
    .news-body .footer,
    .news-single-body .footer {
        margin-top: 2rem;
        padding: 1.5rem 0 1rem;
    }
    
    .news-body .footer-section,
    .news-single-body .footer-section {
        margin-bottom: 1.5rem;
    }
    
    .news-body .footer-section:last-child,
    .news-single-body .footer-section:last-child {
        margin-bottom: 0;
    }
}

/* Utilidades */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

/* =================== ESTILOS PARA NOTICIAS =================== */

/* Body específicos para páginas de noticias */
.news-body,
.news-single-body {
    background: var(--gradient-bg);
}

/* Main content específico para páginas de noticias */
.news-body .main-content,
.news-single-body .main-content {
    margin-top: 80px;
    padding-top: 2rem;
}

/* Hero Section de Noticias */
.news-hero {
    padding: 4rem 0 2rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(245, 200, 66, 0.1) 0%, transparent 50%);
}

.news-hero .hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.news-hero .hero-title {
    margin-bottom: 2rem;
}

.news-hero .title-main {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary-color);
    display: block;
    text-shadow: 0 0 20px rgba(245, 200, 66, 0.5);
}

.news-hero .title-sub {
    font-size: 1.3rem;
    color: var(--text-secondary);
    font-weight: 400;
    display: block;
    margin-top: 0.5rem;
}

.search-result-info {
    background: rgba(26, 26, 26, 0.8);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    margin-top: 2rem;
}

.result-count {
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 0.5rem;
}

/* Breadcrumb */
.breadcrumb {
    background: rgba(26, 26, 26, 0.5);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
}

.breadcrumb-list li:not(:last-child)::after {
    content: '→';
    margin-left: 0.5rem;
    color: var(--text-muted);
}

.breadcrumb-list a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb-list a:hover {
    color: var(--primary-color);
}

.breadcrumb-list .active {
    color: var(--primary-color);
    font-weight: 600;
}

/* Filtros de Noticias */
.news-filters {
    padding: 2rem 0;
    background: rgba(26, 26, 26, 0.3);
    border-bottom: 1px solid var(--border-color);
}

.filters-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.search-filter {
    display: flex;
    justify-content: center;
}

.search-form {
    width: 100%;
    max-width: 600px;
}

.search-input-group {
    display: flex;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.search-input-group:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(245, 200, 66, 0.3);
}

.search-input {
    flex: 1;
    padding: 1rem;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1rem;
    outline: none;
}

.search-input::placeholder {
    color: var(--text-muted);
}

.search-btn {
    padding: 1rem 1.5rem;
    background: var(--golden-gradient);
    border: none;
    color: var(--dark-bg);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

.search-btn:hover {
    background: linear-gradient(135deg, #f4d465 0%, #f5c842 100%);
}

.category-filters {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    background: var(--card-bg);
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 25px;
    border: 2px solid var(--border-color);
    transition: var(--transition);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: var(--dark-bg);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(245, 200, 66, 0.3);
}

.filter-count {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.additional-filters {
    display: flex;
    justify-content: center;
}

.filter-toggle {
    padding: 0.8rem 1.5rem;
    background: transparent;
    color: var(--text-secondary);
    text-decoration: none;
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    transition: var(--transition);
    font-weight: 500;
}

.filter-toggle:hover,
.filter-toggle.active {
    background: rgba(245, 200, 66, 0.1);
    color: var(--primary-color);
    border-color: var(--primary-color);
    border-style: solid;
}

/* Grid de Noticias */
.news-grid-section {
    padding: 3rem 0;
}

.results-info {
    margin-bottom: 2rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.news-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    border: 1px solid rgba(245, 200, 66, 0.1);
    position: relative;
    opacity: 0;
    transform: translateY(30px);
}

.news-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(245, 200, 66, 0.3);
}

.news-card.featured {
    border-color: var(--primary-color);
    box-shadow: 0 0 30px rgba(245, 200, 66, 0.2);
}

.featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--golden-gradient);
    color: var(--dark-bg);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(245, 200, 66, 0.3);
}

.card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

.news-card:hover .card-image img {
    transform: scale(1.1);
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--border-color), var(--card-bg-hover));
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-icon {
    font-size: 3rem;
    color: var(--text-muted);
}

.card-overlay {
    position: absolute;
    top: 1rem;
    left: 1rem;
}

.category-badge {
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-gaming {
    background: linear-gradient(135deg, #e91e63, #c2185b);
    color: white;
}

.category-reviews {
    background: linear-gradient(135deg, #2196F3, #1976D2);
    color: white;
}

.category-updates {
    background: linear-gradient(135deg, #4CAF50, #388e3c);
    color: white;
}

.category-news {
    background: linear-gradient(135deg, #ff9800, #f57c00);
    color: white;
}

.card-content {
    padding: 1.5rem;
}

.card-title {
    margin-bottom: 1rem;
}

.card-title a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.3;
    transition: var(--transition);
}

.card-title a:hover {
    color: #f4d465;
}

.card-excerpt {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    margin-bottom: 1rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.meta-icon {
    font-size: 0.9rem;
}

.card-actions {
    display: flex;
    justify-content: flex-end;
}

.btn-sm {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
}

/* Paginación */
.pagination-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pagination-btn,
.pagination-number {
    padding: 0.8rem 1.2rem;
    background: var(--card-bg);
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    font-weight: 500;
}

.pagination-btn:hover,
.pagination-number:hover {
    background: var(--card-bg-hover);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.pagination-number.active {
    background: var(--golden-gradient);
    color: var(--dark-bg);
    border-color: var(--primary-color);
}

.pagination-ellipsis {
    padding: 0.8rem 0.5rem;
    color: var(--text-muted);
}

.pagination-info {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Estados vacíos */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-secondary);
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state h2,
.empty-state h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.empty-actions {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Error container */
.error-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    padding: 2rem;
}

.error-content {
    text-align: center;
    max-width: 500px;
}

.error-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.error-content h1 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.error-actions {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Artículo Individual */
.news-article {
    padding: 2rem 0;
}

.article-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.article-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin: 1.5rem 0;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(245, 200, 66, 0.3);
}

.article-excerpt {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
    font-style: italic;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.article-image {
    margin: 3rem 0;
    text-align: center;
}

.article-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-card);
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    padding: 2rem 0;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-footer {
    max-width: 800px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.article-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background: rgba(245, 200, 66, 0.1);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
    border: 1px solid rgba(245, 200, 66, 0.3);
}

.article-actions {
    display: flex;
    gap: 0.5rem;
}

/* Noticias Relacionadas */
.related-news {
    background: rgba(26, 26, 26, 0.5);
    padding: 3rem 0;
    border-top: 1px solid var(--border-color);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.related-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.related-card:hover {
    transform: translateY(-5px);
    border-color: rgba(245, 200, 66, 0.3);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.related-image {
    height: 150px;
    overflow: hidden;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.related-content {
    padding: 1.5rem;
}

.related-title a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    line-height: 1.3;
    transition: var(--transition);
}

.related-title a:hover {
    color: var(--primary-color);
}

.related-excerpt {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0.8rem 0;
}

.related-date {
    color: var(--text-muted);
    font-size: 0.8rem;
}

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

/* Alertas y mensajes */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.alert-error {
    background: rgba(244, 67, 54, 0.1);
    color: #f44336;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

.alert-success {
    background: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.alert-icon {
    font-size: 1.2rem;
}

/* Responsivo para noticias */
@media (max-width: 768px) {
    .news-hero .title-main {
        font-size: 2.5rem;
    }
    
    .news-hero .title-sub {
        font-size: 1.1rem;
    }
    
    .filters-wrapper {
        gap: 1rem;
    }
    
    .category-filters {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .article-title {
        font-size: 2rem;
    }
    
    .article-excerpt {
        font-size: 1.1rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .article-footer {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .pagination {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .search-form {
        padding: 0 1rem;
    }
    
    /* Footer en páginas de noticias - móvil */
    .news-body .footer,
    .news-single-body .footer {
        margin-top: 2rem;
        padding: 2rem 0 1.5rem;
    }
    
    .news-body .footer-container,
    .news-single-body .footer-container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .news-hero .title-main {
        font-size: 2rem;
    }
    
    .article-title {
        font-size: 1.8rem;
    }
    
    .article-content {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .card-content {
        padding: 1rem;
    }
    
    .related-content {
        padding: 1rem;
    }
    
    /* Footer en páginas de noticias - pantalla pequeña */
    .news-body .footer,
    .news-single-body .footer {
        margin-top: 1rem;
        padding: 1.5rem 0 1rem;
    }
}