@font-face {
  font-family: "SpiderManRetro";
  src: url("fonts/04B_03__.TTF") format("truetype");
}

body {
  margin: 0;
  padding: 0;
  width: 100vw;
  height: 100vh;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "SpiderManRetro", monospace;
  overflow: hidden;
}

.projects-wrapper {
  width: 100%;
  max-width: 1100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

/* 3D Stage Container */
.nfs-carousel-container {
  position: relative;
  width: 100%;
  height: 460px;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px; /* Essential for NFS 3D coverflow effect */
}

.cards-track {
  position: relative;
  width: 320px;
  height: 420px;
  transform-style: preserve-3d;
}

/* Project Card Styling */
.project-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 320px;
  height: 420px;
  background: #ffffff;
  border: 3px solid black;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7);
  user-select: none;
  will-change: transform, opacity;
}

.card-inner {
  padding: 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}

/* Active Highlight Styling */
.project-card.active {
  border-color: black; /* Radioactive Green */
  box-shadow:
    0 0 30px rgba(19, 19, 19, 0.3),
    8px 8px 0px #000000;
}

/* Text and Tag Details */
.project-tag {
  font-size: 0.75rem;
  color: #cdbc23;
  letter-spacing: 2px;
}

.project-card h2 {
  color: black;
  font-size: 1.4rem;
  margin: 10px 0;
}

.project-card p {
  color: #2a2c2f;
  font-size: 0.85rem;
  line-height: 1.4;
  font-family: sans-serif;
}

.tech-stack {
  font-size: 0.75rem;
  color: #ee3434;
  background: #fafafb;
  padding: 8px;
  border-radius: 4px;
  border: 1px solid #30363d;
}

.cta-btn {
  display: inline-block;
  text-align: center;
  padding: 12px;
  background: linear-gradient(180deg, #ee3434 0%, #890504 100%);
  color: #ffffff;
  text-decoration: none;
  font-weight: 900;
  border-radius: 4px;
  box-shadow: 3px 3px 0px #000000;
  transition: filter 0.2s ease;
}

.cta-btn:hover {
  filter: brightness(1.2);
}

/* Arcade Control Buttons */
.arcade-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  width: 60px;
  height: 60px;
  background: #161b22;
  border: 3px solid #ff5e00;
  border-radius: 8px;
  color: #ee3434;
  font-family: "SpiderManRetro", monospace;
  font-size: 1.8rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 4px 4px 0px #000000;
  transition:
    background 0.2s,
    border-color 0.2s,
    transform 0.1s;
}

.prev-btn {
  left: 5%;
}

.next-btn {
  right: 5%;
}

.arcade-nav:hover {
  background: #21262d;
  border-color: #890504;
}

.arcade-nav:active {
  transform: translateY(-50%) translateY(2px);
  box-shadow: 2px 2px 0px #000000;
}
