/* --- Design Tokens --- */
:root {
    --bg-dark: #05110E;
    --bg-gradient: radial-gradient(circle at 50% 0%, #1f3d33 0%, #05110E 80%);
    --gold: #F2C94C;
    --green: #27AE60;
    --white: #FFFFFF;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-blur: blur(20px);
}

/* --- Reset & Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: var(--bg-dark);
    background-image: var(--bg-gradient);
    color: var(--white);
    min-height: 100vh;
    overflow-x: hidden;
    padding: 20px;
}

/* --- Glassmorphism Utility Class --- */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    /* Shine effect */
    border-radius: 24px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.app-container {
    max-width: 1440px;
    margin: 0 auto;
}

/* --- Header --- */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    margin-bottom: 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gold);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gold);
    color: #000;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: bold;
}

.search-bar-container {
    position: relative;
    width: 40%;
}

.search-input {
    width: 100%;
    background: transparent;
    border: 1px solid var(--gold);
    padding: 12px 60px 12px 45px;
    /* Adjusted padding for both icons */
    border-radius: 50px;
    color: white;
    outline: none;
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold);
}

.mic-icon {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(234, 215, 67, 0.811);
    cursor: pointer;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.ai-btn {
    background: linear-gradient(90deg, #27AE60, #2ecc71);
    border: none;
    padding: 10px 24px;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: transform 0.2s;
}

.ai-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(39, 174, 96, 0.5);
}

.user-profile img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--gold);
    object-fit: cover;
}

/* --- Filters --- */
.filter-section {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.filter-pill {
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: 0.3s;
    position: relative;
    /* For dropdown positioning */
}

.filter-pill:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Dropdown Styles */
.dropdown-menu {
    position: absolute;
    top: 120%;
    /* Below the trigger */
    left: 0;
    width: 220px;
    background: rgba(10, 31, 24, 0.95);
    /* Dark Green Glass */
    backdrop-filter: blur(15px);
    border: 1px solid rgba(242, 201, 76, 0.2);
    /* Gold border hint */
    border-radius: 16px;
    padding: 10px;
    display: none;
    /* Hidden by default */
    flex-direction: column;
    gap: 5px;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s, transform 0.3s;
}

.dropdown-menu.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.8);
    transition: 0.2s;
    cursor: pointer;
}

.dropdown-item:hover {
    background: rgba(242, 201, 76, 0.15);
    /* Gold tint on hover */
    color: var(--gold);
    padding-left: 20px;
    /* Slide effect */
}

.dropdown-item i {
    width: 20px;
    text-align: center;
}

.text-gold {
    color: var(--gold);
}

.go-btn {
    background: var(--green);
    color: white;
    border: none;
    padding: 12px 50px;
    border-radius: 16px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    margin-left: auto;
    transition: transform 0.2s, box-shadow 0.2s;
}

.go-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.4);
}

/* --- Main Layout --- */
.main-content {
    display: flex;
    gap: 24px;
}

/* Sidebar */
.sidebar {
    width: 260px;
    padding: 30px 20px;
    height: fit-content;
    min-height: 600px;
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 16px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    margin-bottom: 8px;
    border-radius: 12px;
    position: relative;
    transition: 0.3s;
}

.nav-item:hover,
.nav-item.active {
    color: var(--gold);
    background: linear-gradient(90deg, rgba(242, 201, 76, 0.1) 0%, transparent 100%);
}

.nav-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10%;
    height: 80%;
    width: 4px;
    background: var(--gold);
    border-radius: 2px;
}

/* Grid */
.grid-container {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.card {
    height: 300px;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--gold);
}

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

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.card-loc {
    font-size: 0.9rem;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .main-content {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        min-height: auto;
        display: flex;
        overflow-x: auto;
        padding: 10px;
    }

    .nav-menu {
        display: flex;
        gap: 10px;
    }

    .nav-item {
        white-space: nowrap;
        margin-bottom: 0;
    }

    .nav-item.active::before {
        bottom: 0;
        top: auto;
        width: 80%;
        height: 3px;
        left: 10%;
    }

    .header {
        flex-direction: column;
        gap: 20px;
    }

    .search-bar-container {
        width: 100%;
    }

    .filter-section {
        display: none;
    }

    /* Hide filters on mobile for simplicity */
}

/* --- Login Page Styles --- */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 150px);
    /* Adjust based on header height */
    padding: 20px;
}

