/* === RESET & BASE === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  background: #000;
  color: #aaa;
  font-family: 'Geist Mono', monospace;
  overflow-x: hidden;
}

/* === SVG NOISE TEXTURE OVERLAY === */
.texture-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1000;
  opacity: 0.06;
}

.texture-overlay svg {
  width: 100%;
  height: 100%;
}


/* === 2D PAGE === */
#page-2d {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 60px 20px;
}

.container {
  width: 100%;
  max-width: 560px;
}

/* === HEADER === */
.header {
  font-family: 'Geist Mono', monospace;
  font-size: 1.4rem;
  color: #fff;
  text-align: left;
  margin-bottom: 28px;
  letter-spacing: 0.05em;
  font-weight: normal;
}

/* === SECTIONS === */
.section {
  border: none;
  border-left: 2px solid rgba(255, 255, 255, 0.2);
  padding: 12px 24px;
  margin-bottom: 24px;
}

.section-label {
  font-family: 'Geist Mono', monospace;
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 14px;
  letter-spacing: 0.04em;
  font-style: normal;
}

/* category-specific left borders */
.section--projects {
  border-left-color: rgba(255, 255, 255, 0.3);
}

.section--projects .section-label {
  color: #888;
}

.section--professional {
  border-left-color: rgba(255, 255, 255, 0.3);
}

.section--professional .section-label {
  color: #888;
}

.section--creative {
  border-left-color: rgba(255, 255, 255, 0.3);
}

.section--creative .section-label {
  color: #888;
}

/* === LINKS === */
.link {
  display: block;
  color: #aaa;
  text-decoration: none;
  padding: 8px 0;
  font-size: 1rem;
  transition: color 0.3s, text-shadow 0.3s;
}

.link-indent {
  margin-left: 24px;
}

.link:hover {
  color: #fff;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.25);
}

/* === VR BUTTON === */
.vr-button {
  display: block;
  width: 100%;
  margin-top: 36px;
  padding: 16px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #888;
  font-family: 'Geist Mono', monospace;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: color 0.3s, border-color 0.3s, text-shadow 0.3s;
}

.vr-button:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.2);
}

/* === VR CONTAINER === */
#vr-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  display: none;
}

#vr-container a-scene {
  width: 100%;
  height: 100%;
}

/* Hide A-Frame's default VR button */
#vr-container .a-enter-vr {
  display: none !important;
}

/* === HUD OVERLAY === */
.hud {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
  pointer-events: none;
  font-family: 'Geist Mono', monospace;
  font-size: 0.75rem;
  color: #888;
  letter-spacing: 0.03em;
}

.hud.hidden {
  display: none;
}

.hud-corner {
  position: absolute;
  padding: 16px;
  max-width: 280px;
}

.hud-bottom-left {
  bottom: 0;
  left: 0;
}

.hud-bottom-right {
  bottom: 0;
  right: 0;
  text-align: right;
}

.hud-text {
  margin-bottom: 4px;
  opacity: 0.6;
}

/* === CONFIRM PANEL (in-scene HTML overlay) === */
.confirm-overlay {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 200;
  text-align: center;
  pointer-events: auto;
}

.confirm-overlay .confirm-label {
  font-family: 'Geist Mono', monospace;
  color: #fff;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.confirm-overlay .confirm-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #888;
  font-family: 'Geist Mono', monospace;
  font-size: 1rem;
  padding: 10px 28px;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: color 0.3s, border-color 0.3s, text-shadow 0.3s;
}

.confirm-overlay .confirm-btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.2);
}

/* === RESPONSIVE === */
@media (max-width: 600px) {
  .header {
    font-size: 1.2rem;
  }

  .section {
    padding: 10px 16px;
  }

  .link {
    font-size: 0.9rem;
  }

  .hud-corner {
    max-width: 160px;
    font-size: 0.65rem;
    padding: 10px;
  }
}
