/* ===== VARIABLES & RESET (MINIMALIST & FUTURISTIC) ===== */
:root {
    /* Colors - Univalle Institutional Palette (Precise Codes) */
    --primary: #C20E1A;
    /* Rojo Principal Univalle */
    --primary-dark: #841F1C;
    /* Rojo Funcional (Oscuro) */
    --primary-light: #FFEBEC;
    /* Soft Red Accent */

    /* Secondary Colors (Digital Reference) */
    --accent-yellow: #DC911B;
    --accent-green: #A2C037;
    --accent-teal: #599876;
    --accent-blue: #1D5AA2;
    /* Correcting from RD5AA2 */

    /* Neutrals - High Performance UI */
    --background: #F8FAFC;
    /* Clean Cool Gray */
    --surface: #FFFFFF;
    --border: #E2E8F0;
    /* Subtle Border */
    --text-main: #0F172A;
    /* Slate 900 */
    --text-light: #64748B;
    /* Slate 500 */

    /* Neon/Futuristic Touches */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glow: 0 0 15px rgba(194, 14, 26, 0.15);

    /* Typography - Inter/System UI (Modern & Clean) */
    --font-title: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* Spacing & Radius (Fluid & Soft) */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    /* Shadows (Minimalistic & Deep) */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
    --shadow-hover: 0 25px 50px -12px rgba(194, 14, 26, 0.12);

    /* Transitions (Smooth / Easing) */
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    font-family: var(--font-body);
    background-color: var(--background);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

/* ===== HEADER (Clean & Minimalist) ===== */
.header {
    background: var(--surface);
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
    gap: 2.5rem;
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.header::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(194, 14, 26, 0.03) 0%, transparent 70%);
    z-index: 0;
}

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

.header-logo {
    height: 100px;
    width: auto;
    object-fit: contain;
    z-index: 1;
}

.header-content {
    flex: 1;
    z-index: 1;
}

h1 {
    font-family: var(--font-title);
    font-size: 1.75rem;
    font-weight: 700;
    color: #e82f3a;
    line-height: 1.2;
    margin-bottom: 0.25rem;
}

.subtitle {
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 400;
}

/* ===== VIEW TOGGLE ===== */
.view-toggle {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.toggle-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.toggle-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.toggle-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

/* ===== FILTER TOOLBAR (Futuristic Glassmorphism) ===== */
.filter-toolbar {
    position: sticky;
    top: 1rem;
    z-index: 100;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    margin-bottom: 2.5rem;
    padding: 0.85rem 1.25rem;
    transition: var(--transition);
}

.filter-toolbar:hover {
    box-shadow: var(--shadow-hover);
}

.toolbar-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.filter-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    flex: 0 1 auto;
}

.pill-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    max-width: 100%;
    align-items: center;
}

.filter-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-light);
    white-space: nowrap;
}

.filter-select {
    padding: 0.38rem 2rem 0.38rem 0.75rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-full);
    background: var(--surface);
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--text-main);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.65rem center;
}

.filter-select:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: var(--glow);
}

/* Icon Button (Minimalist - Clear Filters) */
.icon-btn {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

.icon-btn:hover {
    background: #FEF2F2;
    color: var(--primary);
    border-color: var(--primary-light);
    transform: rotate(15deg) scale(1.1);
    box-shadow: 0 0 15px rgba(194, 14, 26, 0.1);
}

/* ===== PILLS (Minimalist & Clean) ===== */
.hide-element {
    display: none !important;
}

/* Responsive */
@media (max-width: 768px) {
    .toolbar-container {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .filter-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.35rem;
    }

    .icon-btn {
        margin-top: 0;
        width: 38px;
        height: 38px;
    }
}

/* ===== EVENTS GRID & CARDS ===== */
.events-section {
    display: block;
    /* Default visible */
}

.events-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.events-count {
    background: var(--primary-light);
    color: var(--primary);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
}

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

.event-card {
    background: var(--surface);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
    height: 100%;
    box-shadow: var(--shadow-md);
}

.event-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

/* ===== NO-IMAGE BANNER (events without uploaded image) ===== */
.event-no-image-banner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #C20E1A 0%, #5A0008 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    text-align: center;
}

