/* 123ticket.at — Dark Navy + Gold Theme (matching logo) */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --bg:        #0f1419;
  --surface:   #1a2236;
  --surface2:  #151d2e;
  --surface3:  #111827;
  --border:    #253047;
  --accent:    #f5a623;
  --accent-dk: #d4881a;
  --accent-lt: #ffd166;
  --text:      #e2e8f0;
  --text-muted:#7b92b2;
  --white:     #ffffff;
  --radius:    12px;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Poppins', system-ui, sans-serif;
  min-height: 100vh;
  margin: 0;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ── Logo ── */
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-ticket {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 36px;
  border: 2.5px solid var(--accent);
  border-radius: 7px;
  position: relative;
  font-size: 17px;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -1px;
  background: transparent;
}
.logo-ticket::before,
.logo-ticket::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--bg);
  border-radius: 50%;
  border: 2.5px solid var(--accent);
  top: 50%;
  transform: translateY(-50%);
}
.logo-ticket::before { right: -5px; }
.logo-ticket::after  { left: -5px; }
.logo-text {
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.5px;
  color: var(--white);
}
.logo-text .at { color: var(--accent); }
.logo-bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
  position: absolute;
  top: -18px;
  right: 2px;
}
.logo-bars span {
  display: block;
  width: 3px;
  background: var(--accent);
  border-radius: 2px;
}

/* ── Navbar ── */
.navbar {
  background: rgba(15, 20, 25, 0.92) !important;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(245,166,35,.12);
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.navbar .nav-link {
  color: #94a3b8 !important;
  font-size: 14px;
  font-weight: 500;
  padding: 7px 14px !important;
  border-radius: 8px;
  transition: color .2s, background .2s;
}
.navbar .nav-link:hover {
  color: var(--accent) !important;
  background: rgba(245,166,35,.08);
}
.navbar .nav-link.active { color: var(--accent) !important; }
.cart-badge {
  background: var(--accent);
  color: #000;
  font-size: 10px;
  font-weight: 800;
  border-radius: 50%;
  padding: 2px 5px;
  margin-left: 1px;
  vertical-align: super;
  line-height: 1;
}

/* ── Buttons ── */
.btn-accent {
  background: var(--accent);
  color: #111;
  border: none;
  font-weight: 700;
  border-radius: 8px;
  padding: 10px 22px;
  transition: background .2s, transform .1s, box-shadow .2s;
  letter-spacing: .2px;
}
.btn-accent:hover {
  background: var(--accent-lt);
  color: #111;
  box-shadow: 0 0 24px rgba(245,166,35,.4);
  transform: translateY(-1px);
}
.btn-accent:active { transform: translateY(0); }

.btn-outline-accent {
  border: 1.5px solid var(--accent);
  color: var(--accent);
  background: transparent;
  font-weight: 600;
  border-radius: 8px;
  padding: 10px 22px;
  transition: all .2s;
}
.btn-outline-accent:hover {
  background: var(--accent);
  color: #111;
  box-shadow: 0 0 20px rgba(245,166,35,.3);
}

.btn-ghost {
  background: rgba(255,255,255,.05);
  color: #94a3b8;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 22px;
  font-weight: 500;
  transition: background .2s, color .2s;
}
.btn-ghost:hover { background: rgba(255,255,255,.09); color: var(--text); }

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--bg);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 15% 50%, rgba(245,166,35,.09) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 85% 30%, rgba(245,166,35,.06) 0%, transparent 60%),
    radial-gradient(ellipse 80% 80% at 50% 100%, rgba(26,34,54,.8) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  height: 180px;
  background: linear-gradient(to top, var(--bg), transparent);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; padding: 60px 0; }
.hero-title {
  font-size: clamp(36px, 6vw, 70px);
  font-weight: 900;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -1px;
}
.hero-title .gold { color: var(--accent); }
.hero-sub {
  font-size: clamp(16px, 2.2vw, 19px);
  color: var(--text-muted);
  margin-bottom: 40px;
  font-weight: 300;
  letter-spacing: .2px;
}
.hero-search {
  display: flex;
  max-width: 560px;
  margin: 0 auto;
  background: rgba(26,34,54,.8);
  border: 1.5px solid rgba(245,166,35,.25);
  border-radius: 50px;
  overflow: hidden;
  backdrop-filter: blur(12px);
  transition: border-color .2s, box-shadow .2s;
}
.hero-search:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(245,166,35,.12), 0 8px 32px rgba(0,0,0,.4);
}
.hero-search input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 15px 22px;
  color: var(--white);
  font-size: 15px;
  font-family: inherit;
  outline: none;
}
.hero-search input::placeholder { color: var(--text-muted); }
.hero-search button {
  background: var(--accent);
  border: none;
  padding: 15px 26px;
  color: #111;
  font-weight: 700;
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
  transition: background .2s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero-search button:hover { background: var(--accent-lt); }

.hero-stats {
  display: flex;
  gap: 48px;
  justify-content: center;
  margin-top: 44px;
  flex-wrap: wrap;
}
.hero-stat-num {
  font-size: 30px;
  font-weight: 800;
  color: var(--accent);
  display: block;
  line-height: 1;
}
.hero-stat-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-top: 4px;
}

