:root {
  --bg: #050505;
  --bg-soft: #0b0b0b;
  --panel: #101010;
  --panel-2: #171717;
  --line: rgba(255,255,255,0.08);
  --text: #f4f4f4;
  --muted: #b3b3b3;
  --accent: #e30000;
  --accent-soft: rgba(227, 0, 0, 0.14);
  --max: 1320px;
  --radius: 20px;
  --shadow: 0 20px 60px rgba(0,0,0,0.45);
  --nav-height: 88px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 20% 0%, rgba(227,0,0,0.18), transparent 35%),
    radial-gradient(circle at 80% 10%, rgba(227,0,0,0.08), transparent 25%),
    linear-gradient(180deg, #050505 0%, #090909 100%);
  color: var(--text);
  overflow-x: hidden;
}

body.is-loading {
  overflow: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.preloader {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, rgba(227,0,0,0.12), rgba(5,5,5,0.96) 45%), #050505;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.preloader-logo {
  width: 96px;
  height: 96px;
  object-fit: contain;
  filter: drop-shadow(0 0 28px rgba(227,0,0,0.28));
  animation: pulseGlow 1.8s ease-in-out infinite;
}

.preloader-text {
  color: rgba(255,255,255,0.72);
  letter-spacing: 0.24em;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.noise,
.scanlines {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.noise {
  opacity: 0.018;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.3) 0 1px, transparent 1px),
    radial-gradient(circle at 80% 30%, rgba(255,255,255,0.2) 0 1px, transparent 1px),
    radial-gradient(circle at 30% 80%, rgba(255,255,255,0.15) 0 1px, transparent 1px);
  background-size: 120px 120px, 160px 160px, 180px 180px;
  mix-blend-mode: screen;
}

.scanlines {
  opacity: 0.014;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,0.03) 0,
    rgba(255,255,255,0.03) 1px,
    transparent 2px,
    transparent 4px
  );
}

.site {
  position: relative;
  z-index: 1;
}

.container {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
}

/* =========================
   TOPBAR
========================= */

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 80;
  backdrop-filter: blur(18px);
  background: rgba(5,5,5,0.42);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.topbar.scrolled {
  background: rgba(5,5,5,0.78);
  border-bottom-color: rgba(255,255,255,0.08);
  box-shadow: 0 10px 30px rgba(0,0,0,0.28);
}

.topbar-inner {
  min-height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: 100%;
  padding: 0 34px 0 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  margin-left: 12px;
}

.brand img {
  width: 250px;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease, filter 0.3s ease, opacity 0.3s ease;
  filter: drop-shadow(0 0 0 rgba(227,0,0,0));
  transform-origin: left center;
}

.brand:hover img {
  transform: scale(1.05);
  filter:
    drop-shadow(0 0 10px rgba(227,0,0,0.28))
    drop-shadow(0 0 22px rgba(227,0,0,0.18));
}

.brand-logo {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 14px 32px rgba(227,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.08);
  background: #0f0f0f;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  line-height: 1;
}

.brand-title {
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--accent);
}

.brand-subtitle {
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 30px;
  flex-wrap: nowrap;
  margin-left: auto;
}

.nav a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: color 0.25s ease;
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0%;
  height: 2px;
  background: var(--accent);
  transition: width 0.25s ease;
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

.nav a:hover,
.nav a.active {
  color: var(--text);
}

.header-actions {
  display: none;
}

.header-cta {
  display: none;
}

/* =========================
   HERO
========================= */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: clip;
  text-align: center;
  padding-top: var(--nav-height);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(5,5,5,0.68) 0%,
      rgba(5,5,5,0.58) 40%,
      rgba(5,5,5,0.9) 100%
    ),
    url('../assets/images/bg3.png') center center / cover no-repeat;
  transform: scale(1.04);
  filter: saturate(0.78) contrast(1.02) brightness(2);
  z-index: -2;
  animation: slowZoom 16s ease-in-out infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(227,0,0,0.09), transparent 34%),
    linear-gradient(180deg, rgba(5,5,5,0.16) 0%, rgba(5,5,5,0.72) 100%);
  z-index: -1;
}

