/* ==========================================================================
   Cuisine Gazette Casino Hotel — global stylesheet
   Design tokens reconstructed from the original React build's compiled
   Tailwind output. Loaded on every page.
   ========================================================================== */

/* ---- Fonts (self-hosted, subset to latin + latin-ext for Polish text) --- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/assets/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/assets/fonts/inter-latin.woff2') format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('/assets/fonts/playfair-normal-latin-ext.woff2') format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('/assets/fonts/playfair-normal-latin.woff2') format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/playfair-italic-latin-ext.woff2') format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/playfair-italic-latin.woff2') format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}

/* ---------------------------- Design tokens ------------------------------ */
:root {
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;

  --color-black: #080808;
  --color-dark: #0f0f0f;
  --color-card: #141414;
  --color-charcoal: #1a1a1a;
  --color-white: #ffffff;

  --color-gold: #c9a84c;
  --color-gold-light: #f0c040;
  --color-gold-deep: #a07830;
  --color-crimson: #8b1a1a;
  --color-crimson-light: #b52020;

  --border-hairline: rgba(255, 255, 255, 0.05);
  --border-hairline-strong: rgba(255, 255, 255, 0.1);
  --shadow-gold-glow: 0 0 30px rgba(201, 168, 76, 0.5);
  --shadow-card-hover: 0 8px 40px rgba(201, 168, 76, 0.1);

  --container-max: 80rem;
  --radius-sm: 0.125rem;

  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
}

/* --------------------------------- Reset --------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img,
svg {
  display: block;
  max-width: 100%;
}
picture {
  display: contents;
}
[hidden] {
  display: none !important;
}
input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
ul,
ol {
  list-style: none;
  padding: 0;
}
table {
  border-collapse: collapse;
}

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

/* ---------------------------------- Base ---------------------------------- */
body {
  background-color: var(--color-black);
  color: var(--color-white);
  font-family: var(--font-sans);
  overflow-x: hidden;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.15;
}
p {
  color: rgba(255, 255, 255, 0.6);
}

/* ------------------------------ Custom scrollbar --------------------------- */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--color-gold) var(--color-dark);
}
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: var(--color-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--color-gold);
  border-radius: 5px;
  border: 2px solid var(--color-dark);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-gold-light);
}

/* -------------------------------- Accessibility ---------------------------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 100;
  background: var(--color-gold);
  color: var(--color-black);
  font-weight: 600;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  transition: top 0.2s var(--ease-standard);
}
.skip-link:focus {
  top: 1rem;
}

:focus-visible {
  outline: 2px solid var(--color-gold-light);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------------------------------- Layout --------------------------------- */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.5rem;
}
@media (min-width: 1024px) {
  .container {
    padding-inline: 2rem;
  }
}

.section-divider {
  height: 1px;
  width: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    var(--color-gold),
    transparent
  );
  opacity: 0.3;
}

/* ------------------------------- Typography helpers ------------------------- */
.section-heading {
  font-size: 2.25rem;
  line-height: 1.25;
  font-weight: 700;
  color: var(--color-white);
}
@media (min-width: 768px) {
  .section-heading {
    font-size: 3rem;
    line-height: 1;
  }
}
@media (min-width: 1024px) {
  .section-heading {
    font-size: 3.75rem;
    line-height: 1;
  }
}

.section-subheading {
  margin-bottom: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: rgba(201, 168, 76, 0.7);
}

.section-intro {
  text-align: center;
  margin-bottom: 4rem;
}
.section-intro__lede {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
  max-width: 34rem;
  margin-inline: auto;
  margin-top: 1rem;
  line-height: 1.7;
}

.gold-gradient-text {
  background: linear-gradient(
    135deg,
    var(--color-gold),
    var(--color-gold-light),
    var(--color-gold-deep)
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--color-gold);
}

.shimmer-text {
  background: linear-gradient(
    90deg,
    var(--color-gold) 25%,
    var(--color-gold-light) 50%,
    var(--color-gold) 75%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--color-gold);
  animation: shimmer 3s linear infinite;
}
@keyframes shimmer {
  to {
    background-position: -200% center;
  }
}

.jackpot-counter {
  font-variant-numeric: tabular-nums;
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--color-gold-light);
}

/* ---------------------------------- Buttons --------------------------------- */
.gold-btn,
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 1rem 2rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: all 0.3s var(--ease-standard);
}

.gold-btn {
  background-color: var(--color-gold);
  color: var(--color-black);
}
.gold-btn:hover,
.gold-btn:focus-visible {
  background-color: var(--color-gold-light);
  box-shadow: var(--shadow-gold-glow);
}

.ghost-btn {
  border-color: rgba(201, 168, 76, 0.5);
  color: var(--color-gold);
  background: transparent;
}
.ghost-btn:hover,
.ghost-btn:focus-visible {
  border-color: var(--color-gold);
  background-color: rgba(201, 168, 76, 0.08);
}

.gold-btn--sm,
.ghost-btn--sm {
  padding: 0.625rem 1.25rem;
  font-size: 0.75rem;
}

.gold-btn:disabled,
.ghost-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ----------------------------------- Badges ---------------------------------- */
.badge-casino {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(201, 168, 76, 0.4);
  background-color: rgba(201, 168, 76, 0.05);
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gold);
}

/* ------------------------------------ Cards ----------------------------------- */
.card-casino {
  border: 1px solid var(--border-hairline);
  background-color: var(--color-card);
  border-radius: var(--radius-sm);
  transition: all 0.5s var(--ease-standard);
}
.card-casino:hover {
  border-color: rgba(201, 168, 76, 0.3);
  box-shadow: var(--shadow-card-hover);
}

/* -------------------------------------- Nav link -------------------------------- */
.nav-link {
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s var(--ease-standard);
}
.nav-link:hover,
.nav-link:focus-visible {
  color: var(--color-gold);
}

/* ---------------------------------- Forms -------------------------------------- */
.field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.field__label {
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
.field__input,
.field__select,
.field__textarea {
  width: 100%;
  background-color: var(--color-card);
  border: 1px solid var(--border-hairline-strong);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  color: var(--color-white);
  font-size: 0.875rem;
  transition: border-color 0.2s var(--ease-standard);
}
.field__input::placeholder,
.field__textarea::placeholder {
  color: rgba(255, 255, 255, 0.25);
}
.field__input:focus,
.field__select:focus,
.field__textarea:focus {
  outline: none;
  border-color: rgba(201, 168, 76, 0.5);
}
.field__textarea {
  resize: vertical;
  min-height: 7rem;
}
.field__hint {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.75rem;
  text-align: center;
  line-height: 1.6;
}
.field__error {
  color: #f18c8c;
  font-size: 0.75rem;
  min-height: 1em;
}
.field__input[aria-invalid='true'],
.field__select[aria-invalid='true'],
.field__textarea[aria-invalid='true'] {
  border-color: rgba(181, 32, 32, 0.6);
}
.honeypot-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ----------------------------------- Icon -------------------------------------- */
.icon {
  flex-shrink: 0;
}

/* ------------------------------------ Animations -------------------------------- */
@keyframes bounce {
  0%,
  100% {
    transform: translateY(-25%);
    animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
  }
  50% {
    transform: none;
    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
  }
}
.animate-bounce {
  animation: bounce 1s infinite;
}

@keyframes pulse {
  50% {
    opacity: 0.5;
  }
}
.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

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