/* ========== CSS Custom Properties ========== */
:root {
  --bg-primary: #1a1a1a;
  --bg-secondary: #141414;
  --bg-card: #242424;
  --bg-card-hover: #2e2e2e;
  --text-primary: #f5f5f5;
  --text-secondary: #a0a0a0;
  --text-heading: #ffffff;
  --accent-primary: #f0a030;
  --accent-secondary: #e8922d;
  --accent-danger: #c0392b;
  --border-color: #333333;
  --overlay: rgba(0, 0, 0, 0.7);
  --glow-orange: rgba(240, 160, 48, 0.3);
  --telegram-color: #26A5E4;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Oswald', system-ui, -apple-system, sans-serif;
  font-weight: 300;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ========== Utility ========== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section-title {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 3rem);
  text-transform: uppercase;
  letter-spacing: 3px;
  text-align: center;
  color: var(--text-heading);
  margin-bottom: 10px;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent-danger);
  margin: 15px auto 0;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-weight: 300;
  font-size: 1.1rem;
  margin-bottom: 50px;
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: 2px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--accent-danger);
  color: #fff;
  border-color: var(--accent-danger);
}

.btn-primary:hover {
  background: #e74c3c;
  border-color: #e74c3c;
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(192, 57, 43, 0.5);
}

.btn-secondary {
  background: transparent;
  color: var(--accent-primary);
  border-color: var(--accent-primary);
}

.btn-secondary:hover {
  background: rgba(240, 160, 48, 0.1);
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(240, 160, 48, 0.2);
}

/* ========== Navigation ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(20, 20, 20, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 10px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Black Ops One', cursive;
  font-size: 1.4rem;
  color: var(--accent-primary);
  letter-spacing: 2px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-menu a {
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-secondary);
  transition: color 0.3s ease;
  position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--accent-primary);
}

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

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

.nav-cta {
  background: var(--accent-danger) !important;
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 2px;
  font-weight: 500 !important;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
  background: #e74c3c !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s ease;
}

.hamburger {
  position: relative;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
}

.hamburger::before { top: -8px; }
.hamburger::after { top: 8px; }

.nav-toggle.active .hamburger {
  background: transparent;
}

.nav-toggle.active .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle.active .hamburger::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ========== Hero ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(240, 160, 48, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(192, 57, 43, 0.06) 0%, transparent 40%),
    radial-gradient(ellipse at 50% 100%, rgba(192, 57, 43, 0.1) 0%, transparent 30%),
    linear-gradient(180deg, #111 0%, #1a1a1a 50%, #111 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.06) 2px,
    rgba(0, 0, 0, 0.06) 4px
  );
  box-shadow: inset 0 0 200px rgba(0, 0, 0, 0.7);
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  text-align: center;
  z-index: 2;
  padding: 20px;
}

.hero-subtitle {
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  text-transform: uppercase;
  letter-spacing: 8px;
  color: var(--accent-primary);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.2s forwards;
}

.hero-subtitle::before,
.hero-subtitle::after {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--accent-primary);
}

.hero-title {
  font-family: 'Black Ops One', cursive;
  font-size: clamp(2.8rem, 8vw, 6.5rem);
  line-height: 1.1;
  color: #ffffff;
  text-shadow:
    0 0 40px rgba(240, 160, 48, 0.2),
    0 0 80px rgba(192, 57, 43, 0.1);
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.4s forwards;
}

.hero-accent {
  color: var(--accent-primary);
  text-shadow:
    0 0 40px rgba(240, 160, 48, 0.5),
    0 0 80px rgba(240, 160, 48, 0.2);
}

.hero-logo {
  display: inline-block;
  max-width: clamp(330px, 60vw, 750px);
  height: auto;
  margin: 10px auto 0;
  filter: drop-shadow(0 0 30px rgba(240, 160, 48, 0.4)) drop-shadow(0 0 60px rgba(240, 160, 48, 0.15));
  animation: fadeInUp 0.8s ease 0.5s forwards;
  opacity: 0;
}

.hero-tagline {
  font-family: 'Oswald', sans-serif;
  font-weight: 300;
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 35px;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.6s forwards;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 30px;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.8s forwards;
}

.hero-server-info {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--text-secondary);
  opacity: 0;
  animation: fadeInUp 0.8s ease 1s forwards;
}

.hero-server-info span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-server-info i {
  color: var(--accent-primary);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: bounce 2s ease infinite;
}

.hero-scroll-indicator i {
  display: block;
  margin-top: 8px;
  font-size: 1.2rem;
}

/* Floating particles */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(240, 160, 48, 0.6);
  border-radius: 50%;
  animation: float-particle linear infinite;
  box-shadow: 0 0 6px rgba(240, 160, 48, 0.5);
}

