/* Minecraft landing redesign — Qualia */

/* Outfit: variable woff2 (latin only — Cyrillic falls back to Roboto) */
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/outfit-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/outfit-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/roboto-cyrillic-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/roboto-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/roboto-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/roboto-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Press Start 2P";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/pressstart2p-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Press Start 2P";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/pressstart2p-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.mc-landing {
  --mc-ink: #f3f6f1;
  --mc-muted: rgba(243, 246, 241, 0.68);
  --mc-deep: #0c1210;
  --mc-mid: #121a16;
  --mc-panel: rgba(18, 28, 22, 0.55);
  --mc-panel-strong: rgba(14, 22, 18, 0.78);
  --mc-border: rgba(255, 255, 255, 0.12);
  --mc-accent: #7dcc5c;
  --mc-accent-2: #3f8f4a;
  --mc-warm: #e4b35a;
  --mc-radius: 18px;
  --mc-font: "Outfit", "Roboto", system-ui, sans-serif;

  margin: 0;
  min-height: 100vh;
  font-family: var(--mc-font);
  color: var(--mc-ink);
  background: var(--mc-deep);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.mc-landing a {
  color: inherit;
  text-decoration: none;
}

.mc-container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

/* Header */
.mc-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.mc-header.is-solid {
  background: rgba(10, 16, 13, 0.82);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--mc-border);
}

.mc-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}

.mc-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.mc-brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 0;
}

.mc-brand-text {
  font-family: "Press Start 2P", monospace;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: #fff;
}

.mc-nav {
  display: flex;
  gap: 8px 18px;
  flex-wrap: wrap;
}

.mc-nav a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.2s ease;
}

.mc-nav a:hover {
  color: #fff;
}

.mc-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.mc-header-mail {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  display: none;
}

.mc-user-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 240px;
  min-height: 42px;
  padding: 6px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.mc-user-chip:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(125, 204, 92, 0.4);
}

.mc-user-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 650;
  color: #fff;
}

.mc-user-cta {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--mc-accent);
}

@media (min-width: 1100px) {
  .mc-header-mail {
    display: inline;
    margin-right: 6px;
  }
}

/* Buttons */
.mc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 12px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.mc-btn:hover {
  transform: translateY(-1px);
}

.mc-btn-lg {
  min-height: 48px;
  padding: 0 22px;
  font-size: 15px;
}

.mc-btn-primary {
  background: linear-gradient(135deg, var(--mc-accent) 0%, var(--mc-accent-2) 100%);
  color: #0b140c;
  box-shadow: 0 10px 28px rgba(61, 140, 70, 0.35);
}

.mc-btn-primary:hover {
  filter: brightness(1.05);
}

.mc-btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.mc-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.mc-btn-glass {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
  backdrop-filter: blur(12px);
}

.mc-btn-glass:hover {
  background: rgba(255, 255, 255, 0.16);
}

/* Hero */
.mc-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  padding: 120px 0 72px;
  overflow: hidden;
}

.mc-hero-bg {
  position: absolute;
  inset: 0;
  background-color: #0c1210;
  overflow: hidden;
  pointer-events: none;
}

.mc-hero-bg-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.02);
  animation: mc-hero-drift 18s ease-in-out infinite alternate;
}

.mc-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 12, 10, 0.82) 0%, rgba(8, 12, 10, 0.45) 48%, rgba(8, 12, 10, 0.25) 100%),
    linear-gradient(180deg, rgba(8, 12, 10, 0.35) 0%, rgba(8, 12, 10, 0.15) 40%, rgba(12, 18, 16, 0.92) 100%);
}

@keyframes mc-hero-drift {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to { transform: scale(1.06) translate3d(-1.2%, -0.8%, 0); }
}

