* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Roboto", sans-serif;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100dvh;
  overflow: hidden;
}

body {
  background-color: #201f1b;
  color: #edcd52;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100dvh;
  padding: 1rem;
  background: url(./bg.png);
}

.header {
  text-align: center;
  flex-shrink: 0;
}

.logo {
  width: 20%;
  max-width: 150px;
  padding-bottom: 0.5rem;
}

h1 {
  font-weight: 600;
  text-align: center;
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

h3, h4 {
  font-weight: 300;
  font-size: 0.7rem;
  font-style: italic;
  margin-bottom: 0.3rem;
}

@media (min-width: 768px) {
  .logo {
    width: 100px;
  }

  h1 {
    font-size: 2rem;
    margin-top: 1.5rem;
  }

  h3 {
    font-size: 1.1rem;
  }
}

.content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  flex: 1;
  min-height: 0;
  margin: 0.5rem 0;
}

.canvas-container {
  width: 100%;
  max-width: 90vw;
  flex: 1;
  min-height: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  overflow: hidden;
}

.canvas-container canvas {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.controls {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  border-radius: 12px;
  width: 100%;
  max-width: 700px;
  flex-shrink: 0;
}

.btn {
  background: #edcd52;
  color: #fff;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.btn:hover {
  background: #fff;
  color: #edcd52;
}

.btn-outline {
  background: transparent;
  border: 1px solid #edcd52;
  color: #edcd52;
}

.btn-outline:hover {
  background: #ffffff;
  color: #201f1b;
}

footer {
  text-align: center;
  font-size: 0.75rem;
  color: #71717a;
  line-height: 1.3;
  padding: 0 1rem;
  flex-shrink: 0;
}

.made-by {
  margin-bottom: 0.25rem;
}

.disclaimer {
  font-size: 9px;
}