.particle:nth-child(1)  { left:  5%; top: 90%; animation-duration:  7s; animation-delay: 0s;    width: 5px; height: 5px; }
.particle:nth-child(2)  { left: 15%; top: 85%; animation-duration: 10s; animation-delay: 0.8s;  width: 3px; height: 3px; }
.particle:nth-child(3)  { left: 25%; top: 88%; animation-duration:  8s; animation-delay: 1.6s;  width: 6px; height: 6px; background: rgba(192, 57, 43, 0.55); box-shadow: 0 0 8px rgba(192,57,43,0.4); }
.particle:nth-child(4)  { left: 35%; top: 92%; animation-duration: 12s; animation-delay: 0.3s;  width: 4px; height: 4px; }
.particle:nth-child(5)  { left: 45%; top: 87%; animation-duration:  9s; animation-delay: 2.2s;  width: 3px; height: 3px; background: rgba(231, 76, 60, 0.6); }
.particle:nth-child(6)  { left: 55%; top: 91%; animation-duration: 11s; animation-delay: 1.1s;  width: 5px; height: 5px; }
.particle:nth-child(7)  { left: 65%; top: 86%; animation-duration:  7s; animation-delay: 3.0s;  width: 3px; height: 3px; background: rgba(255, 180, 80, 0.5); box-shadow: 0 0 5px rgba(255,180,80,0.4); }
.particle:nth-child(8)  { left: 75%; top: 90%; animation-duration:  9s; animation-delay: 0.5s;  width: 6px; height: 6px; background: rgba(192, 57, 43, 0.5); box-shadow: 0 0 9px rgba(192,57,43,0.4); }
.particle:nth-child(9)  { left: 85%; top: 88%; animation-duration: 13s; animation-delay: 1.8s;  width: 4px; height: 4px; }
.particle:nth-child(10) { left: 92%; top: 93%; animation-duration:  8s; animation-delay: 2.7s;  width: 3px; height: 3px; background: rgba(255, 140, 50, 0.65); }
.particle:nth-child(11) { left: 20%; top: 70%; animation-duration: 10s; animation-delay: 0.2s;  width: 2px; height: 2px; background: rgba(240, 160, 48, 0.45); }
.particle:nth-child(12) { left: 40%; top: 75%; animation-duration:  8s; animation-delay: 1.4s;  width: 3px; height: 3px; }
.particle:nth-child(13) { left: 60%; top: 72%; animation-duration: 11s; animation-delay: 3.5s;  width: 2px; height: 2px; background: rgba(231, 76, 60, 0.5); }
.particle:nth-child(14) { left: 78%; top: 78%; animation-duration:  9s; animation-delay: 0.9s;  width: 4px; height: 4px; background: rgba(240, 160, 48, 0.4); }
.particle:nth-child(15) { left: 10%; top: 60%; animation-duration: 14s; animation-delay: 2.0s;  width: 2px; height: 2px; background: rgba(192, 57, 43, 0.5); }
.particle:nth-child(16) { left: 50%; top: 65%; animation-duration:  7s; animation-delay: 4.0s;  width: 3px; height: 3px; background: rgba(255, 180, 80, 0.55); }

/* ========== About ========== */
.about {
  background: var(--bg-secondary);
}

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

.about-text p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  transition: border-color 0.3s ease;
}

.highlight-item:hover {
  border-color: var(--accent-primary);
}

.highlight-item i {
  font-size: 1.8rem;
  color: var(--accent-primary);
  min-width: 40px;
  text-align: center;
  margin-top: 2px;
}

.highlight-item h3 {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-heading);
  margin-bottom: 4px;
}

