/* Body */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  color: white;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Background */
.background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('https://customer-assets.emergentagent.com/job_vote-among/artifacts/yew4hpl0_bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

/* Overlay */
.overlay {
  position: fixed;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(0,0,0,0.25), rgba(0,0,0,0.6)), 
              linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.5));
  top: 0;
  left: 0;
  z-index: 1;
}

/* Particles Canvas */
#particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Content */
.content {
  position: relative;
  z-index: 2;
  padding-top: 120px;
  text-align: center;
  padding-bottom: 120px;
}

/* Logo */
.logo {
  width: 260px;
  margin-bottom: 20px;
  animation: floatLogo 4s ease-in-out infinite;
  filter: drop-shadow(0 0 10px rgba(34,197,94,0.4));
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
}

/* Title */
h1 {
  font-size: 42px;
  margin-bottom: 10px;
  font-weight: bold;
}

.subtitle {
  color: #aaa;
  margin-bottom: 40px;
  font-size: 16px;
}

/* Player count and IP text container (same line) */
.player-ip-container {
  display: flex;
  justify-content: center;  /* Aliniază elementele pe mijlocul containerului */
  align-items: center;
  gap: 20px; /* Spațiu între cele două secțiuni */
  margin-top: 20px;
}

/* Common box for both Player count and IP section */
.common-box {
  padding: 10px 20px;
  background-color: rgba(0, 0, 0, 0.5); /* Fundal similar */
  border-radius: 8px;
  margin-top: 0;
  margin-bottom: 0;
  display: inline-block; /* Asigură că secțiunea rămâne pe aceeași linie */
  font-size: 18px;
  color: white;
  font-weight: bold;
  text-align: center;
}

/* Player count text style */
#player-count-text {
  font-size: 18px;
  color: white;
  font-weight: bold;
  display: inline-block;
}

/* IP Section text style */
.ip-text {
  cursor: pointer;
  color: #22c55e;
  font-weight: bold;
  display: inline-block;
}

/* Spacer for better distance */
.spacer {
  margin-top: 40px; /* Adjust space */
}

/* Buttons Container */
.buttons-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* Buttons */
.buttons {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 60px;
  padding: 0 20px;
}

/* Vote Box / Card */
.vote-box {
  background: rgba(0, 0, 0, 0.6);
  padding: 25px;
  border-radius: 16px;
  width: 220px;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.1);
  transition: 0.25s;
  cursor: pointer;
}

.vote-box:hover {
  transform: translateY(-5px) scale(1.03);
  background: rgba(0, 0, 0, 0.75);
}

.card-content {
  text-align: center;
}

.card-icon {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 20px;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
}

.card-title {
  font-size: 20px;
  margin-bottom: 15px;
  color: white;
  font-weight: 600;
}

.card-description {
  font-size: 14px;
  margin-bottom: 15px;
  color: #aaa;
}

.card-button {
  display: inline-block;
  background: linear-gradient(45deg, #22c55e, #4ade80);
  padding: 12px 20px;
  border-radius: 10px;
  color: black;
  font-weight: bold;
  transition: 0.25s;
  cursor: pointer;
}

.card-button:hover {
  background: linear-gradient(45deg, #16a34a, #22c55e);
  transform: scale(1.05);
}

/* About Section */
.about-section {
  max-width: 800px;
  margin: 0 auto 60px;
  padding: 30px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 16px;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.1);
}

.about-section h2 {
  font-size: 32px;
  margin-bottom: 20px;
  font-weight: bold;
}

.about-text {
  color: #aaa;
  font-size: 16px;
  line-height: 1.6;
  text-align: left;
}

.about-text p {
  margin-bottom: 15px;
}

.about-text p:last-child {
  margin-bottom: 0;
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  color: #666;
  font-size: 14px;
  position: relative;
  z-index: 2;
  margin-bottom: 100px;
}