/* Hangman Online theme for Fider (dark, amber accent) - full version with web fonts */
@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@400;500;600;700&display=swap");

[data-theme="dark"],
[data-theme="light"],
body[data-theme="dark"],
body[data-theme="light"] {
  --colors-gray-50: #0d0d10;
  --colors-gray-100: #121216;
  --colors-gray-200: #1f1f26;
  --colors-gray-300: #2a2a33;
  --colors-gray-400: #3d3d48;
  --colors-gray-500: #6f6c66;
  --colors-gray-600: #a29e96;
  --colors-gray-700: #c9c5bd;
  --colors-gray-800: #e6e2da;
  --colors-gray-900: #f5f2ec;
  --colors-white: #17171c;
  --colors-black: #f5f2ec;

  --primary-color: #f29216;
  --primary-color-light: #ffa940;
  --primary-color-dark: #d97f0a;
  --colors-primary-base: #f29216;
  --colors-primary-light: #ffa940;
  --colors-primary-dark: #d97f0a;
  --colors-primary-50: rgba(242, 146, 22, 0.14);
  color-scheme: dark;
}

html,
body {
  background-color: #0d0d10 !important;
  background-image: radial-gradient(900px 480px at 50% -120px, rgba(236, 131, 0, 0.14), rgba(0, 0, 0, 0) 70%) !important;
  background-repeat: no-repeat !important;
  color: #f5f2ec !important;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif !important;
}

/* Display font for headings */
h1,
h2,
h3,
.text-title,
.text-display,
.text-header,
.c-heading {
  font-family: "Bebas Neue", "Impact", sans-serif !important;
  letter-spacing: 0.04em;
  font-weight: 400 !important;
  color: #f5f2ec !important;
}

/* Header / menu */
#c-header,
.c-menu {
  background-color: #0d0d10 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09) !important;
  box-shadow: none !important;
}
#c-header a,
.c-menu a,
.c-menu-item {
  color: #a29e96 !important;
}
#c-header a:hover,
.c-menu a:hover,
.c-menu-item:hover {
  color: #f29216 !important;
}
.c-logo,
#c-header .c-logo {
  font-family: "Bebas Neue", sans-serif !important;
  letter-spacing: 0.08em;
}

/* Cards, panels, modals, dropdowns */
.shadow,
.shadow-lg,
.c-modal-window,
.c-dropdown__list,
.c-notification,
.c-toast,
.c-list-item,
.c-form,
.bg-white {
  background-color: #17171c !important;
  color: #f5f2ec !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  border-radius: 14px !important;
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.6) !important;
}
.bg-gray-50,
.bg-gray-100 {
  background-color: #121216 !important;
}
.c-list-item:hover {
  border-color: rgba(242, 146, 22, 0.45) !important;
}

/* Text colors */
a,
.text-link {
  color: #f29216;
}
a:hover {
  color: #ffa940;
}
.text-muted,
.text-gray-500,
.text-gray-600,
.c-markdown p,
.c-markdown li {
  color: #a29e96 !important;
}
.c-markdown,
.c-markdown strong {
  color: #f5f2ec !important;
}

/* Buttons: pill shaped, amber, display font */
.c-button {
  border-radius: 999px !important;
  font-family: "Bebas Neue", sans-serif !important;
  font-size: 1rem !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background-color: #1f1f26 !important;
  color: #f5f2ec !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  transition: all 0.15s ease;
}
.c-button:hover {
  border-color: #f29216 !important;
  color: #f29216 !important;
}
.c-button--primary {
  background-color: #f29216 !important;
  color: #1a1000 !important;
  border-color: #f29216 !important;
}
.c-button--primary:hover {
  background-color: #ffa940 !important;
  border-color: #ffa940 !important;
  color: #1a1000 !important;
}

/* Inputs */
input,
textarea,
select,
.c-input,
.c-textarea,
.c-select {
  background-color: #121216 !important;
  color: #f5f2ec !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 8px !important;
  font-family: "Inter", sans-serif !important;
}
input::placeholder,
textarea::placeholder {
  color: #6f6c66 !important;
}
input:focus,
textarea:focus,
select:focus {
  border-color: #f29216 !important;
  box-shadow: 0 0 0 3px rgba(242, 146, 22, 0.14) !important;
  outline: none !important;
}

/* Vote counter and tags */
.c-support-counter button,
.c-support-counter__button {
  background-color: #17171c !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 14px !important;
  color: #f5f2ec !important;
}
.c-support-counter button:hover {
  border-color: #f29216 !important;
  color: #f29216 !important;
}
.c-tag {
  border-radius: 999px !important;
  background-color: rgba(242, 146, 22, 0.14) !important;
  color: #f29216 !important;
  border: 1px solid rgba(242, 146, 22, 0.3) !important;
}

/* Dividers */
hr,
.border,
.border-b,
.border-t {
  border-color: rgba(255, 255, 255, 0.09) !important;
}

::selection {
  background: rgba(242, 146, 22, 0.35);
  color: #f5f2ec;
}

/* ---- Fider-specific class overrides (verified on hangman.fider.io) ---- */
.page,
.container.page {
  background: transparent !important;
}
.c-posts-container__post,
.p-home__add-idea-btn,
.c-post-filter-btn,
.c-post-sort-btn,
.c-dropdown__list,
.c-input,
.c-modal-window {
  background-color: #17171c !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  border-radius: 14px !important;
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.6) !important;
  color: #a29e96 !important;
}
.c-posts-container__post:hover {
  border-color: rgba(242, 146, 22, 0.45) !important;
}
.c-dropdown__handle,
.c-post-filter-btn *,
.c-post-sort-btn * {
  color: #a29e96 !important;
}
.header-emphasis,
.p-home__add-idea-icon {
  color: #f29216 !important;
}
.c-powered,
.c-powered a {
  color: #a29e96 !important;
}
.c-header__nav-link--active {
  border-color: #f29216 !important;
  color: #f5f2ec !important;
}
.c-posts-container__post-title {
  color: #f5f2ec !important;
}
.c-posts-container__postdescription,
.c-posts-container__post-votes {
  color: #a29e96 !important;
}