@font-face {
  font-family: Inter;
  src: url(../fonts/Inter/Inter-VariableFont_opsz\,wght.ttf);
}

@font-face {
  font-family: Orbitron;
  src: url(../fonts/Orbitron/Orbitron-VariableFont_wght.ttf);
}

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

html,
body {
  overflow-x: hidden;
  line-height: 1;
  font-family: Inter;
}

a {
  text-decoration: none;
}

img {
  width: 100%;
}

/* Header styles */

header {
  padding: 1.25rem 6.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px);
}

header .logo {
  width: 11rem;
}

header nav ul {
  display: flex;
  gap: 2rem;
  list-style-type: none;
}

header nav ul li a {
  color: #fff;
  font-family: Orbitron;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.25rem;
  letter-spacing: 0.0875rem;
  text-transform: uppercase;
  transition: all 0.3s;
}

header nav ul li a:hover,
header nav ul li a.active {
  color: #ff4c00;
  text-decoration: underline;
  text-underline-offset: 0.5rem;
  text-decoration-thickness: 2px;
  text-decoration-color: #fff;
}

.active-button {
  display: inline-flex;
  padding: 0.5rem 1.5rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #ff4c00;

  clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%);

  color: #000;
  text-align: center;
  font-family: Orbitron;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5rem;
  text-transform: uppercase;
  cursor: pointer;
}

.active-button {
  position: relative;
  overflow: hidden;
}

.active-button::before {
  content: "";
  position: absolute;
  top: -20%;
  left: -60%;
  width: 25%;
  height: 140%;
  background: rgba(255, 255, 255, 0.6);
  transform: skewX(-20deg);
  pointer-events: none;
  transition: left 0.5s ease;
}

.active-button:hover::before {
  left: 130%;
}

@media (prefers-reduced-motion: reduce) {
  .active-button::before {
    transition: none;
  }
}

.outline-button {
  position: relative;
  display: inline-flex;
  padding: 0.5rem 1.5rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: transparent;
  border: none;
  clip-path: none;

  color: #fff;
  text-align: center;
  font-family: Orbitron;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5rem;
  text-transform: uppercase;
}

.outline-button::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid rgba(255, 255, 255, 0.5);
  transform: skewX(-20deg);
  pointer-events: none;
}
/* Home page styles */

.home-hero-section {
  padding: 8rem 6.5rem 15rem;
  display: flex;
  flex-direction: column;
  align-items: center;

  background:
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0) 5%,
      rgba(0, 0, 0, 0.6) 75%,
      #000 100%
    ),
    url(../images/home-hero.png) center / cover no-repeat;
}

.home-hero-section .performance {
  padding: 0.25rem 1rem;
  border: 1px solid #ff4c00;
  color: #ff4c00;
  text-align: center;
  font-family: Orbitron;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1rem;
  letter-spacing: 0.225rem;
  text-transform: uppercase;
}

.home-hero-section h1 {
  margin-top: 1.5rem;
  width: 100%;
  max-width: 60rem;
  font-size: 6rem;
  font-family: Orbitron;
  font-weight: 900;
  letter-spacing: -0.3rem;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
  font-style: italic;
}

.home-hero-section h1 span {
  color: #ff4c00;
}

.home-hero-section .info-text {
  margin-top: 1.5rem;
  width: 100%;
  max-width: 41rem;
  color: #9ca3af;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.75rem;
}

.home-hero-section .buttons-container {
  margin-top: 2.5rem;
  display: flex;
  gap: 2rem;
}

.engineered-section {
  padding: 6rem 6.5rem;

  background: #131313;
}

.engineered-section .top-section {
  display: grid;
  gap: 6rem;
  grid-template-columns: 1.25fr 0.8fr;
  place-items: flex-end;
}

.engineered-section .top-section .left-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.engineered-section .precision {
  color: #ff4c00;
  font-family: Orbitron;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.25rem;
  letter-spacing: 0.0875rem;
  text-transform: uppercase;
}

.engineered-section h2 {
  color: #fff;
  font-size: 3rem;
  font-weight: 900;
  text-transform: uppercase;
  font-family: Orbitron;
  font-style: italic;
}

.engineered-section .info-text {
  color: #9ca3af;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5rem;
}

