/* === GAME DEMO BUTTON === */
.demo-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 9px 12px;
  font-family: -apple-system, BlinkMacSystemFont, 'Roboto', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1.2;
  border-radius: 6px;
  border: none;
  margin-top: 8px;
  color: #1a1000;
  background: linear-gradient(180deg, #ffe629 0%, #f5a500 100%);
  box-shadow:
    0 2px 10px rgba(245, 165, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  cursor: pointer;
  transition: filter 0.12s ease, transform 0.12s ease, box-shadow 0.12s ease;
  white-space: nowrap;
}

.demo-btn strong {
  font-weight: inherit;
}

.demo-btn::before {
  content: '▶';
  font-size: 8px;
  line-height: 1;
  opacity: 0.65;
  flex-shrink: 0;
}

.demo-btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow:
    0 4px 16px rgba(245, 165, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.demo-btn:active {
  filter: brightness(0.92);
  transform: translateY(0);
  box-shadow:
    0 1px 4px rgba(245, 165, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.demo-btn:focus {
  outline: none;
  box-shadow:
    0 2px 10px rgba(245, 165, 0, 0.5),
    0 0 0 3px rgba(253, 230, 41, 0.45);
}

@media (max-width: 576px) {
  .demo-btn {
    padding: 8px 12px;
    font-size: 12px;
  }
}

/* === MODAL === */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    text-align: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.modal-content {
    background-color: rgba(255, 255, 255, 0);
    border-radius: 8px;
    padding: 20px;
    width: 90%;
    max-width: 1000px;
    height: 80vh;
    position: relative;
    overflow: hidden;
}

.modal-header {
    background-color: #333;
    color: white;
    padding: 10px;
    font-weight: bold;
    text-align: center;
}

.close-btn {
    position: absolute;
    right: 5%;
    background-color: #ff000000;
    color: white;
    border: none;
    font-size: 18px;
    cursor: pointer;
}

.modal iframe {
    width: 100%;
    height: 100%;
}
