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

:root {
  --primary: #8b4513;
  --primary-dark: #5c2d0e;
  --primary-light: #a0522d;
  --primary-lighter: #c4844c;
  --secondary: #f5f5dc;
  --secondary-dark: #e8e0c0;
  --secondary-darker: #d4c9a0;
  --accent: #cd853f;
  --accent-light: #daa06d;
  --accent-dark: #b8732e;
  --bg-cream: #faf6ee;
  --bg-parchment: #f4ead5;
  --bg-paper: #efe6d0;
  --text-dark: #3b2710;
  --text-mid: #5c3d1e;
  --text-light: #7a5a3a;
  --border-color: #c4a06a;
  --border-light: #dcc8a0;
  --shadow-color: rgba(92, 45, 14, 0.15);
  --shadow-heavy: rgba(92, 45, 14, 0.3);
  --gold: #c9a84c;
  --gold-light: #e0c878;
  --success: #6b8e23;
  --error: #a52a2a;
  --font-serif: "Georgia", "Times New Roman", "Palatino Linotype", serif;
  --font-mono: "Courier New", "Courier", monospace;
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --transition: 0.3s ease;
  --transition-slow: 0.6s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-serif);
  color: var(--text-dark);
  background-color: var(--bg-cream);
  line-height: 1.7;
  overflow-x: hidden;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(139, 69, 19, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(205, 133, 63, 0.04) 0%, transparent 40%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.5;
}

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

a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
}

a:hover,
a:focus-visible {
  color: var(--accent);
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

ul {
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  line-height: 1.2;
  color: var(--primary-dark);
}

h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

.section-title {
  text-align: center;
  margin-bottom: var(--space-sm);
  position: relative;
  padding-bottom: var(--space-md);
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  margin-bottom: var(--space-2xl);
  font-style: italic;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  border: 2px solid var(--primary);
  border-radius: var(--radius-sm);
  font-family: var(--font-serif);
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.btn:hover::before {
  opacity: 1;
}

.btn-primary {
  background: var(--primary);
  color: var(--secondary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: var(--secondary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--shadow-heavy);
}

.btn-secondary {
  background: var(--secondary-dark);
  color: var(--primary-dark);
  border-color: var(--border-color);
}

.btn-secondary:hover {
  background: var(--secondary-darker);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--border-color);
}

.btn-outline:hover {
  background: var(--bg-parchment);
  transform: translateY(-2px);
}

.btn-large {
  padding: var(--space-md) var(--space-2xl);
  font-size: 1.2rem;
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(59, 39, 16, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  backdrop-filter: blur(8px);
}

.age-gate[hidden] {
  display: none;
}

.age-gate-inner {
  background: var(--bg-cream);
  border-radius: var(--radius-lg);
  max-width: 500px;
  width: 100%;
  padding: var(--space-3xl);
  text-align: center;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.age-gate-frame {
  position: relative;
  border: 2px solid var(--border-color);
  padding: var(--space-2xl);
  border-radius: var(--radius-md);
}

.dot-pattern-corner {
  position: absolute;
  width: 30px;
  height: 30px;
  background-image: radial-gradient(circle, var(--accent) 2px, transparent 2px);
  background-size: 8px 8px;
}

.dot-tl { top: -5px; left: -5px; }
.dot-tr { top: -5px; right: -5px; }
.dot-bl { bottom: -5px; left: -5px; }
.dot-br { bottom: -5px; right: -5px; }

.age-gate h2 {
  margin-bottom: var(--space-md);
  font-size: 1.8rem;
}

.age-gate p {
  margin-bottom: var(--space-md);
  color: var(--text-mid);
}

.age-gate-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--space-lg);
}

.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9000;
  background: var(--bg-cream);
  border-top: 3px solid var(--border-color);
  box-shadow: 0 -4px 20px var(--shadow-color);
  padding: var(--space-lg) var(--space-xl);
}

.cookie-consent[hidden] {
  display: none;
}

.cookie-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
}

.cookie-inner p {
  flex: 1;
  min-width: 250px;
  font-size: 0.9rem;
  color: var(--text-mid);
}

