@import url('https://fonts.googleapis.com/css2?family=Bangers&display=swap');

:root {
  --primary-color: #ffffff;
  --background-color: #ffffff;
  --text-color: #000000;
  --panel-color: #f5f5f5;
  --accent-color: #000000;
  --border-color: #000000;
  --shadow-color: rgba(0, 0, 0, 0.2);
  
  font-family: 'Bangers', system-ui, -apple-system, sans-serif;
  line-height: 1.5;
  font-weight: 400;

  color: var(--text-color);
  background-color: var(--background-color);
  background-image: 
    radial-gradient(circle at 50% 50%, #f5f5f5 0%, #ffffff 100%),
    url("data:image/svg+xml,%3Csvg width='6' height='6' viewBox='0 0 6 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23000000' fill-opacity='0.03' fill-rule='evenodd'%3E%3Cpath d='M5 0h1L0 6V5zM6 5v1H5z'/%3E%3C/g%3E%3C/svg%3E");
}


body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background-image: url('/bg.svg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top;
}

.comic-panel {
  background-color: var(--panel-color);
  border: 3px solid var(--border-color);
  box-shadow: 8px 8px 0px #fff, 
              12px 12px 0px var(--border-color);
  padding: 1.5rem;
  margin: 1.5rem;
  position: relative;
  transform: rotate(-1deg);
  transition: transform 0.3s ease;
}

.comic-panel:hover {
  transform: rotate(1deg) translateY(-2px);
}

.comic-panel::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border: 2px solid var(--border-color);
  z-index: -1;
  opacity: 0.5;
}

.pow-button {
  background-color: #fff;
  border: 2px solid var(--border-color);
  color: var(--text-color);
  padding: 0.7rem 1.4rem;
  font-family: 'Bangers', cursive;
  font-size: 1.2rem;
  transform: rotate(-2deg);
  transition: all 0.2s ease;
  cursor: pointer;
  text-shadow: 1px 1px 0 #fff;
  box-shadow: 4px 4px 0 var(--border-color);
  position: relative;
  overflow: hidden;
}

.pow-button:hover {
  transform: rotate(2deg) scale(1.05);
  box-shadow: 6px 6px 0 var(--border-color);
}

.pow-button:active {
  transform: rotate(0) scale(0.95);
  box-shadow: 2px 2px 0 var(--border-color);
}

.tag {
  background-color: #fff;
  color: var(--text-color);
  padding: 0.3rem 0.8rem;
  border: 2px solid var(--border-color);
  font-size: 0.9rem;
  margin: 0.2rem;
  display: inline-block;
  transform: rotate(-1deg);
  box-shadow: 2px 2px 0 var(--border-color);
  transition: all 0.2s ease;
}

.tag:hover {
  transform: rotate(2deg) translateY(-2px);
  box-shadow: 3px 3px 0 var(--border-color);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

input, select {
  background-color: #fff !important;
  border: 2px solid var(--border-color) !important;
  color: var(--text-color) !important;
  padding: 0.7rem !important;
  font-family: inherit;
  box-shadow: 3px 3px 0 var(--border-color);
  transition: all 0.2s ease;
}

input:focus, select:focus {
  outline: none;
  box-shadow: 5px 5px 0 var(--border-color);
  transform: translateY(-2px);
}

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal {
  background: white;
  padding: 2rem;
  border: 3px solid var(--border-color);
  box-shadow: 8px 8px 0 var(--border-color);
  max-width: 500px;
  width: 90%;
  position: relative;
  transform: rotate(-1deg);
}

.header-bar {
  background: var(--panel-color);
  padding: 1rem 2rem;
  border-bottom: 3px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}