@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&display=swap');

/* Variables */
:root {
  --color-navy-deep: #001529;
  --color-navy-dark: #001021;
  --color-navy-light: #001c38;
  --color-gold: #d2a873;
  --color-gold-dark: #bd925c;
  --color-white: #ffffff;
  --color-gray: #9ca3af;
  --color-gray-dark: #4b5563;
  --color-red: #ef4444;
  --color-red-dark: #dc2626;
  --font-sans: 'Montserrat', ui-sans-serif, system-ui, sans-serif;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Hide scrollbar for Chrome, Safari and Opera */
*::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
html, body {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
  background-color: var(--color-navy-deep);
  color: var(--color-white);
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
}

/* Background image overlay setup */
.fixed-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image: url('images/fetival_loket_dejeka_web_2.jpg');
  background-size: cover;
  background-position: center;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.bg-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  pointer-events: none;
}

.screen {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  width: 100%;
  padding: 2rem 1rem;
}

/* Helpers */
.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.flex-col {
  display: flex;
  flex-direction: column;
}

.flex-row {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-start {
  justify-content: flex-start;
}

.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-5 > * + * { margin-top: 1.25rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }

.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }

.pt-2 { padding-top: 0.5rem; }
.pt-4 { padding-top: 1rem; }
.pt-6 { padding-top: 1.5rem; }
.pt-15 { padding-top: 15px; }

.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-32 { margin-bottom: 2.5rem; }

.mx-auto { margin-left: auto; margin-right: auto; }
.hidden { display: none !important; }
.cursor-pointer { cursor: pointer; }
.text-center { text-align: center; }
.text-gold { color: var(--color-gold); }
.text-red { color: var(--color-red); }
.text-gray { color: var(--color-gray); }
.text-bold { font-weight: 700; }
.uppercase { text-transform: uppercase; }
.tracking-wider { tracking: 0.05em; letter-spacing: 0.05em; }
.tracking-widest { tracking: 0.1em; letter-spacing: 0.1em; }
.text-10 { font-size: 10px; }
.text-12 { font-size: 12px; }
.text-xs { font-size: 0.8rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-16 { font-size: 16px; }
.text-bold { font-weight: 700; }
.text-question { 
  font-size: 1.3rem;
  line-height: 1.5;
  margin-bottom: 30px; 
}
.block { display: block; }
.decoration-none { text-decoration: none; }

/* Large Crown Logo */
.brand-logo-large {
  max-height: 6rem;
  width: auto;
  object-contain: fill;
  filter: drop-shadow(0 0 15px rgba(210, 168, 115, 0.4));
  user-select: none;
  pointer-events: none;
}

.brand-logo-med {
  max-height: 5rem;
  width: auto;
  object-fit: contain;
  margin-left: auto;
  margin-right: auto;
  user-select: none;
  pointer-events: none;
}

.brand-logo-header {
  height: 3.5rem;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-fast), filter var(--transition-fast);
}
.brand-logo-header:hover {
  filter: brightness(1.1);
}
.brand-logo-header:active {
  transform: scale(0.95);
}

.brand-logo-header-map {
  height: 3.5rem;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-fast);
}
.brand-logo-header-map:active {
  transform: scale(0.95);
}

.campaign-header-logo {
  height: 4.5rem;
  width: auto;
  max-width: 250px;
  object-fit: contain;
}

/* Card Style */
.card {
  width: 100%;
  background-color: rgba(0, 21, 41, 0.95);
  border: 2px solid rgba(210, 168, 115, 0.4);
  border-radius: 2.5rem;
  padding: 2rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative;
}

.max-w-lg { max-width: 32rem; }
.max-w-md { max-width: 28rem; }
.max-w-3xl { max-width: 48rem; }

/* Dialog specific adjustments */
.border-gold-30 { border-color: rgba(210, 168, 115, 0.3); }
.border-gold-40 { border-color: rgba(210, 168, 115, 0.4); }