.hero-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 92px 0 78px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  color: #fff;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.16);
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 20px rgba(227,0,0,0.8);
}

h1 {
  margin: 0;
  font-size: clamp(3.5rem, 8vw, 7rem);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -0.05em;
  max-width: 11ch;
  text-wrap: balance;
}

.hero-copy {
  max-width: 940px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-copy p {
  max-width: 860px;
  color: rgba(244,244,244,0.82);
  font-size: 1.12rem;
  line-height: 1.75;
  margin: 22px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
  justify-content: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: 0.25s ease;
  cursor: pointer;
}

.button.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 16px 40px rgba(227,0,0,0.28);
}

.button.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 48px rgba(227,0,0,0.35);
}

.button.secondary {
  border-color: rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.04);
  color: #fff;
}

.button.secondary:hover {
  border-color: rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.07);
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 34px;
}

.hero-metric {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.9);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  backdrop-filter: blur(10px);
}

/* =========================
   SECTIONS
========================= */

section {
  padding: 88px 0;
  position: relative;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -0.03em;
}

.subcoloradd {
  color: #e30000;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 620px;
  line-height: 1.7;
}

.cards,
.project-grid,
.category-grid {
  display: grid;
  gap: 18px;
}

.cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.project-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card,
.project-card,
.category-card {
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.card:hover,
.project-card:hover,
.category-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.14);
  box-shadow: 0 24px 70px rgba(0,0,0,0.42);
}

.card,
.category-card {
  padding: 24px;
}

.mini-tag,
.type-pill,
.partner-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  color: #fff;
  width: fit-content;
}

.card h3,
.category-card h3,
.project-content h3 {
  margin: 16px 0 10px;
  font-size: 1.4rem;
  text-transform: uppercase;
  line-height: 1.05;
}

.card p,
.category-card p,
.project-content p {
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

.project-visual {
  aspect-ratio: 16 / 10;
  position: relative;
  overflow: hidden;
}

.project-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.15) brightness(0.72) contrast(1.08);
  transform: scale(1.02);
  transition: transform 0.45s ease;
}

.project-card:hover .project-visual img {
  transform: scale(1.08);
}

.project-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0.65));
}

.project-content {
  padding: 22px;
  position: relative;
}

.project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.type-pill.game {
  background: rgba(227,0,0,0.16);
  border-color: rgba(227,0,0,0.35);
}

.type-pill.software,
.type-pill.plugin {
  background: rgba(255,255,255,0.05);
}

.status {
  color: #fff;
  font-size: 0.82rem;
  opacity: 0.78;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.project-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.platform-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.045);
  color: rgba(255,255,255,0.88);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.platform-chip i {
  font-size: 0.92rem;
  color: #fff;
}

.project-actions {
  margin-top: 20px;
}

.project-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  border: 1px solid rgba(227,0,0,0.45);
  box-shadow: 0 14px 34px rgba(227,0,0,0.24);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.project-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(227,0,0,0.34);
}

.project-footer {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.project-link {
  color: #fff;
  font-weight: 700;
}

.project-link:hover {
  color: var(--accent);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.filter-btn {
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: #fff;
  padding: 11px 16px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.25s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--accent);
  border-color: rgba(227,0,0,0.5);
  box-shadow: 0 12px 28px rgba(227,0,0,0.25);
}

.category-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: end;
}

.category-card .value {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 0.95;
  margin-top: 22px;
  letter-spacing: -0.05em;
}

.category-card ul {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.category-card li::before {
  content: "— ";
  color: var(--accent);
}

/* =========================
   PARTNER LOGOS - CLEAN / NO BOX
========================= */

.partner-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 42px;
  margin-top: 14px;
}

.partner-logo-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.72;
  transition: transform 0.3s ease, opacity 0.3s ease, filter 0.3s ease;
}

.partner-logo-item img {
  position: relative;
  z-index: 1;


  object-fit: contain;
  filter: grayscale(1) brightness(0.62) contrast(1.05);
  transition:
    transform 0.3s ease,
    filter 0.3s ease,
    opacity 0.3s ease;
  animation: partnerIdle 4.8s ease-in-out infinite;
}