.cookie-buttons {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.cookie-buttons .btn {
  font-size: 0.85rem;
  padding: var(--space-xs) var(--space-md);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5000;
  background: rgba(250, 246, 238, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--border-light);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 2px 20px var(--shadow-color);
}

.main-nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-md) var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.logo-icon {
  font-size: 1.6rem;
  color: var(--accent);
  transition: transform var(--transition);
}

.logo:hover .logo-icon {
  transform: rotate(45deg);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
}

.nav-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  transition: all var(--transition);
}

.nav-toggle[aria-expanded="true"] .nav-bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle[aria-expanded="true"] .nav-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.nav-list {
  display: flex;
  gap: var(--space-lg);
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: var(--text-mid);
  font-size: 0.95rem;
  font-weight: 600;
  position: relative;
  padding-bottom: 2px;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}

.nav-link:hover::after,
.nav-link:focus::after {
  width: 100%;
}

.disclaimer-bar {
  background: var(--primary-dark);
  color: var(--secondary);
  text-align: center;
  padding: var(--space-sm) var(--space-md);
  font-size: 0.8rem;
  margin-top: 70px;
  position: relative;
  z-index: 1;
}

.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(59, 39, 16, 0.75) 0%,
    rgba(139, 69, 19, 0.5) 50%,
    rgba(59, 39, 16, 0.7) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--space-2xl);
  max-width: 700px;
}

.hero-dot-accent {
  width: 60px;
  height: 60px;
  margin: 0 auto var(--space-lg);
  background-image: radial-gradient(circle, var(--gold-light) 2.5px, transparent 2.5px);
  background-size: 12px 12px;
  opacity: 0.7;
}

.hero h1 {
  color: var(--secondary);
  text-shadow: 2px 3px 6px rgba(0, 0, 0, 0.5);
  margin-bottom: var(--space-md);
}

.hero-sub {
  font-style: italic;
  color: var(--gold-light);
  font-size: 0.6em;
  display: block;
  margin-top: var(--space-sm);
}

.hero-desc {
  color: var(--secondary-dark);
  font-size: 1.15rem;
  margin-bottom: var(--space-xl);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-note {
  color: var(--secondary-darker);
  font-size: 0.8rem;
  margin-top: var(--space-md);
  font-style: italic;
}

.game-section {
  padding: var(--space-4xl) var(--space-xl);
  background: var(--bg-parchment);
  position: relative;
}

.game-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background-image: radial-gradient(circle, var(--border-light) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.3;
  pointer-events: none;
}

.section-frame {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
}

.game-container {
  background: var(--bg-cream);
  border: 3px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: 0 8px 32px var(--shadow-color);
  position: relative;
}

.game-container::before,
.game-container::after {
  content: "";
  position: absolute;
  width: 40px;
  height: 40px;
  background-image: radial-gradient(circle, var(--accent) 2px, transparent 2px);
  background-size: 10px 10px;
  opacity: 0.4;
}

.game-container::before {
  top: 10px;
  left: 10px;
}

.game-container::after {
  bottom: 10px;
  right: 10px;
}

.game-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  background: var(--bg-paper);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
}

.game-stat {
  text-align: center;
  flex: 1;
  min-width: 100px;
}

.stat-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-light);
  margin-bottom: var(--space-xs);
}

.stat-value {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-dark);
  font-family: var(--font-mono);
}

.bet-controls {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  justify-content: center;
}

.bet-btn {
  width: 32px;
  height: 32px;
  border: 2px solid var(--border-color);
  border-radius: 50%;
  background: var(--bg-cream);
  color: var(--primary);
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  font-family: var(--font-mono);
  line-height: 1;
}

.bet-btn:hover {
  background: var(--primary);
  color: var(--secondary);
}

.reels-wrapper {
  margin-bottom: var(--space-lg);
}

.reels-frame {
  background: var(--primary-dark);
  border: 3px solid var(--accent-dark);
  border-radius: var(--radius-md);
  padding: var(--space-sm);
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 4px 16px rgba(0, 0, 0, 0.4);
}

