@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap");

/* Base Styles */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
    "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
    sans-serif;
  background-color: #000000;
  color: #d1d5db;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

/* Layout */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 1;
  max-width: 100%;
  max-height: 100%;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
}

/* Title Styles */
.main-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  width: 100%;
}

.robot-word {
  font-family: "Bebas Neue", sans-serif;
  font-weight: bold;
  font-size: 10em;
  color: #ffc914;
  letter-spacing: 0.3em;
  margin-bottom: -15px;
  text-align: center;
}

.karaoke-word {
  font-family: "Bebas Neue", sans-serif;
  font-weight: bold;
  font-size: 10em;
  color: #00bec1;
  letter-spacing: 0.25em;
  text-align: center;
}

/* Section Headers */
h2 {
  font-family: "Bebas Neue", sans-serif;
  text-align: center;
  font-weight: bold;
  font-size: 2.5em;
  letter-spacing: 0.3em;
  margin-bottom: 20px;
  color: #ffc914;
}

/* Body Text */
.intro,
.section-body {
  text-align: left;
  letter-spacing: 0.5px;
  margin-bottom: 30px;
  margin-left: auto;
  margin-right: auto;
  max-width: 600px;
  line-height: 1.7;
}

.show-more-container {
  text-align: center;
  margin-top: 20px;
}

/* Colored Text */
.caps-text {
  color: #fe4a49;
  font-weight: bold;
}

.dataset-text {
  color: #ffc914;
  font-weight: bold;
}

.song-text {
  color: #00bec1;
  font-weight: bold;
}

/* Demo Container */
.demo-container {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  background-color: #000000;
  border-radius: 5px;
  padding: 20px;
  margin-bottom: 30px;
  border: 1px solid #444;
}

/* Tab System */
.tab-container {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
  position: sticky;
  top: 0;
  background-color: #000000;
  z-index: 1;
}

.tab {
  font-family: Verdana, sans-serif;
  background-color: #000000;
  border: 2px solid #444;
  padding: 12px 16px;
  cursor: pointer;
  text-align: center;
  text-transform: uppercase;
  margin: 0 5px 5px 0;
  max-width: 150px;
  flex: 1 1 auto;
  font-weight: bold;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
  border-radius: 4px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.tab:hover {
  border-color: #666;
  transform: translateY(-1px);
}

.tab.active {
  background-color: inherit;
  color: #000000 !important;
  border-width: 3px;
}

/* Lyrics */
.lyrics-container {
  display: none;
  max-height: 400px;
  overflow-y: auto;
}

.lyrics-container.active {
  display: block;
}

.lyric-line {
  margin-bottom: 10px;
  text-align: center;
  text-transform: uppercase;
}

.original-lyric {
  font-size: 0.8em;
  color: #cccccc;
}

.new-lyric {
  font-size: 1.2em;
  font-weight: bold;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
}

th,
td {
  border: 1px solid #444;
  padding: 10px;
  text-align: left;
}

th {
  background-color: #000000;
  color: #f0f0f0;
  text-align: center;
}

.past-show {
  color: #888;
}

/* Links */
a {
  color: #00bec1;
  text-decoration: none;
}

a:hover {
  color: #ffc914;
}

/* Buttons */
.show-more-btn {
  background-color: #00bec1;
  color: #000;
  border: none;
  padding: 10px 20px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 4px;
  font-family: inherit;
  transition: background-color 0.2s;
}

.show-more-btn:hover {
  background-color: #ffc914;
}

/* Image Carousel */
.carousel-section {
  margin: 60px 0;
}

.carousel-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 8px;
}

.carousel-track {
  display: flex;
  transition: transform 0.3s ease;
}

.carousel-slide {
  min-width: 100%;
  position: relative;
}

.carousel-slide img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center 25%;
  display: block;
}

.carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 20px;
  font-size: 0.9em;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  font-size: 24px;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.2s;
}

.carousel-nav:hover {
  background: rgba(0, 0, 0, 0.8);
}

.carousel-prev {
  left: 10px;
}

.carousel-next {
  right: 10px;
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 15px;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #444;
  cursor: pointer;
  transition: background 0.2s;
}

.carousel-dot.active {
  background: #ffc914;
}

/* Mobile Styles */
@media (max-width: 600px) {
  .container {
    padding: 10px;
  }

  .robot-word {
    font-size: 5em;
  }

  .karaoke-word {
    font-size: 4.5em;
  }

  h2 {
    font-size: 1.8em;
  }

  .intro,
  .section-body {
    margin-left: 2%;
    margin-right: 2%;
    max-width: 96%;
  }

  .title-word {
    max-width: 95%;
  }

  .tab-container {
    flex-direction: column;
  }

  .tab {
    width: 100%;
    max-width: none;
    margin-right: 0;
  }

  table,
  thead,
  tbody,
  th,
  td,
  tr {
    display: block;
  }

  thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }

  tr {
    margin-bottom: 20px;
    border: 2px solid #444;
    border-radius: 8px;
    background-color: #111;
    padding: 10px;
  }

  td {
    border: none;
    position: relative;
    padding: 8px 0 8px 50%;
    border-bottom: 1px solid #333;
  }

  td:last-child {
    border-bottom: none;
  }

  td:before {
    content: attr(data-label);
    position: absolute;
    left: 6px;
    width: 45%;
    padding-right: 10px;
    white-space: nowrap;
    font-weight: bold;
  }

  .carousel-slide img {
    height: 250px;
  }
}
