/* CSS Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Colors */
  --bg-dark: #1a1410;
  --bg-medium: #231b15;
  --bg-light: #2d241c;
  --bg-card: #1e1814;
  --gold: #c4a35a;
  --gold-light: #d4b896;
  --gold-dark: #a88942;
  --text-light: #d4b896;
  --text-muted: #a89070;
  --text-dark: #8a7a60;
  --border-gold: rgba(196, 163, 90, 0.3);

  /* Typography */
  --font-heading: 'Cinzel', serif;
  --font-body: 'Crimson Text', Georgia, serif;

  /* Spacing */
  --section-padding: 80px 0;
  --container-width: 1200px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.6;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--gold);
  font-weight: 500;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.section-title-left {
  text-align: left;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 48px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn-primary {
  background-color: var(--gold);
  color: var(--bg-dark);
  border: 2px solid var(--gold);
}

.btn-primary:hover {
  background-color: var(--gold-light);
  border-color: var(--gold-light);
}

.btn-outline {
  background-color: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}

.btn-outline:hover {
  background-color: rgba(196, 163, 90, 0.1);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(26, 20, 16, 0.95);
  backdrop-filter: blur(10px);
  padding: 16px 0;
  border-bottom: 1px solid var(--border-gold);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
}

.logo svg {
  width: 24px;
  height: 24px;
}

.nav {
  display: flex;
  gap: 32px;
}

.nav-link {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold);
}

.btn-discord {
  padding: 10px 20px;
  font-size: 0.9rem;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--gold);
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-btn svg {
  width: 28px;
  height: 28px;
}

/* Mobile Menu Overlay */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(26, 20, 16, 0.98);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 24px;
  padding: 80px 24px 40px;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--text-light);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.2s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link:active {
  color: var(--gold);
}

.mobile-discord-btn {
  margin-top: 16px;
  padding: 16px 32px;
  font-size: 1.1rem;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('images/hero-bg.jpg') center/cover no-repeat;
  z-index: -1;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26, 20, 16, 0.4) 0%,
    rgba(26, 20, 16, 0.7) 50%,
    rgba(26, 20, 16, 1) 100%
  );
}

.hero-card {
  background: rgba(30, 24, 20, 0.85);
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  padding: 60px 80px;
  text-align: center;
  max-width: 700px;
  backdrop-filter: blur(10px);
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 16px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--gold);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.hero-description {
  color: var(--text-muted);
  margin-bottom: 32px;
  font-size: 1.1rem;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 32px;
}

.hero-stats {
  display: flex;
  gap: 32px;
  justify-content: center;
  color: var(--text-muted);
}

.stat {
  display: flex;
  align-items: center;
  gap: 8px;
}

.stat svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
}

/* Section Base */
.section {
  padding: var(--section-padding);
}

/* Server Information */
.server-info {
  background-color: var(--bg-dark);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.info-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  padding: 32px;
}

