/* style file for theme */
* {
  box-sizing: border-box;
}

body, html {
  margin: 0;
  height: 100%;
  background: #0e0e0e;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #eee;
  padding: 20px;
}

/* Wrapper with glowing aura */
.table-wrapper {
  position: relative;
  padding: 30px;
  border-radius: 15px;
  background: #111;
  z-index: 0;
  overflow: visible;
  width: 90vw;
  max-width: 600px;
  text-align: center;
}

/* Glowing aura behind */
.table-wrapper::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  border-radius: 20px;
  z-index: -1;
  filter: blur(30px);
  animation: auraGlow 5s ease-in-out infinite alternate;
  background: linear-gradient(
     45deg,
  #facc15,
  #f97316,
  #10b981,
  #facc15,
  #f97316,
  #10b981
  );
  background-size: 400% 400%;
}

/* Gradient animation */
@keyframes auraGlow {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

/* Table styles */
table {
  width: 100%;
  border-collapse: collapse;
  background: #222;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(0,0,0,0.8);
  color: #eee;
}

/* Remove default thead background, we style header below */
thead tr {
  background: transparent;
}

/* Welcome header style */
.welcome-header {
  font-size: 2.5rem;
  padding: 25px 15px;
  font-weight: 700;
  color: #00ffa3;
  letter-spacing: 1.2px;
}

/* Text cells */
.welcome-text, .farewell-text {
  font-size: 1.2rem;
  padding: 20px 25px;
  color: #ccc;
  line-height: 1.5;
}

/* Farewell text - a bit brighter */
.farewell-text {
  margin-top: 10px;
  font-weight: 600;
  color: #00ffa3;
}

/* Button cell */
.button-cell {
  padding: 30px;
}

/* Continue button */
#continue1-btn {
  background: linear-gradient(45deg, #ffe600, #00ff9f, #39FF14);
  background-size: 200% 200%;
  border: none;
  border-radius: 50px;
  padding: 15px 50px;
  font-size: 1.4rem;
  color: #111;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 0 15px #00ffa3, 0 0 20px #dc1fff, 0 0 25px #ff0099;
  transition: background-position 0.5s ease, box-shadow 0.3s ease;
}

#continue1-btn:hover {
  background-position: 100% 50%;
  box-shadow: 0 0 30px #00ffa3, 0 0 40px #dc1fff, 0 0 50px #ff0099;
}

#continue1-btn:active {
  background-position: 0% 50%;
  box-shadow: 0 0 10px #00ffa3, 0 0 15px #dc1fff, 0 0 20px #ff0099;
}


#continue2-btn {
  background: linear-gradient(45deg, #FF5E00, #FFF300, #FF5E00);
  background-size: 200% 200%;
  border: none;
  border-radius: 50px;
  padding: 15px 50px;
  font-size: 1.4rem;
  color: #111;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 0 15px #00ffa3, 0 0 20px #dc1fff, 0 0 25px #ff0099;
  transition: background-position 0.5s ease, box-shadow 0.3s ease;
}

#continue2-btn:hover {
  background-position: 100% 50%;
  box-shadow: 0 0 30px #00ffa3, 0 0 40px #dc1fff, 0 0 50px #ff0099;
}

#continue2-btn:active {
  background-position: 0% 50%;
  box-shadow: 0 0 10px #00ffa3, 0 0 15px #dc1fff, 0 0 20px #ff0099;
}


/* Responsive text size */
@media (max-width: 480px) {
  .welcome-header {
    font-size: 1.8rem;
  }

  .welcome-text, .farewell-text {   
    font-size: 1rem;
  }

  #continue1-btn {
    padding: 12px 35px;
    font-size: 1.1rem;
  }

  #continue2-btn {
    padding: 12px 35px;
    font-size: 1.1rem;
  }
}
  
  /* Mobile-first tweaks for better layout */
@media (max-width: 768px) {
  .table-wrapper {
    padding: 20px;
    border-radius: 12px;
    width: 100%;
  }

  .welcome-header {
    font-size: 2rem;
    padding: 20px 10px;
  }

  .welcome-text,
  .farewell-text {
    font-size: 1.05rem;
    padding: 15px 15px;
  }

  .button-cell {
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px 0;
  }

  #continue1-btn,
  #continue2-btn {
    display: inline-block;
    width: 90%;
    max-width: 300px;
    font-size: 1.1rem;
    padding: 12px;
    margin: 10px auto;
  }
}
 
@media (max-width: 600px) {
  table {
    font-size: 0.95rem;
  }

  .table-wrapper {
    width: 100%;
    padding: 20px 10px;
  }

  .welcome-header {
    font-size: 1.8rem;
    padding: 15px 10px;
  }

  .welcome-text,
  .farewell-text {
    padding: 10px;
    font-size: 1rem;
  }

  .button-cell {
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px 0;
  }

  #continue1-btn,
  #continue2-btn {
    display: inline-block;
    width: 90%;
    max-width: 300px;
    font-size: 1.1rem;
    padding: 12px;
    margin: 10px auto;
  }
}
