@charset "UTF-8";
* {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  -webkit-tap-highlight-color: transparent;
  outline: 0;
  vertical-align: baseline;
  -webkit-text-size-adjust: 100% !important;
  -ms-text-size-adjust: 100% !important;
      text-size-adjust: 100% !important;
  -moz-text-size-adjust: 100% !important;
}

select,
button,
input,
textarea,
button {
  border: 1px solid #333;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

table,
td,
th {
  border: 1px solid #333;
}

td,
th {
  line-height: 1.5;
  padding: 0.3em 0.4em;
}

th {
  font-weight: bold;
  font-size: 1.05em;
}

html {
  font-size: 100%;
  background-color: #ffffff;
  word-break: break-word;
}

body {
  min-height: 100vh;
  color: #333;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  font: normal normal normal 14px/1.6 sans-serif;
  background-color: #ffffff;
}

hr {
  overflow: visible;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
  margin: 1em 0;
  height: 0;
  border-top: 1px solid #ccc;
}

button:disabled {
  cursor: default;
}

a,
a:active,
a:link,
a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
dialog,
hr,
img {
  display: block;
}

audio,
canvas,
iframe,
img,
svg,
video {
  display: inline-block;
  vertical-align: middle;
}

[hidden],
dialog:not([open]),
template {
  display: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
  border-radius: 0;
}

textarea {
  resize: vertical;
}

audio,
canvas,
progress,
video {
  display: inline-block;
}

input,
select {
  vertical-align: middle;
}

button {
  vertical-align: inherit;
  line-height: inherit;
  cursor: pointer;
}

button,
select {
  text-transform: none;
}

code,
kbd,
pre,
samp {
  font-family: monospace, sans-serif;
  font-size: 1em;
}

mark {
  background-color: #ff0;
}

small {
  font-size: 80%;
}

sub,
sup {
  position: relative;
  font-size: 70%;
  line-height: 0;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

ul {
  list-style: none;
}

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

:root {
  --font-color: #333;
  --primary-color: #007bff;
  --secondary-color: #f0f8ff;
  --bg-color: #f9f9f9;
  --border-color: #eee;
  --body-bg: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
  --container-bg: transparent;
  --card-bg: #f9f9f9;
  --card-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  --notice-bg: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
  --notice-border: #f39c12;
  --notice-text: #856404;
  --notice-hint: #a07404;
  --toggle-bg: rgba(255, 255, 255, 0.9);
}

[data-theme=dark] {
  --body-bg: linear-gradient(-45deg, #1a1a2e, #16213e, #0f3460, #1a1a2e);
  --container-bg: transparent;
  --card-bg: #2d2d44;
  --card-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  --notice-bg: linear-gradient(135deg, #3d3d5c 0%, #2d2d44 100%);
  --notice-border: #f39c12;
  --notice-text: #f0e6d2;
  --notice-hint: #d4c5a9;
  --toggle-bg: rgba(45, 45, 68, 0.9);
}
[data-theme=dark] .page-title,
[data-theme=dark] .category h2,
[data-theme=dark] .resource-list a {
  color: #e0e0e0;
}
[data-theme=dark] .resource-list a:hover {
  background-color: rgba(0, 123, 255, 0.1);
}

@-webkit-keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
body {
  background: var(--body-bg);
  background-size: 400% 400%;
  -webkit-animation: gradientShift 15s ease infinite;
          animation: gradientShift 15s ease infinite;
  min-height: 100vh;
  -webkit-transition: background 0.5s ease;
  transition: background 0.5s ease;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.page-title {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--font-color);
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 0.8rem;
}

.title-icon {
  font-size: 2.8rem;
  -webkit-animation: iconFloat 3s ease-in-out infinite;
          animation: iconFloat 3s ease-in-out infinite;
}

@-webkit-keyframes iconFloat {
  0%, 100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  50% {
    -webkit-transform: translateY(-8px);
            transform: translateY(-8px);
  }
}

@keyframes iconFloat {
  0%, 100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  50% {
    -webkit-transform: translateY(-8px);
            transform: translateY(-8px);
  }
}
.resource-categories {
  display: grid;
  gap: 2rem;
}

.category {
  background: var(--card-bg);
  border-radius: 8px;
  padding: 1.5rem;
  -webkit-box-shadow: var(--card-shadow);
          box-shadow: var(--card-shadow);
  -webkit-transition: background 0.3s ease, -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
  transition: background 0.3s ease, -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
}

.category:hover {
  -webkit-transform: translateY(-4px);
      -ms-transform: translateY(-4px);
          transform: translateY(-4px);
  -webkit-box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
          box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.category h2 {
  margin-bottom: 1rem;
  color: var(--font-color);
  font-size: 1.5rem;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 0.5rem;
  font-weight: 600;
}

.resource-list {
  list-style: none;
}

.resource-list li {
  margin-bottom: 0.8rem;
}

.resource-list a {
  color: var(--font-color);
  text-decoration: none;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  display: block;
  padding: 0.5rem;
  border-radius: 4px;
  position: relative;
  padding-left: 1rem;
}

.resource-list a::before {
  content: "→";
  position: absolute;
  left: 0;
  opacity: 0;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  color: var(--primary-color);
}

.resource-list a:hover {
  color: var(--primary-color);
  background-color: var(--secondary-color);
  text-decoration: none;
  padding-left: calc(1.5rem + 0.5rem);
}

.resource-list a:hover::before {
  opacity: 1;
  left: 0.5rem;
}

.notice {
  margin-top: 2rem;
  padding: 0.8rem 1rem;
  background: var(--notice-bg);
  border-left: 4px solid var(--notice-border);
  border-radius: 8px;
  -webkit-box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
          box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  gap: 0.5rem;
  -webkit-transition: background 0.3s ease;
  transition: background 0.3s ease;
}

.notice-content {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 0.5rem;
}

.notice-icon {
  font-size: 1.2rem;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  margin-top: 2px;
}

.notice-text {
  color: var(--notice-text);
  font-size: 0.85rem;
  line-height: 1.5;
  font-weight: 500;
}

.notice-hint {
  color: var(--notice-hint);
  font-size: 0.8rem;
  line-height: 1.4;
  font-style: italic;
}

.feedback-link {
  color: #f39c12;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px dashed #f39c12;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.feedback-link:hover {
  color: #e67e22;
  border-bottom-color: #e67e22;
}

.theme-toggle {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  width: 50px;
  height: 50px;
  background: var(--toggle-bg);
  border-radius: 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  cursor: pointer;
  -webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
          box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.theme-toggle:hover {
  -webkit-transform: scale(1.1) rotate(15deg);
      -ms-transform: scale(1.1) rotate(15deg);
          transform: scale(1.1) rotate(15deg);
  -webkit-box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
          box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.theme-icon {
  font-size: 1.5rem;
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}

.theme-toggle:hover .theme-icon {
  -webkit-transform: rotate(-15deg);
      -ms-transform: rotate(-15deg);
          transform: rotate(-15deg);
}

.browser-notice {
  margin-bottom: 2rem;
  padding: 0.8rem 1rem;
  background: linear-gradient(135deg, #ffe0e0 0%, #ffc9c9 100%);
  border-left: 4px solid #e74c3c;
  border-radius: 8px;
  -webkit-box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
          box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  gap: 0.5rem;
}

.browser-notice .notice-content {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 0.5rem;
}

.browser-notice .notice-icon {
  font-size: 1.2rem;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  margin-top: 2px;
}

.browser-notice .notice-text {
  color: #c0392b;
  font-size: 0.85rem;
  line-height: 1.5;
  font-weight: 600;
}

.browser-notice .notice-hint {
  color: #d35400;
  font-size: 0.8rem;
  line-height: 1.4;
  font-style: italic;
}

.loading-spinner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  min-height: 300px;
  gap: 1rem;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(0, 123, 255, 0.1);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  -webkit-animation: spin 0.8s linear infinite;
          animation: spin 0.8s linear infinite;
}

@-webkit-keyframes spin {
  to {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}

@keyframes spin {
  to {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}
.loading-text {
  color: var(--font-color);
  font-size: 1rem;
  opacity: 0.7;
  -webkit-animation: pulse 1.5s ease-in-out infinite;
          animation: pulse 1.5s ease-in-out infinite;
}

@-webkit-keyframes pulse {
  0%, 100% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
}
.fade-in {
  -webkit-animation: fadeIn 0.5s ease-in;
          animation: fadeIn 0.5s ease-in;
}

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

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