/* Premium venue careers — performance-first, single theme file */
:root {
  --bg-deep: #12080c;
  --bg-card: rgba(28, 14, 20, 0.72);
  --bg-elevated: #1e1018;
  --accent: #e8b86a;
  --accent-2: #c76b4a;
  --accent-glow: rgba(232, 184, 106, 0.45);
  --text: #f7efe6;
  --text-muted: #b9a99a;
  --border: rgba(232, 184, 106, 0.22);
  --radius: 18px;
  --radius-sm: 10px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --space: clamp(1rem, 3vw, 2rem);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg-deep);
  overflow-x: hidden;
}

#particle-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
}

.bg-aurora {
  position: fixed;
  inset: -20%;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 20%, rgba(199, 107, 74, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 40% at 85% 60%, rgba(232, 184, 106, 0.12), transparent 50%),
    radial-gradient(ellipse 50% 60% at 50% 100%, rgba(80, 30, 50, 0.35), transparent 45%);
  animation: aurora-drift 22s ease-in-out infinite alternate;
}

@keyframes aurora-drift {
  0% { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(-3%, 2%) rotate(1deg); }
}

.wrap {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  padding: var(--space);
}

/* —— Header —— */
.site-header {
  padding: 1.25rem 0 2rem;
  text-align: center;
  position: relative;
}

.site-header::before,
.site-header::after {
  content: "";
  position: absolute;
  border: 1px solid var(--border);
  border-radius: 30% 70% 65% 35% / 40% 45% 55% 60%;
  pointer-events: none;
  opacity: 0.35;
  z-index: -1;
  animation: morph-float 16s ease-in-out infinite;
}

.site-header::before {
  width: clamp(120px, 22vw, 220px);
  height: clamp(120px, 22vw, 220px);
  top: -4%;
  left: -2%;
  animation-delay: -3s;
}

.site-header::after {
  width: clamp(90px, 16vw, 160px);
  height: clamp(90px, 16vw, 160px);
  bottom: 8%;
  right: 0;
  animation-delay: -7s;
}

@keyframes morph-float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(2%, 4%) rotate(4deg); }
  66% { transform: translate(-3%, 1%) rotate(-3deg); }
}

.badge-row {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  opacity: 0;
  animation: fade-up 0.8s ease forwards 0.1s;
}

.badge-row img {
  width: 36px;
  height: 36px;
  vertical-align: middle;
}

.badge-row span {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 5.5vw, 3.35rem);
  line-height: 1.12;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
  opacity: 0;
  animation: fade-up 0.85s ease forwards 0.2s;
}

.h1-accent {
  background: linear-gradient(120deg, var(--accent), #fff5e0, var(--accent-2));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer-text 6s ease infinite;
}

@keyframes shimmer-text {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.lead {
  max-width: 38rem;
  margin: 0 auto 1.75rem;
  color: var(--text-muted);
  opacity: 0;
  animation: fade-up 0.9s ease forwards 0.35s;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  opacity: 0;
  animation: fade-up 0.95s ease forwards 0.45s;
}

.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.85rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  color: #1a0a0f;
  background: linear-gradient(145deg, var(--accent), #f0d4a8);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.15) inset,
    0 4px 24px var(--accent-glow);
  transition: transform 0.2s ease, box-shadow 0.25s ease;
  animation: btn-pulse 2.8s ease-in-out infinite;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.2) inset,
    0 8px 36px var(--accent-glow);
}

.btn-primary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@keyframes btn-pulse {
  0%, 100% { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15) inset, 0 4px 24px var(--accent-glow); }
  50% { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2) inset, 0 6px 40px rgba(232, 184, 106, 0.55); }
}

.btn-ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.85rem 1.4rem;
  font-family: var(--font-body);
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.btn-ghost:hover {
  background: rgba(232, 184, 106, 0.08);
  border-color: var(--accent);
  transform: translateY(-1px);
}

.btn-ghost svg {
  width: 1rem;
  height: 1rem;
  animation: nudge-d 2s ease-in-out infinite;
}

@keyframes nudge-d {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

/* —— Sections —— */
section {
  margin: clamp(2.5rem, 6vw, 4.5rem) 0;
}

h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  text-align: center;
  margin: 0 0 1.75rem;
  letter-spacing: -0.02em;
}

.h2-mark {
  color: var(--accent-2);
}

.h3-accent {
  color: var(--accent);
}

.jobs-intro {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 2rem;
  color: var(--text-muted);
}

.grid-3 {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 768px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition:
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.25s,
    box-shadow 0.35s;
  opacity: 0;
  transform: translateY(28px) rotateX(8deg);
}

.card.is-visible {
  opacity: 1;
  transform: translateY(0) rotateX(0);
}

.grid-3 .card:nth-child(1).is-visible {
  transition-delay: 0.05s;
}
.grid-3 .card:nth-child(2).is-visible {
  transition-delay: 0.14s;
}
.grid-3 .card:nth-child(3).is-visible {
  transition-delay: 0.23s;
}

.card:hover {
  border-color: rgba(232, 184, 106, 0.45);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  transform: translateY(-6px) rotate(-0.5deg);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--accent);
  background: rgba(232, 184, 106, 0.06);
  animation: icon-spin-slow 12s linear infinite;
}

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

