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

body {
  font-family: "Courier New", monospace;
  background: radial-gradient(#2e2e2e, #0d0d0d);
  color: #c5ffb1;
  text-align: center;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ======= Navigation Bar ======= */
.navbar {
  background: #111;
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 1rem;
  border-bottom: 1px solid #3f3f3f;
}

.navbar a {
  color: #e6e6e6;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

.navbar a:hover {
  color: #c5ffb1;
}

/* ======== Machine Container ========= */
.machine-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.machine {
  position: relative;
  display: inline-block;
}

.machine-img {
  max-width: 500px;
  filter: drop-shadow(0px 0px 10px rgba(0, 255, 100, 0.5));
}

/* ======== Dial ========== */
.dial {
  position: absolute;
  top: 53%;
  left: 52%;
  transform: translate(-50%, -50%) rotate(0deg);
  width: 100px;
  height: 100px;
  border: 3px solid #4caf50;
  border-radius: 50%;
  cursor: grab;
  background: rgba(0, 0, 0, 0.6);
}

.dial:active {
  cursor: grabbing;
}

.dial .arrow {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 20px solid #c5ffb1;
}

/* ========= Era Display ========= */
.era-display {
  margin-top: 5em;
  font-size: 1.3rem;
  color: #c5ffb1;
  text-shadow: 0 0 10px #4caf50;
}

/* ========== Enter Button ========== */
.enter-btn {
  margin-top: 1rem;
  padding: 0.8rem 2rem;
  font-size: 1rem;
  font-weight: bold;
  border: 2px solid #4caf50;
  background: transparent;
  color: #c5ffb1;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.3s;
  text-transform: uppercase;
}

.enter-btn:hover {
  background: #4caf50;
  color: #111;
  box-shadow: 0 0 15px #4caf50;
}

/* ======== Circular ring nav ==========*/
.ring-nav {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: 40px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 2;
}

/*========= visual ring ======== */
.ring-nav::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px dashed rgba(197, 255, 177, 0.6);
  border-radius: 50%;
}

.machine-img {
  display: block; /* removes unwanted  inline gap */
}

/* ===========labels on the ring========== */
.ring-item {
  position: absolute;
  transform: translate(-50%, -50%); /* works everywhere */
  background: rgba(0, 0, 0, 0.55);
  color: #e6ffe0;
  border: 1px solid #4caf50;
  border-radius: 999px;
  padding: 0.35rem 0.6rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  pointer-events: auto;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.ring-item:hover {
  box-shadow: 0 0 10px #4caf50;
}

.ring-item.active {
  background: #4caf50;
  color: #111;
  font-weight: 700;
  box-shadow: 0 0 14px #4caf50;
}

.intro {
  position: absolute;
  top: 15%;
  left: 5%;
  z-index: 5;
  text-align: left;
}

#typewriter {
  font-size: clamp(0.5rem, 3vw, 2.2rem);
  color: #c5ffb1;
  text-shadow: 0 0 10px #4caf50;
  letter-spacing: 0.15em;
  line-height: 1.8;

  display: inline-block;
  white-space: pre;
  overflow: hidden;
  box-sizing: border-box;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.section {
  scroll-margin-top: 90px; /* avoids being hidden under any fixed elements */
  margin: 38px auto;
  max-width: 1100px;
  padding: 0 16px;
}

/* ======= About layout ========= */
.about-wrapper {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: clamp(16px, 4vw, 28px);
  align-items: start;
}

/*=======Neon bordered content box ======= */
.neon-box {
  border: 1px solid #1f2a1f;
  border-radius: 14px;
  padding: clamp(14px, 2.6vw, 22px);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.02),
    rgba(0, 0, 0, 0.2)
  );
  box-shadow:
    0 0 0 1px rgba(0, 255, 65, 0.12),
    0 0 22px rgba(0, 255, 65, 0.15),
    inset 0 0 18px rgba(0, 255, 65, 0.06);
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease;
}
.neon-box:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(0, 255, 65, 0.2),
    0 0 28px rgba(0, 255, 65, 0.25),
    inset 0 0 22px rgba(0, 255, 65, 0.1);
}

/*========= Titles inside boxes ============ */
.section-title {
  margin: 0 0 10px 0;
  font-family: "Share Tech Mono", monospace;
  font-size: clamp(1.1rem, 3.4vw, 1.6rem);
  color: #00ff41;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ========= Body text in boxes ============= */
.about-section p,
.info-section p,
.contact-section p,
.square-list {
  font-family: "Share Tech Mono", monospace;
  color: #cfe9d2;
  line-height: 2;
  letter-spacing: 0.04em;
}

/*============ Square bullets================ */
.square-list {
  list-style: square inside;
  padding-left: 0;
  margin: 8px 0 0 0;
}
.square-list li {
  margin: 6px 0;
}

/* =======Responsive ========= */
@media (max-width: 720px) {
  .about-wrapper {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: left;
  }
  .profile-pic {
    width: 200px;
    height: 200px;
  }
}

.starting {
  width: 100vw;
  height: 100%;
  margin-bottom: 10%;
}