.glow-sphere {
  position: absolute;
  top: 0;
  right: 0;
  width: 8rem;
  height: 8rem;
  background-color: rgba(210, 168, 115, 0.05);
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}

/* Title Styles */
.title-large {
  font-size: 1.5rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--color-white);
  letter-spacing: 0.05em;
  line-height: 1.25;
}

.title-med {
  font-size: 2rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-white);
  letter-spacing: -0.025em;
  line-height: 1.35;
}

/* Button Styles */
.btn {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  padding: 1rem 2rem;
  border-radius: 9999px;
  border: 2px solid transparent;
  cursor: pointer;
  user-select: none;
  transition: all var(--transition-normal);
}

.btn-gold {
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
  color: var(--color-navy-deep);
  box-shadow: 0 4px 20px rgba(210, 168, 115, 0.4);
}
.btn-gold:hover {
  filter: brightness(1.1);
}
.btn-gold:active {
  transform: scale(0.95);
}

.btn-outline {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.25);
}
.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(210, 168, 115, 0.6);
}
.btn-outline:active {
  transform: scale(0.95);
}

.btn-red {
  background-color: var(--color-red-dark);
  color: var(--color-white);
  box-shadow: 0 4px 20px rgba(220, 38, 38, 0.4);
}
.btn-red:hover {
  background-color: #b91c1c;
}
.btn-red:active {
  transform: scale(0.95);
}

.btn-cta {
  width: 100%;
  max-width: 28rem;
  background-color: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-gold);
  font-weight: 600;
  padding: 1.125rem 2rem;
  font-size: 1rem;
  letter-spacing: 0.1em;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}
.btn-cta:hover:not(:disabled) {
  background-color: var(--color-gold);
  color: var(--color-navy-deep);
  box-shadow: 0 12px 35px rgba(210, 168, 115, 0.4);
  transform: translateY(-4px);
}
.btn-cta:active:not(:disabled) {
  transform: translateY(0);
}
.btn-cta:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.arrow-right-icon {
  transition: transform var(--transition-normal);
}
.btn-cta:hover .arrow-right-icon {
  color: var(--color-navy-deep);
  transform: translateX(6px);
}

.btn-back {
  position: fixed;
  bottom: 1.5rem;
  left: 2rem;
  z-index: 50;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  padding: 0.875rem 1.5rem;
  border-radius: 9999px;
  background-color: rgba(0, 28, 56, 0.95);
  color: var(--color-gray);
  border: 2px solid rgba(210, 168, 115, 0.4);
  cursor: pointer;
  user-select: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all var(--transition-normal);
}
.btn-back:hover {
  border-color: var(--color-gold);
  color: var(--color-white);
}
.btn-back:active {
  transform: scale(0.95);
}

.arrow-left-icon {
  color: var(--color-gold);
  transition: transform var(--transition-normal);
}
.btn-back:hover .arrow-left-icon {
  transform: translateX(-4px);
}

/* Underage Gate Specific */
.divider-red {
  height: 2px;
  width: 6rem;
  background: linear-gradient(to right, transparent, var(--color-red), transparent);
}

/* Category Selection Layout */
.absolute-header-left {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  z-index: 50;
}

.absolute-header-right {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 30;
}

.dummy-top-spacing {
  height: 3.5rem;
}

/* Ticket Badge on top right */
.ticket-badge {
  position: relative;
  background: linear-gradient(to bottom right, rgba(0, 28, 56, 0.95), rgba(0, 13, 26, 0.95));
  border: 1px solid rgba(210, 168, 115, 0.3);
  border-radius: 1rem;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.875rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(210, 168, 115, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all var(--transition-normal);
  overflow: hidden;
}

.ticket-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(210, 168, 115, 0.4), transparent);
}

