/* 𝖍𝖆𝖈𝖐𝖎𝖓𝖋𝖊𝖈𝖙𝖖𝖚𝖊𝖗𝖞 */
:root {
  --bg: #070707;
  --glass: rgba(12, 12, 12, 0.62);
  --line: rgba(180, 180, 180, 0.18);
  --text: #ececec;
  --text-dim: #b8b8b8;
  --muted: #8a8a8a;
  --gold: #c8c8c8;
  --gold-2: #f0f0f0;
  --font: "Source Sans 3", system-ui, sans-serif;
  --display: "Playfair Display", Georgia, serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  color: var(--text);
  background: #050505;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

img { display: block; max-width: 100%; }

.flag-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: #050505;
}

.attack-photo {
  position: absolute;
  inset: -3%;
  background: #111 url("assets/attack.png") center center / cover no-repeat;
  filter: grayscale(1) contrast(1.28) brightness(0.4);
  animation: breath 14s ease-in-out infinite;
  transform-origin: 50% 45%;
}

.attack-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(42% 38% at 50% 44%, rgba(150, 16, 10, 0.38), transparent 62%),
    linear-gradient(180deg, rgba(40, 0, 0, 0.18), transparent 40%, rgba(20, 0, 0, 0.28));
  mix-blend-mode: multiply;
}

.strakhack {
  position: absolute;
  z-index: 3;
  display: block;
  filter: grayscale(1) invert(1) contrast(1.25) brightness(0.82);
  mix-blend-mode: screen;
  pointer-events: none;
}

.strakhack--right {
  top: 6%;
  right: 1.5%;
  width: min(34vw, 300px);
  height: min(48vh, 420px);
  opacity: 0.72;
}

.strakhack--left {
  bottom: 4%;
  left: 0.5%;
  width: min(24vw, 210px);
  height: min(36vh, 300px);
  opacity: 0.4;
}

.fx-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  mix-blend-mode: screen;
  opacity: 0.88;
}

.flag-dim {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(70% 55% at 50% 42%, transparent 0%, rgba(8, 0, 0, 0.32) 58%, rgba(0, 0, 0, 0.78) 100%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.42) 0%, rgba(20, 0, 0, 0.12) 40%, rgba(0, 0, 0, 0.74) 100%);
  pointer-events: none;
}

@keyframes breath {
  0%, 100% { transform: scale(1.03) translate3d(0, 0, 0); }
  50% { transform: scale(1.08) translate3d(0, -1.2%, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .attack-photo { animation: none; }
}

.shell {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 18px 72px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero {
  text-align: center;
  margin-bottom: 34px;
}

.brand {
  font-family: var(--display);
  font-size: clamp(1.15rem, 5.4vw, 2.15rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.1;
  margin-bottom: 12px;
  color: #f2f2f2;
  text-shadow: 0 0 28px rgba(0, 0, 0, 0.8), 0 0 36px rgba(140, 12, 8, 0.35);
}

.hero-title {
  font-size: clamp(0.95rem, 2.8vw, 1.1rem);
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.downloads {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
  margin-bottom: 22px;
}

.iphone-box {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(100%, 340px);
  margin: 0 auto 28px;
  padding: 12px 14px;
  background: rgba(10, 10, 10, 0.55);
  border: 1px solid var(--line);
  border-radius: 16px;
  backdrop-filter: blur(16px);
  color: inherit;
  text-align: left;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.iphone-box:hover {
  transform: translateY(-2px);
  border-color: rgba(160, 30, 20, 0.4);
}

.iphone-box-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  display: grid;
  place-items: center;
}

.iphone-box-icon svg { width: 18px; height: 18px; }

.iphone-box-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.iphone-box-copy strong { font-size: 0.88rem; }
.iphone-box-copy small { font-size: 0.72rem; color: #b0b0b0; }
.iphone-box-arrow { color: #9a9a9a; font-size: 1.3rem; }

.sheet-layer {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: end center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.sheet-layer[hidden] { display: none !important; }

.sheet-layer.open {
  opacity: 1;
  pointer-events: auto;
}

.sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
}

.sheet-panel {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  background: #111;
  border: 1px solid var(--line);
  border-radius: 22px 22px 0 0;
  padding: 10px 16px 22px;
  transform: translateY(24px);
  transition: transform 0.22s ease;
}

.sheet-layer.open .sheet-panel { transform: translateY(0); }

.sheet-handle {
  width: 42px;
  height: 4px;
  margin: 4px auto 12px;
  border-radius: 999px;
  background: #4a4a4a;
}

.sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.sheet-head h2 {
  font-size: 1rem;
  font-weight: 700;
}

.sheet-close {
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #1a1a1a;
  color: #fff;
  font-size: 1.2rem;
}

.sheet-list { display: grid; gap: 8px; }

.sheet-app {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #171717;
}

.sheet-app img {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  object-fit: contain;
  background: #222;
  padding: 4px;
}

.sheet-app span {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.sheet-app strong { font-size: 0.92rem; }
.sheet-app small { font-size: 0.74rem; color: #a8a8a8; }

.download-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 26px 16px 20px;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 18px;
  backdrop-filter: blur(14px);
  text-align: center;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.download-card:hover {
  transform: translateY(-4px);
  border-color: rgba(160, 30, 20, 0.4);
  box-shadow: 0 20px 50px -22px rgba(120, 10, 8, 0.7);
}

.download-card img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  padding: 6px;
}

.download-card strong { font-size: 1.02rem; font-weight: 700; }
.download-card small { font-size: 0.75rem; color: #c4c4c4; letter-spacing: 0.06em; text-transform: uppercase; }

.recruit {
  width: 100%;
  max-width: 560px;
  text-align: center;
  padding: 22px 18px;
  margin-bottom: 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.recruit p {
  font-family: var(--display);
  font-size: clamp(0.98rem, 2.6vw, 1.18rem);
  line-height: 1.55;
  color: #ececec;
  letter-spacing: 0.03em;
}

.telegram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
  min-width: 240px;
  padding: 13px 22px;
  border-radius: 14px;
  background: #229ed9;
  color: #fff;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 12px 28px -12px rgba(34, 158, 217, 0.85);
  transition: transform 0.18s ease, filter 0.18s ease;
}

.telegram svg { width: 22px; height: 22px; }

.hiq-box {
  width: min(100%, 420px);
  margin: 28px auto 0;
  padding: 16px 14px 14px;
  background: rgba(10, 10, 10, 0.55);
  border: 1px solid var(--line);
  border-radius: 16px;
  backdrop-filter: blur(16px);
}

.hiq-box-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d8d8d8;
  text-align: center;
  margin-bottom: 12px;
}

.hiq-box-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.hiq-box .download-card {
  padding: 16px 10px 12px;
}

.telegram:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

@media (max-width: 560px) {
  .shell { padding: 36px 14px 48px; }
  .downloads { grid-template-columns: 1fr; max-width: 380px; }
  .iphone-box { width: min(100%, 300px); }
  .strakhack--right {
    top: 2%;
    right: 0;
    width: 28vw;
    height: 22vh;
    opacity: 0.5;
  }
  .strakhack--left { display: none; }
}
