/* Luxury Dark Gold — Premium Color System */
body {
  background: #0f0e0c;
  color: #f0ebe0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
#particles-js {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
  background: radial-gradient(ellipse at 20% 50%, #1c1710 0%, #0f0e0c 60%, #080807 100%);
}
#container {
  position: relative;
  z-index: 1;
}
#header {
  background: linear-gradient(180deg, #0a0908 0%, #141210 60%, transparent 100%);
  border-bottom: 1px solid rgba(201,168,76,0.12);
  box-shadow: 0 1px 0 rgba(201,168,76,0.06), 0 6px 28px rgba(0,0,0,0.55);
}
#logo {
  font-weight: 300;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: #f0ebe0;
  text-shadow: 0 0 40px rgba(201,168,76,0.3);
}
#subtitle {
  font-weight: 300;
  letter-spacing: 3px;
  color: #c9a84c;
  opacity: 0.8;
  font-size: 11px;
  text-transform: uppercase;
}
.article-inner {
  background: #1a1814;
  border: 1px solid rgba(201,168,76,0.12);
  border-radius: 4px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.45), 0 0 24px rgba(201,168,76,0.08);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease, border-color 0.4s ease;
}
.article-inner:hover {
  transform: translateY(-4px);
  border-color: rgba(201,168,76,0.22);
  box-shadow: 0 6px 28px rgba(0,0,0,0.55), 0 0 40px rgba(201,168,76,0.1);
}
.article-title {
  color: #f0ebe0;
  font-weight: 400;
  letter-spacing: 0.5px;
  position: relative;
  padding-bottom: 18px;
}
.article-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, #c9a84c, transparent);
}
a.article-title {
  color: #f0ebe0;
  transition: color 0.3s ease;
}
a.article-title:hover {
  color: #e2c97e;
}
.article-meta {
  color: #8a8278;
  font-size: 0.8em;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.article-entry {
  color: #c8c2b6;
  line-height: 1.85;
}
.article-entry p {
  color: #c8c2b6;
}
.article-entry a {
  color: #c9a84c;
  text-decoration: none;
  border-bottom: 1px solid rgba(201,168,76,0.25);
  transition: color 0.25s ease, border-color 0.25s ease;
}
.article-entry a:hover {
  color: #e2c97e;
  border-bottom-color: #e2c97e;
  text-decoration: none;
}
.article-more-link a {
  display: inline-block;
  background: transparent;
  color: #c9a84c;
  border: 1px solid rgba(201,168,76,0.22);
  padding: 8px 24px;
  border-radius: 2px;
  font-size: 0.78em;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow: none;
  box-shadow: none;
  transition: all 0.3s ease;
}
.article-more-link a:hover {
  background: #c9a84c;
  color: #0f0e0c;
  border-color: #c9a84c;
  box-shadow: 0 4px 20px rgba(201,168,76,0.25);
  transform: none;
}
.widget {
  background: #1a1814;
  border: 1px solid rgba(201,168,76,0.12);
  border-radius: 4px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.45);
  transition: border-color 0.3s ease;
}
.widget:hover {
  border-color: rgba(201,168,76,0.22);
  transform: none;
}
.widget-title {
  color: #c9a84c;
  font-weight: 400;
  font-size: 0.75em;
  letter-spacing: 3px;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(201,168,76,0.12);
  padding-bottom: 12px;
}
#footer {
  background: #080807;
  border-top: 1px solid rgba(201,168,76,0.12);
  box-shadow: none;
  color: #8a8278;
}
#footer a {
  color: #c9a84c;
  transition: color 0.25s ease;
}
#footer a:hover {
  color: #e2c97e;
  text-decoration: none;
}
.archive-article {
  border-left: 1px solid rgba(201,168,76,0.12);
  padding-left: 20px;
  transition: border-color 0.3s ease, padding-left 0.3s ease;
}
.archive-article:hover {
  border-left-color: #c9a84c;
  padding-left: 24px;
}
.archive-article-date-year {
  color: #c9a84c;
  font-weight: 300;
  letter-spacing: 2px;
}
.article-tag-list-link {
  background: transparent;
  color: #8a8278;
  border: 1px solid rgba(138,130,120,0.3);
  padding: 3px 10px;
  border-radius: 2px;
  font-size: 0.75em;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.25s ease;
}
.article-tag-list-link:hover {
  background: transparent;
  color: #c9a84c;
  border-color: rgba(201,168,76,0.22);
  transform: none;
}
pre {
  background: #0a0908;
  border: 1px solid rgba(201,168,76,0.12);
  border-left: 2px solid #8c6d2f;
  border-radius: 3px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.45);
}
code {
  background: rgba(201,168,76,0.07);
  color: #e2c97e;
  padding: 2px 6px;
  border-radius: 2px;
  font-weight: 400;
}
blockquote {
  border-left: 2px solid #8c6d2f;
  background: rgba(201,168,76,0.04);
  padding: 16px 24px;
  border-radius: 0 3px 3px 0;
  font-style: italic;
  color: #8a8278;
  box-shadow: none;
}
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #0f0e0c;
}
::-webkit-scrollbar-thumb {
  background: #8c6d2f;
  border-radius: 0;
}
::-webkit-scrollbar-thumb:hover {
  background: #c9a84c;
}
.article {
  animation: fadeInUp 0.5s ease-out both;
}
hr {
  border: none;
  border-top: 1px solid rgba(201,168,76,0.12);
  margin: 30px 0;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  color: #f0ebe0;
  font-weight: 400;
}
#gold-price-widget .widget-title {
  color: #c9a84c;
  font-weight: 400;
  font-size: 0.75em;
  letter-spacing: 3px;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(201,168,76,0.12);
  padding-bottom: 12px;
  margin-bottom: 16px;
}
.gold-price-content {
  padding: 16px;
}
.gold-price-content .loading {
  text-align: center;
  color: #8a8278;
  padding: 20px 0;
  font-size: 0.9em;
}
.gold-price-content .loading .loading-spinner {
  display: inline-block;
  animation: spin 1s linear infinite;
  margin-right: 8px;
}
.gold-price-content .gold-price-data .price-main {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(201,168,76,0.12);
}
.gold-price-content .gold-price-data .price-main .price-value {
  font-size: 1.8em;
  font-weight: 300;
  color: #e2c97e;
  margin-bottom: 8px;
  letter-spacing: 1px;
}
.gold-price-content .gold-price-data .price-main .price-value .currency {
  font-size: 0.7em;
  color: #c9a84c;
  margin-right: 4px;
}
.gold-price-content .gold-price-data .price-main .price-value .unit {
  font-size: 0.5em;
  color: #8a8278;
  margin-left: 4px;
}
.gold-price-content .gold-price-data .price-main .price-change {
  font-size: 0.9em;
  font-weight: 400;
}
.gold-price-content .gold-price-data .price-main .price-change.positive {
  color: #4ade80;
}
.gold-price-content .gold-price-data .price-main .price-change.positive .change-value:before {
  content: '▲ ';
}
.gold-price-content .gold-price-data .price-main .price-change.negative {
  color: #f87171;
}
.gold-price-content .gold-price-data .price-main .price-change.negative .change-value:before {
  content: '▼ ';
}
.gold-price-content .gold-price-data .price-main .price-change .change-percent {
  margin-left: 6px;
  opacity: 0.8;
}
.gold-price-content .gold-price-data .price-cny {
  padding: 12px;
  background: rgba(201,168,76,0.05);
  border-radius: 3px;
  margin-bottom: 16px;
  font-size: 0.95em;
}
.gold-price-content .gold-price-data .price-cny .label {
  color: #8a8278;
  margin-right: 8px;
  font-size: 0.85em;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.gold-price-content .gold-price-data .price-cny .value {
  color: #f0ebe0;
  font-weight: 400;
}
.gold-price-content .gold-price-data .price-meta {
  margin-bottom: 16px;
  font-size: 0.8em;
  color: #8a8278;
}
.gold-price-content .gold-price-data .price-meta .update-time,
.gold-price-content .gold-price-data .price-meta .data-source {
  margin-bottom: 6px;
  display: flex;
  align-items: center;
}
.gold-price-content .gold-price-data .price-meta .update-time .icon,
.gold-price-content .gold-price-data .price-meta .data-source .icon {
  margin-right: 6px;
  font-size: 1.1em;
}
.gold-price-content .gold-price-data .price-actions {
  text-align: center;
}
.gold-price-content .gold-price-data .price-actions .refresh-btn {
  background: transparent;
  color: #c9a84c;
  border: 1px solid rgba(201,168,76,0.22);
  padding: 8px 20px;
  border-radius: 2px;
  font-size: 0.75em;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}
.gold-price-content .gold-price-data .price-actions .refresh-btn .icon {
  margin-right: 6px;
  display: inline-block;
}
.gold-price-content .gold-price-data .price-actions .refresh-btn .icon.spinning {
  animation: spin 1s linear infinite;
}
.gold-price-content .gold-price-data .price-actions .refresh-btn:hover {
  background: #c9a84c;
  color: #0f0e0c;
  border-color: #c9a84c;
  box-shadow: 0 4px 20px rgba(201,168,76,0.25);
}
.gold-price-content .gold-price-data .price-actions .refresh-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.gold-price-content .gold-price-data .price-actions .refresh-btn:disabled:hover {
  background: transparent;
  color: #c9a84c;
  box-shadow: none;
}
.gold-price-content .gold-price-error {
  text-align: center;
  padding: 20px;
  color: #f87171;
}
.gold-price-content .gold-price-error .error-icon {
  font-size: 2em;
  display: block;
  margin-bottom: 8px;
}
.gold-price-content .gold-price-error .error-message {
  display: block;
  margin-bottom: 12px;
  font-size: 0.9em;
}
.gold-price-content .gold-price-error .retry-btn {
  background: transparent;
  color: #c9a84c;
  border: 1px solid rgba(201,168,76,0.22);
  padding: 6px 16px;
  border-radius: 2px;
  font-size: 0.75em;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}
.gold-price-content .gold-price-error .retry-btn:hover {
  background: #c9a84c;
  color: #0f0e0c;
  border-color: #c9a84c;
}
@media screen and (max-width: 768px) {
  .article-inner {
    border-radius: 3px;
  }
  #header {
    height: 200px;
  }
  .widget {
    margin-bottom: 16px;
  }
  #gold-price-widget .gold-price-content .price-main .price-value {
    font-size: 1.5em;
  }
}
@-moz-keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@-webkit-keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@-o-keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@-moz-keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@-webkit-keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@-o-keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