.login-card {
    width: 100%;
    max-width: 400px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.08);
    /* Slightly more opaque for the card */
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.card-header {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-bottom: 20px;
}

.menu-icon,
.settings-icon {
    font-size: 1.5rem;
    color: var(--gold);
    cursor: pointer;
}

.profile-pic-container {
    position: relative;
    margin-top: -10px;
    /* Pull up slightly */
}

.profile-pic-container img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid var(--gold);
    /* Orange/Gold border */
    object-fit: cover;
    box-shadow: 0 0 15px rgba(242, 201, 76, 0.3);
}

.form-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.glass-input {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    /* Pill shape */
    padding: 12px 20px;
    transition: background 0.3s;
}

.glass-input:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
}

.input-icon {
    font-size: 1.2rem;
    margin-right: 15px;
    width: 20px;
    text-align: center;
}

.glass-input input {
    background: transparent;
    border: none;
    color: white;
    font-size: 1rem;
    flex: 1;
    outline: none;
    font-weight: 400;
}

.glass-input input::placeholder {
    color: rgba(255, 255, 255, 0.8);
}

.arrow-icon {
    color: var(--gold);
    /* Or a muted color */
    font-size: 0.9rem;
    margin-left: 10px;
}

.eye-icon {
    cursor: pointer;
    margin-left: 10px;
    color: var(--gold);
}

.ml-auto {
    margin-left: auto;
}

.input-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    flex: 1;
    font-weight: 400;
}

/* Settings Dropdown */
.settings-container {
    position: absolute;
    right: 0;
    top: 0;
}

.settings-dropdown {
    position: absolute;
    top: 120%;
    right: 0;
    width: 200px;
    background: rgba(10, 31, 24, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(242, 201, 76, 0.2);
    border-radius: 16px;
    padding: 10px;
    display: none;
    flex-direction: column;
    gap: 5px;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.settings-dropdown.active {
    display: flex;
    animation: fadeIn 0.2s ease-out;
}

.settings-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.8);
    transition: 0.2s;
    cursor: pointer;
    font-size: 0.9rem;
}

.settings-item:hover {
    background: rgba(242, 201, 76, 0.15);
    color: var(--gold);
}

