/* ========================================
   ARCHIVE ACARA - MODERN PREMIUM CSS
   Updated: Improved Grid & Timeline Layout
======================================== */

:root {
    --primary-color: #c9302c;
    --secondary-color: #f39c12;
    --text-primary: #1a1a2e;
    --text-secondary: #6c757d;
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --border-color: #e9ecef;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
}

[data-theme="dark"] {
    --text-primary: #ffffff;
    --text-secondary: #a0aec0;
    --bg-primary: #1a1a2e;
    --bg-secondary: #16213e;
    --border-color: #2d3748;
}

/* ========================================
   MODERN PREMIUM PAGE HEADER
======================================== */
.modern-acara-header {
    position: relative;
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    overflow: hidden;
}

[data-theme="dark"] .modern-acara-header {
    background: linear-gradient(135deg, #16213e 0%, #1a1a2e 100%);
}

.header-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(201, 48, 44, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(243, 156, 18, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.header-content-wrapper {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

/* Breadcrumb */
.header-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(201, 48, 44, 0.1);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 2rem;
    transition: var(--transition);
}

.header-breadcrumb:hover {
    background: rgba(201, 48, 44, 0.15);
    transform: translateY(-2px);
}

.header-breadcrumb a {
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.header-breadcrumb a:hover {
    color: var(--secondary-color);
}

.breadcrumb-separator {
    color: var(--text-secondary);
    opacity: 0.5;
}

.breadcrumb-current {
    color: var(--text-primary);
    font-weight: 600;
}

/* Header Main Content */
.header-main-content {
    margin-bottom: 3rem;
}

.header-icon-badge {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #c9302c 0%, #f39c12 100%);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: 
        0 10px 30px rgba(201, 48, 44, 0.25),
        0 0 0 8px rgba(201, 48, 44, 0.1);
    transition: transform 0.3s ease;
}

.header-icon-badge:hover {
    transform: scale(1.05);
}

.modern-page-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #c9302c 0%, #f39c12 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.modern-page-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
}

/* Quick Stats */
.header-quick-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(201, 48, 44, 0.1);
    box-shadow: var(--shadow-md);
}

[data-theme="dark"] .header-quick-stats {
    background: rgba(22, 33, 62, 0.8);
    border-color: rgba(201, 48, 44, 0.2);
}

.quick-stat-card {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-icon-mini {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(201, 48, 44, 0.1) 0%, rgba(243, 156, 18, 0.1) 100%);
    border-radius: var(--radius-md);
    color: var(--primary-color);
    font-size: 1.25rem;
}

.stat-info {
    text-align: left;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-top: 0.25rem;
}

.quick-stat-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, var(--border-color), transparent);
}

/* ========================================
   FILTER SECTION
======================================== */
.modern-filter-section {
    padding: 2rem 0;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    /* Removed sticky positioning */
    position: relative;
    z-index: 10;
}

.filter-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Search */
.filter-search-wrapper {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

.search-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 1.25rem;
    color: var(--text-secondary);
    font-size: 1rem;
}

.modern-search-input {
    width: 100%;
    padding: 1rem 3rem 1rem 3rem;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    font-size: 1rem;
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: var(--transition);
}

.modern-search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(201, 48, 44, 0.1);
}

.search-clear-btn {
    position: absolute;
    right: 1rem;
    width: 32px;
    height: 32px;
    border: none;
    background: var(--bg-secondary);
    border-radius: 50%;
    cursor: pointer;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.search-clear-btn:hover {
    background: var(--primary-color);
    color: white;
}

/* Filter Controls */
.filter-controls-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.filter-control-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.control-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.875rem;
}

.control-label i {
    color: var(--primary-color);
}

/* Category Chips */
.category-chips-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.chip-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--bg-secondary);
    border: 2px solid transparent;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.chip-button:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.chip-button.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.chip-badge {
    background: rgba(0, 0, 0, 0.1);
    padding: 0.125rem 0.5rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.chip-button.active .chip-badge {
    background: rgba(255, 255, 255, 0.2);
}

/* Filters Row */
.filters-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: flex-end;
}

