@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Inter:wght@400;500;700;800&display=swap');

:root {
  --bg: #080808;
  --panel: #121212;
  --panel-2: #171717;
  --line: rgba(255,255,255,.09);
  --text: #ffffff;
  --muted: #bdbdbd;
  --orange: #ff4b00;
  --orange-2: #ff7a1a;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: Inter, Arial, sans-serif; background: var(--bg); color: var(--text); overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.site-header {
  position: fixed; top: 0; left: 0; width: 100%; min-height: 78px; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 0 7%;
  background: rgba(7,7,7,.82); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px);
}
.logo img { height: 48px; width: auto; }
.nav { display: flex; align-items: center; gap: 34px; font-family: Oswald, sans-serif; text-transform: uppercase; font-size: 14px; font-weight: 600; letter-spacing: .6px; }
.nav a { transition: .2s; }
.nav a:hover, .nav a:first-child { color: var(--orange); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.lang-switch { display: flex; align-items: center; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.04); }
.lang-btn { min-width: 36px; height: 30px; border: 0; border-radius: 999px; background: transparent; color: #bdbdbd; font-family: Oswald, sans-serif; font-weight: 700; cursor: pointer; transition: .2s; }
.lang-btn.active, .lang-btn:hover { background: var(--orange); color: #fff; }
.header-btn { padding: 14px 22px; background: var(--orange); border-radius: 4px; font-family: Oswald, sans-serif; text-transform: uppercase; font-weight: 700; box-shadow: 0 0 24px rgba(255,75,0,.25); }
.burger { display: none; background: none; border: 0; flex-direction: column; gap: 5px; }
.burger span { width: 26px; height: 2px; background: white; }

.hero {
  position: relative; min-height: 760px; padding: 180px 7% 120px;
  background-image: linear-gradient(90deg, rgba(0,0,0,.94) 0%, rgba(0,0,0,.68) 38%, rgba(0,0,0,.18) 72%), url('img/hero-bg.jpg');
  background-size: cover; background-position: center right; display: flex; align-items: center;
}
.hero::after { content: ''; position: absolute; inset: auto 0 0 0; height: 180px; background: linear-gradient(transparent, var(--bg)); }
.hero-overlay { position: absolute; inset: 0; background: radial-gradient(circle at 70% 45%, rgba(255,75,0,.18), transparent 35%); }
.hero-content { position: relative; z-index: 2; max-width: 650px; }
.eyebrow { font-family: Oswald, sans-serif; text-transform: uppercase; letter-spacing: 1.5px; color: #d7d7d7; margin-bottom: 14px; }
h1 { font-family: Oswald, sans-serif; font-size: clamp(64px, 9vw, 128px); line-height: .82; letter-spacing: -2px; text-transform: uppercase; }
h1 span { color: var(--orange); }
.hero-text { margin: 28px 0 30px; font-size: clamp(18px, 2vw, 25px); line-height: 1.42; color: #eeeeee; max-width: 620px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-width: 160px; height: 56px; padding: 0 28px; border: 1px solid transparent; border-radius: 5px; color: white; font-family: Oswald, sans-serif; text-transform: uppercase; font-weight: 700; letter-spacing: .4px; cursor: pointer; transition: .2s; }
.btn.primary { background: linear-gradient(135deg, var(--orange), var(--orange-2)); box-shadow: 0 10px 30px rgba(255,75,0,.24); }
.btn.ghost { border-color: rgba(255,255,255,.36); background: rgba(0,0,0,.22); }
.btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.online { margin-top: 22px; display: flex; align-items: center; gap: 9px; font-family: Oswald, sans-serif; text-transform: uppercase; color: #dcdcdc; }
.online i { width: 12px; height: 12px; border-radius: 50%; background: #18e85c; box-shadow: 0 0 16px #18e85c; }

.section { padding: 84px 9%; position: relative; }
.section-head { max-width: 720px; margin-bottom: 36px; }
h2 { font-family: Oswald, sans-serif; font-size: clamp(34px, 4vw, 46px); text-transform: uppercase; letter-spacing: 1px; }
h2::after { content: ''; display: block; width: 42px; height: 3px; background: var(--orange); margin-top: 12px; }
.section-head p { margin-top: 20px; color: var(--muted); line-height: 1.7; }
.feature-grid, .community-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.feature-card, .community-card, .connect-box { background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02)); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 22px 60px rgba(0,0,0,.25); }
.feature-card { padding: 34px 28px; min-height: 210px; }
.icon, .community-card div { color: var(--orange); font-size: 42px; margin-bottom: 24px; font-weight: 800; }
h3 { font-family: Oswald, sans-serif; text-transform: uppercase; font-size: 22px; margin-bottom: 12px; }
.feature-card p, .community-card p { color: #d1d1d1; line-height: 1.55; }

.gallery-section { background: radial-gradient(circle at 20% 20%, rgba(255,75,0,.12), transparent 28%); }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.gallery img { height: 185px; width: 100%; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); filter: saturate(1.08) contrast(1.05); }

.connect-section { background-image: linear-gradient(rgba(8,8,8,.75), rgba(8,8,8,.96)), url('img/connect-bg.jpg'); background-size: cover; background-position: center; }
.connect-box { display: flex; align-items: center; gap: 26px; padding: 34px; max-width: 1100px; }
.server-icon { width: 74px; height: 74px; flex: 0 0 auto; border-radius: 8px; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #e5e5e5; font-size: 38px; }
.connect-info { flex: 1; }
.connect-info span { color: var(--orange); font-family: Oswald, sans-serif; text-transform: uppercase; letter-spacing: .7px; }
.connect-info strong { display: block; font-family: Oswald, sans-serif; font-size: clamp(34px, 4vw, 52px); margin: 6px 0 12px; }
.connect-info p { color: #cfcfcf; }

.community-section { background: linear-gradient(180deg, #0b0b0b, #120804); }
.community-card { padding: 34px 24px; min-height: 210px; text-align: center; transition: .2s; }
.community-card:hover { transform: translateY(-6px); border-color: var(--orange); }
.discord { border-color: rgba(88,101,242,.42); }
.tg { border-color: rgba(34,158,217,.42); }
.vk { border-color: rgba(0,119,255,.42); }

.footer { padding: 54px 9%; background: #070707; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 30px; color: #999; }
.footer img { height: 42px; margin-bottom: 20px; }
.footer-links { display: grid; gap: 10px; }
.footer-links a:hover { color: var(--orange); }
.toast { position: fixed; right: 24px; bottom: 24px; padding: 14px 18px; background: #151515; border: 1px solid var(--orange); border-radius: 6px; color: white; opacity: 0; transform: translateY(20px); pointer-events: none; transition: .25s; z-index: 30; }
.toast.show { opacity: 1; transform: translateY(0); }
.reveal { opacity: 0; transform: translateY(24px); transition: .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1120px) {
  .nav { gap: 20px; font-size: 13px; }
  .header-btn { display: none; }
}

@media (max-width: 1050px) {
  .feature-grid, .community-grid, .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav { position: fixed; top: 78px; left: 0; right: 0; padding: 24px 7%; background: rgba(7,7,7,.98); flex-direction: column; align-items: flex-start; transform: translateY(-130%); opacity: 0; visibility: hidden; transition: .25s; border-bottom: 1px solid var(--line); }
  .nav.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav a { width: 100%; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
  .burger { display: flex; }
}

@media (max-width: 650px) {
  .site-header { padding: 0 5%; min-height: 72px; }
  .logo img { height: 34px; max-width: 142px; object-fit: contain; }
  .header-actions { gap: 8px; }
  .lang-switch { gap: 2px; padding: 3px; }
  .lang-btn { min-width: 31px; height: 28px; font-size: 12px; }
  .burger span { width: 24px; }
  .nav { top: 72px; padding: 18px 5%; max-height: calc(100vh - 72px); overflow-y: auto; }
  .hero { min-height: 100svh; padding: 132px 5% 72px; background-position: 68% center; }
  .hero::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.18); }
  .eyebrow { font-size: 14px; }
  h1 { font-size: clamp(54px, 18vw, 78px); letter-spacing: -1px; }
  .hero-text { font-size: 17px; line-height: 1.5; margin: 22px 0 24px; }
  .section { padding: 58px 5%; }
  .section-head { margin-bottom: 26px; }
  .section-head p { font-size: 15px; line-height: 1.65; }
  .feature-grid, .community-grid, .gallery { grid-template-columns: 1fr; gap: 14px; }
  .feature-card, .community-card { min-height: auto; padding: 24px 20px; }
  .gallery img { height: 210px; }
  .connect-box { align-items: stretch; flex-direction: column; padding: 24px 18px; gap: 18px; }
  .server-icon { width: 60px; height: 60px; font-size: 30px; }
  .connect-info strong { font-size: clamp(28px, 9vw, 40px); word-break: break-word; }
  .connect-info p { font-size: 14px; line-height: 1.55; }
  .footer { flex-direction: column; padding: 40px 5%; }
  .btn { width: 100%; height: 54px; }
  .hero-actions { width: 100%; }
  .toast { left: 16px; right: 16px; bottom: 16px; text-align: center; }
}

@media (max-width: 380px) {
  .logo img { max-width: 118px; }
  .lang-btn { min-width: 28px; font-size: 11px; }
  h1 { font-size: 50px; }
}
