@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: url('../images/background.webp') center/cover no-repeat fixed;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5em;
}

h1, h2 {
  font-family: 'Bebas Neue', sans-serif;
  text-align: center;
  font-weight: normal;
  color: black;
}

h1 {
  font-size: 3rem;
  margin-bottom: 0.5em;
}

h2 {
  font-size: 2.5em;
  margin: 0.5em 0;
}

.glass {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 1em;
  border-radius: 8px;
  width: 100%;
  max-width: 1000px;
  margin: 20px 0;
  color: rgba(0, 0, 0, 0.87);
}

.draw-settings {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 1em;
  gap: 0.5em;
}

.draw-settings label,
.draw-settings input,
.draw-settings button {
  text-align: center;
}

input[type="number"] {
  padding: 0.5em;
  font-size: 1rem;
  width: 80px;
  margin: 0.5em;
  border-radius: 5px;
  border: 1px solid #ccc;
}

button {
  padding: 10px 20px;
  background-image: linear-gradient(to bottom, #3399ff 0%, #003366 100%);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.2rem;
}

button:hover {
  background-image: linear-gradient(to bottom, #66b3ff 0%, #004080 100%);
}

.card-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.card {
  width: 100px;
  height: 150px;
  background: #222;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.card:hover {
  transform: scale(1.05);
}

#card-description {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  padding: 1em;
  text-align: center;
}

.card-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.4rem;
  text-align: center;
  margin-top: -0.3em;
  margin-bottom: 0.3em;
  color: black;
}

.card-effect {
  font-size: 1.2rem;
  font-family: 'Inter', sans-serif;
  text-align: center;
  color: #222;
  max-width: 90%;
}

.card-effect + .card-effect {
  margin-top: 0.75em;
}

 
.card-icon-wrapper {
  width: 100px;
  height: 150px;
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  position: relative;
}

.card-icon {
  font-size: 4rem;
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  background: linear-gradient(to bottom, #66b3ff 0%, #004080 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  text-align: center;
}

.card-icon-wrapper svg.je-icon {
  background: linear-gradient(to bottom, #66b3ff 0%, #004080 100%);
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  padding: 0.5em;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hidden {
  display: none !important;
}


/* Deck Toggle */
.deck-toggle {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 1em;
}

.deck-label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.2rem;
  margin-top: 0.3em;
  color: black;
}

.has-bonus {
  position: relative;
}

.bonus-icon-wrapper {
  position: absolute;
  top: 10px;
  left: 10px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .3s;
  border-radius: 26px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #003366;
}

input:checked + .slider:before {
  transform: translateX(24px);
}

/* Footer */
footer {
  width: 100%;
  text-align: center;
  margin-top: 40px;
  padding: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
} 
