/* TRONIX — game publishing, data and IT systems landing */

:root {
  --bg: #100917;
  --panel: #1b1026;
  --panel-light: #251534;
  --text: #fff7ff;
  --muted: #b7a7c7;
  --line: rgba(255, 247, 255, 0.12);
  --pink: #ff4fd8;
  --cyan: #38e9ff;
  --lime: #b9ff4f;
  --orange: #ff9c42;
  --font-display: "Rajdhani", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 14% 8%, rgba(255, 79, 216, 0.22), transparent 28%),
    radial-gradient(circle at 86% 5%, rgba(56, 233, 255, 0.18), transparent 28%),
    linear-gradient(180deg, #100917, #09050d);
  font-family: var(--font-body);
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

.header {
  position: sticky;
  top: 16px;
  z-index: 30;
  width: min(1180px, calc(100% - 28px));
  margin: 16px auto 0;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 16px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(27, 16, 38, 0.76);
  backdrop-filter: blur(18px);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-symbol {
  position: relative;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 2px solid var(--pink);
  border-radius: 14px;
  background: rgba(255, 79, 216, 0.1);
}

.logo-symbol::before,
.logo-symbol::after {
  content: "";
  position: absolute;
  background: var(--pink);
}

.logo-symbol::before {
  width: 22px;
  height: 8px;
}

.logo-symbol::after {
  width: 8px;
  height: 22px;
}

.logo-symbol i {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
}

.logo-symbol i:first-child {
  right: 8px;
  top: 9px;
}

.logo-symbol i:last-child {
  left: 8px;
  bottom: 9px;
  background: var(--lime);
}

.logo b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
}

.logo small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.nav {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  color: var(--muted);
  font-weight: 800;
}

.nav a:hover {
  color: var(--cyan);
}

.language,
.menu {
  height: 44px;
  min-width: 52px;
  color: var(--text);
  background: #13091d;
  border: 1px solid var(--line);
  border-radius: 14px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.menu {
  display: none;
  width: 50px;
}

.menu span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
}

main,
footer {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
}

.hero {
  min-height: 82vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 36px;
  align-items: center;
  padding: 86px 0 74px;
}

.tag {
  margin: 0 0 16px;
  color: var(--lime);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(3.2rem, 7.6vw, 7.1rem);
  line-height: 0.88;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 4.6vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.7rem;
  line-height: 1.05;
}

.hero-copy p,
.studio p,
.areas p,
.levels p,
.contact p {
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border: 0;
  border-radius: 14px;
  font-weight: 900;
  cursor: pointer;
}

.button-primary {
  color: #120719;
  background: linear-gradient(135deg, var(--pink), var(--cyan));
  box-shadow: 0 0 30px rgba(255, 79, 216, 0.22);
}

.button-secondary {
  color: var(--cyan);
  background: transparent;
  border: 1px solid var(--cyan);
}

.console-card {
  min-height: 470px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 247, 255, 0.08), rgba(255, 247, 255, 0.03)),
    var(--panel);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  transform: rotate(2deg);
}

.console-top {
  display: flex;
  gap: 8px;
  margin-bottom: 62px;
}

.console-top span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--pink);
}

.console-top span:nth-child(2) {
  background: var(--cyan);
}

.console-top span:nth-child(3) {
  background: var(--lime);
}

.console-card h2 {
  font-size: 2.2rem;
}

.console-card ul {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.console-card li {
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  font-weight: 800;
}

.studio {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 42px;
  align-items: center;
  padding: 88px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pixel-art {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  aspect-ratio: 1;
}

.pixel-art span {
  border-radius: 24px;
  background: var(--pink);
}

.pixel-art span:nth-child(2) {
  background: var(--cyan);
}

.pixel-art span:nth-child(3) {
  background: var(--lime);
}

.pixel-art span:nth-child(4) {
  background: var(--orange);
}

.areas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 88px 0;
}

.areas article {
  min-height: 300px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.areas article:nth-child(2),
.areas article:nth-child(5) {
  background: var(--panel-light);
}

.areas span {
  display: inline-flex;
  margin-bottom: 78px;
  color: var(--cyan);
  font-weight: 900;
}

.data-section {
  padding: 88px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.levels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.levels article {
  min-height: 240px;
  padding: 24px;
  border-radius: var(--radius);
  color: #120719;
  background: var(--lime);
}

.levels article:nth-child(2) {
  background: var(--cyan);
}

.levels article:nth-child(3) {
  background: var(--pink);
}

.levels b {
  display: block;
  margin-bottom: 58px;
  font-family: var(--font-display);
  font-size: 1.8rem;
  line-height: 1;
}

.levels p {
  color: rgba(18, 7, 25, 0.72);
  font-weight: 700;
}

.contact {
  display: grid;
  grid-template-columns: 0.9fr 0.85fr 1fr;
  gap: 18px;
  padding: 88px 0;
}

address,
form {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  font-style: normal;
}

address p {
  margin: 0 0 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

address span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

input,
textarea {
  width: 100%;
  margin-bottom: 14px;
  padding: 14px;
  color: var(--text);
  background: #100917;
  border: 1px solid var(--line);
  border-radius: 16px;
  font: inherit;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(255, 79, 216, 0.18);
  border-color: var(--pink);
}

form .button {
  width: 100%;
}

footer {
  padding: 28px 0 36px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 980px) {
  .header {
    grid-template-columns: auto auto auto;
    justify-content: space-between;
  }

  .nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--panel);
  }

  .nav.is-open {
    display: flex;
  }

  .menu {
    display: block;
  }

  .hero,
  .studio,
  .contact {
    grid-template-columns: 1fr;
  }

  .console-card {
    min-height: auto;
    transform: none;
  }

  .pixel-art {
    max-width: 360px;
  }

  .areas,
  .levels {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  h1 {
    font-size: 3rem;
  }

  .hero {
    min-height: auto;
    padding-top: 60px;
  }

  .areas,
  .levels {
    grid-template-columns: 1fr;
  }
}
