/* Big Bang Playground - Dedicated Page */

#bigbang-timeline-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: all;
  opacity: 0.15;
}

.bigbang-playground {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  z-index: 10;
  pointer-events: none;
}

.bigbang-playground > * {
  pointer-events: all;
}

.bigbang-playground__title {
  font-size: 60px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 10px;
  margin: 0;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
  animation: titlePulse 3s ease-in-out infinite;
}

.bigbang-playground__subtitle {
  font-size: 18px;
  font-weight: 400;
  color: #999999;
  letter-spacing: 2px;
  margin: -20px 0 0 0;
  text-transform: uppercase;
}

@keyframes titlePulse {
  0%, 100% { text-shadow: 0 0 20px rgba(255, 255, 255, 0.5); }
  50% { text-shadow: 0 0 30px rgba(255, 255, 255, 0.8); }
}

/* Info Cards Grid */
.bigbang-info {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
}

.bigbang-info__card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 25px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.bigbang-info__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: cardScanLine 3s linear infinite;
}

.bigbang-info__card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

@keyframes cardScanLine {
  0% { transform: translateY(0); }
  100% { transform: translateY(150px); }
}

.info-metric {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.info-metric__value {
  font-size: 48px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
  font-family: 'Roboto', sans-serif;
}

.info-metric__label {
  font-size: 11px;
  font-weight: 600;
  color: #888888;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: 'Roboto', sans-serif;
}

/* Legend Section */
.bigbang-legend {
  width: 100%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 30px;
}

.bigbang-legend__title {
  font-size: 14px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 3px;
  margin: 0 0 20px 0;
  text-transform: uppercase;
  opacity: 0.6;
}

.legend-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.legend-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}

.legend-icon--era {
  background: rgba(170, 170, 170, 0.3);
  border: 2px solid rgba(170, 170, 170, 0.6);
}

.legend-icon--tech {
  background: rgba(153, 153, 153, 0.3);
  border: 2px solid rgba(153, 153, 153, 0.6);
  width: 20px;
  height: 20px;
}

.legend-icon--outstanding {
  background: rgba(238, 238, 238, 0.3);
  border: 3px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
  animation: outstandingPulse 2s ease-in-out infinite;
}

@keyframes outstandingPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.8);
  }
}

.legend-label {
  font-size: 14px;
  font-weight: 600;
  color: #cccccc;
  font-family: 'Roboto', sans-serif;
}

/* Hint Card */
.bigbang-hint-card {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 25px;
  text-align: center;
  backdrop-filter: blur(5px);
}

.hint-card__text {
  font-size: 16px;
  font-weight: 700;
  color: #cccccc;
  letter-spacing: 1px;
  margin-bottom: 15px;
  animation: pulse 2s ease-in-out infinite;
}

.hint-card__progress {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 15px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.progress-label {
  font-size: 12px;
  font-weight: 600;
  color: #888888;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.progress-value {
  font-size: 24px;
  font-weight: 900;
  color: #ffffff;
  font-family: 'Roboto', monospace;
  min-width: 60px;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Responsive */
@media only screen and (max-width: 1000px) {
  .bigbang-playground__title {
    font-size: 40px;
    letter-spacing: 5px;
  }

  .bigbang-playground__subtitle {
    font-size: 14px;
  }

  .bigbang-info {
    grid-template-columns: repeat(2, 1fr);
  }

  .legend-items {
    grid-template-columns: 1fr;
  }

  .info-metric__value {
    font-size: 36px;
  }

  .info-metric__label {
    font-size: 10px;
  }
}

@media only screen and (max-width: 600px) {
  .bigbang-info {
    grid-template-columns: 1fr;
  }

  .bigbang-playground__title {
    font-size: 32px;
  }
}

/* Entrance Animations */
.bigbang-playground__title {
  animation: titleFadeIn 0.8s ease-out, titlePulse 3s 0.8s ease-in-out infinite;
}

.bigbang-playground__subtitle {
  animation: subtitleFadeIn 0.8s 0.2s ease-out backwards;
}

.bigbang-info__card:nth-child(1) {
  animation: cardFadeIn 0.6s 0.4s ease-out backwards;
}

.bigbang-info__card:nth-child(2) {
  animation: cardFadeIn 0.6s 0.5s ease-out backwards;
}

.bigbang-info__card:nth-child(3) {
  animation: cardFadeIn 0.6s 0.6s ease-out backwards;
}

.bigbang-info__card:nth-child(4) {
  animation: cardFadeIn 0.6s 0.7s ease-out backwards;
}

.bigbang-legend {
  animation: cardFadeIn 0.6s 0.8s ease-out backwards;
}

.bigbang-hint-card {
  animation: cardFadeIn 0.6s 0.9s ease-out backwards;
}

@keyframes titleFadeIn {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes subtitleFadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cardFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
