/* Base styles */

body {
  margin: 0;
  font-family: 'Rajdhani';
  background-color: #121212;
  color: #ffffff;
  line-height: 1.6;
  text-align: justify;
}

.container {
  max-width: 1100px;
  margin: 20px auto;
  padding: 0 15px;
}

/* Header */
header {
  font-family: 'Orbitron';
  display: flex;
  align-items: center;
  padding: 15px 20px;
  background-color: #1E1E1E;
  color: white;
  border-bottom: 1px solid rgba(255, 0, 0, 0.1);
}

.logo {
  font-weight: 700;
  font-size: 20px;
}

nav {
  margin-left: auto;
}

nav a {
  color: white;
  text-decoration: none;
  margin-left: 15px;
  padding: 5px 10px;
  border-radius: 4px;
}

nav a:hover {
  background-color: #ffffff1a;
}

/* Cards */
.card {
  background-color: #1E1E1E;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  border: 2px solid #ddd;
}

/* Hero section */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
  }
}

/* Slideshow */
.slideshow , .slideshow1 {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.slideshow img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slideshow1 img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slideshow img.active {
  opacity: 1;
}

.slideshow1 img.active {
  opacity: 1;
}

.slideshow-caption {
  margin-top: 10px;
  color: #7f8c8d;
  font-size: 13px;
}

/* Comparison table */
.comparison {
  width: 100%;
  border-collapse: collapse;
  margin: 15px 0;
}

.comparison th, .comparison td {
  padding: 10px;
  text-align: left;
  border-bottom: 1.4px solid #ddd;
}

.comparison th {
  font-weight: 600;
  color: #7f8c8d;
}

.game-1, .game-2 {
  color: #fff;
  font-weight: 700;
}

.score {
  font-weight: 700;
  color: #fff;
}

/* Stars rating */
.stars {
  display: flex;
  gap: 5px;
  align-items: center;
  margin: 10px 0;
}

.star {
  font-size: 22px;
  cursor: pointer;
  color: #ca9b01;
}

.star.active {
  color: #e08c06;
}

.score {
  margin-left: auto;
  font-weight: 700;
}

/* Vote section */
.vote {
  display: flex;
  gap: 10px;
  align-items: center;
}

.vote button {
  padding: 10px 15px;
  border: none;
  border-radius: 6px;
  background-color: #3498db;
  color: white;
  font-weight: 600;
  cursor: pointer;
}

.vote-count {
  margin-left: auto;
  color: #7f8c8d;
}

/* Comments */
.comment {
  display: grid;
  gap: 10px;
  margin-top: 15px;
}

.comment input,
.comment textarea {
  width: 97%;
  padding: 10px;
  border: 1.5px solid #fff;
  border-radius: 6px;
  font-family: inherit;
  background-color: #333;
  color: #ffffff;
}

.comment textarea {
  min-height: 80px;
  resize: vertical;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-actions button {
  padding: 10px 15px;
  background-color: #3498db;
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
}

.form-note {
  font-size: 13px;
  color: #7f8c8d;
}

.comment-list {
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #ffffff;
  font-size: 15px;
  font-family: 'Rajdhani', sans-serif;
}

.comment-item {
  padding: 12px;
  background-color: #333;
  border-radius: 6px;
  border: 1px solid #ddd;
}

.comment-item strong {
  color: #3498db;
}

/* Buttons */
.vote-btn {
  display: inline-block;
  padding: 10px 15px;
  background-color: #3498db;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
}

/* Footer */
footer {
  margin: 30px 0;
  text-align: center;
  color: #7f8c8d;
  font-size: 13px;
}

/* Judgement section */
.judge {
  margin-top: 20px;
  text-align: justify;
}