/* ==== Pazy Studio Glass Buttons (Integrated with Dark Background) ==== */

body {
  background-color: #1A1A2E; /* پس‌زمینه تیره */
  color: #E8D5B7;
  font-family: 'Poppins', sans-serif;
}

.glass-buttons-container {
  position: fixed;
  top: 0;
  right: -25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  height: 100%;
  z-index: 9999;
  pointer-events: none;
}

/* دکمه‌ها با جلوه‌ی براق و هماهنگ با بک‌گراند */
.glass-button {
  pointer-events: auto;
  border: 1px solid rgba(212, 160, 39, 0.3);
  background: rgba(232, 213, 183, 0.06);
  color: #E8D5B7;
  font-size: 16px;
  padding: 10px 20px;
  cursor: pointer;
  outline: none;
  transition: all 0.3s ease;
  box-shadow:
    0 0 10px rgba(212, 160, 39, 0.2),
    inset 0 0 20px rgba(212, 160, 39, 0.05);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  transform: rotate(90deg);
  position: relative;
  overflow: hidden;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* افکت hover با نئون طلایی و قرمز */
.glass-button:hover,
.glass-button:focus {
  transform: rotate(90deg) scale(1.2);
  background: rgba(184, 51, 47, 0.25);
  box-shadow:
    0 0 20px rgba(212, 160, 39, 0.8),
    0 0 35px rgba(184, 51, 47, 0.5),
    inset 0 0 25px rgba(212, 160, 39, 0.3);
  color: #fff;
  border-color: rgba(212, 160, 39, 0.6);
}

/* افکت نور مرکزی */
.glass-button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300%;
  height: 300%;
  background: radial-gradient(circle, rgba(212,160,39,0.25) 0%, transparent 70%);
  transition: all 0.4s ease;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  z-index: 0;
}

.glass-button:hover::before {
  transform: translate(-50%, -50%) scale(1);
}

/* متن بالاتر از افکت */
.glass-button span {
  position: relative;
  z-index: 1;
}

/* ریسپانسیو */
@media (max-width: 768px) {
  .glass-buttons-container {
    top: unset;
    bottom: 15px;
    right: 0;
    flex-direction: row;
    justify-content: space-evenly;
    width: 100%;
    height: auto;
    background: rgba(26, 26, 46, 0.5);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(212, 160, 39, 0.15);
    padding: 5px 0;
  }

  .glass-button {
    transform: none;
    font-size: 14px;
    padding: 8px 14px;
    border-radius: 10px;
  }

  .glass-button:hover,
  .glass-button:focus {
    transform: scale(1.1);
  }
}
