/* ============================================
   YALLATICKET - HOME PAGE STYLES
   Matching Reference Design Exactly
   ============================================ */

/* ===== SEARCH BAR - Simple Dark Style ===== */
.yt-search-wrapper {
    padding: var(--space-4) 0 var(--space-3);
}

.yt-search-bar-v2 {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: 14px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: var(--transition);
}

.yt-search-bar-v2:focus-within {
    background: var(--bg-elevated);
    border-color: rgba(0, 217, 255, 0.3);
    box-shadow: 0 0 0 3px rgba(0, 217, 255, 0.1);
}

.yt-search-bar-v2__icon-wrapper {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.yt-search-bar-v2__icon {
    color: rgba(255, 255, 255, 0.5);
    font-size: 20px;
}

.yt-search-bar-v2__input {
    flex: 1;
    border: none;
    background: transparent;
    color: white;
    font-size: 15px;
    font-weight: 400;
    outline: none;
    padding: 0;
    min-width: 0;
}

.yt-search-bar-v2__input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.yt-search-bar-v2__mic,
.yt-search-bar-v2__submit {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: none;
    background: var(--bg-elevated);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    transition: var(--transition);
    flex-shrink: 0;
}

.yt-search-bar-v2__submit:hover,
.yt-search-bar-v2__mic:hover {
    background: rgba(0, 217, 255, 0.15);
    color: var(--primary);
}

@media (max-width: 480px) {
    .yt-search-bar-v2__mic {
        display: none;
    }
}

/* ===== FILTER PILLS - Cyan Theme ===== */
.yt-filter-pills {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: var(--space-2) 0 var(--space-3);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.yt-filter-pills::-webkit-scrollbar {
    display: none;
}

.yt-filter-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    min-width: 130px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

.yt-filter-pill:hover {
    background: var(--bg-elevated);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.yt-filter-pill--active {
    background: rgba(0, 217, 255, 0.08);
    border-color: rgba(0, 217, 255, 0.25);
}

.yt-filter-pill__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.yt-filter-pill--purple .yt-filter-pill__icon {
    background: rgba(0, 217, 255, 0.12);
    color: #00D9FF;
}

.yt-filter-pill--pink .yt-filter-pill__icon {
    background: rgba(0, 191, 165, 0.12);
    color: #00BFA5;
}

.yt-filter-pill--orange .yt-filter-pill__icon {
    background: rgba(77, 255, 255, 0.12);
    color: #4DFFFF;
}

.yt-filter-pill--green .yt-filter-pill__icon {
    background: rgba(0, 217, 255, 0.12);
    color: #00D9FF;
}

.yt-filter-pill__content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
}

.yt-filter-pill__label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.2;
    white-space: nowrap;
}

.yt-filter-pill__count {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
}

@media (min-width: 992px) {
    .yt-filter-pills {
        overflow-x: visible;
        justify-content: space-between;
    }
    .yt-filter-pill {
        flex: 1;
        min-width: 0;
    }
}

/* ===== SECTION HEADERS ===== */
.yt-section-header-v2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.yt-section-title-v2 {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    color: var(--text-primary);
}

.yt-section-title-v2__icon {
    display: none;
}

.yt-see-all-v2 {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: var(--transition);
}

.yt-see-all-v2:hover {
    color: rgba(255, 255, 255, 0.7);
}

/* ===== CATEGORY BUBBLES - Rounded Rectangle ===== */
.yt-category-carousel {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: var(--space-2) 0 var(--space-4);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.yt-category-carousel::-webkit-scrollbar {
    display: none;
}

.yt-category-bubble {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: var(--transition);
    flex-shrink: 0;
}

.yt-category-bubble:hover {
    transform: translateY(-2px);
}

.yt-category-bubble__image-wrap {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.yt-category-bubble__image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.yt-category-bubble__gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.4) 100%);
    pointer-events: none;
}

.yt-category-bubble__count {
    display: none;
}

.yt-category-bubble__name {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    text-align: center;
    margin: 0;
    line-height: 1.3;
    max-width: 80px;
}

