/* Additional theme styles for slider and cards */

.hero-slider .slider-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.slider-slide {
    display: none;
    padding: 2rem;
    background: linear-gradient(90deg, rgba(var(--primary-rgb),0.05), rgba(var(--secondary-rgb),0.03));
}

.slider-slide.active {
    display: block;
}

.slider-slide .slide-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.slider-slide .team {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.slider-slide .team-logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.slider-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.slider-dots {
    display: flex;
    gap: 0.5rem;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray-medium);
    border: none;
}

.slider-dot.active {
    background: var(--primary-color);
}

.match-card .match-teams {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.match-card .team-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.btn {
    cursor: pointer;
}

.teams-grid .team-card, .venues-grid .venue-card, .conference-grid .conference-card {
    padding: 1rem;
}

.sidebar {
    width: 260px;
}

.content-sidebar-wrap {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

@media (max-width: 768px) {
    .content-sidebar-wrap {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
    }
}

/* Teams badges on home */
.browse-teams { padding-top: 2rem; }
.teams-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: 10px;
}
/* Force single row on desktop (9 teams) */
@media (min-width: 1024px) {
    .teams-badges { grid-template-columns: repeat(9, 1fr); }
}
.team-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    border: 1px solid var(--gray-medium);
    background: var(--surface);
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-color);
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.team-badge:hover { border-color: rgba(var(--primary-rgb), .35); box-shadow: 0 8px 20px rgba(var(--text-rgb), .06); transform: translateY(-2px); }
.team-badge .logo { width: 64px; height: 64px; object-fit: contain; border-radius: 8px; }
.team-badge .name { display: none; }

/* Home venue card on team page */
.venue-card { display:flex; align-items:center; gap:12px; background: var(--surface); border:1px solid var(--gray-medium); border-radius:8px; padding:12px; margin: 12px 0 18px; }
.venue-card .venue-image { width:120px; height:80px; object-fit:cover; border-radius:6px; }
.venue-card .venue-info .venue-name { font-weight:800; }
.venue-card .venue-info .venue-meta { color: var(--gray-dark); }

/* Metronic-style matches tab pane */
.matches-tabs {
    background: var(--surface);
    border: 1px solid var(--gray-medium);
    border-radius: 8px;
    overflow: hidden;
}
.matches-nav {
    display: flex;
    gap: 0;
    background: var(--muted);
    border-bottom: 1px solid var(--gray-medium);
    list-style: none;
    padding: 0.25rem;
}
.matches-nav li {
    padding: 0.75rem 1rem;
    cursor: pointer;
    color: var(--gray-dark);
    font-weight: 600;
    border-radius: 6px;
}
.matches-nav li.active {
    background: linear-gradient(90deg, rgba(var(--primary-rgb),0.08), rgba(var(--primary-rgb),0.04));
    color: var(--primary-color);
}
.matches-content {
    padding: 1rem;
}
.matches-panel { display: none; }
.matches-panel.active { display: block; }

