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

:root {
  --dark-bg: #0a0e27;
  --card-bg: #111633;
  --accent-1: #00d4ff;
  --accent-2: #ff006e;
  --accent-3: #ffbe0b;
  --text-primary: #f0f0f0;
  --text-secondary: #a0a0a0;
  --border: #1a2847;
}

html, body {
  width: 100%;
  height: 100%;
  font-family: 'Roboto Mono', monospace;
  /* background-color: var(--dark-bg); */
  color: var(--text-primary);
  overflow-x: hidden;
}

.header {
  background: linear-gradient(90deg, rgba(10, 14, 39, 0.95) 0%, rgba(17, 22, 51, 0.95) 100%);
  border-bottom: 1px solid var(--accent-2);
  padding: 1.5rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 212, 255, 0.1);
}

.header h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: uppercase;
  letter-spacing: 5px;
  font-weight: 900;
}

.header h1 img {
  width: 5rem;
  height: 5rem;
  filter: drop-shadow(0 0 8px var(--accent-1));
}

.header h1 span {
  display: inline-block;
  margin-left: 1rem;
}

.header nav {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}
.header nav a.active {
  font-weight: 900;
  text-decoration: underline;
  transition: all 3s ease;
}

.header nav a {
  padding: 0.7rem 1.3rem;
  background: transparent;
  /* border: 2px solid var(--accent-1); */
  color: var(--accent-1);
  text-decoration: none;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.header nav a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--accent-1);
  z-index: -1;
  transition: left 0.3s ease;
}

.header nav a:hover {
  color: var(--dark-bg);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.5), inset 0 0 20px rgba(0, 212, 255, 0.2);
  transform: scale(1.05);
}

.header nav a:hover::before {
  left: 0;
}

.main-container {
  max-width: 1100px;
  margin: 2rem auto;
  padding: 0 1.5rem;
  min-height: calc(100vh - 300px);
  animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.main-container h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.8rem;
  color: var(--accent-1);
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  padding-bottom: 1rem;
}

.main-container h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.main-container h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.2rem;
  color: var(--accent-2);
  margin-top: 1.8rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.main-container p {
  line-height: 1.8;
  margin-bottom: 1.2rem;
  color: var(--text-secondary);
  font-size: 1.1rem;
}

#sub-content.content {
  transition: all 4s ease;
}

.main-container a {
  color: var(--accent-1);
  text-decoration: none;
  /* border-bottom: 2px solid var(--accent-1); */
  transition: all 0.3s ease;
  position: relative;
}

.main-container a:hover {
  color: var(--accent-3);
  border-bottom-color: var(--accent-3);
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.card {
  background: linear-gradient(135deg, rgba(17, 22, 51, 0.8) 0%, rgba(26, 40, 71, 0.6) 100%);
  border: 2px solid var(--border);
  border-radius: 4px;
  padding: 1.8rem;
  margin-bottom: 1.8rem;
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
  transition: all 0.4s ease;
  opacity: 0;
}

.card:hover {
  border-color: var(--accent-1);
  background: linear-gradient(135deg, rgba(17, 22, 51, 0.95) 0%, rgba(26, 40, 71, 0.8) 100%);
  box-shadow: 0 8px 32px rgba(0, 212, 255, 0.2), inset 0 0 20px rgba(0, 212, 255, 0.05);
  transform: translateY(-6px);
}

.card:hover::before {
  opacity: 1;
  top: -20%;
  right: -20%;
}

.card h3 {
  color: var(--accent-1);
}

.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  color: var(--dark-bg);
  border: none;
  border-radius: 2px;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  font-size: 0.8rem;
  box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 212, 255, 0.5), 0 0 20px rgba(255, 0, 110, 0.3);
}

.btn:hover::after {
  width: 300px;
  height: 300px;
}

.main-container ul,
.main-container ol {
  margin-left: 2rem;
  margin-bottom: 1.5rem;  
}
.sidebar ul {
  list-style-type: none;
}
.sidebar li {
  display: inline-block;
  border: 1px solid var(--accent-3);
  padding: 0.5rem 1rem !important;
}

.sidebar li a {
  margin: 1rem;
}

.main-container li {
  margin-bottom: 0.7rem;
  color: var(--text-secondary);
  position: relative;
  padding-left: 0.5rem;
}

.main-container ul li::marker {
  color: var(--accent-1);
}

.main-container ol li::marker {
  color: var(--accent-2);
}

.main-container table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
  background: rgba(17, 22, 51, 0.6);
  border: 2px solid var(--border);
}

