:root {
  --p-color: #71cde0;
}

/* ========================= PRIMARY COLOR STYLES ========================= */

/* SVG fill */
.discord-text .st0,
.status-text path,
.discord-icon .st0,
.status-icon path {
  fill: var(--p-color) !important;
}

/* Text color */
.swal2-icon.swal2-info,
.cobalt-update-box .update-icon,
.header-theme,
.news-title,
.top-text,
.error-title,
.lr-title,
.p-icon,
.theme-text,
.other-btn:after,
.other-btn:focus:after,
.footer-text-header:after,
.widget-header-txt:after,
.discord-text .icon:after,
.status-text .icon:after,
.dropdown-item.d-header,
.rules-menu .active span,
.rules-menu .active i,
.welcome-title,
.profile-tabs-new .profile-nav-link.active {
  color: var(--p-color) !important;
}

css.guide-img {
    transition: opacity 0.3s ease;
}

.guide-img.hidden {
    display: none;
}
a,
a:hover,
a:focus,
.mcs-server-name {
  color: var(--p-color);
}

/* Background overlays */
.color-overlay {
  background: linear-gradient(var(--p-color), #101010);
}

/* Borders */
.swal2-icon.swal2-info,
.page-item.active .page-link,
.user-nav-link.active,
.profile-about-box,
.rules-menu-link.active {
  border-color: var(--p-color) !important;
}

/* Background color elements */
.swal2-styled.swal2-confirm,
.widget-header-txt:after,
.discord-text .icon:after,
.status-text .icon:after,
.nav-link.store-link,
.footer-text-header:after,
.badge-theme,
#toast-container,
.progress-bar,
.login-overlay,
.register-overlay,
.vote-tabs .btn.btn-theme.active,
.p-color-overlay,
.modal-header,
.btn-theme,
.button-checkbox > .active,
.spoiler .spoiler-toggle,
.spoiler .spoiler-title,
.page-item.active .page-link,
.btn.profile-btn.active:after,
.cc-window.cc-floating .cc-highlight .cc-btn.cc-allow,
.referrals .copy-text button {
  background-color: var(--p-color) !important;
}

/* Hover effects */
.swal2-styled.swal2-confirm:hover,
.spoiler .spoiler-toggle:hover,
.spoiler .spoiler-title:hover,
.btn-theme:hover {
  background-color: var(--p-color) !important;
  filter: brightness(0.85);
}

/* Border color overrides */
.wiki-menu .active.dropdown-toggle::after,
.profile-tabs-new .profile-nav-link.active {
  border-top-color: var(--p-color) !important;
  border-bottom-color: var(--p-color) !important;
}

/* ========================= HEADER STYLES ========================= */

.header:after {
  height: 227.5px;
  background: linear-gradient(rgba(0, 0, 0, 0.3), transparent);
}

.header:before {
  background: linear-gradient(rgba(0, 0, 0, 0.3), #101010);
}

.header {
  background-position: center center !important;
}

/* ========================= STATUS / DISCORD TEXTS ========================= */

.status-text,
.discord-text {
  margin-top: 203.5px;
}

@media (max-width: 1050px) {
  .status-box-container .text,
  .discord-box-container .text {
    display: none;
  }
}

/* ========================= OTHER COMPONENTS ========================= */

.line-scale > div {
  background-color: #ffffff;
}

/* Background images */
.webp .header {
  background: url("../../uploads/background.webp")
    no-repeat;
}

.no-webp .header {
  background: url("../../uploads/background.webp") no-repeat;
}

/* Navbar highlight */
.navbar-bottom .store-link:after,
.navbar-bottom .store-link:focus:after,
.navbar-top-new .store-link:after,
.navbar-top-new .store-link:focus:after {
  box-shadow: 0 0 12px 0 var(--p-color);
}

/* Store box */
.p-image-frame {
  z-index: 1;
  opacity: 0.7;
}

.store-box {
  border: 3px solid var(--p-color);
  box-shadow: 0 0 10px rgb(250 73 73 / 50%);
}

.webp .store-box,
.no-webp .store-box {
  background: linear-gradient(
    to bottom,
    rgba(250, 73, 73, 0.7),
    rgba(250, 73, 73, 0.7)
  );
}

/* ========================= JOIN GUIDE ========================= */

.join-guide {
  margin-top: 1em;
  color: #f5f5f5;
  font-family: "Montserrat", sans-serif;
  letter-spacing: 0.3px;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.join-guide h2 {
  font-weight: 700;
  font-size: 2.2rem;
  color: #ffcb6b;
  text-shadow: 0 0 12px rgba(255, 203, 107, 0.3);
  margin-bottom: 1.5rem;
}

.join-guide .btn-group .btn {
  font-weight: 600;
  font-size: 1.05rem;
  border: none;
  padding: 0.6rem 1.3rem;
  border-radius: 8px;
  margin: 0 5px;
  transition: all 0.25s ease;
}

.join-guide .btn-group .btn:first-child {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.join-guide .btn-group .btn:last-child {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.join-guide .btn-primary {
  background-color: #007bff; /* blue background for active PC */
  color: #fff;
  box-shadow: 0 0 12px rgba(0, 123, 255, 0.6);
  border-radius: 8px;
}

.join-guide .btn-primary:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
}

.join-guide .btn-primary:not(.active) {
  background-color: #2e2e2e; /* gray background for inactive PC */
  color: #dcdcdc;
  box-shadow: none;
  transform: none;
}

.join-guide .btn-secondary {
  background-color: #2e2e2e; /* gray background for inactive PE */
  color: #dcdcdc;
  box-shadow: none;
  transform: none;
  border-radius: 8px;
}

.join-guide .btn-secondary:hover {
  background-color: #3a3a3a;
}

.join-guide .btn-secondary.active {
  background-color: #ffcb6b !important; /* yellow background for active PE */
  color: #1a1a1a !important;
  box-shadow: 0 0 12px rgba(255, 203, 107, 0.6) !important;
  transform: translateY(-2px);
}

.join-guide img {
  max-width: 750px !important;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.join-guide img:hover {
  transform: scale(1.02);
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.1);
}

/* ========================= RESPONSIVE ========================= */

@media (max-width: 768px) {
  .header {
    height: 340px;
  }

  .logo {
    height: 130px;
    margin-top: 85px;
  }

  .join-guide {
    margin-top: 10em;
  }

  .join-guide img {
    max-width: 350px !important;
  }
}

@media (min-width: 769px) {
  .header {
    height: 60vh;
  }

  .logo {
    height: 200px;
    margin-top: 122.5px;
  }
}

/* VOTE */

body {
  background-color: #0d0d0d;
  color: #fff;
  font-family: "Montserrat", sans-serif;
}

.container h1 {
  font-weight: 700;
  color: #fa4949;
}
.vote-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 25px;
  transition: transform 0.2s;
}
.vote-card:hover {
  transform: scale(1.03);
}
.vote-btn {
  background-color: #fa4949;
  border: none;
  color: #000;
  font-weight: 600;
  transition: 0.2s;
}
.vote-btn:hover {
  background-color: #fa4949;
}
.reward-box {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  margin-top: 50px;
  text-align: center;
}
footer {
  text-align: center;
  color: #aaa;
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 60px;
}