.match-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.match-list-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    border-radius: 6px;
    background: var(--surface);
    border: 1px solid rgba(var(--text-rgb),0.04);
    box-shadow: 0 6px 14px rgba(var(--text-rgb),0.04);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.match-list-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(var(--text-rgb),0.08);
    border-color: rgba(var(--primary-rgb),0.08);
}
.match-middle { flex: 1; }
.match-title { 
    font-weight: 700; 
    margin-bottom: 0.25rem; 
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.team-avatar { 
    width: 32px; 
    height: 32px; 
    object-fit: contain; 
    border-radius: 4px; 
}
.match-meta { color: var(--gray-dark); font-size: 0.95rem; }
.match-right { display: flex; flex-direction: column; align-items: flex-end; gap: 0.5rem; min-width: 140px; }
.price-from { font-size: 0.8rem; }
.price-amount { font-size: 1.1rem; font-weight: 700; }
.btn-sm { padding: 0.45rem 0.75rem; font-size: 0.9rem; border-radius: 4px; }

/* Price badge and ticket button alignment */
.price-badge { background: rgba(var(--primary-rgb),0.06); padding: 0.35rem 0.6rem; border-radius: 6px; display:flex; flex-direction:column; align-items:center; min-width:88px; }
.get-tickets-btn { white-space: nowrap; }

@media (max-width: 768px) {
    .match-list-item { flex-direction: column; align-items: flex-start; }
    .match-right { align-items: flex-start; width: 100%; display:flex; justify-content:space-between; }
    .price-badge { margin-bottom:0.5rem; }
}

@media (max-width: 768px) {
    .match-left { min-width: 140px; }
    .match-right { min-width: 100px; }
    .match-list-item { flex-direction: column; align-items: flex-start; }
    .match-right { align-items: flex-start; width: 100%; }
}

/* Artist/Team page (Ticketmaster style) */
.artist-hero {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: linear-gradient(90deg, rgba(var(--primary-rgb),0.06), rgba(255,255,255,0));
    border-radius: 8px;
    margin-bottom: 1.5rem;
}
.artist-hero .hero-image {
    width: 160px;
    height: 160px;
    border-radius: 8px;
    object-fit: cover;
    background: var(--gray-light);
}
.artist-hero .hero-info {
    flex: 1;
}
.artist-hero .hero-title { font-size: 1.6rem; font-weight: 800; margin-bottom: 0.25rem; }
.artist-hero .hero-meta { color: var(--gray-dark); margin-bottom: 0.5rem; }
.artist-hero .hero-actions { display:flex; gap:0.75rem; margin-top: 0.5rem; }
.btn-cta { background: var(--primary-color); color: #fff; padding: 0.6rem 1rem; border-radius: 6px; font-weight: 700; text-decoration:none; }
.btn-ghost { background: transparent; border: 1px solid var(--gray-medium); padding: 0.55rem 0.9rem; border-radius: 6px; }

.artist-layout { display: grid; grid-template-columns: 320px 1fr; gap: 1.5rem; margin-top: 1.5rem; }
.artist-sidebar { background: var(--surface); padding: 1rem; border-radius: 8px; border: 1px solid var(--gray-medium); }
.artist-sidebar h3 { margin-bottom: 0.5rem; }
.artist-sidebar .sidebar-section { margin-bottom: 1rem; }

.artist-tabs { background: var(--surface); border: 1px solid var(--gray-medium); border-radius: 8px; overflow: hidden; }
.artist-tabs .tabs-nav { display:flex; gap:0; background:var(--muted); border-bottom:1px solid var(--gray-medium); }
.artist-tabs .tabs-nav button { padding: 0.75rem 1rem; border: none; background: transparent; cursor: pointer; font-weight:600; }
.artist-tabs .tabs-nav button.active { color: var(--primary-color); background: linear-gradient(90deg, rgba(var(--primary-rgb),0.04), rgba(var(--primary-rgb),0.02)); }
.artist-tabs .tabs-content { padding:1rem; }

/* Event card inside artist page */
.event-card { display:flex; gap:1rem; align-items:center; padding:0.75rem; border-radius:6px; border:1px solid rgba(var(--text-rgb),0.04); background:var(--surface); }
.event-card .event-info { flex:1; }
.event-card .event-date { font-weight:700; color:var(--primary-color); }
.event-card .event-venue { color:var(--gray-dark); }
.event-actions { min-width:140px; display:flex; flex-direction:column; align-items:flex-end; gap:0.5rem; }

@media (max-width: 900px) {
    .artist-layout { grid-template-columns: 1fr; }
    .artist-sidebar { order: 2; }
}

/* Sidebar filter list */
.filter-list { list-style: none; padding: 0; margin: 0 0 1rem 0; }
.filter-item { padding: 0.5rem 0; border-bottom: 1px solid rgba(32,33,36,0.03); }
.filter-item a { color: var(--text-color); text-decoration: none; display:flex; gap:0.5rem; align-items:center; }
.filter-item.active a { font-weight:700; color: var(--primary-color); }
.team-sidebar-logo, .venue-sidebar-logo { width:28px; height:28px; object-fit:contain; border-radius:4px; }