.ticket-badge:hover {
  border-color: rgba(210, 168, 115, 0.6);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.7), 0 0 25px rgba(210, 168, 115, 0.15);
  transform: scale(1.02);
}

.ticket-icon-wrapper {
  background: linear-gradient(to bottom right, var(--color-gold), var(--color-gold-dark));
  border-radius: 0.75rem;
  padding: 0.625rem;
  color: var(--color-navy-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-normal);
}
.ticket-badge:hover .ticket-icon-wrapper {
  transform: rotate(6deg);
}

.ticket-icon-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(255,255,255,0.2);
  transform: translateX(-100%);
}
.ticket-badge:hover .ticket-icon-wrapper::after {
  transform: translateX(100%);
  transition: transform 1s ease-out;
}

.ticket-svg {
  stroke-width: 2.2;
}

.ticket-badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.ticket-count {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--color-gold);
  letter-spacing: -0.05em;
}

.ticket-label {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 4px;
}

/* Campaign Container Card glow border */
#campaign-container-card.card-glow {
  border-color: var(--color-gold);
  box-shadow: 0 0 40px rgba(210, 168, 115, 0.7), inset 0 0 20px rgba(210, 168, 115, 0.3), 0 20px 50px rgba(0,0,0,0.7);
}

/* Selection Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  width: 100%;
}

/* Ticket Design Card */
.ticket-card {
  background-color: #d2a873;
  border-radius: 1rem;
  aspect-ratio: 4/3;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
  user-select: none;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.ticket-card:hover {
  transform: scale(1.02);
}

.ticket-card.selected {
  outline: 2px solid var(--color-gold);
  box-shadow: 0 0 30px rgba(210, 168, 115, 0.4);
  transform: scale(0.98);
}

/* Ticket Notch Overlays (simulates cutout using page background color) */
.notch {
  position: absolute;
  width: 1.125rem;
  height: 1.125rem;
  background-color: var(--color-navy-deep);
  border-radius: 50%;
  z-index: 20;
  transition: border-color var(--transition-normal);
}

.notch-top {
  top: 0;
  right: 24%;
  transform: translate(50%, -50%);
  border-bottom: 2px solid transparent;
}
.ticket-card.selected .notch-top {
  border-bottom-color: var(--color-gold);
}
.ticket-card:hover:not(.selected) .notch-top {
  border-bottom-color: rgba(210, 168, 115, 0.4);
}

.notch-bottom {
  bottom: 0;
  right: 24%;
  transform: translate(50%, 50%);
  border-top: 2px solid transparent;
}
.ticket-card.selected .notch-bottom {
  border-top-color: var(--color-gold);
}
.ticket-card:hover:not(.selected) .notch-bottom {
  border-top-color: rgba(210, 168, 115, 0.4);
}

/* Perforation dashed line */
.perforation-line {
  position: absolute;
  right: 24%;
  top: 0.75rem;
  bottom: 0.75rem;
  width: 0;
  border-right: 2px dashed rgba(203, 213, 225, 0.3);
  z-index: 25;
  transition: border-color var(--transition-normal);
}
.ticket-card.selected .perforation-line {
  border-right-color: rgba(210, 168, 115, 0.45);
}

/* Ticket Card Body */
.ticket-card-body {
  width: 100%;
  height: 100%;
  padding: 1rem;
  padding-right: 24%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 15;
  transform: translateX(-17px);
}

.ticket-logo {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  pointer-events: none;
  transition: transform var(--transition-slow);
}
.ticket-card:hover .ticket-logo {
  transform: scale(1.03);
}

.stub-bg {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 24%;
  background-color: #f8fafc;
  z-index: 10;
  transition: background-color var(--transition-normal);
}
.ticket-card.selected .stub-bg {
  background-color: rgba(210, 168, 115, 0.1);
  border-left: 1px dashed #fff;
}

/* Checkbox Indicator in stub */
.checkbox-indicator {
  position: absolute;
  top: 50%;
  right: 12%;
  transform: translate(50%, -50%);
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  background-color: var(--color-white);
  color: transparent;
  z-index: 30;
  transition: all var(--transition-normal);
}

.ticket-card.selected .checkbox-indicator {
  border-color: var(--color-gold);
  color: var(--color-gold);
  background-color: var(--color-white);
  box-shadow: 0 0 10px rgba(210, 168, 115, 0.4);
}

.ticket-card:hover:not(.selected) .checkbox-indicator {
  border-color: rgba(210, 168, 115, 0.6);
}

.check-icon {
  opacity: 0;
  transition: opacity var(--transition-normal);
}
.ticket-card.selected .check-icon {
  opacity: 1;
}

/* Footer Links */
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  column-gap: 1.5rem;
  row-gap: 0.5rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.05em;
  padding-top: 1.5rem;
  width: 100%;
}