.reel-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  position: relative;
}

.reel {
  background: var(--bg-cream);
  border-radius: var(--radius-sm);
  overflow: hidden;
  height: 300px;
  position: relative;
}

.reel-strip {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transition: top 0.1s linear;
}

.reel-symbol {
  width: 100%;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  position: relative;
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-cream);
}

.reel-symbol.winning {
  animation: symbolWin 0.5s ease-in-out 3;
  background: rgba(201, 168, 76, 0.2);
}

@keyframes symbolWin {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

.symbol-art {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.symbol-art svg {
  width: 100%;
  height: 100%;
}

.payline {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  pointer-events: none;
  z-index: 5;
  opacity: 0;
}

.payline-top {
  top: calc(50px - 1px);
  background: var(--gold);
}

.payline-mid {
  top: calc(150px - 1px);
  background: var(--accent);
}

.payline-bot {
  top: calc(250px - 1px);
  background: var(--gold);
}

.payline.active {
  opacity: 0.8;
  animation: paylinePulse 1s ease-in-out 3;
}

@keyframes paylinePulse {
  0%, 100% { opacity: 0.4; height: 2px; }
  50% { opacity: 1; height: 4px; }
}

.game-controls {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  align-items: center;
  margin-bottom: var(--space-lg);
}

.btn-spin {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--secondary);
  border: 4px solid var(--accent);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 3px;
  cursor: pointer;
  position: relative;
  transition: all var(--transition);
  box-shadow: 0 4px 16px var(--shadow-heavy), inset 0 2px 4px rgba(255, 255, 255, 0.2);
}

.btn-spin:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 24px var(--shadow-heavy), inset 0 2px 4px rgba(255, 255, 255, 0.3);
}

.btn-spin:active {
  transform: scale(0.95);
}

.btn-spin.spinning {
  animation: spinBtnPulse 0.8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes spinBtnPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(205, 133, 63, 0.4); }
  50% { box-shadow: 0 0 0 15px rgba(205, 133, 63, 0); }
}

.btn-auto {
  padding: var(--space-sm) var(--space-lg);
  background: var(--bg-paper);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-mid);
  font-family: var(--font-serif);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-auto[aria-pressed="true"] {
  background: var(--primary);
  color: var(--secondary);
  border-color: var(--primary);
}

.btn-auto:hover {
  border-color: var(--primary);
}

.game-message {
  text-align: center;
  min-height: 2rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent-dark);
  margin-bottom: var(--space-md);
  transition: opacity var(--transition);
}

.game-message.big-win {
  font-size: 1.6rem;
  color: var(--gold);
  animation: bigWinText 0.6s ease-in-out 3;
}

@keyframes bigWinText {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

.game-info-bar {
  display: flex;
  gap: 2px;
  border-bottom: 2px solid var(--border-light);
  margin-bottom: var(--space-md);
}

.info-tab {
  flex: 1;
  padding: var(--space-sm) var(--space-md);
  background: var(--bg-paper);
  border: none;
  border-bottom: 3px solid transparent;
  font-family: var(--font-serif);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
  cursor: pointer;
  transition: all var(--transition);
}

.info-tab:hover {
  color: var(--primary);
}

.info-tab.active {
  background: var(--bg-cream);
  color: var(--primary-dark);
  border-bottom-color: var(--accent);
}

.info-panel {
  display: none;
  padding: var(--space-md) 0;
}

.info-panel.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.paytable-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--space-md);
}

.paytable-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm);
  background: var(--bg-paper);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  font-size: 0.85rem;
}

