:root {
  --orange: #e8650a;
  --orange-light: #f07c2a;
  --orange-glow: rgba(232, 101, 10, 0.35);
  --dark: #111114;
  --dark2: #18181d;
  --dark3: #1f1f26;
  --text: #e8e8f0;
  --text-muted: rgba(232, 232, 240, 0.55);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 48px;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
  transition: background 0.4s, backdrop-filter 0.4s, box-shadow 0.4s;
}

.navbar.scrolled {
  background: rgba(17, 17, 20, 0.75);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}

.logo img {
  height: 44px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  transition: opacity 0.2s;
}
.logo:hover img { opacity: 0.8; }

.nav-links {
  list-style: none;
  display: flex;
  gap: 36px;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
  transition: width 0.25s;
}

.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 0%, #2a1500 0%, var(--dark) 65%);
}

#particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--orange-glow) 0%, transparent 65%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  pointer-events: none;
  animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.6; transform: translate(-50%, -55%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -55%) scale(1.08); }
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 20px;
  animation: fade-up 0.9s ease both;
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-block;
  background: rgba(232, 101, 10, 0.15);
  border: 1px solid rgba(232, 101, 10, 0.4);
  color: var(--orange-light);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.hero-content h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 22px;
  letter-spacing: -1px;
}

.hero-content h1 span {
  background: linear-gradient(90deg, var(--orange), var(--orange-light), #ffb347);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 44px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 300;
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  display: block;
  filter: drop-shadow(0 0 18px rgba(232, 101, 10, 0.6));
  animation: float 3.5s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: #fff;
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px var(--orange-glow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px var(--orange-glow);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.75);
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.btn-secondary:hover {
  border-color: var(--orange);
  color: var(--orange-light);
  background: rgba(232, 101, 10, 0.07);
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  color: rgba(255,255,255,0.25);
  text-decoration: none;
  transition: color 0.2s;
  animation: bounce 2.5s ease-in-out infinite;
}

.hero-scroll:hover { color: var(--orange); }
.hero-scroll .material-icons { font-size: 2rem; }

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 30px;
}

.section-header { margin-bottom: 56px; }

.section-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 10px;
  color: #fff;
}

.section-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 1rem;
}

.news {
  padding: 110px 0;
  background: var(--dark);
  position: relative;
}

.news::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.07), transparent);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-card {
  background: var(--dark3);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.3s, border-color 0.3s;
}

.news-card:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 101, 10, 0.35);
}

.news-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.news-tag {
  display: inline-block;
  background: rgba(232, 101, 10, 0.15);
  border: 1px solid rgba(232, 101, 10, 0.3);
  color: var(--orange-light);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
}

.news-date {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.news-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
}

.news-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
}

.news-skeleton {
  background: var(--dark3);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  height: 160px;
  position: relative;
  overflow: hidden;
}

.news-skeleton::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.04) 50%, transparent 100%);
  animation: shimmer 1.4s infinite;
}

@keyframes shimmer {
  from { transform: translateX(-100%); }
  to   { transform: translateX(100%); }
}

.news-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-muted);
  padding: 40px 0;
  font-size: 0.95rem;
}

.features {
  padding: 110px 0;
  background: var(--dark2);
  position: relative;
}

.features::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232,101,10,0.3), transparent);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--dark3);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 36px 28px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(232, 101, 10, 0.4);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3), 0 0 0 1px rgba(232,101,10,0.1);
}

.card-icon {
  width: 56px;
  height: 56px;
  background: rgba(232, 101, 10, 0.12);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  transition: background 0.3s;
}

.feature-card:hover .card-icon {
  background: rgba(232, 101, 10, 0.22);
}

.card-icon .material-icons {
  font-size: 1.6rem;
  color: var(--orange-light);
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.connect {
  padding: 110px 0;
  background: var(--dark);
  position: relative;
}

.connect::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.07), transparent);
}

.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.step {
  text-align: center;
  max-width: 230px;
}

.step-num {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0 auto 18px;
  box-shadow: 0 4px 20px var(--orange-glow);
}

.step h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}

.step p {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.step p code {
  background: rgba(232, 101, 10, 0.12);
  padding: 2px 7px;
  border-radius: 4px;
  font-family: monospace;
  color: var(--orange-light);
  font-size: 0.85rem;
}

.step-arrow {
  font-size: 1.5rem;
  color: rgba(255,255,255,0.15);
  flex-shrink: 0;
  padding-top: 18px;
}

.server-info {
  background: rgba(232, 101, 10, 0.08);
  border: 1px solid rgba(232, 101, 10, 0.25);
  padding: 16px 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: 380px;
  margin: 0 auto;
}

.server-info .material-icons {
  color: var(--orange);
  font-size: 1.2rem;
}

.server-info span:not(.material-icons) {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.9rem;
}

.server-info code {
  font-family: monospace;
  font-size: 1.05rem;
  color: var(--orange-light);
  font-weight: 700;
}

.about {
  padding: 110px 0;
  background: var(--dark2);
  position: relative;
}

.about::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232,101,10,0.3), transparent);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
}