.settings-item i {
    width: 20px;
    text-align: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

/* Accordion Styles */
.accordion-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.accordion-trigger {
    cursor: pointer;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 16px;
}

.accordion-content.active {
    max-height: 300px;
    /* Adjust as needed */
}

.accordion-inner {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.glass-input-inner {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 10px 15px;
    color: white;
    outline: none;
    width: 100%;
}

.row {
    display: flex;
    gap: 10px;
}

.transition-icon {
    transition: transform 0.3s;
}

.rotate {
    transform: rotate(180deg);
}

.history-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    padding: 5px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.history-date {
    color: var(--gold);
    font-size: 0.8rem;
}

.card-footer {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.sign-out-btn {
    background: transparent;
    border: none;
    color: var(--gold);
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: transform 0.2s;
}

.sign-out-btn:hover {
    transform: translateX(5px);
}

/* --- AI Search Page Styles --- */
.ai-search-layout {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 600px;
    padding-top: 20px;
}

.chat-container {
    width: 100%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    /* Spacing between messages */
    padding: 20px;
}

.chat-bubble {
    padding: 25px 35px;
    border-radius: 30px;
    font-size: 1.1rem;
    line-height: 1.5;
    position: relative;
    max-width: 60%;
    color: #e0e0e0;
    background: #0a1f18;
    /* Darker green/black */
    box-shadow: 0 0 15px rgba(242, 201, 76, 0.5), inset 0 0 10px rgba(0, 0, 0, 0.5);
    /* Outer gold glow + inner shadow */
    border: 1px solid rgba(242, 201, 76, 0.1);
}

.chat-bubble.bot {
    align-self: flex-start;
    border-bottom-left-radius: 5px;
}

.chat-bubble.user {
    align-self: flex-end;
    border-bottom-right-radius: 5px;
    text-align: right;
}

/* Highlighted text inside bubbles */
.chat-bubble strong {
    color: var(--white);
    font-weight: 600;
}

/* Active state for AI button */
.ai-btn.active {
    background: linear-gradient(90deg, #27AE60, #2ecc71);
    box-shadow: 0 0 15px rgba(39, 174, 96, 0.5);
    transform: scale(1.05);
}

/* --- Bottom Input Area --- */
.bottom-input-area {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, #05110E 90%, transparent);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    z-index: 100;
}

.search-bar-container.full-width {
    width: 100%;
    max-width: 800px;
}

/* Adjust chat container to not be hidden by bottom area */
.chat-container {
    padding-bottom: 350px;
    /* Space for keyboard */
}

/* --- Virtual Keyboard --- */
.virtual-keyboard {
    width: 100%;
    max-width: 800px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.3);
}

.keyboard-row {
    display: flex;
    gap: 6px;
    justify-content: center;
    width: 100%;
}

.key {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 10px;
    min-width: 40px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    text-align: center;
    transition: 0.2s;
    user-select: none;
    flex: 1;
    max-width: 60px;
}

.key:hover {
    background: var(--gold);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 0 10px rgba(242, 201, 76, 0.4);
}

.key:active {
    transform: scale(0.95);
}

.key.space {
    max-width: 300px;
    flex: 4;
}

.key.action {
    background: rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
    max-width: 80px;
}

.input-actions {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 15px;
}

.input-actions .mic-icon {
    position: static;
    transform: none;
}

.action-icon {
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: color 0.3s;
    font-size: 1.2rem;
}

.action-icon:hover,
.action-icon.active {
    color: var(--gold);
}

/* --- Category Page Styles --- */
.header-simple {
    padding: 20px 0;
    margin-bottom: 20px;
}

.filter-section-large {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.filter-section-large .filter-pill {
    height: 50px;
    min-width: 180px;
    justify-content: flex-start;
    /* Align content to the start */
}

.filter-section-large .filter-pill.active {
    border-color: var(--gold);
    background: rgba(242, 201, 76, 0.05);
    justify-content: space-between;
    /* Space between for the dropdown */
}

.filter-section-large .go-btn {
    height: 50px;
    padding: 0 50px;
    font-size: 1.1rem;
}

.category-layout {
    display: flex;
    gap: 30px;
    height: 600px;
    /* Fixed height for the view */
}

.category-sidebar {
    width: 300px;
    padding: 40px 30px;
    display: flex;
    justify-content: space-between;
    position: relative;
}

.cat-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 25px;
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    overflow-y: auto;
    /* Enable vertical scrolling */
    height: 100%;
    /* Take full height */
    padding-right: 20px;
    /* Space for custom scrollbar visual */

    /* Hide native scrollbar */
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
}

.cat-list::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.cat-list li {
    cursor: pointer;
    transition: color 0.3s, transform 0.3s;
}

.cat-list li:hover {
    color: var(--gold);
    transform: translateX(10px);
}

.custom-scrollbar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--gold);
}

.scroll-track {
    width: 4px;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    position: relative;
}

.scroll-thumb {
    width: 8px;
    height: 60px;
    background: var(--gold);
    border-radius: 4px;
    position: absolute;
    left: -2px;
    top: 20px;
}

.cat-list li.active {
    color: var(--gold);
    font-weight: 600;
    border-left: 4px solid var(--gold);
    padding-left: 15px;
}

.category-preview {
    flex: 1;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(0, 0, 0, 0.2) 100%);
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    /* Ensure content stays inside */
}

/* --- Category Preview "Pick" Styles --- */
.pick-content {
    display: flex;
    flex-direction: row;
    /* Side by side layout */
    height: 100%;
    width: 100%;
    overflow: hidden;
    border-radius: 30px;
    animation: fadeIn 0.4s ease-out;
}

.pick-image-container {
    width: 45%;
    height: 100%;
    position: relative;
}

.pick-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Subtle fade to blend with the dark background */
    mask-image: linear-gradient(to right, black 70%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, black 70%, transparent 100%);
}

.pick-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.pick-title {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 40px;
    font-weight: 600;
    letter-spacing: 1px;
}

.pick-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    /* Reduced gap to fit options */
    width: 100%;
    max-width: 450px;
    overflow-y: auto;
    /* Allow scrolling if list gets long */
    padding-right: 10px;
    max-height: 450px;
}

.pick-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100%;
}

.pick-item {
    display: flex;
    align-items: center;
    gap: 25px;
    font-size: 1.4rem;
    color: #e0e0e0;
    cursor: pointer;
    padding: 15px 20px;
    border-radius: 16px;
    transition: all 0.3s;
    background: transparent;
    border: 1px solid transparent;
}

.pick-item:hover,
.pick-item.active {
    background: rgba(242, 201, 76, 0.1);
    border-color: rgba(242, 201, 76, 0.3);
}