.card:hover .card-icon {
  animation-duration: 4s;
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0 0 0.5rem;
}

.card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* —— Offer —— */
.offer-section h2 {
  margin-bottom: 0.5rem;
}

.offer-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.88rem;
  max-width: 36rem;
  margin: 0 auto 1.5rem;
}

.offer-card {
  max-width: 420px;
  margin: 0 auto;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: scale(0.96) rotate(1deg);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.offer-card.is-visible {
  opacity: 1;
  transform: scale(1) rotate(0);
}

.offer-card::before {
  content: "";
  position: absolute;
  inset: -50%;
  background: conic-gradient(from 120deg, transparent, rgba(232, 184, 106, 0.06), transparent 40%);
  animation: offer-spin 14s linear infinite;
  pointer-events: none;
}

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

.offer-card-inner {
  position: relative;
  z-index: 1;
}

.offer-card .brand-logo {
  max-width: 220px;
  height: auto;
  margin: 0 auto 1rem;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}

.stars {
  letter-spacing: 0.15em;
  color: var(--accent);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.offer-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 0.35rem;
}

.offer-sub {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0 0 1.25rem;
}

.btn-offer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  width: 100%;
  max-width: 280px;
  padding: 0.9rem 1.5rem;
  font-weight: 600;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--font-body);
  color: #fff;
  background: linear-gradient(135deg, #c76b4a, #8b3d4a);
  box-shadow: 0 6px 28px rgba(199, 107, 74, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-offer:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 36px rgba(199, 107, 74, 0.5);
}

.offer-legal {
  margin-top: 1rem;
  font-size: 0.68rem;
  line-height: 1.5;
  color: var(--text-muted);
  opacity: 0.85;
}

/* —— Footer —— */
.site-footer {
  margin-top: 4rem;
  padding: 2.5rem var(--space) 1.25rem;
  background: linear-gradient(180deg, rgba(18, 8, 12, 0.3), #0a0508);
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  text-align: center;
}

.footer-inner h2 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.rg-text {
  color: var(--text-muted);
  font-size: 0.88rem;
  max-width: 42rem;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.5rem;
}

.footer-badges a {
  display: inline-flex;
  align-items: center;
  transition: transform 0.25s ease, opacity 0.2s;
  opacity: 0.92;
}

.footer-badges a:hover {
  transform: translateY(-3px) scale(1.04);
  opacity: 1;
}

.footer-badges img {
  height: 36px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

.footer-badges img[src*="gordon"] {
  height: 40px;
  max-width: 160px;
}

.footer-badges img[src*="gamblingcommission"] {
  height: 44px;
}

.footer-links {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.footer-links a {
  color: var(--accent);
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.copy-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
  font-size: 0.72rem;
  color: var(--text-muted);
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.copy-bar img {
  width: 28px;
  height: 28px;
}

/* —— Modals —— */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(6, 2, 4, 0.82);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

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

.modal {
  width: min(100%, 420px);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transform: scale(0.92) translateY(16px);
  transition: transform 0.35s ease;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-backdrop.is-open .modal {
  transform: scale(1) translateY(0);
}

.modal-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  display: block;
  margin: 0 auto 1rem;
  border-radius: 12px;
}

.modal h2 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.modal p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0 0 1rem;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.modal-actions .btn-primary,
.modal-actions .btn-ghost {
  flex: 1;
  min-width: 120px;
  justify-content: center;
}

/* Age modal specific */
.age-modal .modal {
  text-align: center;
}

/* Cookie bar */
.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  padding: 1rem var(--space);
  background: rgba(18, 8, 12, 0.95);
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  transform: translateY(100%);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.cookie-bar.is-visible {
  transform: translateY(0);
}

.cookie-bar p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex: 1;
  min-width: 200px;
}

.cookie-bar .cookie-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 8px;
  flex-shrink: 0;
}

.cookie-actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

/* Captcha modal */
.captcha-modal .modal {
  width: min(100%, 380px);
  padding: 1.25rem;
}

.captcha-hint {
  font-size: 0.8rem;
  color: var(--accent);
  text-align: center;
  margin-bottom: 0.75rem;
}

.captcha-stage {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 1rem;
  touch-action: none;
}

#captcha-bg-canvas {
  display: block;
  width: 100%;
  height: 160px;
}

.captcha-piece-layer {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

#captcha-slider-wrap {
  margin-top: 0.5rem;
}

.captcha-track {
  height: 44px;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 999px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.captcha-thumb {
  position: absolute;
  left: 4px;
  top: 4px;
  width: 52px;
  height: 36px;
  border-radius: 999px;
  background: linear-gradient(145deg, var(--accent), var(--accent-2));
  cursor: grab;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
  user-select: none;
}

.captcha-thumb:active {
  cursor: grabbing;
}

.captcha-thumb svg {
  width: 22px;
  height: 22px;
  opacity: 0.9;
}

.captcha-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  pointer-events: none;
  padding-left: 60px;
}

.captcha-status {
  text-align: center;
  font-size: 0.85rem;
  min-height: 1.25rem;
}

.captcha-status.ok {
  color: #7dcea0;
}

.captcha-status.err {
  color: var(--accent-2);
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html {
    scroll-behavior: auto;
  }
}