.about-text h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 14px;
  font-size: 0.97rem;
  line-height: 1.75;
}

.about-note {
  margin-top: 20px;
  padding: 14px 18px;
  border-left: 3px solid var(--orange);
  background: rgba(232, 101, 10, 0.07);
  border-radius: 0 8px 8px 0;
  font-size: 0.9rem !important;
  color: var(--text-muted);
}

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.highlight {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--dark3);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 20px;
  transition: border-color 0.3s, transform 0.3s;
}

.highlight:hover {
  border-color: rgba(232, 101, 10, 0.35);
  transform: translateX(4px);
}

.highlight .material-icons {
  color: var(--orange-light);
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.highlight div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.highlight strong {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
}

.highlight span {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.55;
}

.footer {
  background: #0a0a0d;
  color: var(--text-muted);
  text-align: center;
  padding: 50px 20px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-logo {
  height: 56px;
  width: auto;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
  opacity: 0.7;
}

.footer p {
  font-size: 0.88rem;
  margin-bottom: 4px;
}

.footer-copy {
  margin-top: 16px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.2);
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 101;
}

.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-online {
  display: none;
  align-items: center;
  gap: 6px;
  background: rgba(232, 101, 10, 0.1);
  border: 1px solid rgba(232, 101, 10, 0.25);
  border-radius: 100px;
  padding: 4px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

.nav-online-desktop {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(232, 101, 10, 0.1);
  border: 1px solid rgba(232, 101, 10, 0.25);
  border-radius: 100px;
  padding: 4px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  list-style: none;
}

.online-dot {
  width: 7px;
  height: 7px;
  background: #4caf50;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

@media (max-width: 768px) {
  .navbar { padding: 14px 20px; }

  .nav-burger { display: flex; }
  .nav-online { display: flex; }
  .nav-online-desktop { display: none !important; }

  .nav-links {
    display: none;
    flex-direction: column;
    gap: 0;
    position: fixed;
    top: 0; left: 0; right: 0;
    background: rgba(17, 17, 20, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 80px 30px 40px;
    z-index: 99;
    border-bottom: 1px solid rgba(255,255,255,0.07);
  }

  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid rgba(255,255,255,0.06); }
  .nav-links a { display: block; padding: 16px 0; font-size: 1.1rem; letter-spacing: 0.5px; }

  .hero-content { padding: 0 16px; }
  .hero-icon { width: 64px; height: 64px; margin-bottom: 18px; }
  .hero-badge { font-size: 0.72rem; padding: 5px 14px; }
  .hero-content h1 { letter-spacing: -0.5px; margin-bottom: 16px; }
  .hero-content p { font-size: 0.97rem; margin-bottom: 32px; }
  .hero-content p br { display: none; }
  .hero-btns { flex-direction: column; align-items: center; gap: 12px; }
  .btn-primary, .btn-secondary { width: 100%; max-width: 280px; justify-content: center; }
  .hero-glow { width: 340px; height: 340px; }

  .features { padding: 70px 0; }
  .connect  { padding: 70px 0; }
  .about    { padding: 70px 0; }
  .news     { padding: 70px 0; }
  .container { padding: 0 18px; }
  .section-header { margin-bottom: 36px; }
  .section-title { font-size: 1.6rem; }

  .news-grid { grid-template-columns: 1fr; }

  .features-grid { grid-template-columns: 1fr; gap: 16px; }
  .feature-card { padding: 26px 20px; text-align: left; display: flex; align-items: flex-start; gap: 16px; }
  .card-icon { flex-shrink: 0; margin: 0; width: 48px; height: 48px; border-radius: 12px; }
  .feature-card h3 { margin-bottom: 4px; }

  .steps { flex-direction: column; align-items: stretch; gap: 16px; margin-bottom: 36px; }
  .step {
    max-width: 100%;
    width: 100%;
    display: grid;
    grid-template-columns: 48px 1fr;
    grid-template-rows: auto auto;
    column-gap: 16px;
    row-gap: 4px;
    text-align: left;
    align-items: start;
  }
  .step-num {
    width: 48px; height: 48px;
    font-size: 1.2rem;
    margin: 0;
    grid-column: 1;
    grid-row: 1 / 3;
    align-self: start;
  }
  .step h3 { grid-column: 2; grid-row: 1; margin-bottom: 0; }
  .step p  { grid-column: 2; grid-row: 2; }
  .step-arrow { display: none; }

  .server-info { flex-wrap: wrap; padding: 14px 20px; gap: 8px; }

  .about-inner { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 400px) {
  .hero-content h1 { font-size: 2rem; }
}
