@font-face {
  font-family: "MySinuFont";
  src: url("sinufont.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
:root {
  --primary: #ffffff;
  --bg-dark: #121212;    
  --bg-card: #1E1E1E;
  --text-main: #ffffff;     
  --text-muted: #8a8a8a;   
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "MySinuFont", monospace;
  scroll-behavior: smooth;
}
body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
}
/* Navbar */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  /* background: #000000; */
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid #222;
}
.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-img {
  height: 40px;
  width: auto;
}
.logo-text {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary);
  letter-spacing: 1px;
}
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  margin-left: 20px;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a:hover {
  color: var(--primary);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 
               0 0 20px rgba(255, 255, 255, 0.4);
  transform: scale(1.05);
}

.content-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 10px;
  background: radial-gradient(circle at center, #1a1a1a 0%, var(--bg-dark) 70%);
  overflow: hidden;
}
.instruction-box {
  background: var(--bg-card);
  border: 1px solid #333;
  padding: 40px;
  border-radius: 15px;
  max-width: 800px;
  width: 100%;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  text-align: left;
}
h1 {
  color: var(--primary);
  text-align: center;
  margin-bottom: 10px;
  font-size: 2.5rem;
}
h2 {
  color: #fff;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 10px;
  margin-top: 40px;
  margin-bottom: 20px;
  font-size: 1.5rem;
}
.subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 40px;
  font-size: 1.1rem;
}
ol.steps {
  list-style: none;
  counter-reset: step-counter;
  padding: 0;
}
ol.steps li {
  position: relative;
  margin-bottom: 20px;
  padding-left: 50px;
  color: var(--text-main);
}
ol.steps li::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  left: 0;
  top: 0;
  width: 35px;
  height: 35px;
  background-color: #222;
  border: 1px solid var(--primary);
  color: var(--primary);
  border-radius: 50%;
  text-align: center;
  line-height: 35px;
  font-weight: bold;
}
.wiring-diagram {
  background: #000;
  border-left: 4px solid var(--primary);
  padding: 15px;
  font-family: monospace;
  color: #e0e0e0;
  margin-bottom: 20px;
  border-radius: 0 5px 5px 0;
}
.pin {
  color: #ff5555;
  font-weight: bold;
}
.arrow {
  color: var(--text-muted);
}
.target {
  color: var(--primary);
  font-weight: bold;
}
.back-btn {
  display: block;
  width: fit-content;
  margin: 40px auto 0;
  padding: 10px 30px;
  border: 1px solid var(--primary);
  color: var(--primary);
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s;
  text-align: center;
}
.back-btn:hover {
  background: var(--primary);
  color: #000;
}
footer {
  font-family: "Segoe UI", Arial, sans-serif !important;
  text-align: center;
  padding: 2rem;
  border-top: 1px solid #333;
  color: var(--text-muted);
  font-size: 0.9rem;
}
