/* ==========================================================================
   Weticket — Modern Event Design System
   Matches Figma / Reference Design Mockup
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700;800&display=swap');

:root {
  --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --bg: #ffffff;
  --bg-subtle: #f4f4f5;
  --card-bg: #ffffff;
  --border: transparent;
  --border-light: transparent;

  --text-primary: #000000;
  --text-secondary: #52525b;
  --text-muted: #71717a;
  --text-white: #ffffff;

  --brand-purple: #000000;
  --brand-purple-dark: #18181b;
  --brand-purple-glow: rgba(0, 0, 0, 0.06);
  --brand-blue: #000000;
  --accent-gold: #000000;

  --radius-xs: 0px;
  --radius-sm: 0px;
  --radius-md: 0px;
  --radius-lg: 0px;
  --radius-xl: 0px;
  --radius-full: 0px;

  --shadow-sm: none;
  --shadow-card: 0 4px 20px -2px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 12px 30px -4px rgba(0, 0, 0, 0.08);

  --container: 1240px;
  --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  border-radius: 0 !important;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg);
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: none;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
  height: 72px;
  display: flex;
  align-items: center;
}

.navbar .nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.brand-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
}

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

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--text-primary);
}

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

.nav-search-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  transition: var(--transition);
}

.nav-search-btn:hover {
  background: var(--bg-subtle);
}

.nav-signin-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: var(--transition);
}

.nav-signin-link:hover {
  opacity: 0.8;
}

.btn-signup {
  background: #0f172a;
  color: #ffffff;
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-signup:hover {
  background: #1e293b;
  transform: translateY(-1px);
}

.hamburger-btn {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
}

/* ==========================================================================
   Hero Banner Section
   ========================================================================== */
.hero-wrapper {
  padding-top: 20px;
  padding-bottom: 24px;
}

.hero-card {
  position: relative;
  width: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  background-color: #0b0f19;
}

.hero-banner-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 260px;
}

/* Floating actions on top right of hero */
.hero-floating-actions {
  position: absolute;
  top: 20px;
  right: 24px;
  display: flex;
  gap: 12px;
  z-index: 10;
}

.hero-action-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  cursor: pointer;
}

.hero-action-btn:hover {
  background: rgba(0, 0, 0, 0.7);
  transform: scale(1.08);
}

.hero-action-btn.active {
  background: #ef4444;
  border-color: #ef4444;
}

.hero-action-btn.active svg {
  fill: #ffffff;
}

/* Accessible Hero Overlay Info */
.hero-accessible-info {
  display: none; /* Already rendered in the high-fidelity banner image, preserved for screen readers */
}

/* ==========================================================================
   Main Two-Column Grid Layout
   ========================================================================== */
.event-main-grid {
  display: grid;
  grid-template-columns: 1fr 390px;
  gap: 40px;
  align-items: start;
  margin-top: 16px;
  margin-bottom: 60px;
}

/* Left Column: Gallery, About, Location, Organizer */
.event-details-col {
  display: flex;
  flex-direction: column;
}

/* Gallery thumbnails strip */
.gallery-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 32px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 90px;
  background: #0f172a;
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

/* About Event Section */
.section-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.01em;
}

.about-text {
  font-size: 0.97rem;
  line-height: 1.7;
  color: #334155;
}

.about-text p {
  margin-bottom: 14px;
}

.ver-mais-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 4px;
  margin-bottom: 28px;
  cursor: pointer;
  transition: var(--transition);
}

.ver-mais-btn:hover {
  color: var(--brand-purple);
}

.about-extra {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.3s ease;
  opacity: 0;
}

.about-extra.open {
  max-height: 500px;
  opacity: 1;
  margin-bottom: 18px;
}

/* Event Highlights Grid (4 features) */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 24px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 40px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.highlight-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.highlight-info {
  display: flex;
  flex-direction: column;
}

.highlight-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
}

.highlight-sub {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

/* Location Section (Onde será) */
.location-section {
  margin-bottom: 40px;
}

.location-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
}

.location-details h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.location-city {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.location-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #475569;
  margin-bottom: 18px;
}

.btn-map {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  background: #ffffff;
  transition: var(--transition);
}

.btn-map:hover {
  background: var(--bg-subtle);
  border-color: #cbd5e1;
}

.location-map-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
}

.location-map-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.location-map-card:hover img {
  transform: scale(1.03);
}

