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


body {
  background: linear-gradient(180deg, #313C48, #313C48); /*(180deg, #533cd8, #e7e0ff);          313C48           283842       */
  font-family: Segoe UI, serif;
  min-height: 100vh;
  padding: 40px 20px;
  display: flex;
  justify-content: center;
}

a {
  text-decoration: none;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 15px;
  margin-bottom: 60px;
  border-bottom: 1px solid #4A5568; /* rgba(255, 255, 255, 0.2) #515c6e */
}

header h1 {
  font-size: 50px;
  color: white;
  font-weight: bolder;
}



.container {
  width: 100%;
  max-width: 1100px;
  color: white;
}


/* Für die themen Überschriften */
.container h3 {
  font-size: 30px;
  font-weight: 900;
  margin-bottom: 12px;
  margin-left: 13px;
  margin-top: 60px
}


/* Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;

}


/* Karten */
.card {
  background: #F8F9FA; /* 2a3447 mit hellerem hintergrund auch nice*/
  color: #ffffff;
  border-radius: 12.5px;
  
  padding: 20px;
  transition: 0.2s ease;

  min-height: 130px;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.3); 
  box-shadow: 0 10px 15px #505e6e69;
}


.card-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;

}

.card h2 {
  font-size: 22px;
  color: #3a4259;
  font-weight: 720;
}

.card p {
  color: #4d5469;
  font-size: 13.5px;
  margin-bottom: 14px;
  font-weight: 520;
}



.btn {
  font-size: 13px;
  padding: 5px 10px;
  border: 1px solid aqua;
  border-radius: 5px;
  text-decoration: none;
  color: #7dd3fc;
  transition: 0.2s;
}

.btn:hover {
  background: rgba(0, 255, 157, 0.08);
  border-color: aqua;
  color: white;
}



/* XXXXXXXXXX NUMBER GENERATOR CSS XXXXXXXXXX */

/* Die helle, stabile Haupt-Box */
.generator-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 500px;
  margin: auto;
  margin-top: 100px;
  padding: 40px 30px;
  background: #F8F9FA;
  border-radius: 16px;
  box-shadow: 0 10px 25px #00000026;
}

.generator-box h2 {
  font-size: 22px;
  color: #444e69;
  font-weight: 720;
  margin-bottom: 25px;
}

/* die Random Zahl in der mitte */
.zahl-display {
  font-size: 110px;
  font-weight: 800;
  color: #444e69;
  line-height: 1;
  margin-bottom: 35px;
  transition: transform 0.1s ease;
  text-shadow: 0 0 20px rgb(143 143 143 / 0.47);
}

/* Eingabe feld */
.eingabe-bereich {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 35px;
  width: 100%;
}


.eingabe-bereich input {
  width: 100px;
  padding: 12px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  color: #444e69;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.eingabe-bereich input:focus {
  box-shadow: 0 0 0 3px rgba(49, 60, 72, 0.1);
}


.bis-text {
  color: #4d5469;
  font-size: 15px;
  font-weight: 520;
}


.generator-btn {
  width: 100%;
  max-width: 260px;
  padding: 14px 28px;
  background: #444e69;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.generator-btn:hover {
  background: #556382;
}

.generator-btn:active {
  transform: scale(0.97);
}

/* Standard-Pfeile der Inputs entfernen */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type="number"] {
  -moz-appearance: textfield;
}

/* ENDEEEEEEEEEEEEEEEEEEE XXXXXXXXXX NUMBER GENERATOR CSS XXXXXXXXXX ENDEEEEEEEEEEEEEEEEEEE*/






/* XXXXXXXXXX COIN FLIP XXXXXXXXXX */

.coin-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 500px;
  margin: auto;
  margin-top: 100px;
  padding: 40px 30px;
  background: #F8F9FA;
  border-radius: 16px;
  box-shadow: 0 10px 25px #00000026;
}

.coin-box h2 {
  font-size: 22px;
  color: #444e69;
  font-weight: 720;
  margin-bottom: 30px;
}

.coin-display {
  width: 180px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
}

.coin-face {
  width: 150px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #ffffff;
  border: 8px solid #444e69;
  color: #444e69;
  font-size: 64px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 10px 25px #0000001f, inset 0 0 0 7px #eef2f7;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.coin-result {
  min-height: 34px;
  margin-bottom: 30px;
  margin-top: 15px;
  color: #4d5469;
  font-size: 24px;
  font-weight: 750;
}

.coin-spin {
  animation: coin-spin 1s; /* .2,.1,.9,1       */
}

.coin-bounce {
  animation: coin-bounce 0.3s ease;
  animation-delay: 0.0125s;
}

@keyframes coin-spin {
  0% {
    transform: rotateY(0deg) scale(1);
  }
  50% {
    transform: rotateY(520deg) scale(1.08);
    box-shadow: 0 16px 35px #00000029, inset 0 0 0 7px #eef2f7;
  }
  100% {
    transform: rotateY(1080deg) scale(1);
  }
}

