
/* Los Fandangos Event System V1.1 */
.lfes-wrap {
  --lfes-bg: #080604;
  --lfes-bg2: #140d07;
  --lfes-orange: #ff6a00;
  --lfes-orange2: #ff9b21;
  --lfes-sand: #d8b37a;
  --lfes-muted: #c8b7a1;
  --lfes-white: #fff;
  background: var(--lfes-bg);
  color: var(--lfes-white);
  font-family: Arial, Helvetica, sans-serif;
  overflow: hidden;
}
.lfes-wrap * { box-sizing: border-box; }
.lfes-wrap a { color: inherit; text-decoration: none; }
.lfes-container { width: min(1180px, 92%); margin: 0 auto; }
.lfes-nav {
  position: sticky; top: 0; z-index: 50;
  min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 0 4%; background: rgba(8,6,4,.92); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.lfes-logo { display:flex; align-items:center; gap:12px; }
.lfes-logo-mark {
  width:54px; height:54px; border-radius:50%; display:grid; place-items:center;
  background: linear-gradient(135deg, var(--lfes-orange), var(--lfes-orange2));
  color:#150700; font-weight:1000; box-shadow:0 0 30px rgba(255,106,0,.45);
}
.lfes-logo strong { display:block; text-transform:uppercase; font-size:18px; line-height:1; }
.lfes-logo small { color:var(--lfes-sand); text-transform:uppercase; letter-spacing:2px; font-size:11px; }
.lfes-nav nav { display:flex; align-items:center; gap:22px; font-size:13px; font-weight:900; text-transform:uppercase; letter-spacing:1px; color:rgba(255,255,255,.78); }
.lfes-nav nav a:hover { color:var(--lfes-orange2); }
.lfes-btn {
  display:inline-flex; align-items:center; justify-content:center;
  border-radius:999px; padding:14px 22px; font-size:13px; font-weight:1000;
  text-transform:uppercase; letter-spacing:1px; border:1px solid transparent; cursor:pointer; transition:.24s ease;
}
.lfes-btn-main { background:linear-gradient(135deg,var(--lfes-orange),var(--lfes-orange2)); color:#170700!important; box-shadow:0 14px 40px rgba(255,106,0,.35); }
.lfes-btn-main:hover { transform:translateY(-2px); box-shadow:0 20px 50px rgba(255,106,0,.55); }
.lfes-btn-ghost { background:rgba(255,255,255,.06); border-color:rgba(255,255,255,.22); color:#fff!important; }
.lfes-hero {
  min-height:92vh; display:flex; align-items:center; position:relative;
  background:
    linear-gradient(90deg, rgba(8,6,4,.95), rgba(8,6,4,.7), rgba(8,6,4,.3)),
    linear-gradient(180deg, rgba(8,6,4,0), rgba(8,6,4,1)),
    url('https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1800&q=80');
  background-size:cover; background-position:center;
}
.lfes-hero h1 { max-width:900px; font-size:clamp(48px,9vw,112px); line-height:.88; letter-spacing:-4px; text-transform:uppercase; margin:0 0 22px; text-shadow:0 14px 55px #000; }
.lfes-hero p { max-width:720px; color:rgba(255,255,255,.84); font-size:clamp(18px,2vw,23px); line-height:1.55; margin:0 0 26px; }
.lfes-kicker, .lfes-label {
  display:inline-flex; color:var(--lfes-orange2); font-size:12px; font-weight:1000;
  letter-spacing:2px; text-transform:uppercase; margin-bottom:16px;
}
.lfes-kicker { padding:9px 14px; border-radius:999px; background:rgba(255,106,0,.14); border:1px solid rgba(255,106,0,.35); }
.lfes-meta { display:flex; flex-wrap:wrap; gap:12px; margin:28px 0; }
.lfes-meta span { padding:12px 16px; border-radius:14px; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.13); color:var(--lfes-sand); font-weight:900; text-transform:uppercase; font-size:13px; }
.lfes-actions { display:flex; flex-wrap:wrap; gap:14px; }
.lfes-strip { padding:42px 0; background:#0d0906; border-top:1px solid rgba(255,255,255,.08); border-bottom:1px solid rgba(255,255,255,.08); }
.lfes-strip-head { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:24px; }
.lfes-strip h3 { color:var(--lfes-sand); text-transform:uppercase; letter-spacing:2px; margin:0; }
.lfes-sponsor-grid { display:grid; grid-template-columns:repeat(5,1fr); gap:14px; }
.lfes-sponsor-grid div { min-height:92px; border-radius:18px; display:grid; place-items:center; text-align:center; padding:14px; color:rgba(255,255,255,.55); font-weight:1000; text-transform:uppercase; background:linear-gradient(145deg,rgba(255,255,255,.08),rgba(255,255,255,.025)); border:1px solid rgba(255,255,255,.12); }
.lfes-section { padding:95px 0; background:#080604; }
.lfes-dark { background:linear-gradient(180deg,#080604,#140d07,#080604); }
.lfes-section h2 { font-size:clamp(36px,5vw,70px); line-height:.95; letter-spacing:-2px; text-transform:uppercase; margin:0 0 18px; }
.lfes-section p { color:var(--lfes-muted); font-size:18px; line-height:1.65; }
.lfes-two { display:grid; grid-template-columns:1.05fr .95fr; gap:36px; align-items:center; }
.lfes-stats { display:grid; grid-template-columns:repeat(2,1fr); gap:16px; margin-top:28px; }
.lfes-stats div { padding:26px; border-radius:22px; background:rgba(20,13,7,.82); border:1px solid rgba(255,106,0,.35); }
.lfes-stats b { display:block; color:var(--lfes-orange2); font-size:42px; line-height:1; margin-bottom:8px; }
.lfes-stats span { color:var(--lfes-muted); text-transform:uppercase; font-size:12px; font-weight:900; letter-spacing:1.5px; }
.lfes-photo-card {
  min-height:520px; border-radius:28px; overflow:hidden; position:relative;
  background:
    linear-gradient(180deg,rgba(0,0,0,.08),rgba(0,0,0,.78)),
    url('https://images.unsplash.com/photo-1529429612779-c8e40ef2f36d?auto=format&fit=crop&w=1200&q=80');
  background-size:cover; background-position:center; border:1px solid rgba(255,255,255,.12); box-shadow:0 30px 90px rgba(0,0,0,.45);
}
.lfes-photo-card > div { position:absolute; left:24px; bottom:24px; right:24px; padding:24px; border-radius:22px; background:rgba(8,6,4,.8); border:1px solid rgba(255,106,0,.28); }
.lfes-photo-card strong { display:block; font-size:28px; color:var(--lfes-orange2); text-transform:uppercase; }
.lfes-photo-card span { color:var(--lfes-muted); }
.lfes-features { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-top:28px; }
.lfes-features article { min-height:245px; padding:30px; border-radius:26px; background:linear-gradient(145deg,rgba(255,106,0,.12),rgba(255,255,255,.035)); border:1px solid rgba(255,255,255,.12); }
.lfes-features article > span { width:52px; height:52px; border-radius:17px; display:grid; place-items:center; background:linear-gradient(135deg,var(--lfes-orange),var(--lfes-orange2)); font-size:25px; margin-bottom:20px; }
.lfes-features h3 { margin:0 0 12px; text-transform:uppercase; font-size:22px; }
.lfes-features p { margin:0; font-size:16px; }
.lfes-schedule { display:grid; gap:14px; margin-top:28px; }
.lfes-schedule > div { display:grid; grid-template-columns:190px 1fr; gap:24px; padding:24px; border-radius:24px; background:rgba(255,255,255,.055); border:1px solid rgba(255,255,255,.1); }
.lfes-schedule strong { color:var(--lfes-orange2); text-transform:uppercase; font-size:22px; }
.lfes-schedule li { color:var(--lfes-muted); line-height:1.9; }
.lfes-register { background:
  linear-gradient(90deg,rgba(8,6,4,.9),rgba(8,6,4,.58)),
  url('https://images.unsplash.com/photo-1500534314209-a25ddb2bd429?auto=format&fit=crop&w=1800&q=80');
  background-size:cover; background-position:center;
}
.lfes-register-card, .lfes-ticket-card { max-width:900px; padding:46px; border-radius:34px; background:rgba(8,6,4,.86); border:1px solid rgba(255,106,0,.32); backdrop-filter:blur(12px); box-shadow:0 35px 100px rgba(0,0,0,.55); }
.lfes-ticket-card { margin:0 auto; }
.lfes-form { display:grid; gap:14px; margin-top:24px; }
.lfes-form-row { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.lfes-form input, .lfes-form textarea, .lfes-form select {
  width:100%; border:1px solid rgba(255,255,255,.14); background:rgba(0,0,0,.32);
  border-radius:16px; color:#fff; padding:15px 16px; font-size:15px; outline:none;
}
.lfes-form textarea { min-height:120px; resize:vertical; }
.lfes-success, .lfes-error { padding:20px; border-radius:20px; margin:20px 0; }
.lfes-success { background:rgba(41,180,93,.14); border:1px solid rgba(41,180,93,.35); }
.lfes-error { background:rgba(255,60,60,.14); border:1px solid rgba(255,60,60,.35); }
.lfes-success img { max-width:240px; background:#fff; padding:10px; border-radius:14px; display:block; margin:14px 0; }
.lfes-ticket-section { min-height:90vh; display:flex; align-items:center; background:
  linear-gradient(120deg,rgba(8,6,4,.96),rgba(8,6,4,.82)),
  radial-gradient(circle at top right,rgba(255,106,0,.2),transparent 30%);
}
.lfes-ticket-grid { display:grid; grid-template-columns:1fr 280px; gap:26px; align-items:center; }
.lfes-ticket-qr img, .lfes-ticket-public img { max-width:260px; width:100%; background:#fff; padding:12px; border-radius:18px; }
.lfes-ticket-public { text-align:center; }
.lfes-ticket-public img { margin:0 auto 20px; }
.lfes-staff-badge { display:inline-block; background:rgba(255,106,0,.16); border:1px solid rgba(255,106,0,.35); color:var(--lfes-orange2); border-radius:999px; padding:9px 14px; text-transform:uppercase; font-weight:1000; letter-spacing:1px; margin-bottom:18px; }
.lfes-status-valid { color:#47e37c; font-weight:1000; }
.lfes-status-checked, .lfes-warning { color:#ffcc66; font-weight:1000; }
.lfes-safe-note { background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.1); border-radius:18px; padding:16px; }
.lfes-footer { padding:50px 0; background:#050403; border-top:1px solid rgba(255,255,255,.08); }
.lfes-footer strong { color:var(--lfes-orange2); text-transform:uppercase; }
.lfes-footer p, .lfes-footer small { color:var(--lfes-muted); }

@media(max-width:980px){
  .lfes-nav nav{display:none}
  .lfes-two,.lfes-ticket-grid{grid-template-columns:1fr}
  .lfes-features{grid-template-columns:1fr 1fr}
  .lfes-sponsor-grid{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:680px){
  .lfes-nav{min-height:70px}
  .lfes-logo strong{font-size:15px}
  .lfes-logo-mark{width:46px;height:46px}
  .lfes-hero{min-height:86vh}
  .lfes-hero h1{font-size:52px;letter-spacing:-2px}
  .lfes-actions,.lfes-strip-head{flex-direction:column;align-items:stretch}
  .lfes-btn{width:100%}
  .lfes-section{padding:70px 0}
  .lfes-sponsor-grid,.lfes-features,.lfes-stats{grid-template-columns:1fr}
  .lfes-schedule > div{grid-template-columns:1fr}
  .lfes-form-row{grid-template-columns:1fr}
  .lfes-register-card,.lfes-ticket-card{padding:30px 22px}
  .lfes-photo-card{min-height:420px}
}


/* Staff Mobile Scanner V1.2 */
.lfes-scanner-section {
  min-height: 100vh;
  background:
    linear-gradient(120deg, rgba(8,6,4,.96), rgba(8,6,4,.82)),
    radial-gradient(circle at top right, rgba(255,106,0,.20), transparent 35%);
}
.lfes-scanner-card {
  max-width: 920px;
  margin: 0 auto;
  padding: 38px;
  border-radius: 34px;
  background: rgba(8,6,4,.88);
  border: 1px solid rgba(255,106,0,.32);
  box-shadow: 0 35px 100px rgba(0,0,0,.55);
}
.lfes-scanner-topbar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 18px 0 20px;
}
.lfes-camera-box {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-height: 70vh;
  overflow: hidden;
  border-radius: 28px;
  background: #000;
  border: 1px solid rgba(255,255,255,.14);
}
#lfes-scanner-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.lfes-scan-frame {
  position: absolute;
  inset: 15%;
  border: 3px solid var(--lfes-orange2);
  border-radius: 24px;
  box-shadow:
    0 0 0 999px rgba(0,0,0,.25),
    0 0 35px rgba(255,106,0,.45);
  pointer-events: none;
}
.lfes-manual-scan {
  margin-top: 22px;
  padding: 20px;
  border-radius: 22px;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.10);
}
.lfes-manual-scan h3 {
  margin: 0 0 8px;
  text-transform: uppercase;
  color: var(--lfes-orange2);
}
.lfes-manual-scan p {
  margin: 0 0 14px;
  font-size: 15px;
}
.lfes-manual-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
}
.lfes-manual-row input {
  width: 100%;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.32);
  border-radius: 16px;
  color: #fff;
  padding: 15px 16px;
  font-size: 15px;
  outline: none;
}
.lfes-scanner-message {
  margin-top: 16px;
  color: var(--lfes-sand);
  font-weight: 800;
}
.lfes-scan-result {
  margin-top: 18px;
}
.lfes-result-card {
  padding: 24px;
  border-radius: 26px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
}
.lfes-result-card h3 {
  margin: 0 0 14px;
  color: #fff;
  text-transform: uppercase;
  font-size: 28px;
}
.lfes-result-card p {
  margin: 6px 0;
  font-size: 16px;
}
.lfes-result-valid {
  color: #47e37c;
  font-weight: 1000;
}
.lfes-result-used {
  color: #ffcc66;
  font-weight: 1000;
}
.lfes-result-error {
  padding: 18px;
  border-radius: 18px;
  color: #fff;
  background: rgba(255,60,60,.16);
  border: 1px solid rgba(255,60,60,.35);
  font-weight: 800;
}

@media(max-width:680px){
  .lfes-scanner-card { padding: 26px 18px; }
  .lfes-scanner-topbar, .lfes-manual-row { grid-template-columns: 1fr; flex-direction: column; }
  .lfes-manual-row { display: grid; }
  .lfes-camera-box { aspect-ratio: 3 / 4; }
}


/* V1.3 Html5 QR Reader Fix */
.lfes-html5-camera-box {
  display: block;
  overflow: hidden;
}
#lfes-qr-reader {
  width: 100%;
  min-height: 420px;
  background: #000;
  border: 0 !important;
}
#lfes-qr-reader video {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 28px;
}
#lfes-qr-reader__dashboard_section,
#lfes-qr-reader__scan_region,
#lfes-qr-reader__dashboard {
  background: transparent !important;
  color: #fff !important;
  border: 0 !important;
}
#lfes-qr-reader__dashboard_section_csr button,
#lfes-qr-reader button {
  border-radius: 999px !important;
  padding: 10px 16px !important;
  border: 1px solid rgba(255,255,255,.25) !important;
  background: rgba(255,106,0,.9) !important;
  color: #160700 !important;
  font-weight: 900 !important;
}
#lfes-qr-reader__status_span {
  color: var(--lfes-sand) !important;
}
#lfes-qr-reader img {
  display: none !important;
}

@media(max-width:680px){
  #lfes-qr-reader { min-height: 360px; }
}


/* V1.4 Auto Check-In live result */
.lfes-scanner-live-note {
  margin-top: 10px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255,106,0,.10);
  border: 1px solid rgba(255,106,0,.25);
  color: var(--lfes-sand);
  font-size: 14px;
  line-height: 1.5;
}
.lfes-scanner-message {
  margin-top: 10px;
  margin-bottom: 8px;
  color: var(--lfes-orange2);
  font-weight: 900;
  min-height: 24px;
}
.lfes-scan-result-live {
  margin-top: 0;
  margin-bottom: 14px;
}
.lfes-result-card {
  margin-top: 0;
  padding: 18px 20px;
}
.lfes-result-card h3 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1;
}
.lfes-result-card p {
  margin: 5px 0;
  font-size: 15px;
}
.lfes-result-autocheck {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(71,227,124,.12);
  border: 1px solid rgba(71,227,124,.35);
  color: #7df0a0;
  font-weight: 1000;
}
.lfes-manual-scan {
  margin-top: 14px;
}
@media(max-width:680px){
  .lfes-result-card { padding: 16px; }
  .lfes-result-card h3 { font-size: 21px; }
}