/* Organizer Section (Organizado por) */
.organizer-section {
  margin-bottom: 20px;
}

.organizer-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #ffffff;
  gap: 20px;
}

.organizer-left {
  display: flex;
  align-items: center;
  gap: 18px;
}

.organizer-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #0f172a;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.85rem;
  line-height: 1.1;
  text-align: center;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.organizer-avatar span:last-child {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #cbd5e1;
}

.organizer-details {
  display: flex;
  flex-direction: column;
}

.organizer-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.organizer-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.verified-badge {
  color: var(--brand-purple);
  display: inline-flex;
  align-items: center;
}

.organizer-stats {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.organizer-stats span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.organizer-bio {
  font-size: 0.84rem;
  color: #64748b;
  max-width: 480px;
}

.btn-profile {
  padding: 8px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  background: #ffffff;
  white-space: nowrap;
  transition: var(--transition);
}

.btn-profile:hover {
  background: var(--bg-subtle);
  border-color: #cbd5e1;
}

/* ==========================================================================
   Right Column: Sticky Sidebar (Ingressos & Partilha)
   ========================================================================== */
.event-sidebar-col {
  position: sticky;
  top: 92px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Ingressos Card */
.tickets-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-card);
}

.tickets-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.tickets-card-head h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.ticket-tier-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ticket-tier-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}

.ticket-tier-item:last-child {
  border-bottom: none;
  padding-bottom: 4px;
}

.tier-info {
  display: flex;
  flex-direction: column;
}

.tier-name {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-primary);
}

.tier-sub {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-top: 1px;
}

.tier-available {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.tier-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.tier-price {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.tier-counter {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  height: 32px;
}

.counter-btn {
  width: 28px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 600;
  color: #475569;
  background: #f8fafc;
  transition: var(--transition);
}

.counter-btn:hover:not(:disabled) {
  background: #e2e8f0;
  color: #0f172a;
}

.counter-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.counter-val {
  min-width: 28px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* Total Section */
.tickets-divider {
  height: 1px;
  background: var(--border);
  margin: 18px 0;
}

.tickets-total-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 20px;
}

.total-label-group {
  display: flex;
  flex-direction: column;
}

.total-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.total-count {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.total-amount {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.btn-buy-ticket {
  width: 100%;
  padding: 15px;
  background: #0f172a;
  color: #ffffff;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.15);
}

.btn-buy-ticket:hover {
  background: #1e293b;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.22);
}

.security-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brand-purple);
  margin-top: 14px;
}

/* Partilha Card */
.share-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 20px 24px;
  box-shadow: var(--shadow-card);
}

.share-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.share-icon-wrap {
  color: var(--text-primary);
  margin-top: 2px;
}

.share-titles h4 {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.share-titles p {
  font-size: 0.84rem;
  color: var(--text-secondary);
  margin-top: 2px;
  line-height: 1.4;
}

.share-buttons-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 4px;
}

.share-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #ffffff;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.share-btn:hover {
  background: var(--bg-subtle);
  color: var(--text-primary);
  transform: translateY(-2px);
  border-color: #cbd5e1;
}

.share-btn.whatsapp:hover {
  background: #25d366;
  color: #ffffff;
  border-color: #25d366;
}

.share-btn.facebook:hover {
  background: #1877f2;
  color: #ffffff;
  border-color: #1877f2;
}

.share-btn.twitter:hover {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
}

.share-btn.instagram:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #ffffff;
  border-color: transparent;
}

/* ==========================================================================
   Section: Marketplace Search, City Filter & Categories Scroller
   ========================================================================== */
.marketplace-search-section {
  margin-top: 14px;
  margin-bottom: 32px;
}

.search-hero-bar {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 10px 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  margin-bottom: 16px;
  transition: var(--transition);
}

.search-hero-bar:focus-within {
  border-color: #0f172a;
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.08);
}

.search-form {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.search-input-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

.search-input-wrap svg {
  color: #64748b;
  flex-shrink: 0;
}

.search-input-wrap input {
  width: 100%;
  border: none;
  outline: none;
  font-size: 0.96rem;
  font-family: var(--font-body);
  color: var(--text-primary);
  background: transparent;
}

.search-input-wrap input::placeholder {
  color: #94a3b8;
}

.search-clear-btn {
  background: #f1f5f9;
  border: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 16px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  cursor: pointer;
  transition: var(--transition);
}

.search-clear-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.city-filter-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 14px;
  border-left: 1px solid #e2e8f0;
  color: #64748b;
  flex-shrink: 0;
}