.event-no-image-banner span {
    font-family: var(--font-title);
    font-size: clamp(1rem, 3vw, 1.6rem);
    font-weight: 800;
    color: white;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Modal no-image banner */
.modal-no-image-banner {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #C20E1A 0%, #5A0008 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
}

.modal-no-image-banner span {
    font-family: var(--font-title);
    font-size: clamp(1.4rem, 4vw, 2.5rem);
    font-weight: 900;
    color: white;
    line-height: 1.15;
    text-shadow: 0 3px 16px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.03em;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-image-container {
    position: relative;
    padding-top: 56%;
    overflow: hidden;
    background-color: #1a1a2e;
}

.event-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.event-content {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.5rem;
}

.event-category {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary);
}

.event-category.high-priority {
    color: #D97706;
    /* Amber for warnings */
}

.event-title {
    font-family: var(--font-title);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.4;
    margin: 0;
    /* Limit to 2 lines */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    /* Standard property */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-meta-compact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: auto;
    /* Push to bottom */
    padding-top: 0.75rem;
}

.event-meta-compact svg {
    width: 16px;
    height: 16px;
}

.card-hover-hint {
    position: absolute;
    bottom: 1.25rem;
    right: 1.25rem;
    background: var(--surface);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    border: 1px solid var(--primary-light);
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    z-index: 2;
}

.event-card:hover .card-hover-hint {
    opacity: 1;
    transform: translateY(0);
}

/* ===== CALENDAR VIEW ===== */
.calendar-section {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.calendar-nav {
    background: none;
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-light);
    transition: var(--transition);
}

.calendar-nav:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.calendar-day {
    background: white;
    min-height: 120px;
    padding: 0.5rem;
    position: relative;
    transition: background-color 0.2s;
}

.calendar-day:hover {
    background-color: #F8FAFC;
}

.calendar-day.empty {
    background-color: #F1F5F9;
}

.calendar-day.today {
    background-color: #FEF2F2;
}

.day-number {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.day-number.today {
    color: var(--primary);
}

.event-marker {
    height: 6px;
    width: 6px;
    background-color: var(--primary);
    border-radius: 50%;
    margin-bottom: 2px;
    display: inline-block;
    margin-right: 2px;
}

.event-marker.high-priority {
    background-color: #D97706;
}

/* ===== MODAL (Futuristic & Sophisticated) ===== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
}

.modal-content {
    background-color: rgba(255, 255, 255, 0.95);
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
    position: relative;
    animation: modalScaleUp 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalScaleUp {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    color: var(--text-main);
}

.modal-close:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: rotate(90deg) scale(1.1);
}

.modal-header-image-container {
    width: 100%;
    height: 350px;
    overflow: hidden;
    background: var(--background);
}

.modal-header-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.modal-content:hover .modal-header-image {
    transform: scale(1.02);
}

.modal-body {
    padding: 2rem;
}

.modal-info-header {
    margin-bottom: 2rem;
}

.modal-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #FEF2F2;
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 6px;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.modal-description-quick {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-main);
    border-left: 4px solid var(--primary);
    padding-left: 1.5rem;
    margin-bottom: 2.5rem;
    font-weight: 500;
}

/* Detailed Grid */
.modal-detailed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.modal-detail-box {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.detail-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.modal-detail-box:hover .detail-icon {
    background: var(--primary);
    color: white;
    transform: rotate(-5deg) scale(1.1);
}

.detail-info {
    display: flex;
    flex-direction: column;
}

.detail-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-light);
    letter-spacing: 0.5px;
    margin-bottom: 0.15rem;
}

.detail-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.4;
}

/* Footer Actions */
.modal-footer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid transparent;
}

.action-btn.primary {
    background: var(--primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.action-btn.primary:hover {
    background: var(--primary-dark);
    box-shadow: var(--glow);
    transform: translateY(-2px);
}

.action-btn.primary:hover {
    background: var(--primary-dark);
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0px 0px rgba(0, 0, 0, 1);
}

.action-btn.secondary {
    background: white;
    color: var(--text-main);
}

.action-btn.secondary:hover {
    background: var(--background);
    color: var(--primary);
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0px 0px rgba(0, 0, 0, 1);
}

/* ===== LOADING & ERROR ===== */
.loading,
.error,
.no-events {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.loading-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

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

    100% {
        transform: rotate(360deg);
    }
}

/* ===== FOOTER REDISEÑADO ===== */
.site-footer {
    background: #0F172A;
    color: white;
    padding: 0;
    margin-top: 5rem;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, #E85D04 50%, var(--primary) 100%);
}

.footer-main {
    max-width: 1280px;
    margin: 0 auto;
    padding: 4rem 2.5rem 3rem;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-brand img {
    height: 52px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-info h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: white;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.footer-info p {
    color: #94A3B8;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
    line-height: 1.5;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.footer-contact a {
    color: #CBD5E1;
    text-decoration: none;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.2s;
}

.footer-contact a:hover {
    color: white;
}

.footer-links h4,
.footer-social h4 {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin-bottom: 1.25rem;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-links a {
    color: #CBD5E1;
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.25s;
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

.social-icons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.06);
    color: #CBD5E1;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    text-decoration: none;
    font-size: 1.15rem;
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(194, 14, 26, 0.35);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.25rem 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: #64748B;
    text-align: center;
}

.footer-info h3 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    color: white;
    letter-spacing: -0.5px;
}

.footer-info p {
    color: #94A3B8;
    /* Slate 400 */
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.footer-links h4,
.footer-social h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
    display: block;
}

.footer-links a {
    color: #CBD5E1;
    /* Slate 300 */
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    transform: translateX(8px);
}

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

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--glow);
}

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

/* ===== RESPONSIVE UTILS ===== */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

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

    .filter-group:nth-child(n) {
        grid-column: span 1;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-links h4,
    .footer-social h4 {
        margin: 0 auto 1.25rem;
    }

    .footer-links a {
        justify-content: center;
    }

    .social-icons {
        justify-content: center;
    }
}

/* ===== SKELETON LOADING (Futuristic Shimmer) ===== */
.skeleton-card {
    background: var(--surface);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
    height: 400px;
    display: flex;
    flex-direction: column;
}

.skeleton-img {
    width: 100%;
    height: 180px;
    background: linear-gradient(90deg, #F1F5F9 25%, #E2E8F0 50%, #F1F5F9 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

.skeleton-text {
    height: 12px;
    margin: 1.25rem;
    background: linear-gradient(90deg, #F1F5F9 25%, #E2E8F0 50%, #F1F5F9 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
}

.skeleton-text.title {
    height: 20px;
    width: 70%;
}

.skeleton-text.short {
    width: 40%;
}

.skeleton-footer {
    margin-top: auto;
    height: 50px;
    background: #F8FAFC;
    border-top: 1px solid var(--border);
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

@media (max-width: 768px) {
    .hide-mobile {
        display: none !important;
    }
}