.footer-links-fixed {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  column-gap: 1.5rem;
  row-gap: 0.375rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.05em;
  width: 100%;
  max-width: 32rem;
  padding: 0 1rem;
  text-align: center;
  z-index: 40;
  user-select: none;
}

.footer-link {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition-fast);
}
.footer-link:hover {
  color: var(--color-gold);
}

/* 3. MAP SCREEN LAYOUT */
.map-header-left {
  position: fixed;
  top: 1.5rem;
  left: 2rem;
  z-index: 50;
  user-select: none;
}

.map-header-right {
  position: fixed;
  top: 1.5rem;
  right: 2rem;
  z-index: 50;
  user-select: none;
}

.map-content-container {
  padding-top: 7rem;
  padding-bottom: 5rem;
  width: 100%;
  max-width: 68rem;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 10;
}

.bg-navy {
  background-color: var(--color-navy-deep);
}

.desktop-map-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: -1.5rem auto 1rem auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  user-select: none;
}

.map-aspect-container {
  position: relative;
  width: 100%;
  aspect-ratio: 1000/600;
}

.vector-map {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.85;
  pointer-events: none;
}

/* Map Interactive Point / Pins */
.map-pin-group {
  position: absolute;
  cursor: pointer;
  z-index: 20;
  transform: translate(-50%, -50%);
}

.ping-ring {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background-color: rgba(210, 168, 115, 0.2);
  border: 1px solid rgba(210, 168, 115, 0.45);
  animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
  opacity: 0.75;
  pointer-events: none;
}

.pin-dot {
  position: relative;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background-color: var(--color-gold);
  border: 2px solid var(--color-white);
  box-shadow: 0 0 15px rgba(210, 168, 115, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
}
.map-pin-group:hover .pin-dot {
  transform: scale(1.25);
  background-color: var(--color-white);
}

.pin-dot-inner {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background-color: var(--color-navy-deep);
}

.pin-city-name {
  position: absolute;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  pointer-events: none;
  min-width: 125px;
}

.pin-city-badge {
  display: block;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-white);
  background-color: rgba(0, 28, 56, 0.9);
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  border: 1px solid rgba(210, 168, 115, 0.2);
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.95);
}

