@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Pirata+One&display=swap');

.pf { font-size: 2.2em; }

:root {
  --crimson: #DC143C;
  --crimson-light: #FF1A4C;
  --crimson-dark: #8B0000;
  --gold: #D4AF37;
  --gold-light: #F0C94E;
  --gold-dark: #A0882A;
  --ink: #0A0A0A;
  --ink-light: #1A1A1A;
  --ink-dark: #000000;
  --warm-white: #F5F5F5;
  --warm-gray: #C8B8A8;
  --radius: 0.5rem;
  --border: 0 0% 10%;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border-color: hsl(var(--border));
}

html, body {
  width: 100%;
  height: 100%;
  min-height: 100dvh;
  background: var(--ink-dark);
  color: var(--warm-white);
  font-family: 'Inter', sans-serif;
  overflow: hidden;
  touch-action: manipulation;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#app {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  position: relative;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
  outline: none;
}

input, select, textarea {
  font-family: inherit;
  outline: none;
}

img {
  display: block;
  max-width: 100%;
}

.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-1 { flex: 1; }
.flex-shrink-0 { flex-shrink: 0; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.h-screen { height: 100vh; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.object-cover { object-fit: cover; }
.overflow-hidden { overflow: hidden; }
.overflow-y-auto { overflow-y: auto; }
.whitespace-nowrap { white-space: nowrap; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.select-none { user-select: none; }
.pointer-events-none { pointer-events: none; }
.pointer-events-auto { pointer-events: auto; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.uppercase { text-transform: uppercase; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-mono { font-family: monospace; }
.cursor-pointer { cursor: pointer; }
.transition-all { transition: all 0.2s ease; }
.transition-colors { transition: color 0.2s ease, background-color 0.2s ease; }
.opacity-0 { opacity: 0; }
.opacity-40 { opacity: 0.4; }
.opacity-60 { opacity: 0.6; }
.grayscale { filter: grayscale(1); }
.mx-auto { margin-left: auto; margin-right: auto; }
.grid { display: grid; }
.hidden { display: none; }
.block { display: block; }
.inline-flex { display: inline-flex; }
.leading-none { line-height: 1; }
.leading-tight { line-height: 1.25; }

.font-gothic {
  font-family: 'Pirata One', cursive;
}

.text-glow-crimson {
  text-shadow: 0 0 10px #DC143C, 0 0 20px #8B0000, 0 0 40px rgba(220, 20, 60, 0.3);
}

.text-glow-gold {
  text-shadow: 0 0 8px #D4AF37, 0 0 16px rgba(212, 175, 55, 0.4);
}

.border-gold-subtle {
  border: 1px solid rgba(212, 175, 55, 0.12);
}

.bg-ink-gradient {
  background: linear-gradient(180deg, var(--ink-light) 0%, var(--ink-dark) 100%);
}

.bg-crimson-spotlight {
  background: radial-gradient(ellipse at center, rgba(220, 20, 60, 0.07) 0%, transparent 70%);
}

.vignette-overlay {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.7) 100%);
}

.film-grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 49;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

.separator-gold {
  height: 1px;
  width: 100%;
  background: rgba(212, 175, 55, 0.12);
}

.scroll-dark::-webkit-scrollbar {
  width: 4px;
}
.scroll-dark::-webkit-scrollbar-track {
  background: var(--ink-light);
}
.scroll-dark::-webkit-scrollbar-thumb {
  background: var(--ink-light);
  border-radius: 2px;
}
.scroll-dark::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}

.img-casino {
  filter: saturate(0.4) contrast(1.3);
}

.backface-hidden {
  backface-visibility: hidden;
}
