/* void-menu.css — Refactored for inline menu + overlay constructs */

.void-menu-inline {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 0;
  margin: 2rem 0;
  border-top: 1px dashed rgba(43, 202, 109, 0.3);
  border-bottom: 1px dashed rgba(43, 202, 109, 0.3);
}

.void-menu-container {
  background: rgba(0, 20, 10, 0.6);
  border: 4px double #2bca6d;
  padding: 3rem 2rem; /* Increased vertical padding */
  max-width: 550px;   /* Increased width for breathing room */
  width: 100%;
  text-align: center;
  box-shadow: 0 0 20px rgba(43, 202, 109, 0.1);
  position: relative;
}

/* 80s Mysticism x Glitch 2.5D Orb */
.css-crystal-ball {
    position: relative;
    width: 120px;
    margin: 0 auto 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.css-crystal-ball .orb {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.3), rgba(168, 85, 247, 0.2) 40%, rgba(13, 26, 16, 0.6) 90%);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-shadow: 
        0 0 20px rgba(168, 85, 247, 0.4),
        inset -10px -10px 20px rgba(0,0,0,0.6),
        inset 5px 5px 15px rgba(43, 202, 109, 0.4);
    overflow: hidden;
    animation: orb-bob 6s ease-in-out infinite;
    z-index: 2;
}

.css-crystal-ball .glow {
    position: absolute;
    top: 15%;
    left: 20%;
    width: 30px;
    height: 15px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: rotate(-30deg);
    filter: blur(2px);
}

.css-crystal-ball .scanlines {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(43, 202, 109, 0.05) 0px,
        rgba(43, 202, 109, 0.05) 2px,
        transparent 2px,
        transparent 4px
    );
    border-radius: 50%;
    pointer-events: none;
    z-index: 3;
    animation: scanline-shift 10s linear infinite;
}

.css-crystal-ball .star {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #2bca6d;
    font-family: 'Press Start 2P', monospace;
    font-size: 1.5rem;
    text-shadow: 0 0 10px #2bca6d, 2px 2px 0px rgba(255,0,255,0.4);
    z-index: 1; /* Under the orb glass and scanlines */
    animation: star-breathe 4s ease-in-out infinite;
}

.css-crystal-ball .pedestal-oval {
    width: 80px;
    height: 25px;
    background: radial-gradient(ellipse at center, rgba(13, 26, 16, 0.9) 0%, rgba(26, 46, 31, 0.9) 70%, rgba(43, 202, 109, 0.5) 100%);
    border-radius: 50%;
    margin-top: -15px;
    z-index: 1;
    box-shadow: 
        inset 0 10px 15px rgba(0,0,0,0.9), /* Makes it look like a hollow bowl */
        0 15px 20px rgba(0,0,0,0.6);       /* Outer shadow on the table */
    border-bottom: 2px solid rgba(43, 202, 109, 0.3); /* Subtle rim light on the bottom edge */
}

@keyframes orb-bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); } /* Very subtle slow bob */
}

@keyframes star-breathe {
    0%, 100% { opacity: 0.3; filter: hue-rotate(0deg); transform: translate(-50%, -50%) scale(0.95); }
    50% { opacity: 0.9; filter: hue-rotate(30deg); transform: translate(-50%, -50%) scale(1.05); }
}

@keyframes scanline-shift {
    0% { background-position: 0 0; }
    100% { background-position: 0 100px; }
}

.menu-title {
  font-size: 1.2rem;
  margin: 1rem 0 1.5rem;
  text-shadow: 0 0 8px #2bca6d;
}

.menu-section {
  margin-bottom: 1.5rem;
}

.menu-section h3 {
  font-size: 0.7rem;
  margin-bottom: 0.8rem;
  opacity: 0.8;
  color: #35d477;
}

.theme-selector {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.theme-btn {
  background: transparent;
  border: 1px solid #2bca6d;
  color: #2bca6d;
  padding: 0.5rem 1rem;
  font-family: inherit;
  font-size: 0.6rem;
  cursor: pointer;
  transition: all 0.2s steps(2);
}

.theme-btn.active {
  background: #2bca6d;
  color: #0d1a10;
  box-shadow: 0 0 10px #2bca6d;
}

.theme-btn:hover:not(.active) {
  background: rgba(43, 202, 109, 0.1);
}

.location-selector {
  display: flex;
  justify-content: center;
}

/* Toggle Switch Styles */
.toggle {
  display: flex;
  align-items: center;
  cursor: pointer;
  gap: 10px;
}

.toggle input {
  display: none;
}

.slider {
  width: 30px;
  height: 15px;
  background-color: #1a2e1f;
  border: 1px solid #2bca6d;
  position: relative;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 9px;
  width: 9px;
  left: 2px;
  bottom: 2px;
  background-color: #2bca6d;
  transition: .4s;
}

input:checked + .slider {
  background-color: rgba(43, 202, 109, 0.3);
}

input:checked + .slider:before {
  transform: translateX(15px);
}

.label-text {
  font-size: 0.6rem;
}

.menu-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
  border-top: 1px solid rgba(43, 202, 109, 0.2);
  padding-top: 1rem;
}

.launch-btn {
  background: rgba(43, 202, 109, 0.1);
  border: 2px solid #2bca6d;
  color: #2bca6d;
  padding: 0.8rem 2rem;
  font-family: inherit;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s steps(2);
  width: 100%;
}

.launch-btn:hover {
  background: #2bca6d;
  color: #0d1a10;
  box-shadow: 0 0 20px #2bca6d;
}

/* Construct Overlays */
.void-construct-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9998;
}

.void-construct-locked {
  color: #ff4d80;
  font-size: 0.7rem;
  border: 1px dashed #ff4d80;
  padding: 10px;
  display: inline-block;
}