/* ── Section Headers ── */
.section-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 4px;
  letter-spacing: -0.3px;
}
.section-sub { color: var(--text-muted); font-size: 14px; margin-bottom: 28px; }
.section-accent-line {
  width: 36px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin-bottom: 10px;
}

/* ── Event Cards ── */
.event-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  height: 100%;
}
.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 60px rgba(0,0,0,.55), 0 0 0 1px rgba(245,166,35,.18);
  border-color: rgba(245,166,35,.22);
}
.event-card-img {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: var(--surface2);
}
.event-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s;
}
.event-card:hover .event-card-img img { transform: scale(1.06); }
.event-card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  background: linear-gradient(135deg, var(--surface2) 0%, #0f1929 100%);
}
.event-date-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--accent);
  color: #111;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: .5px;
  text-transform: uppercase;
}
.event-card-body { padding: 18px 20px 20px; }
.event-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
  line-height: 1.3;
}
.event-venue {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.event-venue i { color: var(--accent); margin-right: 4px; }
.event-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.price-original {
  font-size: 12px;
  color: #4a5a70;
  text-decoration: line-through;
}
.price-sale {
  font-size: 21px;
  font-weight: 800;
  color: var(--accent);
}
.price-label { font-size: 11px; color: var(--text-muted); }
.sold-out-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15,20,25,.75);
  display: flex;
  align-items: center;
  justify-content: center;
}
.sold-out-text {
  background: #2a1a00;
  border: 1.5px solid var(--accent);
  color: var(--accent);
  font-weight: 800;
  font-size: 13px;
  padding: 8px 20px;
  border-radius: 8px;
  transform: rotate(-6deg);
  letter-spacing: 1.5px;
}

/* ── Ticket Category Rows ── */
.ticket-cat-row {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  transition: border-color .2s, background .2s;
}
.ticket-cat-row:hover { border-color: rgba(245,166,35,.25); background: rgba(245,166,35,.03); }
.ticket-cat-type-icon { font-size: 24px; }
.ticket-cat-info { flex: 1; }
.ticket-cat-name { font-weight: 600; color: var(--white); }
.ticket-cat-desc { font-size: 12px; color: var(--text-muted); }
.ticket-cat-prices { text-align: right; }
.ticket-qty-ctrl {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 4px 8px;
}
.ticket-qty-ctrl button {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: background .15s;
  font-weight: 700;
}
.ticket-qty-ctrl button:hover { background: rgba(245,166,35,.15); }
.ticket-qty-ctrl .qty { min-width: 28px; text-align: center; font-weight: 700; color: var(--white); }

/* ── Cart ── */
.cart-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: border-color .2s;
}
.cart-item:hover { border-color: rgba(245,166,35,.2); }
.cart-summary {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  position: sticky;
  top: 90px;
}
.cart-total-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.cart-total-line:last-child { border: none; }
.cart-grand-total {
  font-size: 24px;
  font-weight: 800;
  color: var(--accent);
}

/* ── Forms ── */
.form-control, .form-select {
  background: var(--surface2);
  border: 1.5px solid var(--border);
  color: var(--text);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color .2s, box-shadow .2s;
}
.form-control:focus, .form-select:focus {
  background: var(--surface2);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(245,166,35,.15);
  color: var(--text);
  outline: none;
}
.form-control::placeholder { color: #3a4a60; }
.form-label { font-size: 13px; font-weight: 500; color: #7b92b2; margin-bottom: 6px; }
select option { background: var(--surface); }
.input-group-text {
  background: var(--surface2) !important;
  border-color: var(--border) !important;
  color: var(--text-muted) !important;
}

/* ── Content Cards ── */
.content-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
}

/* ── Newsletter Strip ── */
.newsletter-strip {
  background: linear-gradient(135deg, rgba(245,166,35,.08), rgba(245,166,35,.03));
  border: 1px solid rgba(245,166,35,.18);
  border-radius: 20px;
  padding: 52px 40px;
  text-align: center;
}
.newsletter-input-wrap {
  display: flex;
  max-width: 480px;
  margin: 0 auto;
  gap: 10px;
  flex-wrap: wrap;
}
.newsletter-input-wrap input { flex: 1; min-width: 200px; }

/* ── Why-cards (homepage) ── */
.why-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
  transition: border-color .2s, transform .2s;
}
.why-card:hover {
  border-color: rgba(245,166,35,.25);
  transform: translateY(-3px);
}
.why-icon {
  width: 60px;
  height: 60px;
  background: rgba(245,166,35,.1);
  border: 1px solid rgba(245,166,35,.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 26px;
}

/* ── Footer ── */
footer {
  background: #080c12;
  border-top: 1px solid var(--border);
  padding: 52px 0 28px;
  margin-top: 80px;
}
.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  display: block;
  margin-bottom: 8px;
  transition: color .2s;
}
.footer-link:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  margin-top: 36px;
  font-size: 12px;
  color: #3a4a60;
  text-align: center;
}
.footer-bottom a { color: var(--text-muted); text-decoration: none; }
.footer-bottom a:hover { color: var(--accent); }