/* Tooltip on Pin Hover */
.pin-tooltip {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translate(-50%, 10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 30;
  pointer-events: none;
  opacity: 0;
  transition: all var(--transition-normal);
}

.map-pin-group:hover .pin-tooltip {
  opacity: 1;
  transform: translate(-50%, 0);
}

.tooltip-card {
  background-color: rgba(0, 21, 41, 0.95);
  border: 2px solid var(--color-gold);
  padding: 0.75rem 1rem;
  border-radius: 1rem;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.85);
  text-align: center;
  min-width: 210px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.tooltip-date {
  color: var(--color-gold);
  font-weight: 800;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.tooltip-venue {
  color: var(--color-white);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 4px;
}

.tooltip-city {
  font-size: 9px;
  color: var(--color-gray);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-top: 1px solid rgba(210, 168, 115, 0.2);
  padding-top: 4px;
  margin-top: 4px;
}

.tooltip-action {
  font-size: 10px;
  color: var(--color-gold);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 6px;
  animation: pulse-light 2s infinite;
}

.tooltip-caret {
  width: 0.625rem;
  height: 0.625rem;
  background-color: rgba(0, 21, 41, 0.95);
  border-right: 2px solid var(--color-gold);
  border-bottom: 2px solid var(--color-gold);
  transform: rotate(45deg);
  margin-top: -5px;
}

/* 4. CONTEST SCREEN MODAL */
.contest-popup-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.backdrop-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contest-modal {
  width: 100%;
  max-width: 36rem;
  padding: 3rem;
  background-color: rgba(0, 21, 41, 0.9);
  border-width: 2px;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  position: relative;
  z-index: 10;
  border-radius: 2.5rem;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}

#contest-modal-card.card-glow {
  border-color: var(--color-gold);
  box-shadow: 0 0 40px rgba(210, 168, 115, 0.7), inset 0 0 20px rgba(210, 168, 115, 0.3), 0 20px 50px rgba(0,0,0,0.7);
}

.glow-sphere-left {
  position: absolute;
  top: -6rem;
  right: -6rem;
  width: 12rem;
  height: 12rem;
  background-color: rgba(210, 168, 115, 0.05);
  border-radius: 50%;
  filter: blur(48px);
  pointer-events: none;
}

.glow-sphere-right {
  position: absolute;
  bottom: -6rem;
  left: -6rem;
  width: 12rem;
  height: 12rem;
  background-color: rgba(210, 168, 115, 0.05);
  border-radius: 50%;
  filter: blur(48px);
  pointer-events: none;
}

.btn-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: transparent;
  border: none;
  color: var(--color-gold);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: all var(--transition-normal);
}
.btn-close:hover {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--color-white);
  transform: scale(1.05);
}
.btn-close:active {
  transform: scale(0.95);
}

.close-icon {
  width: 1.5rem;
  height: 1.5rem;
}

.form-container {
  background-color: rgba(0, 0, 0, 0.3);
  padding: 1.5rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(255,255,255,0.05);
}

.input-label {
  display: block;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gold-dark);
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  background-color: rgba(0, 21, 41, 0.9);
  border: 1px solid rgba(210, 168, 115, 0.3);
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  color: var(--color-white);
  font-size: 1rem;
  transition: all var(--transition-normal);
}
.form-input:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 1px var(--color-gold);
}
.form-input::placeholder {
  color: var(--color-gray-dark);
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.25rem 0;
}

.form-checkbox {
  margin-top: 0.25rem;
  width: 1rem;
  height: 1rem;
  border-radius: 0.25rem;
  border-color: rgba(210, 168, 115, 0.4);
  background-color: rgba(0, 21, 41, 0.9);
  accent-color: var(--color-gold);
  cursor: pointer;
}

.checkbox-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #d1d5db;
  line-height: 2;
  cursor: pointer;
  transition: color var(--transition-fast);
}
.checkbox-label:hover {
  color: var(--color-white);
}

.btn-submit {
  width: 100%;
  background-color: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-gold);
  font-weight: 600;
  padding: 1rem 2rem;
  font-size: 1rem;
  letter-spacing: 0.1em;
  border-radius: 9999px;
  cursor: pointer;
  position: relative;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  transition: all var(--transition-normal);
}
.btn-submit:hover:not(:disabled) {
  background-color: var(--color-gold);
  color: var(--color-navy-deep);
  box-shadow: 0 12px 35px rgba(210, 168, 115, 0.7), inset 0 0 12px rgba(210, 168, 115, 0.2);
  transform: translateY(-4px);
}
.btn-submit:active:not(:disabled) {
  transform: translateY(0);
}
.btn-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.send-icon {
  color: var(--color-gold);
  transition: transform var(--transition-normal);
}
.btn-submit:hover .send-icon {
  color: var(--color-navy-deep);
  transform: translate(3px, -3px);
}

