body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.presentation-loading {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  font-size: 2rem;
  font-weight: 500;
  color: #6b7280;
  text-align: center;
}

.top-controls {
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 1000;
  display: flex;
  gap: 10px;
  align-items: center;
}

.connection-status {
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  color: white;
  backdrop-filter: blur(10px);
  white-space: nowrap;
}

.connected { background: rgba(34, 197, 94, 0.8); }
.disconnected { background: rgba(239, 68, 68, 0.8); }
.live { background: rgba(59, 130, 246, 0.8); }

.presenter-controls {
  display: flex;
  gap: 10px;
  align-items: center;
}

.control-btn {
  padding: 8px 12px;
  border: none;
  border-radius: 20px;
  color: white;
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  transition: all 0.2s ease;
  backdrop-filter: blur(10px);
  white-space: nowrap;
}

.control-btn:hover:not(:disabled) {
  transform: translateY(-1px);
}

.control-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Theme-specific button colors */
.theme-white .control-btn {
  background: rgba(0, 0, 0, 0.7);
}

.theme-white .control-btn:hover:not(:disabled) {
  background: rgba(0, 0, 0, 0.9);
}

.theme-black .control-btn {
  background: rgba(255, 255, 255, 0.2);
}

.theme-black .control-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.3);
}

.presenter-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
}

.presenter-link a {
  display: inline-block;
  padding: 8px 12px;
  text-decoration: none;
  border-radius: 20px;
  font-size: 12px;
  transition: all 0.2s ease;
}

/* Theme-specific presenter link colors */
.theme-white .presenter-link a {
  background: rgba(0, 0, 0, 0.1);
  color: #333;
}

.theme-white .presenter-link a:hover {
  background: rgba(0, 0, 0, 0.2);
}

.theme-black .presenter-link a {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  backdrop-filter: blur(10px);
}

.theme-black .presenter-link a:hover {
  background: rgba(255, 255, 255, 0.2);
}

.reveal .slides section {
  text-align: left;
}

.reveal {
  h1, h2 {
    text-align: center;
  }

  h1 {
    font-size: 5rem;
    line-height: 1.2;
  }

  h2 {
    font-size: 3.5rem;
    line-height: 1.3;
  }

  h3 {
    font-size: 3rem;
    line-height: 1.4;
  }
}

:root {
  --r-main-font-size: 2.5rem;
}

#reveal-container,
.reveal {
  height: 100vh;
}