.filter-select-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 180px;
    flex: 1;
}

.select-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modern-select {
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.9375rem;
    background: var(--bg-primary);
    color: var(--text-primary);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%236c757d' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    transition: var(--transition);
}

.modern-select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.reset-filters-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: transparent;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.reset-filters-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(201, 48, 44, 0.05);
}

/* ========================================
   RESULTS INFO & VIEW TOGGLE
======================================== */
.results-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem 1.5rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
}

.results-text {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.results-text strong {
    color: var(--primary-color);
    font-weight: 700;
}

.view-toggle {
    display: flex;
    gap: 0.5rem;
    background: var(--bg-primary);
    padding: 0.25rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

.view-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 6px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.view-btn:hover {
    background: rgba(201, 48, 44, 0.1);
    color: var(--primary-color);
}

.view-btn.active {
    background: var(--primary-color);
    color: white;
}

/* ========================================
   ACARA GRID - GRID VIEW
======================================== */
.acara-section {
    padding: 3rem 0;
    background: var(--bg-secondary);
    min-height: 50vh;
}

.acara-grid {
    display: grid;
    gap: 2rem;
}

.acara-grid.grid-view {
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
}

/* ========================================
   ACARA GRID - TIMELINE VIEW
======================================== */
.acara-grid.timeline-view {
    grid-template-columns: 1fr;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.acara-grid.timeline-view::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.acara-grid.timeline-view .acara-card-wrapper {
    position: relative;
    padding-left: 60px;
}

.acara-grid.timeline-view .acara-card-wrapper::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 30px;
    width: 20px;
    height: 20px;
    background: var(--bg-primary);
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    z-index: 2;
}

.acara-grid.timeline-view .acara-card-wrapper::after {
    content: '';
    position: absolute;
    left: 32px;
    top: 38px;
    width: 20px;
    height: 3px;
    background: var(--primary-color);
}

.acara-grid.timeline-view .modern-acara-card {
    flex-direction: row;
    min-height: auto;
}

.acara-grid.timeline-view .acara-card-image {
    width: 280px;
    min-width: 280px;
    padding-top: 0;
    height: 200px;
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

.acara-grid.timeline-view .acara-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.acara-grid.timeline-view .acara-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.acara-grid.timeline-view .acara-card-footer {
    border-top: none;
    border-left: 1px solid var(--border-color);
    flex-direction: column;
    justify-content: center;
    padding: 1rem 1.5rem;
    min-width: 180px;
}

/* ========================================
   MODERN ACARA CARD
======================================== */
.modern-acara-card {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.modern-acara-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(201, 48, 44, 0.2);
}

/* Status border accent */
.modern-acara-card.status-upcoming {
    border-top: 4px solid #3498db;
}

.modern-acara-card.status-ongoing {
    border-top: 4px solid #2ecc71;
}

.modern-acara-card.status-completed {
    border-top: 4px solid #95a5a6;
}

.modern-acara-card.status-cancelled {
    border-top: 4px solid #e74c3c;
}

/* Card Image */
.acara-card-image {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
    background: var(--bg-secondary);
}

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

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

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, transparent 40%, rgba(0,0,0,0.4) 100%);
}

/* Badges */
.status-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.875rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.status-badge.status-upcoming {
    background: rgba(52, 152, 219, 0.95);
    color: white;
}

.status-badge.status-ongoing {
    background: rgba(46, 204, 113, 0.95);
    color: white;
}

.status-badge.status-completed {
    background: rgba(149, 165, 166, 0.95);
    color: white;
}

.status-badge.status-cancelled {
    background: rgba(231, 76, 60, 0.95);
    color: white;
}

.category-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.875rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

/* Card Body */
.acara-card-body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

/* Date & Time Header */
.acara-datetime-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* Date Display - Improved */
.acara-date-display {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.5rem 0.875rem;
    background: linear-gradient(135deg, rgba(201, 48, 44, 0.08) 0%, rgba(243, 156, 18, 0.08) 100%);
    border-left: 3px solid var(--primary-color);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.date-day {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1;
    color: var(--primary-color);
}

.date-month-year {
    display: flex;
    flex-direction: column;
}

.date-month-year .month {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.date-month-year .year {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
}

/* Time Badge */
.acara-time-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    background: var(--bg-secondary);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.acara-time-badge i {
    color: var(--primary-color);
    font-size: 0.6875rem;
}

/* Title */
.acara-title {
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
}

.acara-title a {
    color: var(--text-primary);
    transition: color 0.3s ease;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

/* Excerpt */
.acara-excerpt {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Detail List - NEW */
.acara-detail-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: auto;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    padding: 0.5rem 0.625rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.detail-item:hover {
    background: linear-gradient(135deg, rgba(201, 48, 44, 0.05) 0%, rgba(243, 156, 18, 0.05) 100%);
}

.detail-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(201, 48, 44, 0.1) 0%, rgba(243, 156, 18, 0.1) 100%);
    border-radius: 6px;
    color: var(--primary-color);
    font-size: 0.75rem;
}

.detail-content {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.detail-label {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    line-height: 1;
    margin-bottom: 2px;
}

.detail-value {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Price Badge - NEW */
.acara-price-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 700;
    margin-top: 0.5rem;
    width: fit-content;
}

.acara-price-badge.free {
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.15) 0%, rgba(39, 174, 96, 0.15) 100%);
    color: #27ae60;
    border: 1px solid rgba(46, 204, 113, 0.3);
}

.acara-price-badge.paid {
    background: linear-gradient(135deg, rgba(241, 196, 15, 0.15) 0%, rgba(243, 156, 18, 0.15) 100%);
    color: #d68910;
    border: 1px solid rgba(243, 156, 18, 0.3);
}

.acara-price-badge i {
    font-size: 0.75rem;
}

/* Old Meta Grid - Keep for backward compatibility */
.acara-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin-top: auto;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--text-secondary);
    padding: 0.5rem 0.625rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
}

