* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #1a1a1a;
  color: #fff;
}

.video-header {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.header-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.header-overlay {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  padding: 20px;
}

.logo {
  width: 150px;
  height: auto;
  margin-bottom: 15px;
}

.server-ip {
  background: #b514f7;
  padding: 10px 25px;
  border-radius: 5px;
  font-size: 1.2em;
  font-weight: bold;
  margin-bottom: 20px;
  font-family: monospace;
  cursor: pointer;
  transition: background 0.3s;
}

.server-ip:hover {
  background: #9110c6;
}

.top-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-link {
  color: #fff;
  text-decoration: none;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  transition: background 0.3s;
}

.nav-link:hover, .nav-link.active {
  background: rgba(255, 255, 255, 0.4);
}

.content {
  padding: 40px 20px;
  min-height: calc(100vh - 400px);
}

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

.container h1 {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #b514f7;
}

.container p {
  font-size: 1.2em;
  color: #ccc;
}

.site-footer {
  background: #111;
  padding: 40px 20px;
  margin-top: auto;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-section {
  text-align: center;
}

.footer-section h3 {
  color: #b514f7;
  margin-bottom: 15px;
  font-size: 1.2em;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  color: #fff;
  text-decoration: none;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  transition: background 0.3s;
}

.social-links a:hover {
  background: rgba(255, 255, 255, 0.2);
}

.footer-section p {
  color: #ccc;
  margin-bottom: 10px;
}

.disclaimer {
  font-size: 0.9em;
  color: #888;
}

.entry-content p {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #ccc;
  text-align: left;
}

.wp-block-image {
  margin: 20px 0;
}

.wp-block-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.entry-content ol, .entry-content ul {
  text-align: left;
  margin: 20px 0;
  padding-left: 30px;
  color: #ccc;
  line-height: 1.6;
}

.entry-content li {
  margin-bottom: 10px;
}

.entry-content h2 {
  color: #b514f7;
  margin-top: 30px;
  margin-bottom: 15px;
  font-size: 1.8em;
}

.entry-content strong {
  color: #fff;
}

.vote-links {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 30px;
  align-items: center;
}

.vote-button {
  display: inline-block;
  background: #b514f7;
  color: #fff;
  text-decoration: none;
  padding: 15px 30px;
  border-radius: 5px;
  font-size: 1.2em;
  font-weight: bold;
  transition: background 0.3s;
  min-width: 300px;
  text-align: center;
}

.vote-button:hover {
  background: #9110c6;
}

.rules-accordion {
  margin-top: 20px;
}

.rules-accordion .accordion-btn {
  width: 100%;
  background: #2a2a2a;
  color: #fff;
  border: 1px solid #333;
  padding: 15px 20px;
  font-size: 1.1em;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  text-align: left;
  cursor: pointer;
  border-radius: 5px;
  margin-bottom: 2px;
  transition: background 0.3s, border-color 0.3s;
  position: relative;
  padding-right: 40px;
}

.rules-accordion .accordion-btn:hover {
  background: #333;
  border-color: #b514f7;
}

.rules-accordion .accordion-btn::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2em;
  color: #b514f7;
  transition: transform 0.3s;
}

.rules-accordion .accordion-btn.active::after {
  transform: translateY(-50%) rotate(45deg);
}

.rules-accordion .accordion-content {
  background: #222;
  border: 1px solid #333;
  border-top: none;
  border-radius: 0 0 5px 5px;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  padding: 0 20px;
  color: #ccc;
  line-height: 1.6;
}

.rules-accordion .accordion-content.open {
  max-height: 100000px;
  padding: 15px 20px;
}

.rules-accordion .accordion-content.open {
  padding: 15px 20px;
}

.rules-accordion .accordion-content p {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 15px;
  color: #ccc;
  text-align: left;
}

.rules-accordion .accordion-content ol,
.rules-accordion .accordion-content ul {
  text-align: left;
  margin: 15px 0;
  padding-left: 30px;
  color: #ccc;
  line-height: 1.6;
}

.rules-accordion .accordion-content li {
  margin-bottom: 10px;
}

.rules-accordion .accordion-content strong {
  color: #fff;
}

.rules-accordion .accordion-content h5,
.rules-accordion .accordion-content h6 {
  color: #b514f7;
  margin-top: 20px;
  margin-bottom: 10px;
}

.rules-accordion .accordion-content.open {
  max-height: 500px;
  padding: 15px 20px;
}

.rules-accordion .accordion-content p {
  margin: 0;
  color: #ccc;
  text-align: left;
  line-height: 1.6;
}