@keyframes coin-bounce {
  0% {
    transform: scale(0.87);
  }
  100% {
    transform: scale(1);
  }
}

/* ENDEEEEEEEEEEEEEEEEEEEEE XXXXXXXXXX COIN FLIP XXXXXXXXXX ENDEEEEEEEEEEEEEEEEEEEEE */




/* XXXXXXXXXX how many days till XXXXXXXXXX */


.days-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 500px;
  margin: auto;
  margin-top: 100px;
  padding: 40px 30px;
  background: #F8F9FA;
  border-radius: 16px;
  box-shadow: 0 10px 25px #00000026;
}


.days-box h2 {
  font-size: 22px;
  color: #444e69;
  font-weight: 720;
  margin-bottom: 25px;
}


.countdown-result-box {
  min-height: 120px;
  width: 100%;
  margin-bottom: 30px;
  padding: 22px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #444e69;
  text-align: center;
}

.countdown-days {
  display: block;
  font-size: 64px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 10px;
  text-shadow: 0 0 20px rgb(143 143 143 / 0.32);
}

.countdown-details {
  color: #4d5469;
  font-size: 16px;
  font-weight: 650;
}

.countdown-date-input {
  width: 180px !important;
}
/* ENDEEEEEEEEEEEEEEEEEEEEE XXXXXXXXXX how many days till XXXXXXXXXX ENDEEEEEEEEEEEEEEEEEEEEE */











/* XXXXXXXXXX SPIN WHEEL XXXXXXXXXX */

.wheel-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 650px;
  margin: auto;
  padding: 40px;
  background: #F8F9FA;
  border-radius: 16px;
  box-shadow: 0 10px 25px #00000026;

}

.wheel-box h2 {
  font-size: 22px;
  color: #444e69;
  margin-bottom: 25px;
}

.option-input-area {
  display: flex;
  gap: 10px;
  width: 100%;
  margin-bottom: 20px;
}

.option-input-area input {
  flex: 1;
  padding: 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
}

.add-option-btn {
  padding: 12px 18px;
  background: #444e69;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.option-list {
  width: 100%;
  margin-bottom: 30px;
}

.option-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  margin-bottom: 8px;
  border-radius: 8px;
  background: white;
  color: #444e69;
  font-weight: 600;
}

.option-item button {
  border: none;
  background: none;
  cursor: pointer;
  font-size: 16px;
}






.wheel-container {
  position: relative;
  width: 100%;
  max-width: 350px;
  height: 210px;
  overflow: hidden;
  border-radius: 12px;
  background: white;
  margin-bottom: 30px;
  border: 1px solid #e2e8f0;
}

/* dunkler Verlauf oben */
.wheel-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background: linear-gradient(to bottom, #f8f9fa, transparent);

  z-index: 5;
}

/* dunkler Verlauf unten */
.wheel-container::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background: linear-gradient(
          to top,
          #f8f9fa,
          transparent
  );
  z-index: 5;
}





.wheel-item {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  transition: color 0.2s ease; /* farben wechsel fade */
}

/* ENDEEEEEEEEEEEEEEEEEEEEE XXXXXXXXXX SPIN WHEEL XXXXXXXXXX ENDEEEEEEEEEEEEEEEEEEEEE */



/* TIMEZONE UND REALTIMECLOCK */


.local-clock {
  font-size: 110px;
  font-weight: 750;
  color: #444e69;
  line-height: 1;
  margin-bottom: 35px;
  transition: transform 0.1s ease;
  text-shadow: 0 0 20px rgb(143 143 143 / 0.52);
}

.local-time-text {
  font-size: 30px;
  font-weight: 450;
  color: #444e69;
}

.clock-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  padding: 30px 20px;
  background: #F8F9FA;
  border-radius: 16px;
  box-shadow: 0 10px 25px #00000026;
  text-align: center;
}


.clock-box .local-clock {
  font-size: clamp(40px, 14vw, 75px);
  font-weight: 750;
  color: #444e69;
  line-height: 1.1;
  margin-top: 15px;
  margin-bottom: 15px;
  text-shadow: 0 0 20px rgb(143 143 143 / 0.3);
}

.clock-box .local-time-text {
  font-size: 22px;
  font-weight: 600;
  color: #4d5469;
}

.clock-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 20px;

}


.wide-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  color: white;
}

.wide-container h3 {
  font-size: 45px;
  font-weight: 900;
  margin-bottom: 12px;
  margin-left: 13px;
  margin-top: 60px
}


/* ENDEEEEEEEEEEEEEEEEEEEEE TIMEZONE UND REALTIMECLOCK ENDEEEEEEEEEEEEEEEEEEEEE */









