*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
  min-height: 100vh;
  color: #fff;
}
header {
  text-align: center;
  padding: 28px 20px 10px;
  backdrop-filter: blur(10px);
}
header h1 {
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(90deg, #f7971e, #ffd200);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 2px;
}
header p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
  letter-spacing: 1px;
}
iframe {
  display: block;
  width: 100%;
  height: calc(100vh - 120px);
  border: none;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 10px 20px 20px;
}

/* ===== Side Navigation ===== */
#toggleBtn {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #f7971e, #ffd200);
  color: #1a1a2e;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(247,151,30,0.4);
  transition: transform 0.3s, box-shadow 0.3s;
}
#toggleBtn:hover { transform: scale(1.08); box-shadow: 0 6px 20px rgba(247,151,30,0.6); }
#toggleBtn:active { transform: scale(0.95); }

#sideNav {
  position: fixed;
  top: 0;
  right: -300px;
  width: 280px;
  height: 100vh;
  background: rgba(20, 18, 50, 0.97);
  backdrop-filter: blur(20px);
  box-shadow: -6px 0 30px rgba(0,0,0,0.6);
  z-index: 999;
  padding: 30px 20px 20px;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}
#sideNav.open { right: 0; }

#sideNav .logo {
  display: block;
  width: 80px;
  margin: 0 auto 20px;
  border-radius: 12px;
}
#sideNav ul { list-style: none; }
#sideNav li { margin-bottom: 6px; }
#sideNav li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 10px;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 0.95rem;
  transition: background 0.25s, color 0.25s, transform 0.2s;
}
#sideNav li a i { width: 20px; text-align: center; font-size: 1.05rem; }
#sideNav li a:hover {
  background: rgba(247,151,30,0.18);
  color: #ffd200;
  transform: translateX(4px);
}
#overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}
#overlay.show { opacity: 1; pointer-events: auto; }

@media (max-width: 768px) {
  header h1 { font-size: 1.4rem; }
  .wrapper { padding: 8px 10px 16px; }
  #toggleBtn {
    top: 12px;
    right: 12px;
    width: 42px;
    height: 42px;
    font-size: 17px;
  }
  #sideNav { width: 260px; right: -260px; }
  #sideNav.open { right: 0; }
  iframe { height: calc(100vh - 100px); border-radius: 8px; }
}

@media (max-width: 480px) {
  header h1 { font-size: 1.15rem; }
  #sideNav { width: 100%; right: -100%; }
  #sideNav.open { right: 0; }
}

@media (min-width: 1200px) {
  #toggleBtn { top: 28px; right: 28px; }
}