.meta-item i {
    color: var(--primary-color);
    font-size: 0.75rem;
    width: 14px;
    text-align: center;
}

.meta-item span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.meta-item.meta-highlight {
    background: linear-gradient(135deg, rgba(201, 48, 44, 0.1) 0%, rgba(243, 156, 18, 0.1) 100%);
    color: var(--primary-color);
    font-weight: 600;
}

/* Card Footer */
.acara-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.875rem 1.25rem;
    border-top: 1px solid var(--border-color);
    background: var(--bg-secondary);
    gap: 0.75rem;
    flex-wrap: wrap;
}

.organizer-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--text-secondary);
    max-width: 60%;
    overflow: hidden;
}

.organizer-info i {
    color: var(--primary-color);
    font-size: 0.75rem;
}

.organizer-info span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.btn-register,
.btn-gallery,
.btn-detail {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-register {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4);
    color: white;
}

.btn-gallery {
    background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
    color: white;
}

.btn-gallery:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(155, 89, 182, 0.4);
    color: white;
}

.btn-detail {
    background: linear-gradient(135deg, var(--primary-color) 0%, #a52a2a 100%);
    color: white;
}

.btn-detail:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(201, 48, 44, 0.4);
    color: white;
}

/* ========================================
   EMPTY STATES
======================================== */
.no-acara-found,
.no-results-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    border: 2px dashed var(--border-color);
}

.empty-state-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border-radius: 50%;
    font-size: 2rem;
    color: var(--text-secondary);
}

.no-acara-found h3,
.no-results-message h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.no-acara-found p,
.no-results-message p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.btn-reset-inline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-reset-inline:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(201, 48, 44, 0.3);
}