.city-select {
  border: none;
  outline: none;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-body);
  color: var(--text-primary);
  background: transparent;
  cursor: pointer;
}

/* Category Scroller */
.category-scroller-wrap {
  position: relative;
  overflow: hidden;
}

.category-scroller {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.category-scroller::-webkit-scrollbar {
  display: none;
}

.cat-pill {
  padding: 8px 18px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.cat-pill:hover {
  background: #f1f5f9;
  color: var(--text-primary);
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

.cat-pill.active {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

/* Featured Section */
.featured-section {
  margin-bottom: 44px;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.featured-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.featured-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: #cbd5e1;
}

.featured-media {
  position: relative;
  height: 180px;
  background: #0f172a;
  overflow: hidden;
}

.featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.featured-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff;
  background: #0f172a;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

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

.featured-date {
  font-size: 0.8rem;
  font-weight: 700;
  color: #6366f1;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.featured-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.3;
}

.featured-venue {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.featured-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
}

.featured-price-label {
  font-size: 0.78rem;
  color: #64748b;
}

.featured-price-val {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
}

.btn-details-sm {
  padding: 7px 14px;
  background: #0f172a;
  color: #ffffff;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
}

.btn-details-sm:hover {
  background: #1e293b;
}

@media (max-width: 900px) {
  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .search-form {
    flex-direction: column;
    align-items: stretch;
  }
  .city-filter-wrap {
    border-left: none;
    border-top: 1px solid #e2e8f0;
    padding-left: 0;
    padding-top: 10px;
  }
  .featured-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Section: Shows & Eventos (Diretamente abaixo do Banner)
   ========================================================================== */
.related-events-section {
  margin-top: 10px;
  margin-bottom: 48px;
}

.related-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 16px;
  flex-wrap: wrap;
}

.related-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.related-subtitle {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-top: 5px;
  margin-bottom: 0;
}

.related-link-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand-purple);
  transition: var(--transition);
  white-space: nowrap;
}

.related-link-all:hover {
  color: var(--brand-purple-dark);
  transform: translateX(2px);
}

/* Period Filters Bar (Hoje, Esta semana, Este mes, Este ano) */
.period-filters-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin-bottom: 24px;
  scrollbar-width: none;
}

.period-filters-bar::-webkit-scrollbar {
  display: none;
}

.period-chip {
  padding: 9px 18px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.period-chip:hover {
  border-color: #cbd5e1;
  color: var(--text-primary);
  background: var(--bg-subtle);
  transform: translateY(-1px);
}

.period-chip.active {
  background: var(--brand-purple);
  color: #ffffff;
  border-color: var(--brand-purple);
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3);
  transform: translateY(-1px);
}

.chip-dot-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.35);
  animation: pulseLive 1.6s infinite;
  display: inline-block;
}

@keyframes pulseLive {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(239, 68, 68, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
  }
}

@keyframes fadeInCard {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.related-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* Dark Theme Event Cards (matching mockup) */
.event-card-dark {
  background: #0b0f19;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  animation: fadeInCard 0.3s ease-out forwards;
  cursor: pointer;
}

.event-card-dark:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
  border-color: rgba(99, 102, 241, 0.3);
}

.card-media {
  position: relative;
  width: 100%;
  height: 120px;
  background: #1e293b;
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.event-card-dark:hover .card-media img {
  transform: scale(1.05);
}

/* Badges inside card media */
.card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  z-index: 2;
}

.badge-popular {
  background: var(--brand-purple);
}

.badge-destaque {
  background: var(--brand-purple);
}

.badge-novo {
  background: var(--brand-blue);
}

.card-fav-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: var(--transition);
}

.card-fav-btn:hover {
  background: rgba(0, 0, 0, 0.7);
  transform: scale(1.1);
}

.card-fav-btn.active {
  background: #ef4444;
}

.card-fav-btn.active svg {
  fill: #ffffff;
}

/* Card Body Details */
.card-content-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px 14px 14px;
}

