body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #1B1B1B;
    color: #e0e0e0;
    margin: 0;
    padding: 20px;
    text-align: center;
}

* {
    box-sizing: border-box;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

h1 {
    margin-bottom: 5px;
    font-family: 'Manbow', serif;
    letter-spacing: 2px;
    color: #D4AF37;
    font-size: 2.8em;
}

.hidden {
    display: none;
}

.contestants {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.contestant {
    background-color: #1e1e1e;
    border-radius: 10px;
    padding: 20px;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (max-width: 768px) {
    .contestant {
        width: 100%;
        min-width: 0;
        margin-bottom: 20px;
    }
    
    .vs {
        margin: 10px 0;
    }
}

.media-container {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000;
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
}

.media-container img, .media-container video {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.info {
    margin-bottom: 15px;
    font-size: 0.9em;
    color: #aaa;
}

button {
    background-color: #5D0D0D;
    color: white;
    border: 1px solid #D4AF37;
    padding: 10px 20px;
    font-size: 1.2em;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
}

button:hover {
    background-color: #D4AF37;
    color: #1B1B1B;
}

.vs {
    font-size: 2em;
    font-weight: bold;
    color: #ff4500;
}

.streak-info {
    margin-top: 20px;
    font-size: 1.5em;
}

/* Slider Styling */
input[type=range] {
  -webkit-appearance: none;
  width: 100%;
  background: transparent;
}

input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 24px;
  width: 24px;
  border-radius: 50%;
  background: #D4AF37;
  cursor: pointer;
  margin-top: -10px;
}

input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  height: 6px;
  cursor: pointer;
  background: #444;
  border-radius: 3px;
}

.slider-wrapper {
    background: #1e1e1e;
    padding: 20px 30px;
    border-radius: 15px;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

#rating-buttons {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding: 0 2px; /* Align centers roughly */
}

/* Rating Buttons */
.rate-btn {
    background-color: transparent;
    color: #888;
    border: 2px solid transparent;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    padding: 0;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rate-btn:hover {
    background-color: rgba(212, 175, 55, 0.2);
    color: #D4AF37;
    transform: scale(1.1);
}

.rate-btn.active {
    background-color: #D4AF37;
    color: #1B1B1B;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
    transform: scale(1.1);
}

#rating-slider {
    width: 100%;
    margin: 0;
    display: block;
}

