:root {
  --black: #050505;
  --black-soft: #0b0c0f;
  --black-section: #101114;

  --silver: #e5e7eb;
  --silver-muted: #a7abb4;
  --silver-dark: #6f737c;

  --red: #a71935;
  --red-bright: #c21f3a;
  --red-dark: #641021;

  --border: rgba(229, 231, 235, 0.1);
}

body {
  background-color: var(--black);
  color: var(--silver);

  font-family: "Inter", sans-serif;

  overflow-x: hidden;

  min-height: 100vh;
}
.hero {
  background: var(--black);
}
.hero-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(3.5rem, 7vw, 6rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -4px;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 1.5rem;
}

.hero-title span {
  color: var(--red);
}

.full-logo {
  width: 300px;
  height: auto;
}
.nav {
  gap: 12px;
}

.nav-link {
  color: var(--silver-muted);
  font-family: "Inter", sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 8px 14px !important;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--silver);
}

.nav-pills .nav-link.active {
  background: transparent;
  color: var(--red-bright);
}

.row {
  min-height: 85vh;
}

.Description {
  color: var(--silver-muted);

  line-height: 1.9;

  font-size: 18px;

  max-width: 550px;
}
/* ==============================
   HERO LOADING INTERFACE
============================== */

.loading-interface {
  width: 100%;
  max-width: 520px;
  margin: auto;
  padding: 45px 40px;

  background: var(--black-soft);
  border: 1px solid var(--border);

  position: relative;
}

/* Subtle corner details */

.loading-interface::before,
.loading-interface::after {
  content: "";
  position: absolute;

  width: 14px;
  height: 14px;

  border-color: var(--silver-dark);
}

.loading-interface::before {
  top: -1px;
  left: -1px;

  border-top: 1px solid;
  border-left: 1px solid;
}

.loading-interface::after {
  bottom: -1px;
  right: -1px;

  border-bottom: 1px solid;
  border-right: 1px solid;
}

/* ==============================
   TOP META
============================== */

.loading-meta {
  display: flex;
  justify-content: space-between;

  margin-bottom: 32px;

  font-family: "Space Grotesk", sans-serif;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;

  color: var(--silver-dark);
}

.loading-id {
  color: var(--silver-dark);
}

/* ==============================
   LABEL
============================== */

.loading-label {
  display: flex;
  justify-content: space-between;
  align-items: center;

  margin-bottom: 14px;

  font-family: "Space Grotesk", sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;

  color: var(--silver-muted);
}

#loading-percent {
  color: var(--red);
}

/* ==============================
   PROGRESS BAR
============================== */

.loading-track {
  width: 100%;
  height: 3px;

  background: #1a1b1e;
  overflow: hidden;
}

.loading-progress {
  width: 0%;
  height: 100%;

  background: var(--red);

  transition: width 0.08s linear;
}

/* ==============================
   STATUS
============================== */

.loading-status {
  margin-top: 16px;

  font-family: "Space Grotesk", sans-serif;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;

  color: var(--silver-dark);

  text-align: right;
}

/* ==============================
   BOTTOM META
============================== */

.loading-footer {
  display: flex;
  justify-content: space-between;

  margin-top: 35px;

  font-family: "Inter", sans-serif;
  font-size: 0.55rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;

  color: var(--silver-dark);
}

.loading-footer span:last-child {
  color: var(--silver-dark);
}
.about-section {
  padding: 180px 0;

  text-align: center;

  background: var(--black-section);
}
.section-title,
.section-subtitle {
  color: var(--red-bright);
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 5px;
  text-transform: uppercase;
}
.about-section h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--silver);
  margin-bottom: 40px;
}

.games-section {
  padding: 140px 0;

  text-align: center;
  background: var(--black);
}
.about-text {
  color: var(--silver-muted);
  max-width: 700px;
  margin: auto;
  line-height: 1.9;
  font-size: 1.05rem;
}
.game-title {
  font-family: "Cinzel", serif;
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--silver);
}