.main-container table th {
  background: linear-gradient(90deg, rgba(0, 212, 255, 0.1), rgba(255, 0, 110, 0.1));
  color: var(--accent-1);
  padding: 1.2rem 1rem;
  text-align: left;
  font-family: 'Orbitron', sans-serif;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
  border-bottom: 2px solid var(--accent-1);
}

.main-container table td {
  padding: 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
}

.main-container table tr:hover {
  background: rgba(0, 212, 255, 0.05);
}

.footer {
  background: var(--dark-bg);
  border-top: 1px solid var(--accent-3);
  padding: 2.5rem 2rem;
  text-align: center;
  color: var(--text-secondary);
  margin-top: 4rem;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  backdrop-filter: blur(10px);
}

.footer p {
  margin: 0;
}

.footer p img {
  margin-top: 5px;
}

.wave {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  z-index: 1;
  opacity: 0.2;
}

.air {
  position: absolute;
  bottom: 0;
  width: 200%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><defs><linearGradient id="grad" x1="0%25" y1="0%25" x2="100%25" y2="0%25"><stop offset="0%25" style="stop-color:%2300d4ff;stop-opacity:0.3" /><stop offset="50%25" style="stop-color:%23ff006e;stop-opacity:0.3" /><stop offset="100%25" style="stop-color:%2300d4ff;stop-opacity:0.3" /></linearGradient></defs><path d="M0,60 Q300,20 600,60 T1200,60 L1200,120 L0,120 Z" fill="url(%23grad)"/></svg>') repeat-x;
  background-size: 600px 100%;
}

.air1 { animation: wave 8s linear infinite; }
.air2 { animation: wave 8s linear infinite reverse; bottom: 15px; }
.air3 { animation: wave 8s linear infinite; bottom: 30px; }
.air4 { animation: wave 8s linear infinite reverse; bottom: 45px; }

@keyframes wave {
  0% { transform: translateX(0); }
  100% { transform: translateX(600px); }
}

@media (max-width: 768px) {
  .header h1 {
    font-size: 2.3rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
  }

  .header h1 img {
    width: 4rem;
    height: 4rem;
  }

  .header nav {
    flex-direction: column;
    gap: 0.5rem;
  }

  .header nav a {
    width: 100%;
    text-align: center;
    padding: 0.6rem 1rem;
    font-size: 0.75rem;
    letter-spacing: 1px;
    border: 1px solid var(--accent-1);
    text-align: left;
  }

  .main-container {
    margin: 1.5rem auto;
    padding: 0 1rem;
    min-height: calc(100vh - 280px);
  }

  .main-container h2 {
    font-size: 1.4rem;
    margin-top: 1.8rem;
  }

  .main-container h3 {
    font-size: 1.05rem;
  }

  .main-container p {
    font-size: 0.9rem;
    line-height: 1.7;
  }

  .card {
    padding: 1.2rem;
    margin-bottom: 1.2rem;
  }

  .btn {
    padding: 0.7rem 1.5rem;
    font-size: 0.75rem;
  }

  .main-container table th {
    padding: 0.8rem 0.6rem;
    font-size: 0.7rem;
  }

  .main-container table td {
    padding: 0.6rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .header {
    padding: 1rem;
  }

  .header h1 {
    font-size: 1rem;
    margin-bottom: 0.8rem;
    gap: 0.5rem;
    letter-spacing: 1.5px;
  }

  .header h1 img {
    width: 3.5rem;
    height: 3.5rem;
  }

  .header nav {
    flex-direction: column;
    gap: 0.4rem;
  }

  .header nav a {
    padding: 0.5rem 0.8rem;
    font-size: 0.65rem;
    letter-spacing: 0.5px;
    border: 1px solid var(--accent-1);
    text-align: left;
  }

  .main-container {
    margin: 1rem auto;
    padding: 0 0.8rem;
    min-height: calc(100vh - 250px);
  }

  .main-container h2 {
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
  }

  .main-container h2::after {
    width: 40px;
    height: 2px;
  }

  .main-container h3 {
    font-size: 0.95rem;
    margin-top: 1.2rem;
  }

  .main-container p {
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 1rem;
  }

  .card {
    padding: 1rem;
    margin-bottom: 1rem;
  }

  .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.7rem;
  }

  .main-container ul,
  .main-container ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
  }

  .main-container li {
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
  }

  .main-container table {
    margin-bottom: 1rem;
  }

  .main-container table th {
    padding: 0.6rem 0.4rem;
    font-size: 0.65rem;
  }

  .main-container table td {
    padding: 0.5rem 0.3rem;
    font-size: 0.75rem;
  }

  .footer {
    padding: 1.5rem 1rem;
    font-size: 0.8rem;
  }

  .wave {
    height: 80px;
  }
}