.pick-options {
    display: none;
    /* Hidden by default */
    flex-direction: column;
    gap: 5px;
    padding-left: 60px;
    /* Indent to align with text */
    animation: slideDown 0.3s ease-out;
}

.pick-options.show {
    display: flex;
}

.pick-option {
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    transition: 0.2s;
}

.pick-option:hover {
    background: var(--gold);
    color: #000;
}

/* Let's Go Button */
.lets-go-container {
    margin-top: 30px;
    text-align: center;
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.lets-go-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 15px 50px;
    background: linear-gradient(135deg, var(--green) 0%, #27AE60 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(39, 174, 96, 0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.lets-go-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.lets-go-btn:hover::before {
    left: 100%;
}

.lets-go-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(39, 174, 96, 0.6);
}

.lets-go-btn i {
    transition: transform 0.3s;
}

.lets-go-btn:hover i {
    transform: translateX(5px);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

/* --- Date Selection Page Styles --- */
.date-selection-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    min-height: 500px;
    padding: 40px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(0, 0, 0, 0.2) 100%);
}

.ribbon-container {
    margin-bottom: 50px;
    display: flex;
    justify-content: center;
}

.ribbon {
    background: var(--gold);
    color: #05110E;
    padding: 12px 50px;
    font-weight: 800;
    font-size: 1.8rem;
    position: relative;
    clip-path: polygon(0% 0%, 100% 0%, 95% 50%, 100% 100%, 0% 100%, 5% 50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.date-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    width: 100%;
    max-width: 800px;
}

.date-card {
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 120px;
}

.date-card:hover {
    background: rgba(242, 201, 76, 0.1);
    border-color: var(--gold);
    transform: translateY(-5px);
}

.date-day {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
}

.date-month {
    font-size: 1rem;
    color: var(--gold);
    font-weight: 600;
    letter-spacing: 2px;
}

.date-weekday {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.pick-icon {
    font-size: 1.8rem;
    color: transparent;
    -webkit-text-stroke: 1px var(--gold);
    /* Outline effect */
}

/* If text-stroke isn't supported well, fallback or use regular icon */
@supports not (-webkit-text-stroke: 1px var(--gold)) {
    .pick-icon {
        color: var(--gold);
    }
}

.pick-text {
    flex: 1;
    font-weight: 300;
}

.pick-arrow {
    color: var(--gold);
    font-size: 1.2rem;
    opacity: 0.8;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

/* --- Location Page Styles --- */
.location-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    min-height: 500px;
    padding: 40px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(0, 0, 0, 0.2) 100%);
    display: flex;
    justify-content: center;
}

.location-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
}

.location-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s;
    cursor: pointer;
}

.location-item:hover {
    transform: translateY(-5px);
}

.location-pin {
    font-size: 2.5rem;
    color: transparent;
    -webkit-text-stroke: 2px var(--gold);
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.location-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.location-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    opacity: 0.9;
    transition: all 0.3s;
}

.location-item:hover .location-img {
    opacity: 1;
    box-shadow: 0 8px 20px rgba(242, 201, 76, 0.4);
    transform: scale(1.02);
}

.location-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gold);
    text-align: center;
    margin: 0;
    letter-spacing: 0.5px;
}

/* Underlined Text for Filter Pills - Only on Active State */
.filter-pill.active .underlined-text,
.filter-pill.active span {
    border-bottom: 2px solid var(--gold);
    padding-bottom: 2px;
}

.filter-section-large .filter-pill.active span {
    border-bottom: 2px solid var(--gold);
    padding-bottom: 2px;
}

/* --- Price Selection (Go Page) Styles --- */
.price-selection-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    min-height: 500px;
    padding: 60px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(0, 0, 0, 0.2) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.price-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    width: 100%;
    max-width: 700px;
}

.price-btn {
    background: linear-gradient(180deg, rgba(5, 50, 30, 0.8) 0%, rgba(2, 20, 15, 0.9) 100%);
    border: 1px solid rgba(39, 174, 96, 0.3);
    color: var(--gold);
    font-size: 1.6rem;
    font-weight: 700;
    padding: 35px 20px;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 0 20px rgba(39, 174, 96, 0.1);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.price-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(39, 174, 96, 0.3), transparent);
    transition: left 0.5s;
}

.price-btn:hover::before {
    left: 100%;
}

