/**
 * Arkham Horror LCG Icons Font
 * Using arkham-icons.ttf for consistent icon rendering
 */

@font-face {
  font-family: 'ArkhamIcons';
  src: url('../arkham-icons.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

.arkham-icon {
  font-family: 'ArkhamIcons', sans-serif;
  font-style: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: inline-block;
  vertical-align: baseline;
}

/* Icon mappings - Updated with correct Unicode from character map */
.arkham-icon-willpower::before { content: '\0070'; } /* U+0070 • LATIN SMALL LETTER P - Person icon */
.arkham-icon-intellect::before { content: '\0062'; } /* U+0062 • LATIN SMALL LETTER B - Square icon */
.arkham-icon-combat::before { content: '\0063'; }    /* U+0063 • LATIN SMALL LETTER C - Fist icon */
.arkham-icon-agility::before { content: '\0061'; }   /* U+0061 • LATIN SMALL LETTER A - Arrow icon */
.arkham-icon-wild::before { content: '\006F'; }      /* U+006F • LATIN SMALL LETTER O - Star icon */

.arkham-icon-guardian::before { content: '\0066'; }  /* U+0066 • LATIN SMALL LETTER F - Shield icon */
.arkham-icon-seeker::before { content: '\0065'; }    /* U+0065 • LATIN SMALL LETTER E - Eagle icon */
.arkham-icon-rogue::before { content: '\0067'; }     /* U+0067 • LATIN SMALL LETTER G - Triangle icon */
.arkham-icon-mystic::before { content: '\0068'; }    /* U+0068 • LATIN SMALL LETTER H - Crown icon */
.arkham-icon-survivor::before { content: '\0076'; }  /* U+0076 • LATIN SMALL LETTER V - Star icon */
.arkham-icon-neutral::before { content: '\006E'; }   /* U+006E • LATIN SMALL LETTER N - Snowflake icon */

.arkham-icon-action::before { content: '\0069'; } /* U+0069 • LATIN SMALL LETTER I */
.arkham-icon-reaction::before { content: '\0021'; } /* U+0021 • EXCLAMATION MARK */
.arkham-icon-free::before { content: '\006A'; } /* U+006A • LATIN SMALL LETTER J */

.arkham-icon-elder-sign::before { content: '\006F'; }   /* U+006F • LATIN SMALL LETTER O */
.arkham-icon-auto-fail::before { content: '\006D'; }   /* U+006D • LATIN SMALL LETTER M */
.arkham-icon-skull::before { content: '\006B'; }       /* U+006B • LATIN SMALL LETTER K */
.arkham-icon-cultist::before { content: '\006C'; }     /* U+006C • LATIN SMALL LETTER L */
.arkham-icon-tablet::before { content: '\0071'; }      /* U+0071 • LATIN SMALL LETTER Q */
.arkham-icon-elder-thing::before { content: '\006E'; } /* U+006E • LATIN SMALL LETTER N */

.arkham-icon-health::before { content: '\e940'; }
.arkham-icon-sanity::before { content: '\e941'; }
.arkham-icon-doom::before { content: '\e942'; }
.arkham-icon-clue::before { content: '\e943'; }
.arkham-icon-resource::before { content: '\e944'; }

.arkham-icon-unique::before { content: '\0073'; }        /* U+0073 • LATIN SMALL LETTER S */
.arkham-icon-fast::before { content: '\006A'; }          /* Map FAST to Free icon */
.arkham-icon-exceptional::before { content: '\e952'; }

/* Additional glyphs used in text */
.arkham-icon-investigator::before { content: '\0075'; }  /* U+0075 • LATIN SMALL LETTER U */
.arkham-icon-bless::before { content: '\0076'; }         /* U+0076 • LATIN SMALL LETTER V */
.arkham-icon-curse::before { content: '\0077'; }         /* U+0077 • LATIN SMALL LETTER W */
.arkham-icon-freeze::before { content: '\0078'; }        /* U+0078 • LATIN SMALL LETTER X */

/* Size variants */
.arkham-icon-xs { font-size: 0.75em; }
.arkham-icon-sm { font-size: 0.875em; }
.arkham-icon-lg { font-size: 1.25em; }
.arkham-icon-xl { font-size: 1.5em; }
.arkham-icon-2x { font-size: 2em; }

/* Color variants - using white for clean appearance */
.arkham-icon-willpower { color: inherit; }
.arkham-icon-intellect { color: inherit; }
.arkham-icon-combat { color: inherit; }
.arkham-icon-agility { color: inherit; }
.arkham-icon-wild { color: inherit; }

.arkham-icon-guardian { color: inherit; }
.arkham-icon-seeker { color: inherit; }
.arkham-icon-rogue { color: inherit; }
.arkham-icon-mystic { color: inherit; }
.arkham-icon-survivor { color: inherit; }
.arkham-icon-neutral { color: inherit; }

/* Chip integration */
.chip .arkham-icon {
  margin-right: 0;
  font-size: 1.1em;
  vertical-align: text-bottom;
  position: relative;
  top: -1px;
}

/* Filter chip specific styling */
.filter-chip .arkham-icon {
  margin-right: 0;
  font-size: 1em;
}

/* Card stat display */
.card-stats .arkham-icon {
  margin-right: 0.25em;
  font-size: 0.9em;
}

/* Icon count display */
.icon-count {
  display: inline-flex;
  align-items: center;
  gap: 0.25em;
  padding: 2px 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  font-size: 0.85em;
}

.icon-count .arkham-icon {
  margin: 0;
}

/* Action/Reaction indicators */
.action-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.25em;
  padding: 1px 4px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 3px;
  font-size: 0.75em;
}

/* Accessibility */
.arkham-icon[aria-label]::before {
  speak: none;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .arkham-icon-willpower { color: inherit; }
  .arkham-icon-intellect { color: inherit; }
  .arkham-icon-combat { color: inherit; }
  .arkham-icon-agility { color: inherit; }
  .arkham-icon-wild { color: inherit; }
}




