@import "tailwindcss";

@theme {
  --color-pill-gray: #bcbfc7;
  --color-pill-dark: #1c1c1e;
}

:root {
  --background: #0d0d0d;
  --foreground: #ffffff;
}

/* KĽÚČOVÁ ZMENA TU */
html {
  background-color: var(--background);
  /* Vynúti stabilný priestor pre scrollbar na všetkých stránkach */
  scrollbar-gutter: stable !important;
  overflow-x: hidden;
  width: 100%;
}

body {
  color: var(--foreground);
  margin: 0;
  -webkit-font-smoothing: antialiased;
  width: 100%;
  overflow-x: hidden;
}

/* Zvyšok tvojho CSS zostáva rovnaký */
a {
  text-decoration: none !important;
  color: inherit;
  transition: all 0.2s ease;
}

.force-black {
  color: #000000 !important;
}

.btn-pill-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  background-color: #bcbfc7; 
  color: #000000 !important;
  border-radius: 9999px;
  font-weight: 700;
  transition: transform 0.2s ease;
}

.btn-pill-primary:hover {
  transform: scale(1.05);
}

.btn-pill-secondary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  background-color: #1c1c1e;
  color: #ffffff !important;
  border-radius: 9999px;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.05);
  transition: background-color 0.2s;
}

.btn-pill-secondary:hover {
  background-color: #2a2a2c;
}

.polaroid-frame {
  background: white;
  padding: 12px 12px 48px 12px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(0,0,0,0.1);
  transition: transform 0.3s ease-in-out;
}

.polaroid-frame:hover {
  transform: scale(1.05) rotate(0deg) !important;
  z-index: 40;
}

::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0d0d0d;
}
::-webkit-scrollbar-thumb {
  background: #1c1c1e;
  border-radius: 10px;
}