/* ===== SQUARE EVENT CARDS - Near You Style ===== */
.yt-square-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.yt-square-card {
    position: relative;
}

.yt-square-card__link {
    display: block;
    text-decoration: none;
}

.yt-square-card__image-wrap {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.yt-square-card:hover .yt-square-card__image-wrap {
    transform: scale(1.02);
    border-color: rgba(0, 217, 255, 0.3);
    box-shadow: 0 8px 24px rgba(0, 217, 255, 0.15);
}

.yt-square-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.yt-square-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%);
    pointer-events: none;
}

.yt-square-card__category-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    z-index: 1;
}

.yt-square-card__heart {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    color: white;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 2;
}

.yt-square-card__heart.active {
    color: #EF4444;
}

.yt-square-card__info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px;
    z-index: 1;
}

.yt-square-card__title {
    font-size: 14px;
    font-weight: 600;
    color: white;
    margin: 0 0 6px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.yt-square-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.yt-square-card__date {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

.yt-square-card__date i {
    font-size: 12px;
}

.yt-square-card__price {
    font-size: 13px;
    font-weight: 700;
    color: white;
    background: rgba(0, 217, 255, 0.9);
    padding: 4px 10px;
    border-radius: 6px;
}

@media (min-width: 768px) {
    .yt-square-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

@media (min-width: 1200px) {
    .yt-square-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ===== NEW SHOWS - Vertical List Style ===== */
.yt-pill-carousel {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.yt-pill-card {
    width: 100%;
}

.yt-pill-card__link {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    text-decoration: none;
    position: relative;
    transition: var(--transition);
}

.yt-pill-card__link:hover {
    background: var(--bg-elevated);
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 217, 255, 0.1);
}

.yt-pill-card__image-wrap {
    position: relative;
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--bg-surface);
    border: 1px solid var(--border);
}

.yt-pill-card__image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.yt-pill-card__badge {
    display: none;
}

.yt-pill-card__content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.yt-pill-card__title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.yt-pill-card__date,
.yt-pill-card__location {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    line-height: 1.4;
}

.yt-pill-card__date i,
.yt-pill-card__location i {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
}

.yt-pill-card__heart {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 2;
}

.yt-pill-card__heart:hover {
    color: white;
}

.yt-pill-card__heart.active {
    color: #EF4444;
}

/* ===== POPULAR/FEATURED - List with Ratings ===== */
.yt-hero-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.yt-hero-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    text-decoration: none;
    position: relative;
    transition: var(--transition);
}

.yt-hero-card:hover {
    background: var(--bg-elevated);
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 217, 255, 0.1);
}

.yt-hero-card__bg {
    position: relative;
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--bg-surface);
    border: 1px solid var(--border);
}

.yt-hero-card__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.yt-hero-card__gradient {
    display: none;
}

.yt-hero-card__content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 0;
}

.yt-hero-card__labels {
    display: flex;
    gap: 6px;
    align-items: center;
}

.yt-hero-card__category {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    background: transparent;
    padding: 0;
    border-radius: 0;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}

.yt-hero-card__category::before {
    content: '';
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
}

.yt-hero-card__featured-badge {
    display: none;
}

.yt-hero-card__title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: none;
}

.yt-hero-card__meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.yt-hero-card__meta-item {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.yt-hero-card__meta-item i {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
}

.yt-hero-card__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.yt-hero-card__btn {
    display: none;
}

.yt-hero-card__price {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.yt-hero-card__price-label {
    font-size: 11px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    text-transform: none;
    letter-spacing: 0;
}

.yt-hero-card__price-value {
    font-size: 15px;
    font-weight: 700;
    color: white;
}

.yt-hero-card__heart {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 2;
    backdrop-filter: none;
}

/* RTL Support - Flip heart icon position in Arabic layout */
[dir="rtl"] .yt-hero-card__heart {
    right: auto;
    left: 12px;
}

.yt-hero-card__heart:hover {
    color: white;
}

.yt-hero-card__heart.active {
    color: #EF4444;
}

/* Rating badge */
.yt-hero-card__rating {
    position: absolute;
    bottom: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 193, 7, 0.15);
    color: #FFC107;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 6px;
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