.symbol-preview {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.symbol-moose { background: #6d4c2e; }
.symbol-maple { background: #c0392b; }
.symbol-totem { background: #8b6914; }
.symbol-mountain { background: #5d7a8c; }
.symbol-canoe { background: #7a5230; }
.symbol-beaver { background: #8b6e4e; }
.symbol-inukshuk { background: #7a7a7a; }
.symbol-snowflake { background: #87ceeb; }

.culture-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--space-md);
}

.culture-card {
  padding: var(--space-md);
  background: var(--bg-paper);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--accent);
}

.culture-card h4 {
  margin-bottom: var(--space-sm);
  color: var(--primary);
}

.culture-card p {
  font-size: 0.88rem;
  color: var(--text-mid);
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: var(--space-md);
}

.achievement-card {
  padding: var(--space-md);
  text-align: center;
  background: var(--bg-paper);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: all var(--transition);
  opacity: 0.5;
}

.achievement-card.unlocked {
  opacity: 1;
  border-color: var(--gold);
  background: linear-gradient(135deg, var(--bg-cream), rgba(201, 168, 76, 0.1));
}

.achievement-icon {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
}

.achievement-card h4 {
  font-size: 0.85rem;
  margin-bottom: var(--space-xs);
}

.achievement-card p {
  font-size: 0.75rem;
  color: var(--text-light);
}

.collectibles-bar {
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 2px solid var(--border-light);
}

.collectibles-bar h3 {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: var(--space-md);
}

.collectibles-row {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
}

.collectible {
  width: 48px;
  height: 48px;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: var(--bg-paper);
  opacity: 0.3;
  transition: all var(--transition);
}

.collectible.collected {
  opacity: 1;
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.1);
  animation: collectPop 0.4s ease;
}

@keyframes collectPop {
  0% { transform: scale(0.5); }
  60% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

.about-section {
  padding: var(--space-4xl) var(--space-xl);
  background: var(--bg-cream);
}

.about-layout {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-3xl);
  align-items: center;
}

.about-image-col {
  position: relative;
}

.about-img {
  border-radius: var(--radius-md);
  border: 3px solid var(--border-color);
  box-shadow: 0 8px 24px var(--shadow-color);
}

.dot-accent-about {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 80px;
  height: 80px;
  background-image: radial-gradient(circle, var(--accent) 2px, transparent 2px);
  background-size: 12px 12px;
  opacity: 0.4;
  z-index: -1;
}

.about-text-col p {
  margin-bottom: var(--space-md);
  color: var(--text-mid);
}

.gallery-section {
  padding: var(--space-4xl) var(--space-xl);
  background: var(--bg-parchment);
}

.gallery-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  grid-template-rows: auto auto;
  gap: var(--space-lg);
}

.gallery-item {
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 3px solid var(--border-color);
  box-shadow: 0 4px 16px var(--shadow-color);
  transition: transform var(--transition-slow);
}

.gallery-item:hover {
  transform: scale(1.02);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-large {
  grid-row: span 2;
}

.gallery-tall {
  min-height: 200px;
}

.features-section {
  padding: var(--space-4xl) var(--space-xl);
  background: var(--bg-cream);
}

.features-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-xl);
}

.feature-card {
  padding: var(--space-xl);
  background: var(--bg-paper);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  text-align: center;
  transition: all var(--transition);
  position: relative;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  transition: width var(--transition);
}

.feature-card:hover::before {
  width: 80px;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px var(--shadow-color);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: var(--space-md);
}

.feature-card h3 {
  margin-bottom: var(--space-sm);
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-mid);
}

.trust-section {
  padding: var(--space-4xl) var(--space-xl);
  background: var(--bg-parchment);
}

.trust-layout {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.trust-text p {
  margin-bottom: var(--space-md);
  color: var(--text-mid);
}

.trust-text h3 {
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
}

.trust-img {
  border-radius: var(--radius-md);
  border: 3px solid var(--border-color);
  box-shadow: 0 8px 24px var(--shadow-color);
}

.contact-section {
  padding: var(--space-4xl) var(--space-xl);
  background: var(--bg-cream);
}

.contact-layout {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-3xl);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-item {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.contact-icon {
  font-size: 1.5rem;
  color: var(--accent);
  flex-shrink: 0;
  width: 40px;
  text-align: center;
}

.contact-item strong {
  display: block;
  margin-bottom: var(--space-xs);
  color: var(--primary-dark);
}

.contact-item a {
  font-size: 0.9rem;
}

.contact-item p {
  font-size: 0.9rem;
  color: var(--text-mid);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-mid);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: var(--space-sm) var(--space-md);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-cream);
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--text-dark);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(205, 133, 63, 0.2);
}

.form-consent {
  flex-direction: row;
  align-items: flex-start;
  gap: var(--space-sm);
}

.form-consent input[type="checkbox"] {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  flex-shrink: 0;
}

.form-consent label {
  font-weight: 400;
  font-size: 0.85rem;
}

.site-footer {
  background: var(--primary-dark);
  color: var(--secondary-dark);
  position: relative;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-dark), var(--gold), var(--accent-dark));
}