.mc-hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.mc-hero-panel {
  max-width: 640px;
  padding: 28px 28px 24px;
  border-radius: 22px;
  background: rgba(12, 18, 15, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  animation: mc-fade-up 0.7s ease both;
}

.mc-hero-cores {
  max-width: 720px;
  animation: mc-fade-up 0.7s ease both 0.12s;
  animation-fill-mode: both;
}

.mc-hero-cores-label {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

@keyframes mc-fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.mc-brand-kicker {
  margin: 0 0 14px;
  font-family: "Press Start 2P", monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--mc-accent);
}

.mc-hero-title {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4.4vw, 3.35rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #fff;
}

.mc-hero-desc {
  margin: 0 0 22px;
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
  max-width: 34em;
}

.mc-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.mc-hero-note {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

/* Sections */
.mc-section {
  padding: 88px 0;
  background: var(--mc-deep);
}

.mc-section-soft {
  background: linear-gradient(180deg, #101814 0%, #0c1210 100%);
}

.mc-section-head {
  max-width: 640px;
  margin-bottom: 36px;
}

.mc-section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.mc-section-head p {
  margin: 0;
  color: var(--mc-muted);
  font-size: 1.05rem;
}

.mc-glass-card {
  background: var(--mc-panel);
  border: 1px solid var(--mc-border);
  border-radius: var(--mc-radius);
  backdrop-filter: blur(14px);
  padding: 22px 20px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.mc-glass-card:hover {
  transform: translateY(-3px);
  border-color: rgba(125, 204, 92, 0.35);
  background: rgba(22, 34, 26, 0.72);
}

.mc-glass-card h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  font-weight: 700;
}

.mc-glass-card p {
  margin: 0;
  color: var(--mc-muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

/* Cores */
.mc-cores {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mc-core-chip {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(12, 18, 15, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
  font-weight: 600;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.mc-cores-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.mc-core-card .mc-core-tag {
  margin: -4px 0 10px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mc-accent);
}

/* Features */
.mc-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

/* Steps */
.mc-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  counter-reset: none;
}

.mc-step-num {
  display: inline-block;
  margin-bottom: 12px;
  font-family: "Press Start 2P", monospace;
  font-size: 11px;
  color: var(--mc-warm);
}

.mc-step h3 a {
  border-bottom: 1px solid rgba(125, 204, 92, 0.45);
}

.mc-step h3 a:hover {
  color: var(--mc-accent);
}

/* Plans */
.mc-plans {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.mc-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px 16px 16px;
  border-radius: 16px;
  border: 1px solid transparent;
  background:
    linear-gradient(rgba(18, 28, 22, 0.92), rgba(18, 28, 22, 0.92)) padding-box,
    linear-gradient(135deg, rgba(125, 204, 92, 0.55), rgba(63, 143, 74, 0.85)) border-box;
  min-width: 0;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.mc-plan:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
}

.mc-plan-friends {
  background:
    linear-gradient(rgba(18, 28, 22, 0.92), rgba(18, 28, 22, 0.92)) padding-box,
    linear-gradient(135deg, #f59e0b, #ea580c) border-box;
}

.mc-plan-commercial {
  background:
    linear-gradient(rgba(18, 28, 22, 0.92), rgba(18, 28, 22, 0.92)) padding-box,
    linear-gradient(135deg, #22d3ee, #2563eb) border-box;
}

.mc-plan-vip {
  background:
    linear-gradient(rgba(18, 28, 22, 0.92), rgba(18, 28, 22, 0.92)) padding-box,
    linear-gradient(135deg, #fb7185, #9f1239) border-box;
}

.mc-plan-popular {
  box-shadow: 0 0 0 1px rgba(125, 204, 92, 0.35), 0 18px 40px rgba(61, 140, 70, 0.2);
}

.mc-plan-badge {
  position: absolute;
  top: -10px;
  left: 12px;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0b140c;
  background: linear-gradient(135deg, #86efac, #22c55e);
}

.mc-plan-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  padding-top: 4px;
}

.mc-plan-specs strong {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

.mc-plan-price {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mc-plan-month {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
}

.mc-plan-hour {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.mc-plan .mc-btn {
  width: 100%;
}

/* FAQ */
.mc-faq-wrap .mc-section-head {
  margin-bottom: 28px;
}

.mc-faq {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 820px;
}

.mc-faq-item {
  border-radius: 14px;
  border: 1px solid var(--mc-border);
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.mc-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 18px;
  font-weight: 650;
  font-size: 1.02rem;
}

.mc-faq-item summary::-webkit-details-marker {
  display: none;
}

.mc-faq-item[open] summary {
  color: var(--mc-accent);
}

.mc-faq-item p {
  margin: 0;
  padding: 0 18px 16px;
  color: var(--mc-muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

/* Footer */
.mc-footer {
  padding: 56px 0 28px;
  border-top: 1px solid var(--mc-border);
  background: #090e0c;
}

.mc-footer-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
  min-height: 44px;
}

.mc-footer-brand {
  justify-self: start;
}

.mc-footer-mail {
  justify-self: center;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
}

.mc-footer-top-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.mc-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.9fr;
  gap: 28px;
  margin-bottom: 32px;
}

.mc-footer h3 {
  margin: 0 0 14px;
  font-size: 1rem;
  font-weight: 700;
}

.mc-rekv ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mc-rekv li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 14px;
}

.mc-rekv span {
  color: rgba(255, 255, 255, 0.45);
}

.mc-rekv p {
  margin: 0;
  text-align: right;
}

.mc-footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mc-footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.mc-footer-links a:hover {
  color: var(--mc-accent);
}

.mc-muted {
  color: var(--mc-muted);
  font-size: 14px;
}

.mc-footer-end {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.45);
  font-size: 13px;
}

.no-phone {
  -webkit-touch-callout: none;
}

/* Reveal (optional hooks from js) */
.scroll-reveal,
.scroll-reveal-scale {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.scroll-reveal.revealed,
.scroll-reveal-scale.revealed {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 1100px) {
  .mc-plans {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mc-feature-grid,
  .mc-cores-grid,
  .mc-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mc-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 820px) {
  .mc-nav {
    display: none;
  }

  .mc-header-actions .mc-btn-ghost {
    display: none;
  }

  .mc-user-cta {
    display: none;
  }

  .mc-plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mc-hero {
    align-items: center;
    padding-top: 100px;
  }

  .mc-hero-panel {
    padding: 22px 18px;
  }
}

@media (max-width: 560px) {
  .mc-feature-grid,
  .mc-cores-grid,
  .mc-steps,
  .mc-plans,
  .mc-footer-grid {
    grid-template-columns: 1fr;
  }

  .mc-footer-top {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .mc-footer-brand,
  .mc-footer-mail,
  .mc-footer-top-actions {
    justify-self: center;
  }

  .mc-footer-mail {
    position: static;
    transform: none;
  }

  .mc-hero-cta {
    flex-direction: column;
  }

  .mc-hero-cta .mc-btn {
    width: 100%;
  }

  .mc-brand-text {
    font-size: 11px;
  }
}

@media (max-width: 768px) {
  .mc-hero-bg-img {
    animation: none;
    transform: none;
    will-change: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mc-hero-bg-img {
    animation: none;
    transform: none;
    will-change: auto;
  }

  .mc-hero-panel,
  .mc-glass-card,
  .mc-plan {
    transition: none;
    animation: none;
  }
}