.highlight-item p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ========== Features ========== */
.features {
  background: var(--bg-primary);
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 36px 24px;
  text-align: center;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.feature-card::before,
.feature-card::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  transition: all 0.3s ease;
}

.feature-card::before {
  top: 0;
  left: 0;
  border-top: 2px solid var(--border-color);
  border-left: 2px solid var(--border-color);
}

.feature-card::after {
  bottom: 0;
  right: 0;
  border-bottom: 2px solid var(--border-color);
  border-right: 2px solid var(--border-color);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 15px rgba(240, 160, 48, 0.1);
}

.feature-card:hover::before,
.feature-card:hover::after {
  border-color: var(--accent-primary);
  width: 30px;
  height: 30px;
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(240, 160, 48, 0.08);
  border: 1px solid rgba(240, 160, 48, 0.25);
}

.feature-icon i {
  font-size: 1.5rem;
  color: var(--accent-primary);
}

.feature-card h3 {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-heading);
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ========== Stats ========== */
.stats {
  background:
    linear-gradient(135deg, rgba(30, 30, 30, 0.95), rgba(20, 20, 20, 0.98)),
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 10px,
      rgba(50, 50, 50, 0.1) 10px,
      rgba(50, 50, 50, 0.1) 20px
    );
  padding: 80px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

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

.stat-item {
  text-align: center;
  padding: 20px;
}

.stat-number {
  font-family: 'Black Ops One', cursive;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--accent-danger);
  line-height: 1.2;
  margin-bottom: 8px;
}

.stat-label {
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-secondary);
}

/* ========== How to Join ========== */
.join {
  background: var(--bg-secondary);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.step-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-left: 3px solid var(--accent-danger);
  border-radius: 4px;
  padding: 36px 24px 30px;
  text-align: center;
  overflow: hidden;
}

.step-number {
  font-family: 'Black Ops One', cursive;
  font-size: 4rem;
  color: rgba(192, 57, 43, 0.08);
  position: absolute;
  top: -5px;
  right: 15px;
  line-height: 1;
  pointer-events: none;
}

.step-icon {
  font-size: 2rem;
  color: var(--accent-primary);
  margin-bottom: 16px;
}

.step-card h3 {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-heading);
  margin-bottom: 10px;
}

.step-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.join-direct {
  text-align: center;
}

