.modal-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  border: 0;
  padding: 20px;
  background: transparent;
  color: #fff;
}

.modal-overlay[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-overlay::backdrop {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  width: 90%;
  max-width: 480px;
  max-height: 100%;
  overflow-y: auto;
  background: #23262d;
  border-radius: 8px;
  padding: 48px 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  text-align: center;
  animation: modal-in 0.3s ease;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 4px;
  color: #888;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.modal-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.modal-logo { margin-bottom: 24px; }

.modal-logo h2 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 4px;
  color: #fff;
  text-transform: uppercase;
}

.modal-title {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.modal-text {
  font-size: 15px;
  line-height: 1.6;
  color: #a0a0a0;
  margin-bottom: 32px;
}

.steam-button {
  width: 100%;
  padding: 16px 24px;
  background: linear-gradient(135deg, #00ff88 0%, #00cc6e 100%);
  border: none;
  border-radius: 6px;
  color: #1a1d24;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: default;
}

@keyframes modal-in {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 576px) {
  .modal-overlay { padding: 20px; }
  .modal-content { width: 100%; padding: 40px 24px 32px; }
  .modal-logo h2 { font-size: 28px; }
  .modal-title { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .modal-content { animation: none; }
}