/* Submit Spinner */
.spinner {
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid var(--color-white);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin var(--transition-fast) linear infinite;
  display: inline-block;
}
.btn-submit:hover .spinner {
  border-color: var(--color-navy-deep);
  border-top-color: transparent;
}

/* 5. SUCCESS SCREEN LAYOUT */
.checkmark-circle {
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
  box-shadow: 0 20px 40px rgba(210, 168, 115, 0.2);
}

.checkmark-svg {
  color: var(--color-navy-deep);
  stroke-width: 3;
}

/* MOBILE LAYOUT & RESPONSIVENESS */
.show-mobile {
  display: none !important;
}

@media (max-width: 767px) {
  .hide-mobile {
    display: none !important;
  }
  
  .show-mobile {
    display: block !important;
  }
  
  .screen {
    padding: 2rem 1rem 2rem 1rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    justify-content: space-between;
  }
  
  /* Age Gate Mobile adjustments */
  #age-gate {
    padding: 1rem;
  }
  
  /* Absolute headers adjustments */
  .absolute-header-left {
    position: absolute;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .absolute-header-right {
    display: none !important;
  }
  
  .dummy-top-spacing {
    height: 1.5rem;
  }
  
  .card {
    border-radius: 2rem;
    padding: 1.5rem;
  }

  .title-med {
    font-size: 1.35rem;
  }
  
  /* Grid mobile settings */
  .cards-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }
  
  .ticket-card {
    aspect-ratio: auto;
    height: 75px;
    border-radius: 0.75rem;
    background: #d2a873;
  }
  
  .notch {
    width: 0.875rem;
    height: 0.875rem;
  }
  
  .notch-top {
    top: 0;
    right: 24%;
    transform: translate(50%, -50%);
  }
  
  .notch-bottom {
    bottom: 0;
    right: 24%;
    transform: translate(50%, 50%);
  }
  
  .ticket-card-body {
    padding-right: 24%;
    transform: translateX(-10px);
  }

  .ticket-logo-1 {
    max-height: 70px;
  }
  .ticket-logo-2 {
    max-height: 80px;
  }
  
  .checkbox-indicator {
    width: 1.5rem;
    height: 1.5rem;
  }
  
  .w-full-mobile {
    width: 100% !important;
  }
  
  .flex-row {
    flex-direction: column;
  }
  
  .flex-row.gap-3 > * + * {
    margin-top: 0.75rem;
  }
  
  /* Map Page Mobile Layout */
  #map-screen {
    padding-top: 1rem;
  }
  
  .map-header-left {
    position: relative;
    top: -20px;
    left: 0;
    display: flex;
    justify-content: center;
    margin-top: 5rem;
    margin-bottom: 1rem;
    width: 100%;
  }
  
  .map-header-right {
    display: none !important;
  }
  
  .btn-back {
    position: absolute;
    top: 1rem;
    left: 1rem;
    bottom: auto;
  }
  
  .map-content-container {
    padding-top: 0;
    padding-bottom: 4rem;
  }
  
  .max-md-mt {
    margin-top: -1.25rem;
  }
  
  /* Mobile list grid */
  .mobile-list-wrapper {
    width: 100%;
    margin-top: 1rem;
  }
  
  .mobile-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  .mobile-event-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    padding: 1rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background-color: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    user-select: none;
    transition: all var(--transition-normal);
  }
  
  .mobile-event-card:hover {
    border-color: rgba(210, 168, 115, 0.3);
  }
  
  .mobile-event-card.selected {
    background-color: rgba(189, 146, 92, 0.1);
    border-color: var(--color-gold);
    box-shadow: 0 4px 15px rgba(210, 168, 115, 0.15);
  }
  
  .event-card-info {
    flex: 1;
    min-width: 0;
  }
  
  .event-card-date {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    color: var(--color-gold-dark);
    margin-bottom: 4px;
  }
  
  .event-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.25;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .event-card-venue {
    font-size: 0.75rem;
    color: var(--color-gray);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .event-card-check-wrapper {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .event-card-check {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
  }
  
  .mobile-event-card.selected .event-card-check {
    background-color: var(--color-gold);
    border-color: var(--color-gold);
    box-shadow: 0 0 8px rgba(210, 168, 115, 0.5);
    color: var(--color-navy-deep);
  }
  
  .event-card-check-icon {
    width: 1rem;
    height: 1rem;
    color: var(--color-navy-deep);
    stroke-width: 3;
    display: none;
  }
  
  .mobile-event-card.selected .event-card-check-icon {
    display: block;
  }
  
  /* Contest Modal Mobile layout */
  #contest-screen {
    padding: 0;
  }
  #contest-screen .footer-links-fixed {
    position: relative;
    margin-top: 60px;
  }
  .contest-modal {
    border-radius: 0;
    border: none;
    min-height: 100vh;
    padding: 4rem 1.5rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /*background-color: rgba(0, 21, 41, 0.98);*/
    background-color: rgb(0 11 22);
  }
  
  .btn-close {
    top: 1rem;
    right: 1rem;
  }
}