.date-box {
  width: 42px;
  height: 44px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.date-box .day {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}

.date-box .month {
  font-size: 0.65rem;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

.card-info {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.card-venue {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.74rem;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-price-row {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 3px;
}

.card-price-row .price-val {
  font-weight: 700;
  color: var(--accent-gold);
}

/* ==========================================================================
   Section: Galeria do Evento (Posicionada abaixo dos detalhes)
   ========================================================================== */
.gallery-showcase-section {
  margin-top: 10px;
  margin-bottom: 60px;
}

.gallery-strip-bottom {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 0;
}

.gallery-strip-bottom .gallery-item {
  height: 140px;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  padding: 50px 0 30px 0;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.1fr 1.1fr 1.6fr;
  gap: 36px;
  margin-bottom: 40px;
}

.footer-brand-col p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-top: 12px;
  margin-bottom: 20px;
  max-width: 240px;
}

.footer-social-row {
  display: flex;
  gap: 10px;
}

.footer-social-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition);
}

.footer-social-btn:hover {
  background: var(--bg-subtle);
  color: var(--text-primary);
  border-color: #cbd5e1;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--text-primary);
}

.footer-newsletter-col h4 {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.footer-newsletter-col p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
  line-height: 1.5;
}

.newsletter-form {
  display: flex;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #ffffff;
  transition: var(--transition);
}

.newsletter-form:focus-within {
  border-color: #0f172a;
}

.newsletter-input {
  flex: 1;
  padding: 10px 14px;
  border: none;
  font-size: 0.88rem;
  font-family: var(--font-body);
  outline: none;
}

.newsletter-btn {
  padding: 0 16px;
  background: #0f172a;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.newsletter-btn:hover {
  background: #1e293b;
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Modals
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  padding: 20px;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  transform: scale(0.95);
  transition: transform 0.25s ease;
  padding: 28px;
}

.modal-overlay.open .modal-card {
  transform: scale(1);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-light);
}

.modal-header h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
}

.modal-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: var(--bg-subtle);
  color: var(--text-primary);
}

/* Checkout Modal Details */
.checkout-summary-box {
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 20px;
}

.checkout-tier-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.checkout-total-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  margin-top: 10px;
}

.checkout-form-group {
  margin-bottom: 16px;
}

.checkout-form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.checkout-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  outline: none;
  font-family: var(--font-body);
}

.checkout-input:focus {
  border-color: var(--brand-purple);
  box-shadow: 0 0 0 3px var(--brand-purple-glow);
}

.payment-options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 8px;
}

.payment-option-btn {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  background: #ffffff;
  transition: var(--transition);
}

.payment-option-btn.selected {
  border-color: var(--brand-purple);
  background: #eef2ff;
  color: var(--brand-purple-dark);
}

/* Ticket QR Result */
.ticket-qr-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 0;
}

.qr-code-wrapper {
  padding: 16px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin: 16px 0;
  box-shadow: var(--shadow-sm);
}

/* Toast */
.toast-msg {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #0f172a;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  z-index: 2000;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.toast-msg.show {
  opacity: 1;
  transform: translateY(0);
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.lightbox-modal.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .event-main-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .event-sidebar-col {
    position: static;
  }

  .related-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-newsletter-col {
    grid-column: span 3;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hamburger-btn {
    display: flex;
  }

  .nav-actions .nav-signin-link,
  .nav-actions .btn-signup {
    display: none;
  }

  .hero-card {
    border-radius: var(--radius-lg);
  }

  .hero-banner-img {
    min-height: 200px;
    max-height: 340px;
  }

  .hero-floating-actions {
    top: 14px;
    right: 14px;
    gap: 8px;
  }

  .hero-action-btn {
    width: 38px;
    height: 38px;
  }

  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .location-box {
    grid-template-columns: 1fr;
  }

  .related-cards-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-newsletter-col {
    grid-column: span 1;
  }

  .modal-card {
    padding: 20px 16px;
    border-radius: var(--radius-lg);
    width: 95vw;
  }

  .gallery-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .gallery-item {
    height: 80px;
  }

  .counter-btn {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .btn-buy-primary {
    font-size: 1rem;
    padding: 14px;
  }
}

@media (max-width: 480px) {
  .brand {
    font-size: 1.15rem;
  }

  .highlights-grid {
    grid-template-columns: 1fr;
  }

  .gallery-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .search-form {
    padding: 10px 12px;
  }

  .cat-pill {
    padding: 7px 14px;
    font-size: 0.82rem;
  }

  .period-chip {
    padding: 6px 12px;
    font-size: 0.8rem;
  }
}
