*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.screen {
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
  background-color: #f5f5f5;
  overflow: auto;
}

.topbar {
  background: linear-gradient(180deg, #1a2744 0%, #2d3a52 100%);
  padding: 1.5rem 1rem;
  text-align: center;
}

.topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.org {
  font-family: 'Cinzel', 'Times New Roman', serif;
  font-size: clamp(2.25rem, 6vw, 4rem);
  font-weight: 400;
  color: #ffffff;
  letter-spacing: 0.05em;
  margin-bottom: -0.25rem;
  line-height: 1;
}

.sub {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(1.125rem, 3.5vw, 1.75rem);
  font-weight: 300;
  font-style: italic;
  color: #c0c0c0;
  letter-spacing: 0.03em;
}

.content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #f8f8f8 0%, #e8e8e8 100%);
}

.canvas {
  display: none;
}

.center {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  width: 100%;
}

.activate {
  width: clamp(260px, 55vw, 400px);
  height: clamp(260px, 55vw, 400px);
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: 
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.25) 0%, transparent 40%),
    radial-gradient(circle at 70% 80%, rgba(0, 0, 0, 0.3) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, #e04040 0%, #d03535 30%, #b52828 60%, #8a1a1a 85%, #5a1010 100%);
  box-shadow: 
    0 15px 50px rgba(80, 20, 20, 0.6),
    0 5px 20px rgba(0, 0, 0, 0.4),
    inset 0 -30px 60px rgba(40, 10, 10, 0.6),
    inset 0 20px 40px rgba(255, 200, 200, 0.2),
    inset 5px 5px 30px rgba(255, 150, 150, 0.15),
    inset -5px -5px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.activate:hover {
  transform: scale(1.03);
  box-shadow: 
    0 20px 60px rgba(80, 20, 20, 0.7),
    0 8px 25px rgba(0, 0, 0, 0.5),
    inset 0 -30px 60px rgba(40, 10, 10, 0.6),
    inset 0 20px 40px rgba(255, 200, 200, 0.25),
    inset 5px 5px 30px rgba(255, 150, 150, 0.2),
    inset -5px -5px 30px rgba(0, 0, 0, 0.25);
}

.activate:active {
  transform: scale(0.98);
}

.activate-text {
  color: #ffffff;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 800;
  text-align: center;
  line-height: 1.25;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.05em;
}

.bottom {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 1rem 0;
}

.admin {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background-color: #1a2744;
  color: #ffffff;
  text-decoration: none;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: opacity 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.admin:hover {
  opacity: 0.9;
}

.shield::before {
  content: "⚙";
  font-size: 1rem;
}

.powered {
  font-size: 0.9rem;
  color: #333;
}

.powered .brand {
  color: #c73a3a;
  font-weight: 600;
}

.powered-footer {
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  color: #666;
}

.powered-footer .brand {
  color: #c73a3a;
  font-weight: 600;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

/* Install Popup Styles */
.install-popup-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1rem;
}

.install-popup-overlay.hidden {
  display: none;
}

.install-popup-card {
  background: #ffffff;
  border-radius: 1.5rem;
  padding: 2rem;
  max-width: 360px;
  width: 100%;
  text-align: center;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  animation: popupSlideIn 0.3s ease-out;
}

@keyframes popupSlideIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.install-popup-icon {
  width: 180px;
  height: 180px;
  margin: 0 auto 1.5rem;
  object-fit: contain;
}

.install-popup-title {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a2744;
  margin-bottom: 0.75rem;
}

.install-popup-desc {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.95rem;
  color: #666;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.install-popup-buttons {
  display: flex;
  gap: 0.75rem;
}

.install-popup-btn {
  flex: 1;
  padding: 0.875rem 1rem;
  border-radius: 0.75rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.install-popup-btn-secondary {
  background-color: #e5e7eb;
  color: #374151;
}

.install-popup-btn-secondary:hover {
  background-color: #d1d5db;
}

.install-popup-btn-primary {
  background-color: #c73a3a;
  color: #ffffff;
}

.install-popup-btn-primary:hover {
  background-color: #a82e2e;
}