/* Animations */
@keyframes ping {
  75%, 100% {
    transform: scale(2);
    opacity: 0;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes bounce-custom {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.animate-bounce-custom {
  animation: bounce-custom 2s ease-in-out infinite;
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-fade-in {
  animation: fade-in 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes pulse-light {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.animate-pulse {
  animation: pulse-light 1.5s infinite;
}



.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  padding: 14px 16px;
  background: rgba(0, 21, 41, 0.97);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 -10px 35px rgba(0, 0, 0, 0.35);
}

.cookie-banner.hidden,
.cookie-modal.hidden {
  display: none;
}

.cookie-banner__content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.cookie-banner h3 {
  margin: 0 0 4px;
  color: #fff;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.cookie-banner p {
  margin: 0;
  color: #d8e2ec;
  font-size: 0.95rem;
  max-width: 860px;
}

.cookie-banner__actions,
.cookie-modal__footer {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 25px;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cookie-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
}

.cookie-modal__dialog {
  position: relative;
  width: min(92vw, 720px);
  max-height: 92vh;
  overflow: auto;
  padding: 45px;
  border: 1px solid rgba(214, 176, 87, 0.25);
  background: linear-gradient(180deg, rgba(4, 14, 24, 0.98), rgba(2, 8, 14, 0.98));
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.cookie-modal__close {
  position: absolute;
  top: 25px;
  right: 25px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
}

.cookie-category {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}

.cookie-category__label {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  cursor: pointer;
  color: #fff;
}

.cookie-category__label input {
  margin-top: 4px;
  width: 16px;
  height: 16px;
  accent-color: #d6b057;
}

.cookie-category__label span {
  display: grid;
  gap: 3px;
}

.cookie-category__label small {
  color: #cfd9e4;
  font-size: 0.9rem;
  line-height: 1.35;
}

@media (max-width: 760px) {
  .cookie-banner__content {
    align-items: flex-start;
  }

  .cookie-banner__actions,
  .cookie-modal__footer {
    width: 100%;
  }

  .cookie-banner__actions .btn,
  .cookie-modal__footer .btn {
    flex: 1 1 100%;
    justify-content: center;
  }
}

.cookie-fab {
  position: fixed;
  right: 5px;
  bottom: 5px;
  z-index: 9998;
  border: 1px solid rgba(214, 176, 87, 0.35);
  background: rgba(0, 21, 41, 0.96);
  color: #fff;
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 0.65rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.cookie-fab:hover {
  background: rgba(214, 176, 87, 0.12);
}