.partner-logo-item:hover {
  transform: translateY(-4px) scale(1.04);
  opacity: 1;
}

.partner-logo-item:hover::before {
  width: 110px;
  height: 110px;
  opacity: 1;
}

.partner-logo-item:hover::after {
  opacity: 1;
  animation: partnerShine 0.9s ease forwards;
}

.partner-logo-item:hover img {
  filter: grayscale(0) brightness(1) contrast(1.04);
  transform: scale(1.06);
  animation: none;
}

.partner-logo-item.logo-white:hover img {
  filter: brightness(0) invert(1);
}

.partner-logo-item.logo-accent:hover::before {
  background: radial-gradient(circle, rgba(227,0,0,0.20) 0%, rgba(227,0,0,0.08) 38%, transparent 72%);
}

/* =========================
   CTA
========================= */

.cta {
  padding-bottom: 110px;
}

.cta-box {
  padding: 34px;
  border-radius: 30px;
  background:
    linear-gradient(120deg, rgba(227,0,0,0.18), rgba(255,255,255,0.03)),
    #0e0e0e;
  border: 1px solid rgba(255,255,255,0.09);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
}

.cta-box h2 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 4vw, 3rem);
  text-transform: uppercase;
  line-height: 0.95;
}

.cta-box p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  max-width: 760px;
}

/* =========================
   FOOTER
========================= */

.site-footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  background: rgba(0,0,0,0.28);
  padding: 42px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 0.8fr;
  gap: 30px;
  align-items: start;
}

.footer-brand {
  max-width: 430px;
}

.footer-logo-wrap {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
}

.footer-logo {
  width: 250px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease, filter 0.3s ease, opacity 0.3s ease;
  filter: drop-shadow(0 0 0 rgba(227,0,0,0));
  transform-origin: left center;
}

.footer-logo-wrap:hover .footer-logo {
  transform: scale(1.06);
  filter:
    drop-shadow(0 0 12px rgba(227,0,0,0.30))
    drop-shadow(0 0 26px rgba(227,0,0,0.18));
}

.footer-description {
  color: rgba(255,255,255,0.72);
  line-height: 1.8;
  margin: 0 0 20px;
  font-size: 1rem;
}

.footer-made {
  color: #d8ffd8;
  font-size: 0.98rem;
  margin: 0;
}

.footer-column h4 {
  margin: 0 0 18px;
  font-size: 1.1rem;
  color: #fff;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-column a {
  color: var(--muted);
  transition: color 0.25s ease, transform 0.25s ease;
}

.footer-column a:hover {
  color: #fff;
  transform: translateX(3px);
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.06);
  color: var(--muted);
  text-align: center;
}

/* =========================
   ANIMATIONS
========================= */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  animation: fadeInUp 0.9s ease both;
}

.fade-delay-1 { animation-delay: 0.12s; }
.fade-delay-2 { animation-delay: 0.24s; }
.fade-delay-3 { animation-delay: 0.36s; }

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slowZoom {
  from { transform: scale(1.02); }
  to { transform: scale(1.08); }
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 0.95; }
  50% { transform: scale(1.04); opacity: 1; }
}

@keyframes partnerShine {
  0% {
    left: -42%;
    opacity: 0;
  }
  18% {
    opacity: 1;
  }
  100% {
    left: 120%;
    opacity: 0;
  }
}