.price-btn:hover {
    background: linear-gradient(180deg, rgba(39, 174, 96, 0.9) 0%, rgba(27, 134, 70, 1) 100%);
    color: white;
    border-color: var(--green);
    box-shadow: 0 15px 40px rgba(39, 174, 96, 0.5), 0 0 30px rgba(39, 174, 96, 0.3);
}

/* --- Payment Page Styles --- */
.payment-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(0, 0, 0, 0.2) 100%);
}

.payment-title {
    text-align: center;
    color: var(--gold);
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.payment-section-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin-bottom: 10px;
    margin-left: 5px;
}

.payment-methods {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.payment-method {
    width: 60px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: 0.3s;
    color: rgba(255, 255, 255, 0.6);
}

.payment-method.active,
.payment-method:hover {
    background: var(--gold);
    color: #000;
    transform: translateY(-2px);
}

.payment-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-left: 5px;
}

.glass-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 15px;
    border-radius: 12px;
    color: white;
    outline: none;
    transition: 0.3s;
    font-size: 1rem;
}

.glass-input:focus {
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold);
    opacity: 0.7;
}

.input-with-icon input {
    width: 100%;
}

.payment-summary {
    margin-top: 20px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.7);
}

.summary-row.total {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gold);
    font-weight: 700;
    font-size: 1.2rem;
}

.pay-btn {
    background: var(--green);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 10px;
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.3);
    width: 100%;
    display: block;
    text-align: center;
}

.pay-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(39, 174, 96, 0.4);
}

/* Ensure Go button is always on the right */
.filter-section> :last-child,
.filter-section-large> :last-child {
    margin-left: auto;
}

/* --- Success/Congratulations Page Styles --- */
.success-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    min-height: 500px;
    padding: 60px 40px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(0, 0, 0, 0.2) 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.confetti-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--gold);
    animation: confetti-fall 3s linear infinite;
}

@keyframes confetti-fall {
    0% {
        transform: translateY(-100vh) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

.success-content {
    text-align: center;
    z-index: 2;
    position: relative;
    animation: successFadeIn 0.8s ease-out;
}

@keyframes successFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

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

.party-popper {
    font-size: 4rem;
    position: absolute;
    animation: popperBounce 1s ease-in-out infinite;
}

.left-popper {
    left: -80px;
    top: 50%;
    transform: translateY(-50%) rotate(-20deg);
}

.right-popper {
    right: -80px;
    top: 50%;
    transform: translateY(-50%) rotate(20deg);
    animation-delay: 0.5s;
}

@keyframes popperBounce {

    0%,
    100% {
        transform: translateY(-50%) scale(1);
    }

    50% {
        transform: translateY(-60%) scale(1.1);
    }
}

.success-title {
    font-size: 4rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--gold) 0%, #FFD700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(242, 201, 76, 0.3);
    animation: titleGlow 2s ease-in-out infinite;
}

@keyframes titleGlow {

    0%,
    100% {
        filter: drop-shadow(0 0 10px rgba(242, 201, 76, 0.5));
    }

    50% {
        filter: drop-shadow(0 0 20px rgba(242, 201, 76, 0.8));
    }
}

.success-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 50px;
    font-weight: 300;
    letter-spacing: 2px;
}

.success-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.success-btn {
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    cursor: pointer;
}

.success-btn.primary {
    background: var(--green);
    color: white;
    box-shadow: 0 5px 20px rgba(39, 174, 96, 0.4);
}

.success-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(39, 174, 96, 0.6);
}

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

.success-btn.secondary:hover {
    background: var(--gold);
    color: #000;
    transform: translateY(-3px);
}

/* --- City Details Page Styles --- */
.city-details-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(0, 0, 0, 0.2) 100%);
}

.city-header {
    text-align: center;
    margin-bottom: 40px;
}

.city-detail-img {
    width: 100%;
    max-width: 600px;
    height: 300px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
}

.city-detail-name {
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold);
    margin: 0;
    text-shadow: 0 2px 10px rgba(242, 201, 76, 0.3);
}

.city-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    padding: 30px 20px;
    text-align: center;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(0, 0, 0, 0.3) 100%);
    border-radius: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(242, 201, 76, 0.3);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 15px;
}

.stat-card h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--green);
    margin: 10px 0;
}

.stat-card p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.chart-container {
    max-width: 400px;
    margin: 0 auto 40px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
}

.back-button-container {
    text-align: center;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background: var(--green);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.3);
}

