/* Modal Container */
.sheet {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 4000;
}

.sheet.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Backdrop */
.sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 15, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.sheet.show .sheet-backdrop {
  opacity: 1;
}

/* Modal Panel */
.sheet-panel {
  position: relative;
  width: 90%;
  max-width: 500px;
  transform: translate(-50%, -50%) scale(0.8);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.sheet.show .sheet-panel {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  animation: modalSpring 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* Modal Content */
.sheet-content {
  background: rgba(20, 20, 35, 0.9);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  padding: 35px 30px 45px;
  border-radius: 22px;
  text-align: center;
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.4),
    inset 0 0 30px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

/* Close Button */
.sheet-close {
  background: none;
  border: none;
  color: var(--white);
  font-size: 32px;
  position: absolute;
  top: 15px;
  right: 20px;
  cursor: pointer;
  z-index: 20;
  transition: all 0.25s ease;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sheet-close:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: rotate(90deg);
}

/* Logo */
.sheet-logo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 20px;
  border: 2px solid var(--accent-green);
  animation: logoFloat 3s ease-in-out infinite;
}

/* Button Grid */
.sheet-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 25px;
  position: relative;
  z-index: 10;
}