/* ── Ticket Tear Divider ── */
.ticket-tear {
  position: relative;
  height: 24px;
  margin: 0 -28px;
}
.ticket-tear::before {
  content: '';
  display: block;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--border) 0, var(--border) 6px, transparent 6px, transparent 12px);
  position: absolute;
  top: 50%;
  left: 0; right: 0;
}

/* ── Badges ── */
.badge-gold {
  background: rgba(245,166,35,.15);
  color: var(--accent);
  border: 1px solid rgba(245,166,35,.25);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: .3px;
}

/* ── Alert overrides ── */
.alert-success { background: rgba(16,185,129,.1); border-color: rgba(16,185,129,.25); color: #34d399; }
.alert-danger  { background: rgba(239,68,68,.1);  border-color: rgba(239,68,68,.25);  color: #f87171; }
.alert-info    { background: rgba(245,166,35,.1); border-color: rgba(245,166,35,.25); color: var(--accent); }

/* ── Breadcrumb ── */
.breadcrumb { background: transparent; padding: 0; }
.breadcrumb-item a { color: var(--accent); text-decoration: none; }
.breadcrumb-item.active,
.breadcrumb-item+.breadcrumb-item::before { color: var(--text-muted); }

/* ── Countdown ── */
.countdown {
  display: inline-flex;
  gap: 20px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 24px;
}
.countdown-unit { text-align: center; }
.countdown-num { font-size: 30px; font-weight: 800; color: var(--accent); line-height: 1; }
.countdown-label { font-size: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-top: 2px; }

/* ── Live badge ── */
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(245,166,35,.1);
  border: 1px solid rgba(245,166,35,.25);
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: .3px;
}
.live-dot {
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 1.8s ease-in-out infinite;
}

/* ── Info box ── */
.info-box {
  background: rgba(245,166,35,.06);
  border: 1px solid rgba(245,166,35,.15);
  border-radius: 12px;
  padding: 16px 18px;
}

/* ── Sell-ticket CTA ── */
.sell-cta {
  background: linear-gradient(135deg, rgba(245,166,35,.08) 0%, rgba(245,166,35,.03) 100%);
  border: 1px solid rgba(245,166,35,.2);
  border-radius: 20px;
  padding: 52px 40px;
  text-align: center;
}

/* ── Nav tabs override ── */
.nav-tabs { border-color: var(--border); }
.nav-tabs .nav-link {
  color: var(--text-muted);
  border: none;
  border-bottom: 2px solid transparent;
  background: transparent;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 0;
  transition: color .2s;
}
.nav-tabs .nav-link:hover { color: var(--accent); background: transparent; }
.nav-tabs .nav-link.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
  background: transparent;
  font-weight: 600;
}

/* ── Misc ── */
.text-accent   { color: var(--accent); }
.text-muted    { color: var(--text-muted) !important; }
.bg-surface    { background: var(--surface); }
.border-accent { border-color: rgba(245,166,35,.3) !important; }
.fw-600        { font-weight: 600; }
.fw-700        { font-weight: 700; }
.fw-800        { font-weight: 800; }
.pulse { animation: pulse 2s ease-in-out infinite; }

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .55; }
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero { min-height: 65vh; }
  .newsletter-strip, .sell-cta { padding: 32px 20px; }
  .ticket-cat-row { flex-direction: column; align-items: flex-start; }
  .ticket-cat-prices { text-align: left; }
  .content-card { padding: 20px; }
}
@media (max-width: 576px) {
  .hero-search { flex-direction: column; border-radius: 14px; }
  .hero-search button { border-radius: 0 0 10px 10px; }
  .hero-stats { gap: 24px; }
}
