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

html, body {
  height: 100%;
  overflow: hidden;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #ffc3e7;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  padding: 10px;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  height: 100%;
  width: 100%;
  justify-content: center;
}

#book {
  background: transparent;
}

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

.btn {
  background: rgba(255,255,255,0.8);
  border: 1px solid rgba(0,0,0,0.1);
  color: #333;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s;
}

.btn:hover {
  background: rgba(255,255,255,1);
}

.page-info {
  color: #333;
  font-size: 14px;
}

.loading {
  color: #333;
  font-size: 18px;
}

.error {
  color: #c00;
  font-size: 16px;
  text-align: center;
  max-width: 400px;
}

.page {
  background: white;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.page img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.fullscreen-btn {
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 100;
}

.logo-link {
  position: fixed;
  top: 15px;
  left: 15px;
  z-index: 100;
}

.logo {
  height: 50px;
  width: auto;
}

.instructions {
  color: #666;
  font-size: 12px;
  text-align: center;
}