/* ========================================
   CTA SECTION
======================================== */
.acara-cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #a52a2a 100%);
    position: relative;
    overflow: hidden;
}

.acara-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.cta-content-wrapper {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.cta-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.cta-buttons-group {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-cta-modern {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.btn-cta-modern.btn-primary {
    background: white;
    color: var(--primary-color);
}

.btn-cta-modern.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn-cta-modern.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-cta-modern.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */
@media (max-width: 1200px) {
    .acara-grid.grid-view {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 992px) {
    .modern-acara-header {
        padding: 120px 0 60px;
    }
    
    .acara-grid.timeline-view .modern-acara-card {
        flex-direction: column;
    }
    
    .acara-grid.timeline-view .acara-card-image {
        width: 100%;
        height: auto;
        padding-top: 56.25%;
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    }
    
    .acara-grid.timeline-view .acara-card-footer {
        border-left: none;
        border-top: 1px solid var(--border-color);
        flex-direction: row;
        min-width: auto;
    }
}

@media (max-width: 768px) {
    .modern-acara-header {
        padding: 100px 0 50px;
    }
    
    .header-quick-stats {
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .quick-stat-divider {
        display: none;
    }
    
    .quick-stat-card {
        flex: 1 1 calc(50% - 0.5rem);
        justify-content: center;
    }
    
    .modern-filter-section {
        position: relative;
        top: 0;
    }
    
    .filters-row {
        flex-direction: column;
    }
    
    .filter-select-wrapper {
        width: 100%;
    }
    
    .acara-grid.grid-view {
        grid-template-columns: 1fr;
    }
    
    .acara-grid.timeline-view::before {
        left: 10px;
    }
    
    .acara-grid.timeline-view .acara-card-wrapper {
        padding-left: 40px;
    }
    
    .acara-grid.timeline-view .acara-card-wrapper::before {
        left: 2px;
        width: 16px;
        height: 16px;
    }
    
    .acara-grid.timeline-view .acara-card-wrapper::after {
        left: 18px;
        width: 14px;
    }
    
    .acara-meta-grid {
        grid-template-columns: 1fr;
    }
    
    /* Detail List Mobile */
    .acara-datetime-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .acara-time-badge {
        margin-top: 0.25rem;
    }
    
    .detail-item {
        padding: 0.625rem;
    }
    
    .detail-icon {
        width: 32px;
        height: 32px;
        min-width: 32px;
    }
    
    .organizer-info {
        max-width: 100%;
        justify-content: center;
    }
    
    .acara-card-footer {
        flex-direction: column;
        text-align: center;
    }
    
    .action-buttons {
        justify-content: center;
        width: 100%;
    }
    
    .results-info {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .modern-page-title {
        font-size: 2rem;
    }
    
    .header-icon-badge {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .category-chips-container {
        justify-content: center;
    }
    
    .chip-button {
        font-size: 0.8125rem;
        padding: 0.4rem 0.75rem;
    }
    
    .acara-card-body {
        padding: 1.25rem;
    }
    
    .acara-title {
        font-size: 1.125rem;
    }
    
    .cta-buttons-group {
        flex-direction: column;
    }
    
    .btn-cta-modern {
        width: 100%;
        justify-content: center;
    }
}

/* ========================================
   ANIMATIONS
======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.acara-card-wrapper {
    animation: fadeInUp 0.5s ease forwards;
}

/* Skeleton Loading (optional) */
.skeleton {
    background: linear-gradient(90deg, var(--bg-secondary) 25%, #e8e8e8 50%, var(--bg-secondary) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Print Styles */
@media print {
    .modern-filter-section,
    .view-toggle,
    .acara-cta-section,
    .action-buttons {
        display: none !important;
    }
    
    .acara-grid {
        display: block;
    }
    
    .modern-acara-card {
        break-inside: avoid;
        margin-bottom: 1rem;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}