html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

body.dark-mode {
  background-color: #121212;
  color: #e0e0e0;
}

.dark-mode .card,
.dark-mode .list-group-item,
.dark-mode .alert {
  background-color: #1e1e1e;
  color: #e0e0e0;
  border-color: #333;
}

.dark-mode .navbar {
  background-color: #000 !important;
}

.dark-mode .btn-outline-light {
  border-color: #e0e0e0;
  color: #e0e0e0;
}

.dark-mode input,
.dark-mode select,
.dark-mode textarea,
.dark-mode .form-control {
  background-color: #222;
  color: #e0e0e0;
  border-color: #444;
}

.dark-mode ::-moz-placeholder {
  color: #aaa;
  opacity: 1;
}

.dark-mode ::placeholder {
  color: #aaa;
  opacity: 1;
}

.dark-mode .text-muted {
  color: #fff !important;
}

.card {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.form-control,
.btn {
  border-radius: 0.5rem;
}

body.dark-mode .trait-icon {
  filter: none;
}

@media (max-width: 576px) {
  h1.display-4 {
    font-size: 1.8rem;
  }
  .navbar-brand {
    font-size: 1.2rem;
  }
}
.global-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  -webkit-backdrop-filter: blur(5px);
          backdrop-filter: blur(5px);
}

.loader-content {
  text-align: center;
  max-width: 300px;
  width: 100%;
}

.tft-logo {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 30px;
}

.tft-hexagon {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #8a2be2, #5f27cd);
  -webkit-clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
          clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  position: absolute;
  animation: pulse 2s infinite ease-in-out;
}

.tft-dice {
  position: absolute;
  width: 60px;
  height: 60px;
  top: 30px;
  left: 30px;
  transform-style: preserve-3d;
  animation: rotate 5s infinite linear;
}

.dice-face {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid #333;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  color: #333;
  font-size: 20px;
}

.dice-face:nth-child(1) {
  transform: rotateY(0deg) translateZ(30px);
}

.dice-face:nth-child(2) {
  transform: rotateY(90deg) translateZ(30px);
}

.dice-face:nth-child(3) {
  transform: rotateY(180deg) translateZ(30px);
}

.loading-message {
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 15px;
  font-weight: 500;
  position: relative;
}

.loading-message:after {
  content: "...";
  position: absolute;
  animation: dots 1.5s infinite steps(4);
  width: 20px;
  overflow: hidden;
}

.progress-container {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #8a2be2, #5f27cd);
  animation: progress 2s infinite ease-in-out;
  border-radius: 3px;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
  }
}
@keyframes rotate {
  0% {
    transform: rotateY(0deg) rotateX(0deg);
  }
  100% {
    transform: rotateY(360deg) rotateX(360deg);
  }
}
@keyframes dots {
  0% {
    width: 0;
  }
  100% {
    width: 60px;
  }
}
@keyframes progress {
  0% {
    width: 0;
    margin-left: 0;
  }
  50% {
    width: 100%;
    margin-left: 0;
  }
  100% {
    width: 0;
    margin-left: 100%;
  }
}
/* Dark mode adjustments */
body.dark-mode .global-loader {
  background-color: rgba(10, 10, 20, 0.95);
}

/* Responsive adjustments */
@media (max-width: 576px) {
  .tft-logo {
    width: 80px;
    height: 80px;
  }
  .tft-dice {
    width: 40px;
    height: 40px;
    top: 20px;
    left: 20px;
  }
  .dice-face {
    font-size: 16px;
  }
}/*# sourceMappingURL=welcome.css.map */