/* ================================
   CSS VARIABLES
   ================================ */

:root {
    --brand-primary: #ec4899;
    --brand-dark: #db2777;
    --brand-glow: rgba(236, 72, 153, 0.5);

    --bg-body: #000000;
    --bg-card: #0f172a;
    --bg-card-hover: #1e293b;

    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
    --text-white: #ffffff;

    --border-light: rgba(255, 255, 255, 0.1);
    --radius-lg: 16px;
    --font-main: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-body);
    background-image: radial-gradient(circle at top left, #331020, #000000 40%);
    color: var(--text-main);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hidden {
    display: none !important;
}

/* ================================
   NAVIGATION
   ================================ */

.navbar {
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-white);
    text-decoration: none;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: var(--brand-dark);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.wishlist-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(236, 72, 153, 0.1);
    border: 1px solid rgba(236, 72, 153, 0.3);
    border-radius: 8px;
    color: var(--brand-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.wishlist-icon:hover {
    background: rgba(236, 72, 153, 0.2);
    border-color: var(--brand-primary);
    transform: scale(1.05);
}

.wishlist-count {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--brand-primary);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    border: 2px solid var(--bg-body);
}

.links
{
    display: flex;
    gap: 50px;
}
.nav-link:hover,
.nav-link.active {
    color: var(--brand-primary);
}

.btn-nav-signin {
    background: var(--brand-dark);
    color: var(--text-white);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(219, 39, 119, 0.4);
    border: none;
    cursor: pointer;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    font-size: 0.95rem;
    height: 40px;
    min-width: max-content;
}

.btn-nav-signin:hover {
    background: var(--brand-primary);
    box-shadow: 0 6px 20px rgba(236, 72, 153, 0.5);
}

/* ================================
   PAGE LAYOUT
   ================================ */

.page-header {
    padding: 40px 0 20px;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 30px;
}

.page-title {
    font-size: 2rem;
    color: var(--text-white);
    font-weight: 700;
}

.page-subtitle {
    color: var(--text-muted);
    margin-top: 5px;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    padding-bottom: 60px;
}

/* ================================
   FILTER SIDEBAR
   ================================ */

.filter-sidebar {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 25px;
    position: sticky;
    top: 90px;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
}

.filter-sidebar::-webkit-scrollbar {
    width: 6px;
}

.filter-sidebar::-webkit-scrollbar-track {
    background: var(--bg-card);
}

.filter-sidebar::-webkit-scrollbar-thumb {
    background: var(--bg-card-hover);
    border-radius: 3px;
}

.filter-sidebar::-webkit-scrollbar-thumb:hover {
    background: var(--brand-primary);
}

.filter-group {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border-light);
}

.filter-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.filter-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 15px;
}

.search-input {
    width: 100%;
    padding: 10px 15px;
    background: var(--bg-card-hover);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    color: white;
    outline: none;
}

.search-input:focus {
    border-color: var(--brand-primary);
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.9rem;
}

.checkbox-label input {
    accent-color: var(--brand-primary);
}

.price-range-inputs {
    display: flex;
    gap: 10px;
    align-items: center;
}

.price-input {
    width: 100%;
    background: var(--bg-card-hover);
    border: 1px solid var(--border-light);
    color: white;
    padding: 5px 10px;
    border-radius: 6px;
}

.btn-apply {
    width: 100%;
    background: var(--brand-dark);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.3s;
}

.btn-apply:hover {
    background: var(--brand-primary);
}

/* ================================
   EVENTS GRID & CARDS
   ================================ */

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

.event-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.event-card:hover {
    transform: translateY(-5px);
    border-color: var(--brand-dark);
    box-shadow: 0 10px 30px -10px rgba(236, 72, 153, 0.3);
}

.card-img-wrapper {
    position: relative;
    height: 180px;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid var(--border-light);
}

.favorite-btn {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    border: 1px solid var(--border-light);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    z-index: 10;
}

.favorite-btn:hover {
    background: rgba(236, 72, 153, 0.9);
    border-color: var(--brand-primary);
    transform: scale(1.1);
}

.favorite-btn i.fa-solid {
    color: var(--brand-primary);
}

.favorite-btn i.fa-regular {
    color: white;
}

@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.3); }
    50% { transform: scale(1.1); }
}

.card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* removed card-actions: review now in footer */

.btn-review {
    background: rgba(236, 72, 153, 0.12);
    color: var(--brand-primary);
    border: 1px solid rgba(236, 72, 153, 0.3);
    padding: 8px 12px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.25s ease;
}

.btn-review:hover {
    background: rgba(236, 72, 153, 0.2);
    border-color: var(--brand-primary);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(236, 72, 153, 0.25);
}

.event-meta {
    font-size: 0.85rem;
    color: var(--brand-primary);
    font-weight: 600;
    margin-bottom: 5px;
}

.event-title {
    font-size: 1.1rem;
    color: var(--text-white);
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
}

.event-info {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-footer {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-tag {
    font-size: 1.1rem;
    color: var(--text-white);
    font-weight: 700;
}

.btn-details {
    color: var(--brand-primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
}

/* ================================
   PAGINATION
   ================================ */

.pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.page-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s;
}

.page-btn:hover:not(.disabled) {
    border-color: var(--brand-primary);
    color: white;
}

.page-btn.active {
    background: var(--brand-dark);
    color: white;
    border-color: var(--brand-dark);
}

.page-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ================================
   RESPONSIVE
   ================================ */

@media (max-width: 900px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }

    .filter-sidebar {
        position: static;
        margin-bottom: 30px;
    }
}