/* ========== BASE ========== */

body {
  background-color: #000;
  color: white;
  margin: 0;
  padding: 20px;
  text-align: center;
  font-family: Arial, sans-serif;
}

html, body {
  touch-action: manipulation;
}

/* ========== HEADER ========== */

.header img {
  width: 90%;
  max-width: 650px;
  height: auto;
  margin-bottom: 30px;
}

/* ========== FLAVOUR ========== */

.flavour-text {
  margin-bottom: 25px;
  opacity: 0.75;
  font-size: 15px;
  line-height: 1.6;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ========== INPUT FIELD ========== */

input[type="text"] {
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #555;
  background-color: #111;
  color: white;
  font-size: 14px;
}

input[type="text"]:focus {
  outline: none;
  border-color: #00b3a4;
}

/* ========== BUTTON BASE STYLE ========== */

button,
.custom-file-button {
  padding: 8px 14px;
  margin: 5px;
  background-color: #1c1c1c;
  color: white;
  border: 1px solid #555;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 14px;
}

/* Hover */
button:hover,
.custom-file-button:hover {
  background-color: #2a2a2a;
}

/* Active */
button:active,
.custom-file-button:active {
  transform: scale(0.96);
}

/* ========== IMPORT SECTION ========== */

.import-section {
  margin-top: 10px;
}

/* ========== BUTTON GROUP ========== */

.button-group {
  margin-top: 20px;
}

/* ========== PRIMARY BUTTON (ROLL) ========== */

#randomBtn {
  background-color: #00b3a4;
  border: none;
  color: black;
  font-weight: bold;
}

#randomBtn:hover {
  background-color: #00d4c1;
}

#randomBtn:active {
  transform: scale(0.95);
}

/* ========== CLEAR BUTTON (DANGER STYLE) ========== */

#clearBtn {
  background-color: transparent;
  border: 1px solid #aa4444;
  color: #ff6666;
}

#clearBtn:hover {
  background-color: rgba(255, 0, 0, 0.1);
}

/* ========== PROJECT LIST ========== */

ul {
  list-style-position: inside;
  padding: 0;
}

li {
  margin: 8px 0;
}

/* ========== RESULT DISPLAY ========== */

#result {
  margin-top: 30px;
  font-size: 24px;
  font-weight: bold;
  min-height: 40px;
}

/* tinted result */
.result-highlight {
  color: #ff8c00;   /* bright orange */
  font-weight: bold;
  text-shadow: 0 0 8px rgba(255, 140, 0, 0.6);
}

/* Gewinner-Glow */
.winner-glow {
  animation: glow 0.8s ease-in-out 3 alternate;
}

@keyframes glow {
  from {
    text-shadow: 0 0 5px #00b3a4;
  }
  to {
    text-shadow: 0 0 20px #00ffe5;
  }
}

/* ========== ROLLING ANIMATION ========== */

.rolling {
  animation: shake 0.1s infinite;
}

@keyframes shake {
  0% { transform: rotate(-3deg); }
  50% { transform: rotate(3deg); }
  100% { transform: rotate(-3deg); }
}

/* ========== FOOTER ========== */

/* Help Button */
.help-button {
  margin-top: 40px;
  background: transparent;
  border: 1px solid #00b3a4;
  color: #00b3a4;
  border-radius: 20px;
  padding: 6px 12px;
  cursor: pointer;
}

.help-button:hover {
  background-color: rgba(0, 179, 164, 0.1);
}

/* Modal Background */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
}

/* Modal Box */
.modal-content {
  background-color: #111;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #444;
  border-radius: 12px;
  width: 85%;
  max-width: 400px;
  text-align: left;
}

/* Close Button */
.close-btn {
  float: right;
  font-size: 22px;
  cursor: pointer;
  color: #888;
}

.close-btn:hover {
  color: white;
}


.app-info {
  margin-top: 60px;
  font-size: 12px;
  opacity: 0.5;
}

.app-info p {
  margin: 0;
}