.game-quote {
  color: var(--silver-muted);
  font-size: 1.2rem;
  font-style: italic;
  max-width: 700px;
  margin: 25px auto;
}
.game-description {
  max-width: 650px;

  margin: auto;

  color: #aaaaaa;

  line-height: 2;

  font-size: 1.05rem;
}

.coming-soon {
  display: inline-block;
  margin-top: 50px;
  padding: 12px 28px;

  border: 1px solid var(--red-dark);
  color: var(--red-bright);

  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;

  transition: all 0.3s ease;
}

.coming-soon:hover {
  border-color: var(--red-bright);
  background: var(--red-dark);
  color: var(--silver);
}

.footer {
  position: relative;
  padding: 80px 0 40px;
  background: var(--black);
}

.footer-logo {
  font-family: "Space Grotesk", sans-serif;
  color: var(--silver);
  font-size: 2rem;
  margin-bottom: 15px;
}

.footer-tagline {
  color: #bdbdbd;
  margin-bottom: 35px;
}
.footer-nav {
  display: flex;
  justify-content: center;
  gap: 35px;
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
}
.footer-nav a {
  text-decoration: none;

  color: #d1d1d1;

  transition: 0.3s;
}

.footer-nav a:hover {
  color: var(--red-bright);
}
.footer hr {
  border-color: var(--silver-dark);
  margin-bottom: 30px;
}
.copyright {
  color: var(--red-dark);
  font-size: 0.9rem;
}
/* ==============================
   SCROLL REVEAL
============================== */

.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==============================
   NAVBAR
============================== */

header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;

  transition:
    transform 0.35s ease,
    background-color 0.35s ease,
    border-color 0.35s ease;
}

