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

html, body {
  width: 100%;
  height: 100%;
  background: #000;
  overflow: hidden;
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
}

.screen {
  position: fixed;
  inset: 0;
  display: none;
  width: 100%;
  height: 100%;
  background: #000;
}

.screen.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== شاشة الفيديو ===== */
#video-screen {
  position: relative;
}

#intro-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.btn-home {
  position: absolute;
  bottom: 30px;
  left: 30px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 40px;
  border: 1px solid #c9a24b;
  background: rgba(0, 0, 0, 0.55);
  color: #d9b45a;
  font-size: 16px;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: background 0.25s, transform 0.2s;
}

.btn-home:hover {
  background: rgba(201, 162, 75, 0.2);
  transform: translateY(-2px);
}

.btn-home .icon {
  font-size: 18px;
}

/* ===== الشاشة الرئيسية ===== */
#home-screen {
  background: #000;
}

.home-wrap {
  position: relative;
  height: 100%;
  aspect-ratio: 9 / 16;
  max-width: 100%;
  margin: 0 auto;
}

.home-bg {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.hotspot {
  position: absolute;
  left: 17%;
  width: 66%;
  border: none;
  background: transparent;
  cursor: pointer;
}

#btn-about {
  top: 58.4%;
  height: 6.3%;
}

#btn-projects {
  top: 69.6%;
  height: 6.3%;
}

/* تأثير خفيف عند المرور لتوضيح أنه قابل للنقر */
.hotspot:hover {
  background: rgba(217, 180, 90, 0.08);
  border-radius: 40px;
}

/* ===== شاشات PDF ===== */
.pdf-screen {
  flex-direction: column;
  background: #111;
}

.pdf-screen iframe {
  width: 100%;
  height: 100%;
  border: none;
  background: #fff;
}

.pdf-controls {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 16px;
  z-index: 10;
}

.btn-nav {
  padding: 12px 28px;
  border-radius: 40px;
  border: 1px solid #c9a24b;
  background: rgba(0, 0, 0, 0.7);
  color: #d9b45a;
  font-size: 15px;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: background 0.25s, transform 0.2s;
}

.btn-nav:hover {
  background: rgba(201, 162, 75, 0.25);
  transform: translateY(-2px);
}
