:root {
    --gold: #e7b65c;
    --dark-bg: #080808;
    --card-bg: #121212;
    --text-muted: #b0b0b0;
    --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

body { background-color: var(--dark-bg); font-family: 'Inter', sans-serif; }

/* Background Texture */
.page-bg-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(231, 182, 92, 0.08), transparent 70%);
    pointer-events: none; z-index: -1;
}

.packages-section { padding: 100px 0; min-height: 100vh; }

/* Header & Search */
.section-title { color: #fff; font-size: 3rem; font-weight: 700; font-family: 'Outfit', serif; }
.premium-tag { color: var(--gold); letter-spacing: 3px; font-size: 0.8rem; font-weight: 700; display: block; margin-bottom: 10px; }
.gold-line { width: 60px; height: 3px; background: var(--gold); margin: 20px auto; }

.search-wrapper {
    position: relative; max-width: 500px; margin: 30px auto 0;
}
.search-input {
    width: 100%; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.2);
    padding: 15px 20px 15px 50px; border-radius: 50px; color: #fff; font-size: 1rem;
    transition: var(--transition);
}
.search-input:focus { outline: none; border-color: var(--gold); background: rgba(0,0,0,0.5); }
.search-icon { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: var(--text-muted); }

/* --- FILTERS LEVEL 1 (Groups) --- */
.filter-level-1 {
    display: flex; justify-content: center; flex-wrap: wrap; gap: 15px; margin-bottom: 20px;
}
.filter-tab {
    background: transparent; color: #fff; border: none; border-bottom: 2px solid rgba(255,255,255,0.1);
    padding: 10px 20px; font-size: 1.1rem; cursor: pointer; transition: 0.3s;
    font-family: 'Outfit', sans-serif;
}
.filter-tab:hover { color: var(--gold); }
.filter-tab.active { color: var(--gold); border-bottom-color: var(--gold); }

/* --- FILTERS LEVEL 2 (Verticals) --- */
.filter-level-2 {
    display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 40px;
    animation: slideDown 0.4s ease;
}
@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

.filter-pill {
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); color: #ccc;
    padding: 8px 18px; border-radius: 20px; font-size: 0.9rem; cursor: pointer; transition: 0.3s;
}
.filter-pill:hover, .filter-pill.active { background: var(--gold); color: #000; border-color: var(--gold); }

/* --- CARD GRID --- */
.packages-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 30px;
}

.package-card-wrap {
    opacity: 0; animation: fadeInUp 0.6s forwards;
}
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }

.pkg-card {
    background: var(--card-bg); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px;
    overflow: hidden; height: 100%; transition: var(--transition); display: flex; flex-direction: column;
    position: relative;
}
.pkg-card:hover { transform: translateY(-8px); border-color: rgba(231,182,92,0.5); box-shadow: 0 15px 40px rgba(0,0,0,0.6); }

/* Content Styles */
.pkg-content { padding: 30px 25px; display: flex; flex-direction: column; height: 100%; }
.pkg-category { font-size: 0.75rem; color: var(--gold); text-transform: uppercase; margin-bottom: 5px; display: block; }
.pkg-title { color: #fff; font-size: 1.6rem; margin: 5px 0; font-weight: 700; line-height: 1.2; }
.pkg-subtitle { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 20px; flex-grow: 1; }

.pkg-meta { display: flex; gap: 15px; margin-bottom: 20px; }
.meta-item { background: rgba(255,255,255,0.05); padding: 5px 10px; border-radius: 5px; font-size: 0.85rem; color: #ddd; }
.meta-item i { color: var(--gold); margin-right: 5px; }

.pkg-price-row { margin-top: auto; padding-top: 15px; border-top: 1px solid rgba(255,255,255,0.1); margin-bottom: 15px; }
.price-tag { font-size: 1.8rem; font-weight: 700; color: var(--gold); }

.btn-details {
    width: 100%; background: transparent; border: 1px solid var(--gold); color: var(--gold);
    padding: 12px; border-radius: 8px; font-weight: 600; cursor: pointer; transition: 0.3s;
    display: flex; justify-content: center; align-items: center; gap: 10px;
}
.btn-details:hover { background: var(--gold); color: #000; }

/* Ribbon */
.ribbon {
    position: absolute; top: 15px; right: -32px; transform: rotate(45deg); width: 120px;
    text-align: center; font-size: 0.7rem; font-weight: 800; color: #000; z-index: 2;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.ribbon.premium { background: linear-gradient(135deg, #e7b65c, #d4a040); }
.ribbon.offer { background: linear-gradient(135deg, #ff6b6b, #e63946); color: #fff; }

/* Modal */
.cine-modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.9); z-index: 9999; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: 0.3s; }
.cine-modal-overlay.active { opacity: 1; visibility: visible; }
.cine-modal-content { background: #141414; width: 95%; max-width: 600px; border: 1px solid var(--gold); border-radius: 12px; max-height: 85vh; display: flex; flex-direction: column; }
.cine-modal-body { padding: 30px; overflow-y: auto; color: #ddd; }
.cine-modal-footer { padding: 20px; background: #0a0a0a; text-align: center; border-top: 1px solid #333; }
.cine-modal-close { position: absolute; top: 15px; right: 20px; background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; }
.btn-book-now { background: var(--gold); color: #000; padding: 12px 40px; border-radius: 50px; font-weight: 700; text-decoration: none; display: inline-block; transition: 0.3s; }
.btn-book-now:hover { background: #fff; transform: translateY(-3px); }

/* Mobile */
@media (max-width: 768px) {
    .filter-level-1, .filter-level-2 { justify-content: flex-start; overflow-x: auto; white-space: nowrap; padding-bottom: 10px; }
    .filter-tab, .filter-pill { flex: 0 0 auto; }
}