header.scrolled {
  background-color: rgba(5, 5, 5, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

header.hide {
  transform: translateY(-100%);
}

/* ==============================
   SCROLL POSITION
============================== */

html {
  scroll-behavior: smooth;
}

section {
  scroll-margin-top: 90px;
}

main {
  padding-top: 90px;
}
/* ==============================
   CAREERS / JOIN THE TEAM
============================== */

.careers-section {
  padding: 160px 0;
  background: var(--black-section);
  text-align: center;
}

.careers-section .container {
  max-width: 1000px;
  margin: 0 auto;
}

/* ==============================
   SECTION HEADING
============================== */

.careers-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -2px;
  color: var(--silver);
  margin: 20px auto 30px;
}

.careers-intro {
  max-width: 700px;
  margin: 0 auto 90px;
  color: var(--silver-muted);
  font-size: 1.05rem;
  line-height: 1.9;
}

/* ==============================
   ROLE CARDS
============================== */

.role-card {
  position: relative;
  display: flex;
  gap: 45px;

  padding: 55px 50px;
  margin-bottom: 35px;

  text-align: left;

  background: var(--black);
  border: 1px solid var(--border);

  transition:
    border-color 0.35s ease,
    transform 0.35s ease,
    background-color 0.35s ease;
}

.role-card:hover {
  border-color: var(--red-dark);
  background-color: #020202;
  transform: translateY(-4px);
}

/* ==============================
   ROLE NUMBER
============================== */

.role-number {
  flex-shrink: 0;

  font-family: "Space Grotesk", sans-serif;
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 1;

  color: var(--red);
  opacity: 0.9;

  min-width: 90px;
}

/* ==============================
   ROLE CONTENT
============================== */

.role-content {
  flex: 1;
}

.role-content h3 {
  margin: 0;

  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -1px;

  color: var(--silver);
}

.role-focus {
  margin: 8px 0 35px;

  color: var(--red-bright);

  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* ==============================
   ROLE SUBHEADINGS
============================== */

.role-content h4 {
  margin-top: 35px;
  margin-bottom: 15px;

  font-family: "Space Grotesk", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;

  color: var(--silver);

  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ==============================
   ROLE LISTS
============================== */

.role-content ul {
  margin: 0;
  padding-left: 20px;

  color: var(--silver-muted);

  font-size: 0.95rem;
  line-height: 1.9;
}

.role-content li {
  padding-left: 5px;
  margin-bottom: 5px;
}

.role-content li::marker {
  color: var(--red);
}

/* ==============================
   PREFERRED SKILLS
============================== */

.role-preferred {
  margin-top: 30px;
  padding-top: 25px;

  border-top: 1px solid var(--border);

  color: var(--silver-muted);
  font-size: 0.9rem;
  line-height: 1.8;
}

.role-preferred strong {
  color: var(--red-bright);
  font-weight: 600;
}

/* ==============================
   APPLICATION
============================== */

.application-block {
  position: relative;

  margin-top: 100px;
  padding: 80px 40px;

  text-align: center;
}

/* Application heading */

.application-block h3 {
  margin-bottom: 20px;

  font-family: "Space Grotesk", sans-serif;
  font-size: 2.2rem;
  font-weight: 600;
  letter-spacing: -1px;

  color: var(--silver);
}

/* Make "joining us?" red */

.application-block h3 span {
  color: var(--red-bright);
}

/* Application description */

.application-block > p {
  max-width: 650px;
  margin: 0 auto;

  color: var(--silver-muted);
  line-height: 1.9;
}

/* Email */

.application-block .contact-email {
  display: inline-block;

  margin-top: 30px;
  padding-bottom: 8px;

  color: var(--red-bright);

  font-family: "Space Grotesk", sans-serif;
  font-size: 1.3rem;
  font-weight: 500;

  text-decoration: none;

  border-bottom: 1px solid var(--red-dark);

  transition: all 0.3s ease;
}

.application-block .contact-email:hover {
  color: var(--silver);
  border-color: var(--red-bright);
}

/* Application note */

.application-note {
  margin-top: 30px !important;

  font-size: 0.85rem;

  color: var(--silver-dark) !important;
}

/* ==============================
   MOBILE
============================== */

@media (max-width: 768px) {
  .careers-section {
    padding: 110px 0;
  }

  .careers-intro {
    margin-bottom: 60px;
  }

  .role-card {
    flex-direction: column;
    gap: 25px;

    padding: 40px 30px;
  }

  .role-number {
    font-size: 3.5rem;
    min-width: auto;
  }

  .role-content h3 {
    font-size: 1.7rem;
  }

  .application-block {
    padding: 55px 25px;
  }
}

/* ==============================
   SMALL MOBILE
============================== */

@media (max-width: 480px) {
  .role-card {
    padding: 35px 22px;
  }

  .role-number {
    font-size: 3rem;
  }

  .role-content ul {
    padding-left: 18px;
    font-size: 0.9rem;
  }

  .application-block {
    padding: 45px 20px;
  }
}

/* ==============================
   LOADING INTERFACE RESPONSIVE
============================== */

.loading-interface {
  width: min(100%, 520px);
  margin: 0 auto;
}

/* Desktop */
@media (min-width: 992px) {
  .loading-interface {
    position: relative;
    left: 30px;
  }
}

/* Tablet + Mobile */
@media (max-width: 991px) {
  .loading-interface {
    position: relative;
    left: 0;
    width: min(100%, 520px);
    margin-left: auto;
    margin-right: auto;
  }
}

/* ==============================
   MOBILE / TABLET NAVBAR
============================== */

.mobile-menu-button {
  display: none;
}

@media (max-width: 991px) {
  .mobile-menu-button {
    display: block;

    position: absolute;
    top: 18px;
    right: 15px;

    width: 42px;
    height: 42px;

    background: var(--black-soft);
    border: 1px solid var(--border);

    color: var(--silver);
    font-size: 20px;

    cursor: pointer;

    transition: all 0.3s ease;
  }

  .mobile-menu-button:hover {
    color: var(--red-bright);
    border-color: var(--red-dark);
  }

  header .nav {
    display: none;

    position: absolute;
    top: 70px;
    right: 15px;

    width: 220px;

    padding: 10px;

    flex-direction: column;
    gap: 3px;

    background: var(--black-soft);
    border: 1px solid var(--border);

    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
  }

  header .nav.mobile-open {
    display: flex;
  }

  header .nav-link {
    margin: 0;
    padding: 12px 14px !important;

    text-align: left;
  }
}

/* ==============================
   TABLET / MOBILE POLISH
============================== */

@media (max-width: 991px) {
  /* Smaller logo */
  .full-logo {
    width: 210px;
  }

  /* Role cards */
  .role-card {
    padding: 38px 30px;
    gap: 25px;

    background: var(--black);
    border-color: rgba(229, 231, 235, 0.07);
  }

  /* Slightly smaller role numbers */
  .role-number {
    font-size: 3.2rem;
    min-width: 65px;
  }

  /* Role titles */
  .role-content h3 {
    font-size: 1.7rem;
  }

  /* Less vertical spacing */
  .role-focus {
    margin-bottom: 25px;
  }

  .role-content h4 {
    margin-top: 28px;
  }

  /* Application section */
  .application-block {
    margin-top: 70px;
    padding: 60px 25px;
  }

  .application-block h3 {
    font-size: 1.9rem;
  }
}

@media (max-width: 480px) {
  .full-logo {
    width: 200px;
  }

  .role-card {
    padding: 32px 22px;
  }

  .role-number {
    font-size: 2.8rem;
  }

  .role-content h3 {
    font-size: 1.5rem;
  }

  .role-content ul {
    font-size: 0.9rem;
    line-height: 1.8;
  }

  .application-block {
    padding: 50px 18px;
  }
}

/* ==============================
   MOBILE TYPOGRAPHY & SPACING
   ============================== */

@media (max-width: 768px) {
  .hero-title span:nth-child(1),
  .hero-title span:nth-child(2) {
    display: inline;
  }

  .hero-title span:nth-child(3) {
    display: block;
  }

  /* Section spacing */

  .about-section {
    padding: 90px 0;
  }

  .games-section {
    padding: 85px 0;
  }

  .careers-section {
    padding: 85px 0;
  }

  /* Hero positioning */

  .hero {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero .container {
    padding-left: 0;
    padding-right: 0;
  }

  .hero-title,
  .Description,
  .full-logo {
    margin-left: auto;
    margin-right: auto;
  }

  /* Hero heading */

  .hero-title {
    font-size: 2.8rem;
    max-width: 390px;
    letter-spacing: -2.5px;
    line-height: 0.98;
  }

  /* Section headings */

  .careers-title {
    font-size: 2.3rem;
    line-height: 1.05;
    letter-spacing: -1.5px;
  }

  .about-section h2 {
    font-size: 2rem;
    line-height: 1.05;
    letter-spacing: -1.5px;
  }

  .game-title {
    font-size: 3rem;
    line-height: 1;
    white-space: nowrap;
  }

  /* Text */

  .careers-intro,
  .about-text,
  .game-description {
    line-height: 1.95;
  }

  /* Role titles */

  .role-content h3 {
    line-height: 1.2;
  }

  /* Application section */

  .application-block {
    margin-top: 25px;
    padding: 25px 20px;
  }

  /* Footer */

  .footer {
    padding-top: 38px;
  }
}

@media (max-width: 480px) {
  .careers-title {
    font-size: 2.15rem;
  }

  .about-section h2 {
    font-size: 1.95rem;
  }

  .game-title {
    font-size: 2.7rem;
  }

  .hero-title {
    font-size: 2.6rem;
  }

  .application-block {
    margin-top: 25px;
    padding: 25px 18px;
  }
}

@media (max-width: 768px) {
  .about-text,
  .game-description,
  .careers-intro,
  .application-block > p,
  .application-note {
    max-width: 370px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .about-text,
  .game-description,
  .careers-intro,
  .application-block > p,
  .application-note {
    max-width: 340px;
  }
}
