:root {
  --accent: #4dc4ff;
  --accent2: #00a6ff;
  --glass: rgba(255,255,255,0.08);
  --shadow: 0 12px 40px rgba(0,0,0,0.5);
  --radius: 16px;
  --muted: rgba(255,255,255,0.7);
  --inputcolor: #000;
}
* { box-sizing: border-box; }
body, html { margin: 0; padding: 0; height: 100%; font-family: 'Inter', sans-serif; color: white; overflow-x: hidden; }

/* Sfondi — foto autobusi/automjeti me blur */
.background {
  position: fixed;
  inset: 0;
  background: url("https://images.unsplash.com/photo-1569448096483-1114dddb646d?q=80&w=1935&auto=format&fit=crop") center/cover no-repeat;
  filter: blur(6px) brightness(0.55);
  z-index: -2;
}
.overlay {
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,11,30,0.35), rgba(3,10,25,0.7));
  z-index: -1;
}

.header {
  text-align: center;
  padding: 25px;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.logo {
  font-size: 28px;
  font-weight: 700;
}
.logo span {
  color: var(--accent);
}
.tagline {
  font-size: 14px;
  color: var(--muted);
  margin-top: 4px;
}

.container {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 20px;
  display: grid;
  gap: 20px;
}
.card {
  background: var(--glass);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}
.ticket-card {
  max-width: 500px;
}
.ticket-html {
  background: rgba(255,255,255,0.05);
  padding: 12px;
  border-radius: 10px;
  margin-bottom: 12px;
}
.ticket-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
.hidden { display: none; }

label {
  display: block;
  margin: 6px 0;
  font-weight: 600;
  color: var(--muted);
}
.input-black {
  color: var(--inputcolor);
  background: #fff;
  padding: 10px;
  border-radius: 10px;
  border: none;
  margin-bottom: 12px;
  font-weight: 600;
}

button {
  padding: 12px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  transition: .3s;
}
.primary {
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  color: #021025;
}
.primary:hover {
  transform: scale(1.05);
}
.ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.06);
  color: var(--muted);
}
.price-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-weight: 600;
}

.footer {
  text-align: center;
  padding: 24px;
  font-size: 13px;
  color: var(--muted);
}

/* Animacione */
.fade-in { animation: fadeIn 1.2s ease forwards; }
.slide-up { animation: slideUp 1s ease forwards; }
.scale-in { animation: scaleIn .8s ease forwards; }
.card-fade { animation: cardFade .9s ease forwards; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { transform: translateY(50px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes scaleIn { from { transform: scale(0.7); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes cardFade { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
