@font-face {
  font-family: 'Rubik';
  font-weight: 300 900;
  font-display: swap;
  src: url('/fonts/rubik-cyrillic-wght-normal.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Rubik';
  font-weight: 300 900;
  font-display: swap;
  src: url('/fonts/rubik-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Nunito';
  font-weight: 200 1000;
  font-display: swap;
  src: url('/fonts/nunito-cyrillic-wght-normal.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Nunito';
  font-weight: 200 1000;
  font-display: swap;
  src: url('/fonts/nunito-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --honey: #ffc93c;
  --honey-2: #ff9f1c;
  --deep: #1a2c7a;
  --ink: #2a1a0c;
  --cream: #fff8e6;
  --glass: rgba(255, 255, 255, 0.12);
  --c-common: #b9c2cc;
  --c-uncommon: #6fd36f;
  --c-rare: #4ab3ff;
  --c-epic: #b673ff;
  --c-legendary: #ffb627;
  --c-mythic: #ff5fa2;
  --c-all: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Nunito', system-ui, sans-serif;
  color: var(--cream);
  background:
    radial-gradient(1200px 600px at 80% -10%, #4f7dff55, transparent 60%),
    radial-gradient(900px 500px at 0% 30%, #ffb62733, transparent 60%),
    linear-gradient(180deg, #1a2c7a 0%, #2b3fa0 35%, #3a2a78 70%, #1c1240 100%);
  min-height: 100vh;
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='98' viewBox='0 0 56 98'%3E%3Cpath d='M28 0l28 16v33L28 65 0 49V16zM28 98V65' fill='none' stroke='%23ffc93c' stroke-width='2'/%3E%3C/svg%3E");
  background-size: 56px 98px;
  z-index: 0;
}
a { color: var(--honey); }
h1, h2, h3 { font-family: 'Rubik', sans-serif; margin: 0; }

/* sky */
.sky { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.cloud {
  position: absolute;
  width: 260px; height: 80px;
  background: #fff;
  border-radius: 80px;
  opacity: 0.08;
  filter: blur(2px);
  animation: cloud 80s linear infinite;
}
.cloud::before, .cloud::after { content: ''; position: absolute; background: inherit; border-radius: 50%; }
.cloud::before { width: 120px; height: 120px; left: 40px; top: -60px; }
.cloud::after { width: 90px; height: 90px; left: 130px; top: -40px; }
.c1 { top: 12%; left: -300px; }
.c2 { top: 45%; left: -300px; animation-duration: 110s; animation-delay: -40s; transform: scale(1.4); }
.c3 { top: 75%; left: -300px; animation-duration: 95s; animation-delay: -70s; }
@keyframes cloud { to { translate: calc(100vw + 600px) 0; } }

.swarm { position: fixed; inset: 0; pointer-events: none; z-index: 1; overflow: hidden; }
.drift {
  position: absolute;
  left: -80px;
  top: var(--y);
  width: var(--size);
  animation: drift var(--dur) linear infinite, bob 1.6s ease-in-out infinite;
  animation-delay: var(--delay), 0s;
  filter: drop-shadow(0 4px 6px #0005);
}
@keyframes drift {
  0% { translate: 0 0; }
  25% { translate: 30vw -6vh; }
  50% { translate: 55vw 4vh; }
  75% { translate: 80vw -4vh; }
  100% { translate: calc(100vw + 160px) 0; }
}
@keyframes bob { 50% { margin-top: -8px; } }

/* nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px max(16px, calc((100vw - 1140px) / 2));
  background: rgba(20, 28, 80, 0.55);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #ffffff14;
}
.brand { display: flex; align-items: center; gap: 10px; font: 800 20px 'Rubik'; color: var(--cream); text-decoration: none; }
.brand img { border-radius: 10px; }
.nav nav { display: flex; gap: 18px; margin-left: auto; }
.nav nav a { color: #fff; opacity: 0.8; text-decoration: none; font-weight: 700; }
.nav nav a:hover { opacity: 1; color: var(--honey); }

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 16px;
  font: 800 17px 'Rubik';
  color: var(--ink);
  text-decoration: none;
  background: linear-gradient(180deg, #ffe17a, var(--honey) 45%, var(--honey-2));
  box-shadow: 0 5px 0 #c26a00, 0 10px 24px #ff9f1c55;
  transition: transform 0.12s, box-shadow 0.12s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 7px 0 #c26a00, 0 14px 30px #ff9f1c77; }
.btn:active { transform: translateY(3px); box-shadow: 0 2px 0 #c26a00; }
.btn.small { padding: 8px 16px; font-size: 15px; border-radius: 12px; box-shadow: 0 3px 0 #c26a00; }
.btn.big { padding: 16px 28px; font-size: 20px; }
.btn.ghost {
  color: #fff;
  background: var(--glass);
  border: 2px solid #ffffff40;
  box-shadow: none;
  flex-direction: column;
  gap: 0;
  line-height: 1.1;
}
.btn.ghost small { font: 700 12px 'Nunito'; opacity: 0.75; }

/* hero */
.hero {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 40px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 60px 20px 40px;
  min-height: calc(100vh - 70px);
}
.kicker {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: #ffc93c22;
  border: 1px solid #ffc93c66;
  color: var(--honey);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.kicker.red { background: #ff4d4d22; border-color: #ff6b6b88; color: #ff9a9a; }
.kicker.red.live { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px #ff4d4d22; } }
.hero h1 {
  margin-top: 18px;
  font-size: clamp(52px, 8vw, 96px);
  line-height: 0.95;
  font-weight: 900;
  color: var(--honey);
  text-shadow: 0 4px 0 #b35a00, 0 10px 30px #0006;
}
.hero h1 span { font-size: 0.42em; color: #fff; text-shadow: 0 3px 0 #0004; letter-spacing: 0.02em; }
.lead { font-size: 20px; line-height: 1.5; max-width: 560px; opacity: 0.92; }
.cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.event-now {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 22px 0 0;
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--glass);
  border: 1px solid #ffffff26;
}
.event-now .ev-ico { font-size: 20px; }
.event-now b { color: var(--honey); }
.event-now small { opacity: 0.7; }
.counter { margin-top: 10px; opacity: 0.85; }
.counter b { color: var(--honey); }

.hero-art { position: relative; aspect-ratio: 1; }
.island {
  position: absolute;
  inset: 6%;
  border-radius: 46% 54% 50% 50% / 48% 46% 54% 52%;
  overflow: hidden;
  box-shadow: 0 30px 80px #0008, 0 0 0 8px #ffffff14, 0 0 120px #ffc93c44;
  animation: float 7s ease-in-out infinite;
}
.island img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
@keyframes float { 50% { translate: 0 -14px; rotate: 0.6deg; } }
.hero-bee { position: absolute; filter: drop-shadow(0 10px 14px #0007); animation: hover 3s ease-in-out infinite; }
.hero-bee.b1 { width: 32%; right: -4%; top: -2%; }
.hero-bee.b2 { width: 24%; left: -6%; bottom: 8%; animation-delay: -1s; }
.hero-bee.b3 { width: 20%; right: 4%; bottom: -2%; animation-delay: -2s; }
@keyframes hover { 50% { translate: 0 -12px; rotate: -4deg; } }

/* sections */
.section { position: relative; z-index: 2; max-width: 1140px; margin: 0 auto; padding: 70px 20px; }
.section h2 { font-size: clamp(32px, 5vw, 48px); font-weight: 900; text-align: center; color: #fff; text-shadow: 0 4px 0 #0003; }
.sub { text-align: center; max-width: 640px; margin: 14px auto 0; font-size: 18px; opacity: 0.85; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.card {
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(160deg, #ffffff1f, #ffffff08);
  border: 1px solid #ffffff22;
  box-shadow: 0 10px 30px #0003;
  transition: transform 0.2s, border-color 0.2s;
}
.card:hover { transform: translateY(-4px) rotate(-0.4deg); border-color: #ffc93c88; }
.card .ico {
  width: 58px; height: 58px;
  display: grid; place-items: center;
  font-size: 30px;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffe17a, var(--honey-2));
  box-shadow: 0 4px 0 #c26a00;
  margin-bottom: 14px;
}
.card h3 { font-size: 22px; color: var(--honey); }
.card p { margin: 8px 0 0; line-height: 1.5; opacity: 0.9; }

/* bees */
.rarity-tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 26px; }
.tab {
  padding: 8px 14px;
  border-radius: 999px;
  border: 2px solid color-mix(in srgb, var(--c) 70%, transparent);
  background: transparent;
  color: var(--c);
  font: 800 14px 'Nunito';
  cursor: pointer;
}
.tab.on { background: var(--c); color: #1a1030; }
.r-all { --c: var(--c-all); }
.r-common { --c: var(--c-common); }
.r-uncommon { --c: var(--c-uncommon); }
.r-rare { --c: var(--c-rare); }
.r-epic { --c: var(--c-epic); }
.r-legendary { --c: var(--c-legendary); }
.r-mythic { --c: var(--c-mythic); }
.bee-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; margin-top: 26px; }
.bee-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 14px 10px;
  border-radius: 20px;
  background: radial-gradient(circle at 50% 35%, color-mix(in srgb, var(--c) 35%, transparent), #ffffff0a 70%);
  border: 2px solid color-mix(in srgb, var(--c) 55%, transparent);
  transition: transform 0.2s;
}
.bee-card:hover { transform: translateY(-4px) scale(1.03); }
.bee-card:hover img { animation: hover 1.2s ease-in-out infinite; }
.bee-card img { width: 100px; height: 100px; object-fit: contain; filter: drop-shadow(0 6px 8px #0006); }
.bee-card b { margin-top: 8px; font-size: 15px; }
.bee-card small { margin-top: 3px; color: var(--c); font-weight: 700; font-size: 12px; }
.bee-card.secret img { filter: brightness(0) drop-shadow(0 0 10px var(--c)); }
.bee-card.r-legendary, .bee-card.r-mythic { box-shadow: 0 0 24px color-mix(in srgb, var(--c) 40%, transparent); }

/* boss */
.boss {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 30px;
  align-items: center;
  margin-top: 30px;
  border-radius: 36px;
  background: radial-gradient(circle at 25% 50%, #ff4d4d33, transparent 55%), linear-gradient(140deg, #3a0f2a, #1d0b26);
  border: 2px solid #ff6b6b44;
  box-shadow: 0 30px 80px #0007;
  padding: 50px 40px;
}
.boss h2 { text-align: left; margin-top: 14px; color: #ffd0d0; }
.boss p { line-height: 1.6; font-size: 17px; }
.boss-art { display: grid; place-items: center; }
.boss-img { width: min(360px, 90%); filter: drop-shadow(0 20px 30px #000a) drop-shadow(0 0 40px #ff4d4d55); animation: hover 4s ease-in-out infinite; }
.facts { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; }
.facts li { padding: 10px 14px; border-radius: 12px; background: #ffffff10; font-weight: 700; }

/* enemies */
.enemy-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 18px; margin-top: 30px; }
.enemy-row figure { margin: 0; width: 160px; text-align: center; }
.enemy-row img { width: 140px; height: 140px; object-fit: contain; filter: drop-shadow(0 10px 12px #0007); transition: transform 0.2s; }
.enemy-row figure:hover img { transform: scale(1.1) rotate(-5deg); }
.enemy-row figcaption { font-weight: 800; margin-top: 6px; }

/* download */
.stores { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
.store {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffe17a, var(--honey) 45%, var(--honey-2));
  box-shadow: 0 6px 0 #c26a00;
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.15s;
}
a.store:hover { transform: translateY(-3px); }
.store .s-ico { font-size: 34px; }
.store b { display: block; font: 800 20px 'Rubik'; }
.store small { font-weight: 700; opacity: 0.75; }
.store.disabled { background: var(--glass); border: 2px dashed #ffffff40; box-shadow: none; color: #fff; }

/* faq */
.faq { max-width: 780px; }
.faq details {
  margin-top: 12px;
  padding: 16px 20px;
  border-radius: 18px;
  background: #ffffff12;
  border: 1px solid #ffffff1f;
}
.faq details:first-of-type { margin-top: 30px; }
.faq summary { cursor: pointer; font: 700 18px 'Rubik'; list-style: none; }
.faq summary::after { content: '＋'; float: right; color: var(--honey); }
.faq details[open] summary::after { content: '－'; }
.faq details p { margin: 10px 0 0; line-height: 1.55; opacity: 0.9; }

.footer {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 1140px;
  margin: 40px auto 0;
  padding: 26px 20px 40px;
  border-top: 1px solid #ffffff1f;
  opacity: 0.85;
}
.footer .links { display: flex; gap: 18px; }

/* scroll reveal */
.reveal { opacity: 0; translate: 0 24px; transition: opacity 0.6s, translate 0.6s; }
.reveal.shown { opacity: 1; translate: 0 0; }

/* text pages */
.doc { position: relative; z-index: 2; max-width: 820px; margin: 0 auto; padding: 50px 20px; line-height: 1.65; font-size: 17px; }
.doc h1 { font-size: 38px; color: var(--honey); }
.doc h2 { font-size: 24px; margin-top: 30px; color: #fff; text-align: left; }
.doc .updated { opacity: 0.7; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 30px; min-height: 0; }
  .hero-art { max-width: 460px; width: 100%; margin: 0 auto; order: -1; }
  .lead { margin-left: auto; margin-right: auto; }
  .cta { justify-content: center; }
  .cards { grid-template-columns: 1fr 1fr; }
  .boss { grid-template-columns: 1fr; text-align: center; padding: 34px 20px; }
  .boss h2 { text-align: center; }
  .stores { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .nav nav { display: none; }
  .nav .btn { margin-left: auto; }
  .cards { grid-template-columns: 1fr; }
  .bee-grid { grid-template-columns: repeat(2, 1fr); }
  .enemy-row figure { width: 130px; }
  .enemy-row img { width: 110px; height: 110px; }
  .section { padding: 50px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
