:root {
  --bg: #080a0e;
  --panel: #12161d;
  --line: #282f39;
  --muted: #929aa9;
  --lime: #d8ff3e;
  --content: 1320px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: #f7f8fb;
  background: radial-gradient(circle at 50% -15%, #263344 0, #10151d 26%, var(--bg) 60%);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; text-decoration: none; }

.shell {
  width: min(100%, var(--content));
  min-height: 100vh;
  margin: 0 auto;
  padding: 0 28px 44px;
}
.top { display: flex; align-items: center; min-height: 94px; padding: 18px 0; }
.brand { display: flex; gap: 12px; align-items: center; font-size: 18px; font-weight: 950; letter-spacing: -.6px; }
.brand > i {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: #0b0e0a;
  background: var(--lime);
  box-shadow: 0 0 28px #d8ff3e2e;
  font-size: 24px;
}
.brand small { display: block; margin-top: 3px; color: #8b93a3; font-size: 9px; letter-spacing: 1.6px; }

.ticker {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 20px 0 30px;
  padding: 13px 16px;
  border: 1px solid #252a35;
  border-radius: 13px;
  color: #bac1cd;
  background: #10131a;
  font-size: 12px;
}
.ticker i { width: 8px; height: 8px; flex: 0 0 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 5px #d8ff3e18; }
.ticker strong { color: #fff; }

.section { padding: 0 0 38px; }
.head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 15px; }
.head h2 { margin: 0; font-size: 24px; }
.head span { color: #8b93a3; font-size: 12px; }

.slider { position: relative; }
.slides { position: relative; width: 100%; aspect-ratio: 16 / 5.4; min-height: 330px; }
.hero {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  border: 1px solid #ffffff24;
  border-radius: 24px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 55%, #151820), var(--accent));
  opacity: 0;
  transform: translateX(22px) scale(.99);
  pointer-events: none;
  transition: opacity .55s ease, transform .55s ease;
}
.hero.active { z-index: 2; opacity: 1; transform: none; pointer-events: auto; }
.media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shade { position: absolute; inset: 0; background: linear-gradient(180deg, #080a0d20, #080a0d12 38%, #080a0de5); }
.hero-top { position: absolute; z-index: 2; top: 28px; right: 28px; left: 28px; display: flex; justify-content: space-between; align-items: center; }
.hero-top b { font-size: 34px; }
.hero-top i { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; color: #111; background: #fff; font-size: 19px; }
.copy { position: absolute; z-index: 2; bottom: 28px; left: 28px; display: grid; gap: 4px; }
.copy strong { font-size: 29px; }
.copy small { color: #ffffffc2; font-size: 13px; }
.hero > em { position: absolute; z-index: 2; right: 28px; bottom: 28px; padding: 8px 11px; border: 1px solid #ffffff2b; border-radius: 9px; background: #090b10a8; font-size: 11px; font-style: normal; font-weight: 900; }
.slider-arrow {
  position: absolute;
  z-index: 5;
  top: 50%;
  width: 44px;
  height: 44px;
  padding: 0 0 4px;
  border: 1px solid #ffffff35;
  border-radius: 50%;
  color: #fff;
  background: #080b10c9;
  box-shadow: 0 10px 28px #0007;
  cursor: pointer;
  font-size: 31px;
  line-height: 1;
  transform: translateY(-50%);
}
.slider-arrow.prev { left: 16px; }
.slider-arrow.next { right: 16px; }
.dots { display: flex; justify-content: center; gap: 7px; margin-top: 12px; }
.dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 10px; background: #424958; cursor: pointer; transition: .2s ease; }
.dots button.active { width: 26px; background: var(--lime); }

.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card {
  position: relative;
  min-width: 0;
  aspect-ratio: 1.28 / 1;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: linear-gradient(145deg, #1b2029, #10131a);
  transition: .22s ease;
}
.badge { position: absolute; z-index: 2; top: 15px; left: 15px; padding: 5px 8px; border: 1px solid #d8ff3e42; border-radius: 99px; color: var(--lime); background: #d8ff3e1a; font-size: 9px; font-weight: 900; }
.card-copy { position: absolute; z-index: 2; right: 16px; bottom: 15px; left: 16px; display: grid; }
.card-copy b { font-size: 21px; }
.card-copy small { display: -webkit-box; overflow: hidden; margin: 3px 0 9px; color: #b1b8c3; font-size: 12px; line-height: 1.4; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.card-copy em { display: flex; justify-content: space-between; font-size: 11px; font-style: normal; font-weight: 850; }

.notice { margin: 0; padding: 15px 17px; border: 1px solid #343127; border-radius: 14px; color: #aaa593; background: #181711; font-size: 11px; line-height: 1.5; }
.notice b { color: #efe7ca; }

.collab {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(380px, .8fr);
  gap: 52px;
  align-items: center;
  margin-top: 20px;
  padding: 38px 42px;
  border: 1px solid #2b313c;
  border-radius: 24px;
  background: linear-gradient(135deg, #171c24, #10141a 62%, #1b2518);
}
.collab-copy > b { color: var(--lime); font-size: 10px; letter-spacing: 1.6px; }
.collab-copy h2 { max-width: 620px; margin: 8px 0 7px; font-size: clamp(28px, 3vw, 42px); line-height: 1.05; letter-spacing: -1.5px; }
.collab-copy p { max-width: 610px; margin: 0; color: #aeb6c3; font-size: 13px; line-height: 1.55; }
.footer-links { display: grid; gap: 9px; }
.footer-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 48px;
  padding: 13px 15px;
  border: 1px solid #313844;
  border-radius: 12px;
  color: #dce1e9;
  background: #0e1218b8;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .6px;
  transition: .2s ease;
}
.footer-links a span { color: var(--lime); font-size: 16px; }
.footer-links .telegram-link { border-color: #238bd488; color: #fff; background: linear-gradient(135deg, #238bd4, #1978bd); }

@media (hover: hover) {
  .hero:hover { border-color: #ffffff55; }
  .card:hover { border-color: #d8ff3e5e; transform: translateY(-4px); }
  .slider-arrow:hover { color: #0b0e0a; background: var(--lime); }
  .footer-links a:hover { border-color: #d8ff3e77; transform: translateX(3px); }
  .footer-links .telegram-link:hover { filter: brightness(1.08); }
}

@media (max-width: 900px) {
  .shell { padding: 0 20px 36px; }
  .top { min-height: 82px; }
  .slides { min-height: 320px; aspect-ratio: 16 / 7; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .collab { grid-template-columns: 1fr; gap: 24px; padding: 30px; }
}

@media (max-width: 600px) {
  .shell { padding: 0 14px 28px; }
  .top { min-height: 74px; padding: 13px 2px; }
  .brand { font-size: 16px; }
  .brand > i { width: 38px; height: 38px; font-size: 21px; }
  .ticker { margin: 16px 0 24px; padding: 11px 12px; }
  .section { padding-bottom: 29px; }
  .head h2 { font-size: 20px; }
  .slides { min-height: 238px; aspect-ratio: auto; }
  .hero { border-radius: 19px; }
  .hero-top { top: 17px; right: 17px; left: 17px; }
  .hero-top b { font-size: 25px; }
  .hero-top i { width: 37px; height: 37px; font-size: 16px; }
  .copy { bottom: 18px; left: 17px; }
  .copy strong { font-size: 20px; }
  .copy small { max-width: 220px; font-size: 11px; }
  .hero > em { right: 17px; bottom: 18px; max-width: 42%; padding: 6px 8px; font-size: 10px; text-align: right; }
  .slider-arrow { width: 36px; height: 36px; font-size: 25px; opacity: .9; }
  .slider-arrow.prev { left: 8px; }
  .slider-arrow.next { right: 8px; }
  .grid { gap: 10px; }
  .card { aspect-ratio: 1 / 1.08; border-radius: 16px; }
  .badge { top: 11px; left: 11px; }
  .card-copy { right: 11px; bottom: 11px; left: 11px; }
  .card-copy b { font-size: 17px; }
  .card-copy small { font-size: 10px; }
  .collab { margin-top: 15px; padding: 24px 20px; border-radius: 20px; }
  .collab-copy h2 { font-size: 30px; }
  .footer-links a { min-height: 46px; }
}

@media (max-width: 380px) {
  .grid { grid-template-columns: 1fr; }
  .card { aspect-ratio: 1.35 / 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
