/**
 * Font Awesome 子集 CSS
 *
 * 只包含项目中实际使用的图标
 * 大幅减少文件体积（从 ~80KB 减少到 ~20KB）
 */

/* Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com
 * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
 */

@font-face {
  font-family: "Font Awesome 6 Free";
  font-style: normal;
  font-weight: 900;
  font-display: block;
  src: url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/webfonts/fa-solid-900.woff2") format("woff2");
}

@font-face {
  font-family: "Font Awesome 6 Brands";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/webfonts/fa-brands-400.woff2") format("woff2");
}

/* 基础样式 - 确保图标正确显示 */
i.fa,
i.fas,
i.far,
i.fal,
i.fad,
i.fab,
i.fa-solid,
i.fa-regular,
i.fa-light,
i.fa-thin,
i.fa-duotone,
i.fa-brands {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-style: normal !important;
  font-variant: normal;
  line-height: 1;
  text-rendering: auto;
}

.fa-solid,
.fas {
  font-weight: 900;
  font-family: "Font Awesome 6 Free" !important;
}

.fa-brands,
.fab {
  font-weight: 400;
  font-family: "Font Awesome 6 Brands";
}

/* 使用的图标列表 */
/* lottery/winner 目录 */
.fa-gift:before { content: "\f06b"; }
.fa-list-ul:before { content: "\f0ca"; }
.fa-sign-out:before { content: "\f08b"; }
.fa-home:before { content: "\f015"; }
.fa-house:before { content: "\f015"; }
.fa-ellipsis-h:before { content: "\f141"; }
.fa-user:before { content: "\f007"; }
.fa-plus:before { content: "\f067"; }
.fa-gear:before { content: "\f013"; }
.fa-question-circle:before { content: "\f059"; }
.fa-chevron-up:before { content: "\f077"; }
.fa-chevron-down:before { content: "\f078"; }
.fa-chevron-right:before { content: "\f054"; }
.fa-exchange-alt:before { content: "\f362"; }
.fa-wand-magic-sparkles:before { content: "\f72b"; }
.fa-hashtag:before { content: "\f292"; }
.fa-globe:before { content: "\f0ac"; }
.fa-bolt:before { content: "\f0e7"; }
.fa-water:before { content: "\f043"; }
.fa-fire:before { content: "\f06d"; }
.fa-arrow-left:before { content: "\f060"; }
.fa-minus:before { content: "\f068"; }
.fa-times:before { content: "\f00d"; }
.fa-spinner:before { content: "\f110"; }
.fa-flag-checkered:before { content: "\f11e"; }
.fa-circle-right:before { content: "\f35a"; }
.fa-check:before { content: "\f00c"; }

/* home/index 和 home/purchase 目录 */
.fa-sign-in-alt:before { content: "\f2f6"; }
.fa-rocket:before { content: "\f135"; }
.fa-bars:before { content: "\f0c9"; }
.fa-star:before { content: "\f005"; }
.fa-play-circle:before { content: "\f144"; }
.fa-mobile-alt:before { content: "\f3cd"; }
.fa-check-circle:before { content: "\f058"; }
.fa-tv:before { content: "\f26c"; }
.fa-cogs:before { content: "\f085"; }
.fa-shield-alt:before { content: "\f3ed"; }
.fa-palette:before { content: "\f53f"; }
.fa-users:before { content: "\f0c0"; }
.fa-play:before { content: "\f04b"; }
.fa-crown:before { content: "\f521"; }
.fa-lock:before { content: "\f023"; }
.fa-user-shield:before { content: "\f505"; }
.fa-arrow-up:before { content: "\f062"; }
.fa-info-circle:before { content: "\f05a"; }
.fa-user-plus:before { content: "\f234"; }
.fa-chart-line:before { content: "\f201"; }
.fa-phone:before { content: "\f095"; }
.fa-envelope:before { content: "\f0e0"; }
.fa-map-marker-alt:before { content: "\f3c5"; }

/* purchase.html 额外图标 */
.fa-seedling:before { content: "\f4d8"; }
.fa-building:before { content: "\f1ad"; }
.fa-calculator:before { content: "\f1ec"; }
.fa-qrcode:before { content: "\f029"; }

/* 品牌图标 */
.fa-weixin:before { content: "\f08d"; }
.fa-weibo:before { content: "\f18a"; }
.fa-qq:before { content: "\f1d6"; }

/* 旋转动画 */
.fa-spin {
  animation: fa-spin 2s infinite linear;
}

@keyframes fa-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* 工具类 - 用于 Tailwind 兼容 */
.fa {
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  line-height: 1;
  text-rendering: auto;
}