.footer-top {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-3xl) var(--space-xl) var(--space-xl);
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
}

.footer-brand .logo-icon,
.footer-brand .logo-text {
  color: var(--secondary);
}

.footer-brand .logo-icon {
  font-size: 1.4rem;
}

.footer-brand .logo-text {
  font-size: 1.2rem;
  font-weight: 700;
}

.footer-brand p {
  margin-top: var(--space-sm);
  font-size: 0.85rem;
  color: var(--secondary-darker);
}

.footer-links h3,
.footer-legal h3,
.footer-responsible h3 {
  color: var(--secondary);
  font-size: 0.95rem;
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.footer-links a,
.footer-legal a,
.footer-responsible a {
  color: var(--secondary-darker);
  text-decoration: none;
  font-size: 0.88rem;
  display: block;
  padding: var(--space-xs) 0;
  transition: color var(--transition);
}

.footer-links a:hover,
.footer-legal a:hover,
.footer-responsible a:hover {
  color: var(--gold-light);
}

.footer-age {
  margin-top: var(--space-md);
  padding: var(--space-xs) var(--space-sm);
  border: 1px solid var(--accent-dark);
  border-radius: var(--radius-sm);
  display: inline-block;
  font-size: 0.8rem;
  color: var(--gold-light);
}

.footer-bottom {
  border-top: 1px solid rgba(245, 245, 220, 0.15);
  padding: var(--space-lg) var(--space-xl);
  text-align: center;
  font-size: 0.8rem;
  color: var(--secondary-darker);
}

.footer-bottom p {
  margin-bottom: var(--space-xs);
}

.particles-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.snow-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(245, 245, 220, 0.4);
  border-radius: 50%;
  animation: snowfall linear infinite;
}

@keyframes snowfall {
  0% {
    transform: translateY(-10px) translateX(0) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(100vh) translateX(30px) rotate(360deg);
    opacity: 0.2;
  }
}

.win-particle {
  position: fixed;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  animation: winParticle 1.5s ease-out forwards;
}

@keyframes winParticle {
  0% {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(var(--px), var(--py)) scale(0);
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .nav-list {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--bg-cream);
    flex-direction: column;
    padding: var(--space-xl);
    gap: var(--space-md);
    border-bottom: 2px solid var(--border-light);
    transform: translateY(-100%);
    opacity: 0;
    transition: all var(--transition);
    pointer-events: none;
    z-index: 4999;
  }

  .nav-list.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .about-layout,
  .trust-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-large {
    grid-row: span 1;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .reel {
    height: 240px;
  }

  .reel-symbol {
    height: 80px;
    font-size: 2rem;
  }

  .symbol-art {
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 600px) {
  .footer-top {
    grid-template-columns: 1fr;
  }

  .reel-container {
    grid-template-columns: repeat(3, 1fr);
  }

  .reel:nth-child(4),
  .reel:nth-child(5) {
    display: none;
  }

  .reel {
    height: 210px;
  }

  .reel-symbol {
    height: 70px;
    font-size: 1.6rem;
  }

  .symbol-art {
    width: 40px;
    height: 40px;
  }

  .btn-spin {
    width: 90px;
    height: 90px;
    font-size: 1rem;
  }

  .game-container {
    padding: var(--space-md);
  }

  .game-top-bar {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .paytable-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 70vh;
  }

  .hero-content {
    padding: var(--space-lg);
  }

  .cookie-inner {
    flex-direction: column;
    text-align: center;
  }

  .cookie-buttons {
    justify-content: center;
  }
}

@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;
  }
}

.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;
}