.back-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(39, 174, 96, 0.5);
}

/* --- Date Card Active State --- */
.date-card.active {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 40px rgba(39, 174, 96, 0.6);
    border: 2px solid var(--green);
    background: linear-gradient(145deg, rgba(39, 174, 96, 0.2) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.date-card.active .date-day {
    color: var(--green);
}

/* Date Page Let's Go Button */
.date-lets-go-container {
    margin-top: 40px;
    text-align: center;
    animation: slideUp 0.5s ease-out;
}

/* --- Hotel List Styles (City Details Page) --- */
.hotel-list-container {
    margin-top: 50px;
    padding: 30px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    animation: fadeIn 0.5s ease-out;
}

.section-title {
    color: var(--gold);
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 700;
}

.hotel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.hotel-card {
    overflow: hidden;
    border-radius: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hotel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(242, 201, 76, 0.2);
    border-color: var(--gold);
}

.hotel-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.hotel-info {
    padding: 20px;
}

.hotel-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.hotel-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: white;
    margin: 0;
}

.hotel-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--gold);
    font-weight: 600;
    background: rgba(242, 201, 76, 0.1);
    padding: 5px 10px;
    border-radius: 20px;
}

.hotel-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hotel-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--green);
}

.per-night {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
}

.book-btn {
    background: var(--gold);
    color: #000;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.book-btn:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

/* --- Ticket Card Styles --- */
.ticket-card {
    background: white;
    width: 100%;
    max-width: 400px;
    margin: 30px auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    color: #333;
    font-family: 'Poppins', sans-serif;
    position: relative;
    text-align: left;
}

.ticket-top {
    padding: 20px;
    display: flex;
    justify-content: space-between;
}

.ticket-info {
    flex: 1;
    padding-right: 10px;
}

.ticket-event-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 5px 0;
    color: #000;
    line-height: 1.3;
}

.ticket-meta {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 15px;
}

.ticket-location {
    margin-bottom: 15px;
}

.venue-name {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 2px 0;
    color: #000;
}

.venue-address {
    font-size: 0.75rem;
    color: #777;
    line-height: 1.4;
    margin: 0;
}

.ticket-timing {
    margin-bottom: 15px;
}

.screen-label {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    display: block;
    margin-bottom: 5px;
    color: #000;
}

.date-time {
    font-size: 1rem;
    font-weight: 600;
    color: #000;
}

.date-time .separator {
    margin: 0 10px;
    color: #ccc;
    font-weight: 300;
}

.ticket-seats {
    margin-bottom: 5px;
}

.seat-count {
    font-size: 0.9rem;
    margin: 0 0 2px 0;
    color: #333;
}

.seat-numbers {
    font-size: 1rem;
    font-weight: 600;
    color: #000;
    margin: 0;
}

.ticket-poster {
    width: 80px;
    flex-shrink: 0;
}

.ticket-poster img {
    width: 100%;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Divider with Notches */
.ticket-divider {
    position: relative;
    height: 30px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dashed-line {
    width: 90%;
    height: 1px;
    border-top: 2px dashed #ddd;
}

.notch-left,
.notch-right {
    position: absolute;
    width: 30px;
    height: 30px;
    background: #1a1a1a;
    /* Matches the background of the page/container */
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.notch-left {
    left: -15px;
}

.notch-right {
    right: -15px;
}

/* Adjust notch color if inside a glass panel or specific background */
.success-container .notch-left,
.success-container .notch-right {
    background: #2c2c2c;
    /* Approximate dark background color */
}

.ticket-middle {
    padding: 10px 20px 20px;
    text-align: center;
    background: white;
}

.qr-code img {
    width: 120px;
    height: 120px;
    margin-bottom: 10px;
}

.booking-id {
    font-size: 0.9rem;
    color: #333;
    font-weight: 500;
    margin: 0;
}

.ticket-bottom {
    padding: 20px;
    border-top: 1px solid #eee;
    background: white;
}

.price-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 8px;
}

.price-row.total {
    margin-top: 15px;
    margin-bottom: 0;
    font-weight: 700;
    color: #000;
    font-size: 1.1rem;
}

/* Print Styles */
@media print {
    body * {
        visibility: hidden;
    }

    .ticket-card,
    .ticket-card * {
        visibility: visible;
    }

    .ticket-card {
        position: absolute;
        left: 0;
        top: 0;
        margin: 0;
        box-shadow: none;
    }
}