.join-direct > p {
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.ip-display {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px dashed var(--border-color);
  padding: 16px 24px;
  border-radius: 4px;
}

.ip-display code {
  font-family: 'Courier New', monospace;
  font-size: 1.2rem;
  color: var(--accent-primary);
  letter-spacing: 1px;
}

.btn-copy {
  background: none;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 8px 12px;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.btn-copy:hover {
  color: var(--accent-primary);
  border-color: var(--accent-primary);
}

/* ========== Gallery ========== */
.gallery {
  background: var(--bg-primary);
}

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

.gallery-item:nth-child(1),
.gallery-item:nth-child(4) {
  grid-column: span 2;
}

.gallery-placeholder {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--bg-card) 0%, #2e2e2e 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px dashed var(--border-color);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  transition: all 0.3s ease;
  cursor: pointer;
}

.gallery-placeholder i {
  font-size: 2.5rem;
  color: var(--border-color);
  transition: color 0.3s ease;
}

.gallery-placeholder span {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.5;
}

.gallery-placeholder:hover {
  border-color: var(--accent-primary);
  background: linear-gradient(135deg, var(--bg-card-hover) 0%, #383838 100%);
}

.gallery-placeholder:hover i {
  color: var(--accent-primary);
}

/* ========== Latest News ========== */
.latest-news {
  background: var(--bg-primary);
}

/* ========== Community (Telegram + TeamSpeak) ========== */
.community {
  background: var(--bg-secondary);
  padding: 100px 0;
}

.community-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.community-card {
  text-align: center;
  padding: 44px 32px;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.community-card:hover {
  transform: translateY(-4px);
}

.community-card .card-icon {
  font-size: 3rem;
  color: #fff;
  margin-bottom: 18px;
  animation: pulse 2s ease infinite;
}

.community-card h3 {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #fff;
  margin-bottom: 10px;
}

.community-card > p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  margin-bottom: 22px;
  line-height: 1.6;
}

.community-card .card-meta {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.85rem;
}

.community-card .card-meta i {
  margin-right: 6px;
}

/* Telegram card */
.card-telegram {
  background: linear-gradient(135deg, #26A5E4 0%, #1C93D0 100%);
  box-shadow: 0 15px 40px rgba(38, 165, 228, 0.2);
}

.btn-telegram {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: #26A5E4;
  padding: 12px 28px;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-telegram:hover {
  background: #f0f0f0;
  transform: scale(1.05);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

/* TeamSpeak card */
.card-teamspeak {
  background: linear-gradient(135deg, var(--accent-danger) 0%, #962d22 100%);
  box-shadow: 0 15px 40px rgba(192, 57, 43, 0.2);
}

.btn-teamspeak {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: var(--accent-danger);
  padding: 12px 28px;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-teamspeak:hover {
  background: #f0f0f0;
  transform: scale(1.05);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.ts-address {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  padding: 8px 16px;
  border-radius: 4px;
  margin-top: 14px;
  font-family: 'Courier New', monospace;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.5px;
}

.ts-address .btn-copy-ts {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  font-size: 0.9rem;
  padding: 2px 6px;
  transition: color 0.3s ease;
}

.ts-address .btn-copy-ts:hover {
  color: #fff;
}

.ts-steps {
  text-align: left;
  margin-top: 18px;
  padding: 16px 20px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  border-left: 3px solid rgba(255, 255, 255, 0.3);
}

.ts-steps h4 {
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 10px;
}

.ts-steps ol {
  list-style: decimal;
  padding-left: 20px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.88rem;
  line-height: 1.8;
}

/* ========== Footer ========== */
.footer {
  background: #0e0e0e;
  border-top: 1px solid var(--border-color);
  padding: 60px 0 0;
}

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

.footer-logo {
  font-family: 'Black Ops One', cursive;
  font-size: 1.3rem;
  color: var(--accent-primary);
  margin-bottom: 12px;
}

.footer-info p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-links h4 {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-heading);
  margin-bottom: 16px;
}

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

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

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

.footer-links .info-item {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  margin-top: 40px;
  padding: 20px 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ========== Animations ========== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.05); }
}

@keyframes float-particle {
  0% {
    transform: translateY(0) translateX(0) scale(1);
    opacity: 0;
  }
  8% { opacity: 0.9; }
  30% {
    transform: translateY(-30vh) translateX(-20px) scale(1.4);
    opacity: 0.8;
  }
  60% {
    transform: translateY(-60vh) translateX(25px) scale(1.1);
    opacity: 0.6;
  }
  85% { opacity: 0.3; }
  100% {
    transform: translateY(-100vh) translateX(-10px) scale(0.6);
    opacity: 0;
  }
}

/* Scroll reveal */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

[data-animate]:nth-child(2) { transition-delay: 0.1s; }
[data-animate]:nth-child(3) { transition-delay: 0.2s; }
[data-animate]:nth-child(4) { transition-delay: 0.3s; }
[data-animate]:nth-child(5) { transition-delay: 0.15s; }
[data-animate]:nth-child(6) { transition-delay: 0.25s; }
[data-animate]:nth-child(7) { transition-delay: 0.1s; }
[data-animate]:nth-child(8) { transition-delay: 0.2s; }

/* ========== Responsive ========== */
@media (max-width: 968px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(20, 20, 20, 0.98);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 30px 30px;
    gap: 20px;
    transition: right 0.3s ease;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-toggle {
    display: block;
  }

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

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

  .steps-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }

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

  .gallery-item:nth-child(1),
  .gallery-item:nth-child(4) {
    grid-column: span 1;
  }

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

@media (max-width: 640px) {
  .section {
    padding: 60px 0;
  }

  .section-subtitle {
    margin-bottom: 35px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-subtitle {
    letter-spacing: 4px;
    font-size: 0.8rem;
  }

  .hero-subtitle::before,
  .hero-subtitle::after {
    width: 20px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .hero-server-info {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .community-grid {
    grid-template-columns: 1fr;
    max-width: 450px;
  }

  .community-card {
    padding: 30px 22px;
  }

  .ip-display {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 400px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}
