.play-overlay-center {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffd700;
  font-size: 2.7rem;
  background: rgba(10,23,78,0.55);
  border-radius: 10px 10px 0 0;
  pointer-events: none;
  z-index: 2;
}

/* Modal for video playback */
#video-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10,23,78,0.85);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
#video-modal.show {
  opacity: 1;
  pointer-events: auto;
}
.modal-backdrop {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: transparent;
}
.modal-content {
  position: relative;
  background: #0a174e;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(1,0,102,0.25);
  padding: 0;
  width: 90vw;
  max-width: 640px;
  height: 48vw;
  max-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-close-btn {
  position: absolute;
  top: 10px;
  right: 16px;
  background: #ffd700;
  color: #0a174e;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 1.3rem;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(1,0,102,0.10);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.modal-close-btn:hover {
  background: #dc143c;
  color: #fff;
}
/* Play button for video card */
.play-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: linear-gradient(90deg, #010066 60%, #ffd700 100%);
  color: #fff;
  border: none;
  border-radius: 0 0 10px 10px;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 0.5rem 0;
  cursor: pointer;
  margin: 0;
  transition: background 0.2s, color 0.2s;
}
.play-btn:hover {
  background: linear-gradient(90deg, #ffd700 0%, #dc143c 100%);
  color: #010066;
}

.vote-btn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 1px;
  height: 44px;
  min-height: 44px;
  padding: 0;
}
.vote-btn span {
  width: 100%;
  text-align: center;
  line-height: 1;
}
/* Modern video card grid */
.video-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 1.5rem;
}
.video-card {
  background: rgba(255,255,255,0.18);
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(1,0,102,0.10);
  width: 220px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  transition: transform 0.15s, box-shadow 0.15s;
}
.video-card:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 8px 32px rgba(1,0,102,0.18);
}
.video-thumb {
  position: relative;
  cursor: pointer;
}
.play-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(1,0,102,0.18);
  color: #ffd700;
  font-size: 2.5rem;
  border-radius: 10px 10px 0 0;
  opacity: 0.85;
  pointer-events: none;
}
.video-card-content {
  padding: 1rem 1rem 1.2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(10,23,78,0.92);
  color: #fff;
}
.video-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffd700;
  margin-bottom: 0.7rem;
  text-align: center;
  text-shadow: 1px 1px 6px #000, 0 0 2px #0a174e;
}
.vote-btn {
  background: linear-gradient(90deg, #010066 60%, #ffd700 100%);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.5rem 1.2rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(1,0,102,0.10);
  transition: background 0.2s, color 0.2s;
}
.vote-btn:hover {
  background: linear-gradient(90deg, #ffd700 0%, #dc143c 100%);
  color: #010066;
}
body {
  font-family: 'Segoe UI', Arial, sans-serif;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: url('./img/WEB-BANNER.png') center center/cover no-repeat fixed;
  color: #fff;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('data:image/svg+xml;utf8,<svg width="100%25" height="100%25" viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="30" fill="%23ffd700"/><path d="M 50 20 A 30 30 0 1 1 20 50" fill="none" stroke="%23010066" stroke-width="8"/><polygon points="60,50 65,60 75,60 67,67 70,77 60,71 50,77 53,67 45,60 55,60" fill="%23ffd700"/></svg>');
  opacity: 0.08;
  z-index: 0;
  pointer-events: none;
}


.glass-card {
  background: transparent;
  border-radius: 18px;
  box-shadow: 0 4px 18px 0 rgba(31,38,135,0.13);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1.2px solid rgba(255,255,255,0.18);
  margin: 1.1rem auto 0.7rem auto;
  padding: 0.7rem 0.5rem 0.5rem 0.5rem;
  max-width: 600px;
  width: 99vw;
  text-align: center;
}

h1 {
  color: #ffd700;
  text-shadow: 2px 2px 8px #010066, 0 0 4px #dc143c;
  margin-bottom: 1.5rem;
  letter-spacing: 2px;
  font-size: 2.2rem;
  font-weight: 700;
}

button {
  padding: 0.5rem 1.2rem;
  font-size: 1.1rem;
  background: linear-gradient(90deg, #010066 60%, #ffd700 100%);
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(1,0,102,0.15);
  margin: 0 0.3rem;
  transition: background 0.2s;
}
button:hover {
  background: linear-gradient(90deg, #ffd700 0%, #dc143c 100%);
  color: #010066;
}


#videoContainer, #voteSection {
  background: rgba(255,255,255,0.22);
  border-radius: 16px;
  padding: 1.2rem 1rem;
  margin-bottom: 1.2rem;
  box-shadow: 0 2px 16px rgba(1,0,102,0.10);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}


input[type="text"] {
  padding: 0.7rem 1rem;
  border-radius: 8px;
  border: 1.5px solid #ffd700;
  font-size: 1.1rem;
  width: 70%;
  margin-right: 0.5rem;
  background: rgba(255,255,255,0.7);
  color: #222;
  box-shadow: 0 1px 4px rgba(1,0,102,0.07);
}

label[for="videoUrl"] {
  color: #ffd700;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  display: block;
}

#status {
  margin-top: 1rem;
  font-weight: bold;
  color: #ffd700;
  text-shadow: 1px 1px 4px #010066;
  font-size: 1.1rem;
}