.engineering-items {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.engineering-item {
  padding: 2rem;
  border-left: 4px solid #ff4c00;
  background: rgba(255, 255, 255, 0.05);
}

.engineering-item .engineering-icon {
  height: 2rem;
  width: auto;
}

.engineering-item h3 {
  margin-top: 2.5rem;
  color: #fff;
  font-family: Orbitron;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 2rem;
  text-transform: uppercase;
}

.engineering-item .info-text {
  margin-top: 1rem;
  color: #9ca3af;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.4rem;
}

.engineering-item .engineering-image {
  margin-top: 2.5rem;
  clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%);
}

.perfection-section {
  padding: 6rem 6.5rem;
  background-color: #050505;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
}

.perfection-section h2 {
  color: #fff;
  font-family: Orbitron;
  font-size: 3rem;
  font-weight: 900;
  line-height: 3.75rem;
  letter-spacing: -0.15rem;
  text-transform: uppercase;
}

.perfection-section h2 span {
  color: #ff4c00;
}

.perfection-section .perfection-items {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.perfection-section .perfection-item {
  display: flex;
  gap: 1rem;
}

.perfection-item .perfection-icon {
  width: 1.75rem;
  height: auto;
  align-self: start;
}

.perfection-item h3 {
  color: #fff;
  font-family: Orbitron;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.75rem;
  text-transform: uppercase;
}

.perfection-item p {
  color: #9ca3af;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5rem;
}

.ready-to-burn-section {
  padding: 6rem 6.5rem;
  background-color: #ff4c00;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.ready-to-burn-section h2 {
  color: #000;
  text-align: center;
  font-family: Orbitron;
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 4.5rem;
  letter-spacing: -0.225rem;
  font-style: italic;
  text-transform: uppercase;
  width: 100%;
  max-width: 41rem;
}

.ready-to-burn-section p {
  margin-top: 2rem;
  color: #000000cc;
  text-align: center;
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.75rem;
  width: 100%;
  max-width: 41rem;
}

.black-button {
  background-color: #000;
  color: #fff;
  outline: none;
  cursor: pointer;
  display: block;
  margin-top: 2.5rem;
}

.flag-image {
  position: absolute;
  top: -1rem;
  right: -4rem;
  height: 30rem;
  width: auto;
  opacity: 0.2;
}

/* Vehicles page styles */

.vehicles-hero-section {
  padding: 3.5rem 6.5rem 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #050505;
}

.vehicles-hero-section h1 {
  color: #fff;
  text-align: center;
  font-family: Orbitron;
  font-size: 4.5rem;
  font-weight: 900;
  letter-spacing: -0.225rem;
  text-transform: uppercase;
  font-style: italic;
}

.vehicles-hero-section h1 span {
  color: #ff4c00;
}

.vehicles-hero-section p {
  margin-top: 1rem;
  color: #9ca3af;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.0875rem;
}

.vehicles {
  padding: 6rem 6.5rem;
  background-color: #050505;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}

.vehicle {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  position: relative;
}

.vehicle .class-container {
  background-color: #ff4c00;
  padding: 0.25rem 0.75rem;
  color: #000;
  font-family: Orbitron;
  font-size: 0.75rem;
  font-weight: 900;
  line-height: 1rem;
  letter-spacing: -0.0375rem;
  text-transform: uppercase;
  width: fit-content;
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-style: italic;
}

.vehicle .info-container {
  padding: 2rem;
}

.vehicle .info-container .top-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.vehicle .vehicle-name {
  color: #fff;
  font-family: Orbitron;
  font-size: 1.875rem;
  font-weight: 900;
  line-height: 2.25rem;
  letter-spacing: 0.09375rem;
  text-transform: uppercase;
  font-style: italic;
}

.vehicle .vehicle-name span {
  color: #ff4c00;
}

.vehicle .vehicle-type {
  color: #6b7280;
  font-family: Orbitron;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1rem;
  letter-spacing: 0.075rem;
  text-transform: uppercase;
}

.vehicle .price {
  color: #ff4c00;
  font-family: Orbitron;
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1.75rem;
  text-align: right;
}

.vehicle .base-price {
  margin-top: 0.5rem;
  color: #4b5563;
  font-size: 0.625rem;
  font-weight: 700;
  line-height: 0.9375rem;
  text-transform: uppercase;
  text-align: right;
}

.vehicle .stats-container {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.vehicle .stat-container .label {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.vehicle .stat-container .stat-name {
  color: #fff;
  font-size: 0.625rem;
  font-weight: 700;
  line-height: 0.9375rem;
  text-transform: uppercase;
}

.vehicle .stat-container .stat-value {
  color: #fff;
  font-size: 0.625rem;
  font-weight: 700;
  line-height: 0.9375rem;
  text-transform: uppercase;
}

.vehicle .stat-container.orange .stat-value {
  color: #ff4c00;
}

.vehicle .stat-container .progress-line {
  margin-top: 0.25rem;
  width: 100%;
  height: 0.25rem;
  background: rgba(255, 255, 255, 0.1);
  position: relative;
}

.vehicle.silvia .stat-container.orange .progress-drift {
  width: 85%;
  height: 0.25rem;
  background-color: #ff4c00;
}

.vehicle.supra .stat-container.orange .progress-drift {
  width: 92%;
  height: 0.25rem;
  background-color: #ff4c00;
}

.vehicle.gt .stat-container.orange .progress-drift {
  width: 65%;
  height: 0.25rem;
  background-color: #ff4c00;
}

.vehicle.rx .stat-container.orange .progress-drift {
  width: 78%;
  height: 0.25rem;
  background-color: #ff4c00;
}

.vehicle.silvia .stat-container .progress-power {
  width: 72%;
  height: 0.25rem;
  background-color: #fff;
}

.vehicle.supra .stat-container .progress-power {
  width: 96%;
  height: 0.25rem;
  background-color: #fff;
}

.vehicle.gt .stat-container .progress-power {
  width: 45%;
  height: 0.25rem;
  background-color: #fff;
}

.vehicle.rx .stat-container .progress-power {
  width: 65%;
  height: 0.25rem;
  background-color: #fff;
}

.vehicle.silvia .stat-container .progress-weight {
  width: 100%;
  height: 0.25rem;
  background-color: #fff;
}

.vehicle.supra .stat-container .progress-weight {
  width: 90%;
  height: 0.25rem;
  background-color: #fff;
}

.vehicle.gt .stat-container .progress-weight {
  width: 90%;
  height: 0.25rem;
  background-color: #fff;
}

.vehicle.rx .stat-container .progress-weight {
  width: 100%;
  height: 0.25rem;
  background-color: #fff;
}

/* Mechanics page styles */

.mechanics-main-page {
  padding: 6rem 6.5rem;
  background-color: #050505;
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.mechanics-grid-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
}

.mechanics-grid-container h2 {
  color: #fff;
  font-family: Orbitron;
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 2.5rem;
  letter-spacing: -0.1125rem;
  text-transform: uppercase;
}

.mechanics-grid-container h2 span {
  color: #ff4c00;
}

.horizontal-fade-line {
  margin-top: 1.5rem;
  width: 8rem;
  height: 0.125rem;
  background: linear-gradient(90deg, #ff4c00 0%, rgba(255, 76, 0, 0) 100%);
}

.mechanics-grid-container .info-text {
  margin-top: 1.5rem;
  color: #9ca3af;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.625rem;
}

.mechanics-grid-container .info-text span {
  color: #fff;
  font-weight: 700;
}

.features-list {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.features-list .feature {
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25rem;
  letter-spacing: 0.0875rem;
  text-transform: uppercase;
}

.features-list .feature i {
  color: #ff4c00;
}

.mechanics-grid-container .feature-section {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
}

.mechanics-grid-container .feature-section .feature {
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
}

.mechanics-grid-container .feature-section .feature h3 {
  color: #ff4c00;
  font-family: Orbitron;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1rem;
  text-transform: uppercase;
}

.mechanics-grid-container .feature-section .feature p {
  margin-top: 0.5rem;
  color: #6b7280;
  font-size: 0.625rem;
  font-weight: 400;
  line-height: 0.9375rem;
  letter-spacing: 0.0625rem;
  text-transform: uppercase;
}

.mechanics-grid-container .tune-gear {
  margin-top: 2rem;
  color: #ff4c00;
  font-family: Orbitron;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5rem;
  text-transform: uppercase;
}

.apex-options-container {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.apex-options-container .apex-option {
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
}

.apex-options-container .apex-option .name {
  color: #fff;
  font-family: Orbitron;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1rem;
  letter-spacing: 0.075rem;
  text-transform: uppercase;
}

.apex-options-container .apex-option .details {
  color: #9ca3af;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5rem;
  text-transform: uppercase;
}

.apex-options-container .apex-option .details.orange-text {
  color: #ff4c00;
}

/* Tracks page styles */

.tracks {
  padding: 5rem 6.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  background-color: #050505;
}

.track {
  height: 30rem;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.track.tokyo {
  background:
    linear-gradient(to bottom, transparent 50%, #000 100%),
    linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url("../images/tokyo.png") center / cover no-repeat;
}

.track.mountains {
  background:
    linear-gradient(to bottom, transparent 50%, #000 100%),
    linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url("../images/mountains.png") center / cover no-repeat;
}

.track.industrial {
  background:
    linear-gradient(to bottom, transparent 50%, #000 100%),
    linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url("../images/industrial.png") center / cover no-repeat;
}

.track.dockside {
  background:
    linear-gradient(to bottom, transparent 50%, #000 100%),
    linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url("../images/dockside.png") center / cover no-repeat;
}

.track .details {
  padding: 0.21875rem 0.75rem;
  background-color: #ff4c00;
  color: #000;
  font-family: Orbitron;
  font-size: 0.75rem;
  font-weight: 900;
  line-height: 1rem;
  text-transform: uppercase;
  width: fit-content;
}

.track h2 {
  margin-top: 1.25rem;
  color: #fff;
  font-family: Orbitron;
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 2.5rem;
  letter-spacing: -0.1125rem;
  text-transform: uppercase;
}

.track h2 span {
  color: #ff4c00;
}

/* Join pro page styles */

.pro-hero-section {
  padding: 8rem 6.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  background:
    linear-gradient(to bottom, transparent 50%, #000 100%),
    linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url("../images/pro-hero.png") center / cover no-repeat;
}

.pro-hero-section h1 {
  color: #fff;
  text-align: center;
  font-family: Orbitron;
  font-size: 6rem;
  font-weight: 900;
  letter-spacing: -0.3rem;
  text-transform: uppercase;
  font-style: italic;
}

.pro-hero-section h1 span {
  color: #ff4c00;
}

.pro-hero-section p {
  width: 100%;
  max-width: 40rem;
  margin-top: 1rem;
  color: #d1d5db;
  font-family: Orbitron;
  text-align: center;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.75rem;
  letter-spacing: 0.1125rem;
  text-transform: uppercase;
}

.join-tier-section {
  padding: 6rem 6.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #050505;
}

.join-tier-section h2 {
  color: #fff;
  text-align: center;
  font-family: Orbitron;
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 2.5rem;
  letter-spacing: -0.1125rem;
  text-transform: uppercase;
  font-style: italic;
}

.join-tier-section h2 span {
  color: #ff4c00;
}

.join-tier-section .info-text {
  margin-top: 1rem;
  color: #6b7280;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1rem;
  letter-spacing: 0.075rem;
  text-transform: uppercase;
}

.join-tier-section .tiers {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  width: 100%;
}

.join-tier-section .tier {
  padding: 2.5rem;
  border-top: 4px solid #4b5563;
  background: rgba(255, 255, 255, 0.05);
}

.join-tier-section .tier h3 {
  color: #fff;
  font-family: Orbitron;
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 2rem;
  text-transform: uppercase;
}

.join-tier-section .tier .cost {
  margin-top: 0.5rem;
  color: #ff4c00;
  font-family: Orbitron;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.75rem;
}

.join-tier-section .tier .tier-features-list {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.join-tier-section .tier .tier-feature {
  display: flex;
  align-items: center;
  color: #9ca3af;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.25rem;
}

.join-tier-section .tier .tier-feature i {
  color: #ff4c00;
  margin-right: 0.5rem;
}

.join-tier-section .tier button {
  margin-top: 2.5rem;
  width: 100%;
  cursor: pointer;
}

.join-tier-section .tier.pro {
  border-top: 4px solid #e5e7eb;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  height: 110%;
  margin-top: -1rem;
  position: relative;
}

.join-tier-section .tier.pro .most-popular {
  padding: 0.25rem 0.75rem;
  background-color: #ff4c00;
  color: #000;
  font-family: Orbitron;
  font-size: 0.625rem;
  font-weight: 900;
  line-height: 0.9375rem;
  text-transform: uppercase;
  position: absolute;
  right: 2rem;
  top: 1.25rem;
}

.driver-registration-section {
  background:
    linear-gradient(27deg, #151515 18.59%, rgba(21, 21, 21, 0) 18.59%),
    linear-gradient(207deg, #151515 18.59%, rgba(21, 21, 21, 0) 18.59%),
    linear-gradient(27deg, #222 18.59%, rgba(34, 34, 34, 0) 18.59%),
    linear-gradient(207deg, #222 18.59%, rgba(34, 34, 34, 0) 18.59%),
    linear-gradient(90deg, #1b1b1b 50%, rgba(27, 27, 27, 0) 50%),
    linear-gradient(
      180deg,
      #1d1d1d 25%,
      #1a1a1a 25%,
      #1a1a1a 50%,
      rgba(26, 26, 26, 0) 50%,
      rgba(26, 26, 26, 0) 75%,
      #242424 75%,
      #242424 100%
    ),
    #131313;

  display: flex;
  justify-content: center;
  align-items: center;
  padding: 6rem 6.5rem;
}

.driver-registration-container {
  width: 50rem;
  max-width: 100%;
  padding: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(24px);
}

.driver-registration-container .heading-section {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.driver-registration-container .id-icon {
  width: 2.5rem;
  height: auto;
}

.driver-registration-container h2 {
  color: #fff;
  font-family: Orbitron;
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 2.5rem;
  letter-spacing: -0.1125rem;
  text-transform: uppercase;
  font-style: italic;
}

.driver-registration-container h2 span {
  color: #ff4c00;
}

.driver-registration-container .form-section {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;

  gap: 2rem;
}

.driver-registration-container .form-section .row-container {
  display: flex;
  gap: 2rem;
}

.driver-registration-container .form-section .input-container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

.driver-registration-container .form-section .input-container label {
  color: #6b7280;
  font-family: Orbitron;
  font-size: 0.625rem;
  font-weight: 700;
  line-height: 0.9375rem;
  letter-spacing: 0.125rem;
  text-transform: uppercase;
}

.driver-registration-container .form-section .input-container input {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
}

.driver-registration-container .form-section .terms-container {
  margin-top: 2.5rem;
  display: flex;
  gap: 1rem;
  align-items: center;
}

.driver-registration-container .form-section .terms-container label {
  color: #9ca3af;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1rem;
  letter-spacing: 0.075rem;
  text-transform: uppercase;
}

/* Start page styles */

.start-hero-section {
  padding: 6rem 6.5rem;
  background:
    linear-gradient(to bottom, transparent 50%, #000 100%),
    linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url("../images/drift-hero.png") center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.start-hero-section .welcome-back-text {
  color: #9ca3af;
  font-family: Orbitron;
  font-weight: 400;
  line-height: 1.25rem;
  letter-spacing: 0.35rem;
  text-transform: uppercase;
}

.start-hero-section .welcome-back-text span {
  color: #fff;
  font-weight: 900;
}

.start-hero-section h1 {
  margin-top: 1rem;
  color: #fff;
  font-family: Orbitron;
  font-size: 6rem;
  font-weight: 900;
  letter-spacing: -0.3rem;
  text-transform: uppercase;
}

.start-hero-section h1 span {
  color: #ff4c00;
}

.start-hero-section .stats-container {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
}

.start-hero-section .stats-container .stat {
  padding: 1.25rem;
  border-left: 2px solid #ff4c00;
  background: rgba(255, 255, 255, 0.03);
}

.start-hero-section .stats-container .stat .stat-name {
  color: #6b7280;
  font-size: 0.625rem;
  font-weight: 700;
  line-height: 0.9375rem;
  letter-spacing: 0.0625rem;
  text-transform: uppercase;
}

.start-hero-section .stats-container .stat .stat-value {
  color: #fff;
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 700;
  line-height: 2rem;
}

.start-hero-section .stats-container .stat .stat-value.orange-text {
  color: #ff4c00;
}

.start-hero-section .daily-challenge-container {
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(24px);
}

.start-hero-section .daily-challenge-container h2 {
  color: #ff4c00;
  font-family: Orbitron;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1rem;
  letter-spacing: 0.075rem;
  text-transform: uppercase;
  padding-bottom: 0.5rem;
}

.start-hero-section .daily-challenge-container .info-text {
  margin-top: 1rem;
  color: #d1d5db;
  font-size: 0.875rem;
  font-style: italic;
  font-weight: 600;
  line-height: 1.25rem;
}

.start-hero-section .daily-challenge-container .progress-container {
  margin-top: 1.5rem;
}

.start-hero-section
  .daily-challenge-container
  .progress-container
  .progress-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.start-hero-section
  .daily-challenge-container
  .progress-container
  .progress-info
  .progress-text {
  color: #6b7280;
  font-size: 0.625rem;
  font-weight: 700;
  line-height: 0.9375rem;
  text-transform: uppercase;
}

.start-hero-section
  .daily-challenge-container
  .progress-container
  .progress-info
  .progress-figures {
  color: #ff4c00;
  font-size: 0.625rem;
  font-weight: 700;
  line-height: 0.9375rem;
}

.start-hero-section
  .daily-challenge-container
  .progress-container
  .progress-bar {
  margin-top: 0.5rem;
  width: 100%;
  height: 0.25rem;
  background-color: rgba(255, 255, 255, 0.1);
}

.start-hero-section
  .daily-challenge-container
  .progress-container
  .progress-line {
  width: 70%;
  height: 0.25rem;
  background-color: #ff4c00;
}

.start-hero-section .daily-challenge-container .reward {
  margin-top: 1.5rem;
  color: #6b7280;
  font-size: 0.625rem;
  font-weight: 700;
  line-height: 0.9375rem;
  text-transform: uppercase;
}

.start-hero-section .daily-challenge-container .reward span {
  color: #fff;
}

.select-mode-section {
  padding: 6rem 6.5rem;
  background-color: #050505;
}

.select-mode-section h2 {
  color: #fff;
  font-family: Orbitron;
  font-size: 1.875rem;
  font-weight: 900;
  line-height: 2.25rem;
  letter-spacing: -0.09375rem;
  text-transform: uppercase;
}

.select-mode-section h2 span {
  color: #ff4c00;
}

.select-mode-section .game-modes {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.select-mode-section .game-mode {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  position: relative;
}

.select-mode-section .game-mode img {
  height: 3rem;
  width: auto;
}

.select-mode-section .game-mode h3 {
  margin-top: 2rem;
  color: #fff;
  text-align: center;
  font-family: Orbitron;
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 2rem;
  letter-spacing: -0.075rem;
  text-transform: uppercase;
}

.select-mode-section .game-mode p {
  margin-top: 1rem;
  color: #6b7280;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.4rem;
}

.grey-button {
  display: inline-flex;
  padding: 0.5rem 1.5rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.1);

  clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%);

  color: #000;
  text-align: center;
  font-family: Orbitron;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5rem;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
}

.grey-button {
  position: relative;
  overflow: hidden;
}

.grey-button::before {
  content: "";
  position: absolute;
  top: -20%;
  left: -60%;
  width: 25%;
  height: 140%;
  background: rgba(255, 255, 255, 0.6);
  transform: skewX(-20deg);
  pointer-events: none;
  transition: left 0.5s ease;
}

.grey-button:hover::before {
  left: 130%;
}

@media (prefers-reduced-motion: reduce) {
  .grey-button::before {
    transition: none;
  }
}

.game-mode .grey-button {
  margin-top: 2rem;
  color: #fff;
}

.game-mode .active-button {
  margin-top: 2rem;
  border: none;
}

.game-mode .live-matchmaking {
  clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%);
  background-color: #ff4c00;
  padding: 0.25rem 1rem;
  color: #000;
  font-size: 0.625rem;
  font-style: italic;
  font-weight: 700;
  line-height: 0.9275rem;
  text-transform: uppercase;
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
}

.game-mode.matchmaking {
  border: 1px solid #e5e7eb;
}

.recent-activity-section {
  padding: 6rem 6.5rem;
  background-color: #050505;
}

.recent-activity-section h2 {
  color: #fff;
  font-family: Orbitron;
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 2rem;
  letter-spacing: -0.075rem;
  text-transform: uppercase;
  font-style: italic;
}

.recent-activity-section h2 span {
  color: #ff4c00;
}

.activity-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
  text-transform: uppercase;
}

.activity-table th,
.activity-table td {
  padding: 1.5rem 1rem;

  text-align: left;
}

.activity-table thead {
  background-color: #a1a1a120;
  color: #6b7280;
  font-size: 0.75rem;
  font-weight: 700;

  line-height: 1rem;
  letter-spacing: 0.075rem;
}

.activity-table tbody {
  background-color: #121212;
  color: #fff;
  font-family: Orbitron;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1rem;
  letter-spacing: 0.075rem;
}

.activity-table .orange-text {
  color: #ff4c00;
}

.activity-table .green-text {
  color: #22c55e;
}

/* Footer styles */

footer {
  padding: 3rem 6.5rem;
  background-color: #050505;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  border-top: 1px solid #6b7280;
}

footer .section-one img {
  height: 1.25rem;
  width: auto;
}

footer h3 {
  color: #fff;
  font-family: Orbitron;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5rem;
  letter-spacing: 0.05rem;
  text-transform: uppercase;
}

footer p,
footer .links {
  margin-top: 1.5rem;
  color: #6b7280;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 400;
}

footer .sm-container {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
  color: #fff;
}

footer ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  list-style-type: none;
}

/* Responsive overrides — append after the existing theme styles. */
header {
  gap: 1.5rem;
  flex-wrap: wrap;
}
header > a {
  flex-shrink: 0;
}
header nav {
  min-width: 0;
}
header nav ul {
  flex-wrap: wrap;
  align-items: center;
}
img {
  max-width: 100%;
  height: auto;
}
:is(
    .engineered-section .top-section,
    .engineering-items,
    .perfection-section,
    .vehicles,
    .mechanics-grid-container,
    .tracks,
    .join-tier-section .tiers,
    .select-mode-section .game-modes,
    footer
  )
  > * {
  min-width: 0;
}
:is(.active-button, .outline-button, .grey-button) {
  max-width: 100%;
  min-height: 2.75rem;
  white-space: normal;
  overflow-wrap: anywhere;
}
:is(header, footer) a:focus-visible,
:is(.active-button, .outline-button, .grey-button):focus-visible {
  outline: 3px solid #fff;
  outline-offset: -4px;
}
:is(
    .home-hero-section,
    .vehicles-hero-section,
    .pro-hero-section,
    .start-hero-section,
    .ready-to-burn-section
  )
  h1,
:is(
    .engineered-section,
    .perfection-section,
    .ready-to-burn-section,
    .mechanics-grid-container,
    .track,
    .join-tier-section,
    .driver-registration-container,
    .select-mode-section
  )
  h2 {
  overflow-wrap: anywhere;
}
.perfection-item .perfection-icon,
.driver-registration-container .id-icon {
  flex-shrink: 0;
}
.start-hero-section {
  gap: 2rem;
}
.start-hero-section > * {
  min-width: 0;
}
.driver-registration-container .form-section .input-container {
  min-width: 0;
}
.driver-registration-container
  :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea) {
  max-width: 100%;
  min-width: 0;
  font: inherit;
  font-size: 1rem;
  color: #fff;
}
.driver-registration-container select option {
  background: #131313;
}
.driver-registration-container .terms-container input {
  flex-shrink: 0;
}
footer a {
  overflow-wrap: anywhere;
}

@media (max-width: 80rem) {
  header,
  footer,
  :is(
    .home-hero-section,
    .engineered-section,
    .perfection-section,
    .ready-to-burn-section,
    .vehicles-hero-section,
    .vehicles,
    .mechanics-main-page,
    .tracks,
    .pro-hero-section,
    .join-tier-section,
    .driver-registration-section,
    .start-hero-section,
    .select-mode-section,
    .recent-activity-section
  ) {
    padding-left: 2rem;
    padding-right: 2rem;
  }
  header nav ul {
    gap: 1.25rem;
  }
  .engineered-section .top-section {
    gap: 2.5rem;
  }
  .engineering-items,
  .perfection-section,
  .mechanics-grid-container,
  .select-mode-section .game-modes {
    gap: 1.5rem;
  }
  .join-tier-section .tier,
  .select-mode-section .game-mode {
    padding: 1.75rem;
  }
  .home-hero-section h1,
  .pro-hero-section h1,
  .start-hero-section h1 {
    font-size: 4.5rem;
    letter-spacing: -0.15rem;
    line-height: 1.1;
  }
}

@media (max-width: 64rem) {
  header {
    justify-content: space-between;
  }
  header nav {
    order: 3;
    flex-basis: 100%;
  }
  header nav ul {
    justify-content: center;
    gap: 0.5rem 1.75rem;
  }
  header nav a {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
  }
  .engineered-section .top-section,
  .perfection-section,
  .mechanics-grid-container {
    grid-template-columns: minmax(0, 1fr);
  }
  .engineered-section .top-section {
    place-items: stretch;
  }
  .engineering-items,
  .select-mode-section .game-modes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .vehicles,
  .tracks {
    gap: 1.5rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .join-tier-section .tiers {
    grid-template-columns: minmax(0, 1fr);
    max-width: 36rem;
    gap: 2rem;
  }
  .join-tier-section .tier.pro {
    height: auto;
    margin-top: 0;
  }
  .join-tier-section .tier.pro .most-popular {
    position: static;
    width: fit-content;
    margin-bottom: 1rem;
  }
  .start-hero-section {
    flex-direction: column;
    align-items: stretch;
  }
  .start-hero-section .daily-challenge-container {
    width: 100%;
  }
  footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem;
  }
  .track {
    height: auto;
    min-height: 26rem;
    padding: 1.5rem;
  }
  .vehicle .info-container {
    padding: 1.5rem;
  }
  .vehicle .info-container .top-section {
    flex-wrap: wrap;
    gap: 1rem;
  }
}

@media (max-width: 48rem) {
  header,
  footer,
  :is(
    .home-hero-section,
    .engineered-section,
    .perfection-section,
    .ready-to-burn-section,
    .vehicles-hero-section,
    .vehicles,
    .mechanics-main-page,
    .tracks,
    .pro-hero-section,
    .join-tier-section,
    .driver-registration-section,
    .start-hero-section,
    .select-mode-section,
    .recent-activity-section
  ) {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  :is(
    .engineered-section,
    .perfection-section,
    .ready-to-burn-section,
    .vehicles,
    .mechanics-main-page,
    .tracks,
    .join-tier-section,
    .driver-registration-section,
    .select-mode-section,
    .recent-activity-section
  ) {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }
  .home-hero-section {
    padding-top: 4.5rem;
    padding-bottom: 7rem;
  }
  .pro-hero-section,
  .start-hero-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
  .vehicles-hero-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  .home-hero-section h1,
  .pro-hero-section h1,
  .start-hero-section h1 {
    font-size: clamp(2rem, 7vw, 3.5rem);
    letter-spacing: -0.06em;
    line-height: 1.15;
  }
  .vehicles-hero-section h1,
  .ready-to-burn-section h2 {
    font-size: clamp(2rem, 7vw, 3rem);
    letter-spacing: -0.04em;
    line-height: 1.15;
  }
  .engineered-section h2,
  .perfection-section h2,
  .mechanics-grid-container h2,
  .track h2,
  .join-tier-section h2,
  .driver-registration-container h2,
  .select-mode-section h2 {
    font-size: clamp(1.5rem, 5vw, 2.25rem);
    letter-spacing: -0.03em;
    line-height: 1.2;
  }
  .home-hero-section .info-text,
  .ready-to-burn-section p,
  .pro-hero-section p {
    font-size: 1rem;
    line-height: 1.65;
  }
  .home-hero-section .performance {
    letter-spacing: 0.1rem;
    line-height: 1.5;
  }
  .home-hero-section .buttons-container {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem;
  }
  .engineering-items,
  .vehicles,
  .tracks,
  .select-mode-section .game-modes {
    grid-template-columns: minmax(0, 1fr);
  }
  .engineering-items,
  .select-mode-section .game-modes,
  .join-tier-section .tiers {
    margin-top: 2rem;
  }
  .mechanics-main-page {
    gap: 3rem;
  }
  .mechanics-grid-container .feature-section {
    flex-wrap: wrap;
  }
  .mechanics-grid-container .feature-section .feature {
    flex: 1 1 12rem;
  }
  .apex-options-container .apex-option {
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 1rem;
  }
  .driver-registration-container {
    padding: 1.5rem;
  }
  .driver-registration-container .form-section .row-container {
    flex-direction: column;
    gap: 1.5rem;
  }
  .driver-registration-container .form-section .terms-container {
    align-items: flex-start;
    margin-top: 0.5rem;
  }
  .start-hero-section .stats-container {
    flex-wrap: wrap;
  }
  .start-hero-section .stats-container .stat {
    flex: 1 1 7rem;
    padding: 1rem;
  }
  .start-hero-section .welcome-back-text {
    letter-spacing: 0.15rem;
    line-height: 1.6;
  }
  .start-hero-section .daily-challenge-container {
    padding: 1.5rem;
  }
  /* Retain table markup and column alignment; scroll inside its section. */
  .recent-activity-section {
    overflow-x: auto;
  }
  .activity-table {
    min-width: 34rem;
  }
  .activity-table th,
  .activity-table td {
    padding: 1rem 0.75rem;
  }
  .flag-image {
    height: 22rem;
    right: -7rem;
  }
}

@media (max-width: 30rem) {
  header {
    gap: 0.75rem;
  }
  header .logo {
    width: 8rem;
  }
  header > .active-button {
    font-size: 0.7rem;
    padding: 0.5rem 1rem;
  }
  header nav ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }
  header nav ul li a {
    font-size: 0.7rem;
    letter-spacing: 0.03rem;
    line-height: 1.5;
  }
  header nav ul li {
    text-align: center;
  }
  .home-hero-section .buttons-container {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-inline: 0.5rem;
  }
  .engineering-item,
  .join-tier-section .tier,
  .select-mode-section .game-mode {
    padding: 1.5rem;
  }
  .vehicle .vehicle-name {
    font-size: 1.5rem;
    line-height: 1.3;
  }
  .vehicle .price,
  .vehicle .base-price {
    text-align: left;
  }
  .track {
    min-height: 22rem;
  }
  .driver-registration-container .heading-section {
    align-items: flex-start;
    gap: 0.75rem;
  }
  footer {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }
}