.info-icon {
  width: 48px;
  height: 48px;
  background-color: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.info-icon svg {
  width: 24px;
  height: 24px;
  color: var(--gold);
}

.info-title {
  font-size: 1.1rem;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.info-description {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.info-value {
  background-color: var(--bg-light);
  padding: 12px 16px;
  border-radius: 8px;
  font-family: monospace;
  font-size: 1rem;
  color: var(--text-light);
}

/* About Section */
.about {
  background-color: var(--bg-dark);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-content {
  padding-right: 20px;
}

.about-text {
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.8;
}

.about-badges {
  display: flex;
  gap: 24px;
  margin-top: 32px;
}

.badge {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
}

.badge svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
}

.about-image {
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--border-gold);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Features Section */
.features {
  background-color: var(--bg-medium);
  border-top: 1px solid var(--border-gold);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
}

.feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 32px;
  height: 32px;
  color: var(--gold-light);
}

.feature-title {
  font-size: 1rem;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.feature-description {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Rules Section */
.rules {
  background-color: var(--bg-dark);
}

.rules-card {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  padding: 48px;
}

.rule {
  display: flex;
  gap: 20px;
  padding: 20px 0;
}

.rule:not(:last-child) {
  border-bottom: 1px solid var(--border-gold);
}

.rule-number {
  width: 40px;
  height: 40px;
  background-color: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  color: var(--gold);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.rule-content {
  flex: 1;
}

.rule-title {
  font-size: 1.1rem;
  margin-bottom: 6px;
  color: var(--gold);
}

.rule-description {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.rules-note {
  max-width: 800px;
  margin: 24px auto 0;
  text-align: center;
  color: var(--text-dark);
  font-size: 0.9rem;
  font-style: italic;
}

/* Community Showcase */
.showcase {
  background-color: var(--bg-dark);
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.showcase-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 2px solid var(--border-gold);
}

.showcase-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(transparent, rgba(26, 20, 16, 0.95));
}

.showcase-title {
  font-size: 1.1rem;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.showcase-builder {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-light);
  font-size: 0.95rem;
  font-family: var(--font-heading);
}

.builder-head {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  border: 2px solid var(--gold);
  image-rendering: pixelated;
}

/* Staff Section */
.staff {
  background-color: var(--bg-dark);
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.staff-card {
  text-align: center;
}

.staff-avatar {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--gold);
}

.staff-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 3D Skin Viewer Avatar */
.staff-avatar-3d {
  width: 160px;
  height: 200px;
  border-radius: 0;
  background: transparent;
  border: none;
  position: relative;
  overflow: visible;
}

.staff-avatar-3d canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
  border-radius: 0;
  background: transparent;
}

/* Decorative frame around 3D avatar */
.staff-avatar-3d::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100px;
  height: 8px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.6;
}

.staff-avatar-3d::after {
  content: '';
  position: absolute;
  inset: 10px 20px;
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.staff-card:hover .staff-avatar-3d::after {
  opacity: 1;
}

/* Skin fallback for failed loads */
.skin-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-card) 100%);
  border-radius: 8px;
  border: 1px solid var(--border-gold);
}

.skin-fallback svg {
  width: 64px;
  height: 64px;
  color: var(--gold);
  opacity: 0.4;
}

.staff-name {
  font-size: 1.1rem;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.staff-role {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.staff-discord {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--text-dark);
  font-size: 0.85rem;
}

.staff-discord svg {
  width: 14px;
  height: 14px;
}

/* Join Section */
.join {
  background-color: var(--bg-medium);
  border-top: 1px solid var(--border-gold);
}

.join-card {
  max-width: 700px;
  margin: 0 auto 40px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  padding: 48px;
}

.join-card-title {
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 32px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.join-steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.join-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.step-number {
  width: 36px;
  height: 36px;
  background-color: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  color: var(--gold);
  font-size: 1rem;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
}

.step-title {
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 4px;
}

.step-description {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.join-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
}

/* Footer */
.footer {
  background-color: var(--bg-dark);
  border-top: 1px solid var(--border-gold);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-description {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer-title {
  font-size: 0.95rem;
  color: var(--gold);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-server .footer-label {
  color: var(--text-dark);
  font-size: 0.8rem;
  margin-bottom: 4px;
}

.footer-server .footer-value {
  font-family: monospace;
  color: var(--gold);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  border-top: 1px solid var(--border-gold);
  color: var(--text-dark);
  font-size: 0.85rem;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-social a:hover {
  color: var(--gold);
}

.footer-social svg {
  width: 20px;
  height: 20px;
}

/* Testimonials Section */
.testimonials {
  background-color: var(--bg-medium);
  border-top: 1px solid var(--border-gold);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.testimonial-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-content {
  margin-bottom: 24px;
}

.quote-icon {
  width: 32px;
  height: 32px;
  color: var(--gold);
  opacity: 0.5;
  margin-bottom: 16px;
}

.testimonial-text {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.7;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.author-name {
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 0.95rem;
}

.author-status {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* QoL Section */
.qol {
  background-color: var(--bg-dark);
  padding: 48px 0;
}

.qol-content {
  text-align: center;
}

.qol-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 8px;
}

.qol-subtitle {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.qol-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.qol-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--bg-light);
  border: 1px solid var(--border-gold);
  border-radius: 24px;
  padding: 10px 20px;
  color: var(--text-light);
  font-size: 0.9rem;
}

.qol-badge svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
}

/* ==========================================
   VISUAL ENHANCEMENTS & ANIMATIONS
   ========================================== */

/* Floating Particles */
.particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.particle {
  position: absolute;
  bottom: -10px;
  background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
  border-radius: 50%;
  animation: float-up linear infinite;
  filter: blur(1px);
}

@keyframes float-up {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: var(--particle-opacity, 0.4);
  }
  90% {
    opacity: var(--particle-opacity, 0.4);
  }
  100% {
    transform: translateY(-100vh) translateX(20px);
    opacity: 0;
  }
}

/* Firelight Glow Effect */
@keyframes firelight {
  0%, 100% {
    box-shadow:
      0 0 20px rgba(196, 163, 90, 0.1),
      0 0 40px rgba(196, 163, 90, 0.05),
      inset 0 0 20px rgba(196, 163, 90, 0.02);
  }
  25% {
    box-shadow:
      0 0 25px rgba(196, 163, 90, 0.15),
      0 0 50px rgba(196, 163, 90, 0.08),
      inset 0 0 25px rgba(196, 163, 90, 0.03);
  }
  50% {
    box-shadow:
      0 0 30px rgba(196, 163, 90, 0.12),
      0 0 60px rgba(196, 163, 90, 0.06),
      inset 0 0 30px rgba(196, 163, 90, 0.02);
  }
  75% {
    box-shadow:
      0 0 22px rgba(196, 163, 90, 0.14),
      0 0 45px rgba(196, 163, 90, 0.07),
      inset 0 0 22px rgba(196, 163, 90, 0.025);
  }
}

.hero-card {
  animation: firelight 4s ease-in-out infinite;
}

/* Ornamental Dividers */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 40px 0;
  background: var(--bg-dark);
}

.ornament-line {
  width: 100px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.ornament-diamond {
  width: 12px;
  height: 12px;
  background: var(--gold);
  transform: rotate(45deg);
  position: relative;
}

.ornament-diamond::before,
.ornament-diamond::after {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--gold);
  transform: rotate(0deg);
}

.ornament-diamond::before {
  left: -16px;
  top: 3px;
}

.ornament-diamond::after {
  right: -16px;
  top: 3px;
}

/* Scroll Animations */
.info-card,
.feature-card,
.testimonial-card,
.showcase-card,
.staff-card,
.rule,
.join-step,
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.info-card.animate-in,
.feature-card.animate-in,
.testimonial-card.animate-in,
.showcase-card.animate-in,
.staff-card.animate-in,
.rule.animate-in,
.join-step.animate-in,
[data-animate].animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Card Hover Effects */
.feature-card,
.testimonial-card {
  transition: transform 0.15s ease, box-shadow 0.3s ease;
  transform-style: preserve-3d;
}

.feature-card:hover,
.testimonial-card:hover {
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.3),
    0 0 30px rgba(196, 163, 90, 0.1);
}

.info-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow:
    0 15px 30px rgba(0, 0, 0, 0.2),
    0 0 20px rgba(196, 163, 90, 0.08);
}

/* Showcase Card Hover */
.showcase-card {
  transition: transform 0.4s ease;
}

.showcase-card:hover {
  transform: scale(1.03);
}

.showcase-card img {
  transition: transform 0.6s ease;
}

.showcase-card:hover img {
  transform: scale(1.1);
}

/* Staff Avatar Hover */
.staff-avatar {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.staff-card:hover .staff-avatar:not(.staff-avatar-3d) {
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(196, 163, 90, 0.4);
}

/* 3D Avatar Hover */
.staff-card:hover .staff-avatar-3d {
  transform: translateY(-5px);
}

.staff-card:hover .staff-avatar-3d::before {
  opacity: 1;
  box-shadow: 0 0 20px rgba(196, 163, 90, 0.5);
}

/* Button Shine Effect */
.btn-primary {
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

/* Nav Link Hover Effect */
.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Copy to Clipboard Styles */
.copyable {
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.copyable:hover {
  background-color: var(--bg-medium);
  border-color: var(--gold);
}

.copy-icon {
  width: 16px;
  height: 16px;
  opacity: 0.5;
  transition: opacity 0.2s ease;
}

.copyable:hover .copy-icon {
  opacity: 1;
}

.copyable.copied {
  background-color: rgba(196, 163, 90, 0.2);
  border-color: var(--gold);
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--gold);
  color: var(--bg-dark);
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  z-index: 9999;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Rule Number Pulse */
.rule-number {
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.rule:hover .rule-number {
  transform: scale(1.1);
  background-color: var(--gold);
  color: var(--bg-dark);
}

/* Feature Icon Animation */
.feature-icon svg {
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon svg {
  transform: scale(1.2) rotate(5deg);
}

/* QoL Badge Hover */
.qol-badge {
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.qol-badge:hover {
  transform: translateY(-3px);
  background-color: var(--bg-medium);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Section Title Glow */
.section-title {
  text-shadow: 0 0 40px rgba(196, 163, 90, 0.3);
}

/* Hero Title Animation */
.hero-title {
  animation: title-glow 3s ease-in-out infinite alternate;
}

@keyframes title-glow {
  from {
    text-shadow:
      0 0 20px rgba(196, 163, 90, 0.3),
      0 0 40px rgba(196, 163, 90, 0.1);
  }
  to {
    text-shadow:
      0 0 30px rgba(196, 163, 90, 0.5),
      0 0 60px rgba(196, 163, 90, 0.2);
  }
}

/* Testimonial Quote Icon Animation */
.quote-icon {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.testimonial-card:hover .quote-icon {
  transform: scale(1.2);
  opacity: 0.8;
}

/* Footer Link Hover */
.footer-links a {
  position: relative;
  display: inline-block;
}

.footer-links a::before {
  content: '→';
  position: absolute;
  left: -15px;
  opacity: 0;
  transition: opacity 0.2s ease, left 0.2s ease;
}

.footer-links a:hover::before {
  opacity: 1;
  left: -12px;
}

/* Social Icon Hover */
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.footer-social a:hover {
  background-color: var(--bg-light);
  transform: translateY(-3px);
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .particle {
    display: none;
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .staff-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  /* Header */
  .nav {
    display: none;
  }

  .btn-discord {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .mobile-menu {
    display: block;
  }

  .header-content {
    padding: 0 16px;
  }

  /* Hero */
  .hero {
    padding: 100px 16px 60px;
    min-height: auto;
  }

  .hero-card {
    padding: 32px 20px;
  }

  .hero-title {
    font-size: 1.75rem;
    letter-spacing: 0.02em;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    flex-direction: column;
    gap: 12px;
  }

  /* Sections */
  .section {
    padding: 60px 0;
  }

  .container {
    padding: 0 16px;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
    margin-bottom: 32px;
  }

  /* Info Cards */
  .info-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .info-card {
    padding: 24px;
  }

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-content {
    padding-right: 0;
  }

  .section-title-left {
    text-align: center;
  }

  .about-text {
    text-align: center;
  }

  .about-badges {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  /* Features */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-card {
    padding: 24px 20px;
  }

  /* Rules */
  .rules-card {
    padding: 24px;
  }

  .rule {
    padding: 16px 0;
    gap: 16px;
  }

  .rule-number {
    width: 32px;
    height: 32px;
    font-size: 0.95rem;
  }

  .rule-title {
    font-size: 1rem;
  }

  .rule-description {
    font-size: 0.9rem;
  }

  .rules-note {
    font-size: 0.85rem;
    padding: 0 8px;
  }

  /* Showcase */
  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .testimonial-card {
    padding: 24px;
  }

  .testimonial-text {
    font-size: 0.95rem;
  }

  /* QoL */
  .qol {
    padding: 40px 0;
  }

  .qol-title {
    font-size: 1.25rem;
  }

  .qol-badges {
    gap: 10px;
  }

  .qol-badge {
    padding: 8px 14px;
    font-size: 0.85rem;
  }

  /* Staff */
  .staff-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .staff-avatar-3d {
    width: 120px;
    height: 160px;
  }

  .staff-name {
    font-size: 0.95rem;
  }

  .staff-role {
    font-size: 0.85rem;
  }

  /* Join */
  .join-card {
    padding: 32px 20px;
  }

  .join-card-title {
    font-size: 1.25rem;
  }

  .join-step {
    gap: 16px;
  }

  .step-number {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }

  .step-title {
    font-size: 0.95rem;
  }

  .step-description {
    font-size: 0.9rem;
  }

  .join-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .join-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  /* Footer */
  .footer {
    padding: 40px 0 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .footer-brand .logo {
    justify-content: center;
  }

  .footer-description {
    max-width: 100%;
    margin: 0 auto;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  /* Ornament */
  .ornament {
    padding: 24px 0;
  }

  .ornament-line {
    width: 60px;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.5rem;
  }

  .section-title {
    font-size: 1.35rem;
  }

  .staff-grid {
    grid-template-columns: 1fr;
  }

  .staff-avatar-3d {
    width: 140px;
    height: 180px;
  }

  .info-value {
    font-size: 0.9rem;
    padding: 10px 12px;
  }
}