/* V1.4.1 Clean Status Fix */
.lfes-result-used {
  color: #7df0a0;
  font-weight: 1000;
}
.lfes-result-card h3 {
  opacity: 1 !important;
  color: #fff !important;
  text-shadow: none !important;
}
.lfes-result-card p strong {
  color: var(--lfes-sand);
}
.lfes-result-card {
  border-color: rgba(71,227,124,.25);
}


/* V1.4.2 Cleaner already checked-in status */
.lfes-check-time {
  margin-top: -2px !important;
  margin-bottom: 14px !important;
  font-size: 13px !important;
  opacity: .78;
}
.lfes-check-time strong {
  color: var(--lfes-sand);
}


/* V2.0 Payment + Waiver */
.lfes-waiver-box {
  padding: 20px;
  border-radius: 22px;
  background: rgba(255,106,0,.10);
  border: 1px solid rgba(255,106,0,.28);
  margin: 6px 0 4px;
}
.lfes-waiver-box h3 {
  margin: 0 0 12px;
  color: var(--lfes-orange2);
  text-transform: uppercase;
  letter-spacing: .5px;
}
.lfes-waiver-text {
  max-height: 170px;
  overflow: auto;
  padding: 14px;
  border-radius: 16px;
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.10);
  color: var(--lfes-muted);
  line-height: 1.55;
  font-size: 14px;
  margin-bottom: 14px;
}
.lfes-waiver-check {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  align-items: start;
  color: #fff;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 14px;
}
.lfes-waiver-check input {
  width: 20px !important;
  height: 20px;
  margin-top: 2px;
}