@keyframes partnerIdle {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-1px);
  }
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1180px) {
  .topbar-inner {
    padding: 0 22px;
    gap: 18px;
  }

  .brand {
    margin-left: 4px;
  }

  .brand img {
    width: 220px;
  }

  .nav {
    gap: 20px;
  }

  .cards,
  .project-grid,
  .category-grid,
  .cta-box {
    grid-template-columns: 1fr;
  }

  .partner-logos {
    gap: 34px;
  }

  .partner-logo-item {
    width: 108px;
    height: 82px;
  }

  .partner-logo-item img {
    max-width: 82px;
    max-height: 52px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 28px), var(--max));
  }

  .topbar-inner {
    min-height: auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 0 16px;
  }

  .brand {
    margin-left: 0;
  }

  .brand img {
    width: 190px;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 16px;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    padding: 96px 0 64px;
  }

  h1 {
    font-size: clamp(2.8rem, 13vw, 4.6rem);
  }

  .hero-copy p {
    font-size: 1.02rem;
  }

  .hero-metrics {
    gap: 10px;
  }

  .project-platforms {
    gap: 8px;
  }

  .platform-chip {
    font-size: 0.78rem;
  }

  .partner-logos {
    gap: 24px;
    justify-content: flex-start;
  }

  .partner-logo-item {
    width: 88px;
    height: 70px;
  }

  .partner-logo-item img {
    max-width: 64px;
    max-height: 42px;
  }

  .partner-logo-item:hover::before {
    width: 86px;
    height: 86px;
  }

  .cta-box {
    padding: 26px;
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-logo {
    width: 210px;
  }

  section { padding: 64px 0; }
  .cta { padding-bottom: 80px; }
}


/* =========================
   ABOUT PAGE
========================= */

.about-hero {
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: calc(var(--nav-height) + 42px);
  padding-bottom: 70px;
  position: relative;
  overflow: hidden;
}


.about-hero-inner {
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}



.about-hero h1 {
  max-width: 13ch;
  margin: 0 auto;
}

.about-hero p {
  max-width: 820px;
  color: rgba(244,244,244,0.82);
  font-size: 1.08rem;
  line-height: 1.8;
  margin: 22px 0 0;
}

.about-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.about-text-block {
  padding: 28px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
}

.about-text-block h3 {
  margin: 0 0 14px;
  font-size: 1.35rem;
  text-transform: uppercase;
  line-height: 1.05;
}

.about-text-block p {
  color: var(--muted);
  line-height: 1.75;
  margin: 0 0 14px;
}

.about-text-block p:last-child {
  margin-bottom: 0;
}

.timeline {
  position: relative;
  display: grid;
  gap: 22px;
  margin-top: 10px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 22px;
  width: 1px;
  background: linear-gradient(
    180deg,
    rgba(227,0,0,0.5),
    rgba(255,255,255,0.08)
  );
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.timeline-dot {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  margin-top: 18px;
  margin-left: 13px;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(227,0,0,0.14);
  position: relative;
  z-index: 1;
}

.timeline-content {
  padding: 24px 24px 22px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
}

.timeline-year {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
}

.timeline-content h3 {
  margin: 0 0 10px;
  font-size: 1.28rem;
  text-transform: uppercase;
  line-height: 1.05;
}

.timeline-content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.about-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.about-gallery-item {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.08);
  background: #0d0d0d;
  box-shadow: var(--shadow);
  min-height: 260px;
}

.about-gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  filter: brightness(0.72) contrast(1.04);
  transition: transform 0.45s ease, filter 0.3s ease;
}

.about-gallery-item:hover img {
  transform: scale(1.06);
  filter: brightness(0.82) contrast(1.05);
}

@media (max-width: 1180px) {
  .about-split,
  .about-gallery {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .about-hero {
    min-height: auto;
    padding-top: 150px;
    padding-bottom: 50px;
  }

  .about-hero-logo {
    width: min(280px, 76vw);
    margin-bottom: 22px;
  }

  .about-hero p {
    font-size: 1rem;
  }

  .timeline-item {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 16px;
  }

  .timeline::before {
    left: 16px;
  }

  .timeline-dot {
    width: 14px;
    height: 14px;
    margin-left: 9px;
    margin-top: 16px;
  }

  .timeline-content,
  .about-text-block {
    padding: 22px;
  }
}


/* =========================
   CONTACT PAGE
========================= */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.contact-info-card {
  min-height: 100%;
}

.contact-link {
  display: inline-block;
  margin-top: 14px;
  color: #fff;
  font-weight: 700;
  word-break: break-word;
  transition: color 0.25s ease;
}

.contact-link:hover {
  color: var(--accent);
}

.contact-socials {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.contact-socials a {
  color: var(--muted);
  transition: color 0.25s ease, transform 0.25s ease;
}

.contact-socials a:hover {
  color: #fff;
  transform: translateX(4px);
}

.contact-form-wrap {
  padding: 28px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
}

.contact-form {
  display: grid;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-row:last-child,
.form-row:has(.form-field textarea),
.form-row .form-field:only-child {
  grid-template-columns: 1fr;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-field label {
  font-size: 0.92rem;
  font-weight: 600;
  color: #fff;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  color: #fff;
  border-radius: 16px;
  padding: 14px 16px;
  font: inherit;
  outline: none;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(255,255,255,0.42);
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: rgba(227,0,0,0.5);
  background: rgba(255,255,255,0.06);
  box-shadow: 0 0 0 4px rgba(227,0,0,0.12);
}

.form-field textarea {
  resize: vertical;
  min-height: 180px;
}

.form-actions {
  margin-top: 6px;
}

/* =========================
   CONTACT PAGE
========================= */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.contact-info-card {
  min-height: 100%;
}

.contact-link {
  display: inline-block;
  margin-top: 14px;
  color: #fff;
  font-weight: 700;
  word-break: break-word;
  transition: color 0.25s ease;
}

.contact-link:hover {
  color: var(--accent);
}

.contact-socials {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.contact-socials a {
  color: var(--muted);
  transition: color 0.25s ease, transform 0.25s ease;
}

.contact-socials a:hover {
  color: #fff;
  transform: translateX(4px);
}

.contact-form-wrap {
  padding: 28px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
}

.contact-form {
  display: grid;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-row:last-child,
.form-row:has(.form-field textarea),
.form-row .form-field:only-child {
  grid-template-columns: 1fr;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-field label {
  font-size: 0.92rem;
  font-weight: 600;
  color: #fff;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  color: #fff;
  border-radius: 16px;
  padding: 14px 16px;
  font: inherit;
  outline: none;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(255,255,255,0.42);
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: rgba(227,0,0,0.5);
  background: rgba(255,255,255,0.06);
  box-shadow: 0 0 0 4px rgba(227,0,0,0.12);
}

.form-field textarea {
  resize: vertical;
  min-height: 180px;
}

.form-actions {
  margin-top: 6px;
}

/* =========================
   CAREER PAGE
========================= */

.career-list {
  display: grid;
  gap: 18px;
}

.career-card {
  padding: 24px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.career-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.14);
  box-shadow: 0 24px 70px rgba(0,0,0,0.42);
}

.career-card-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.career-card-top h3 {
  margin: 12px 0 0;
  font-size: 1.35rem;
  text-transform: uppercase;
  line-height: 1.05;
}

.career-meta {
  color: var(--muted);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding-top: 6px;
}

.career-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

/* =========================
   RESPONSIVE ADDITIONS
========================= */

@media (max-width: 1180px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-wrap,
  .career-card {
    padding: 22px;
  }
}
/* =========================
   LEGAL PAGE
========================= */

.legal-stack {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.legal-panel {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top left, rgba(227, 0, 0, 0.18), transparent 42%),
    linear-gradient(180deg, rgba(18, 18, 18, 0.98), rgba(8, 8, 8, 0.98));
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.34);
}

.legal-panel-top {
  padding: 30px 30px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.legal-panel-top h3 {
  margin: 12px 0 10px;
}

.legal-panel-top p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.legal-scroll {
  max-height: 320px;
  overflow-y: auto;
  padding: 26px 30px 30px;
}

.legal-scroll h4 {
  margin: 0 0 12px;
}

.legal-scroll p {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.8;
}

.legal-scroll::-webkit-scrollbar {
  width: 8px;
}

.legal-scroll::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
}

.legal-scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(227, 0, 0, 0.95), rgba(150, 0, 0, 0.95));
  border-radius: 999px;
}

.legal-scroll {
  scrollbar-width: thin;
  scrollbar-color: rgba(227, 0, 0, 0.95) rgba(255, 255, 255, 0.04);
}

@media (max-width: 768px) {
  .legal-panel-top,
  .legal-scroll {
    padding-left: 22px;
    padding-right: 22px;
  }

  .legal-scroll {
    max-height: 360px;
  }
}