@charset "UTF-8";
/*
    Colours
*/
/*
    Sizes
*/
/*
    Screen Sizes
*/
:root {
  color-scheme: light;
  forced-color-adjust: none;
}

body {
  background: url("/images/backgrounds/galaxy.jpg") no-repeat center center fixed;
  background-size: cover;
  margin: 0px;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

.main-container {
  display: flex;
  justify-content: center;
  padding: 15px;
  margin: auto;
  max-width: 1440px;
  width: 100%;
  gap: 15px;
  flex-direction: column;
  align-items: center;
}
.main-container > * {
  width: 100%;
  max-width: 1140px;
}
.main-container > h1 {
  text-align: center;
}

.page {
  padding-top: 65px;
}

span,
a,
p,
h1, h2, h3, h4, h5 {
  color: white;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.btn {
  padding: 12px;
  color: #fff;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.btn--primary {
  background-color: #007bff;
}
.btn--primary:hover {
  opacity: 0.8;
  color: white;
}
.btn--danger {
  background-color: #c10000;
}
.btn--danger:hover {
  opacity: 0.8;
  color: white;
}
.btn--success {
  background-color: #16a34a;
}
.btn--success:hover {
  opacity: 0.8;
  color: white;
}

.privacy-container {
  display: flex;
  justify-items: center;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.row {
  margin-top: 10px;
}

.d-flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.h-fill {
  height: 100%;
}

.checkbox-container {
  display: flex;
  align-items: center;
  font-family: Arial, sans-serif;
  font-size: 16px;
  gap: 8px;
  flex-direction: column;
}

/* Hide the default checkbox */
.checkbox-container input[type=checkbox] {
  display: none;
}

/* Custom checkbox style */
.custom-checkbox {
  width: 18px;
  height: 18px;
  border: 2px solid #555;
  border-radius: 4px;
  display: inline-block;
  position: relative;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

/* Checkmark */
.custom-checkbox::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 5px;
  width: 4px;
  height: 9px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  opacity: 0;
  transition: opacity 0.2s ease;
}

/* Checked state */
input[type=checkbox]:checked + .custom-checkbox {
  background-color: #007BFF;
  border-color: #007BFF;
}

input[type=checkbox]:checked + .custom-checkbox::after {
  opacity: 1;
}

.no-results {
  display: flex;
  width: 100%;
  text-align: center;
  justify-content: center;
  height: 200px;
  align-items: center;
  font-size: 20px;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  height: 65px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  background: linear-gradient(90deg, rgb(0, 46, 91), rgb(0, 75, 150));
  z-index: 999;
  position: fixed;
  width: 100%;
}

.nav-links {
  display: flex;
  gap: 1rem;
  z-index: 999;
}
.nav-links a {
  position: relative; /* Required for the ::after positioning */
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background-color: #ffd600;
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.logo {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: bold;
  font-size: 1.5rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}
.logo-icon {
  background-color: #ffffff;
  color: rgb(0, 46, 91);
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  font-size: 1rem;
  z-index: 2;
  white-space: nowrap;
}
.logo-scout {
  position: relative;
  display: inline-block;
  transform: translateX(-100%);
  opacity: 0;
  animation: scout-slide 1.2s ease-out forwards;
  animation-delay: 0.5s;
  z-index: 1;
  white-space: nowrap;
}

@keyframes scout-slide {
  to {
    transform: translateX(0%);
    opacity: 1;
  }
}
/* Hide hamburger on desktop */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  gap: 5px;
}
.hamburger .bar {
  width: 25px;
  height: 3px;
  background-color: white;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger.active .bar:nth-child(1) {
  transform: rotate(46deg) translate(6px, 6px);
}

.hamburger.active .bar:nth-child(2) {
  opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
  transform: rotate(-48deg) translate(6px, -6px);
}

/* Responsive styles */
@media only screen and (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 65px; /* height of navbar */
    right: 0;
    background-color: rgba(0, 46, 91, 0.95);
    height: calc(100vh - 60px);
    width: 100%;
    flex-direction: column;
    padding: 2rem 1rem;
    gap: 1rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    border-radius: 0 0 0 10px;
  }
  .nav-links.active {
    transform: translateX(0%);
  }
  /* Show hamburger on mobile */
  .hamburger {
    display: flex;
  }
}
.footer {
  /* Keep your existing footer styles */
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: linear-gradient(90deg, rgba(0, 46, 91, 0.95), rgba(0, 75, 150, 0.85));
  margin-top: auto;
}
.footer__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex: 1;
}
.footer .logo {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: bold;
  font-size: 1.5rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
}
.footer .logo-icon {
  background-color: #ffffff;
  color: rgb(0, 46, 91);
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  font-size: 1rem;
  z-index: 2;
  white-space: nowrap;
}
.footer .logo-scout {
  position: relative;
  display: inline-block;
  transform: translateX(-100%);
  opacity: 0;
  animation: scout-slide 1.2s ease-out forwards;
  animation-delay: 0.5s;
  z-index: 1;
  white-space: nowrap;
}
.footer-nav {
  display: flex;
  gap: 1rem;
}
.footer-nav__link a {
  position: relative; /* Required for the ::after positioning */
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

@keyframes scout-slide {
  to {
    transform: translateX(0%);
    opacity: 1;
  }
}
.developer {
  color: white;
}

@media only screen and (max-width: 440px) {
  .footer__container {
    flex-direction: column;
  }
}
.pagination-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 2rem;
  padding: 12px 20px;
  border-radius: 12px;
}

.pagination-btn,
.page-btn {
  border: none;
  padding: 8px 14px;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.05);
  color: white;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(2px);
}

.pagination-btn:hover,
.page-btn:hover {
  background-color: rgba(0, 46, 91, 0.4);
  box-shadow: 0 0 8px rgba(0, 46, 91, 0.5);
  transform: translateY(-1px);
}

.page-btn.active {
  background-color: rgba(0, 130, 255, 0.4);
  color: white;
  box-shadow: 0 0 12px rgba(0, 46, 91, 0.8);
}

.ellipsis {
  padding: 8px 10px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  user-select: none;
}

.search-bar__container {
  background: rgb(0, 75, 150);
  padding: 25px;
  border-radius: 12px;
  max-width: 600px;
  width: 100%;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.search-bar__container h2 {
  color: #fff;
  margin: 0;
  font-size: 24px;
  text-align: center;
}
.search-bar__container .input-row {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.search-bar__container .input-row-with-warning {
  flex-direction: column;
  gap: 5px;
}
.search-bar__container .input-row-with-warning small {
  color: #ffd600;
}
.search-bar__container .input-group {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.full-width {
  width: 100%;
}

label {
  color: #eee;
  margin-bottom: 6px;
  font-weight: 500;
}

.form-field {
  padding: 10px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  outline: none;
  background: #f0f0f0;
}

.form-field:focus {
  background: #fff;
  border: 1px solid #007bff;
}

.header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.toggle-btn {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s ease;
}

.toggle-btn:hover {
  background-color: #0060c0;
}

.nav-content {
  transition: max-height 0.3s ease, opacity 0.3s ease;
  overflow: hidden;
}
.nav-content .error {
  color: #ffd600;
  font-weight: bold;
}
.nav-content .error__container {
  text-align: center;
  padding: 10px;
}

.submit-container {
  display: flex;
}

.submit-container button {
  width: 100%;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 6px solid #eee;
  border-top: 6px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: auto;
}
.spinner-container {
  text-align: center;
  gap: 10px;
  display: flex;
  flex-direction: column;
}
.spinner-container .typewriter {
  color: white;
  white-space: nowrap;
  overflow: hidden;
  height: 30px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.search-result-info {
  color: #ffd600;
  font-weight: bold;
  text-transform: uppercase;
  text-align: center;
}

.player-tile {
  width: 350px;
  height: 250px;
  perspective: 1000px;
  flex: 0 0 auto;
  /* Front face */
  /* Glimmer */
}
.player-tile.withCTA {
  height: 275px;
}
.player-tile-container {
  background: rgba(154, 180, 255, 0.15);
  border-radius: 5px;
  flex-wrap: wrap;
  width: 100%;
  padding: 15px;
  display: flex;
  gap: 15px;
  max-width: 1140px;
  justify-content: center;
}
.player-tile-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s ease;
  transform-style: preserve-3d;
  cursor: pointer;
}
.player-tile-inner.flipped {
  transform: rotateY(180deg);
}
.player-tile-inner .pop-over {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 2;
  background: red;
  display: none;
  background: linear-gradient(rgba(76, 72, 217, 0.5), rgba(255, 255, 255, 0.5)), url("https://media.istockphoto.com/id/482030962/photo/background-texture-of-rough-asphalt.jpg?s=612x612&w=0&k=20&c=lvOYqEZtrFKa9eDGwM7WNg9aF_vRWOsdEeGcldw89Ow=");
  flex-direction: column;
  /* For WebKit browsers (Chrome, Safari, Edge) */
  /* For Firefox */
}
.player-tile-inner .pop-over__container {
  display: flex;
  flex: 1;
  flex-direction: column;
  height: 100%;
  gap: 15px;
  width: 100%;
}
.player-tile-inner .pop-over__header {
  display: flex;
  justify-content: space-between;
  padding: 10px;
  background: rgb(0, 75, 150);
}
.player-tile-inner .pop-over__leads {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 15px;
  height: 100%;
  text-align: center;
}
.player-tile-inner .pop-over__leads .stat .value {
  max-height: 150px;
  overflow-y: auto;
}
.player-tile-inner .pop-over::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.5); /* Black overlay with 50% opacity */
  z-index: -1; /* Put the overlay behind the text */
  display: flex;
  flex-direction: column;
}
.player-tile-inner .pop-over.show {
  display: flex;
}
.player-tile-inner .pop-over ul {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
  width: 100%;
}
.player-tile-inner .pop-over ul li {
  width: 100%;
  padding: 4px;
  margin-bottom: 10px;
  border-bottom: 1px solid lightgrey;
}
.player-tile-inner .pop-over .close {
  text-align: end;
}
.player-tile-inner .pop-over ::-webkit-scrollbar {
  width: 6px; /* Thin scrollbar */
}
.player-tile-inner .pop-over ::-webkit-scrollbar-track {
  background: transparent; /* Hide track for minimal look */
}
.player-tile-inner .pop-over ::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.3); /* Semi-transparent thumb */
  border-radius: 3px; /* Rounded corners */
}
.player-tile-inner .pop-over ::-webkit-scrollbar-thumb:hover {
  background-color: rgba(0, 0, 0, 0.5); /* Slightly darker on hover */
}
.player-tile-inner .pop-over * {
  scrollbar-width: thin; /* Thin scrollbar */
  scrollbar-color: rgba(0, 0, 0, 0.3) transparent; /* Thumb color + track */
}
.player-tile-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.player-tile-right .top .guildleads-container {
  margin-top: 10px;
  display: flex;
  justify-content: center;
}
.player-tile-left {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.player-tile-left__info {
  display: flex;
  flex-direction: column;
}
.player-tile-left__ctas {
  display: flex;
  gap: 15px;
  margin-top: auto;
}
.player-tile__noresponse {
  margin-left: auto;
  margin-right: 10px;
}
.player-tile .player-tile-back::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.5); /* Black overlay with 50% opacity */
  z-index: -1; /* Put the overlay behind the text */
  display: flex;
  flex-direction: column;
}
.player-tile .player-tile-left__top,
.player-tile .player-tile-left__bottom {
  display: flex;
  flex-direction: column;
}
.player-tile .player__name {
  font-size: 20px;
}
.player-tile .player__name i {
  font-size: 12px;
  padding-left: 5px;
  position: absolute;
}
.player-tile .player__name i.leader {
  color: #ffd600;
}
.player-tile .player__name i.officer {
  color: white;
}
.player-tile .player__allycode, .player-tile .player__level {
  color: #aaa;
}
.player-tile .player__gp strong,
.player-tile .player__gls strong,
.player-tile .player__active strong,
.player-tile .player__allycode strong,
.player-tile .player__level strong,
.player-tile .player__timezone strong {
  margin-right: 5px;
  color: white;
}
.player-tile .player__gac__icon {
  z-index: 1;
  position: absolute;
  left: -100px;
  max-height: 200px;
  opacity: 0.5;
}
.player-tile .player__gac__div {
  z-index: 2;
  position: absolute;
  left: -35px;
  max-height: 75px;
  opacity: 0.5;
}
.player-tile .guild__name {
  color: lightgrey;
  font-size: 15px;
}
.player-tile .player-tile-front,
.player-tile .player-tile-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 5px;
  overflow: hidden;
  color: white;
  display: flex;
  padding: 15px;
  box-sizing: border-box;
}
.player-tile .player-tile-front {
  background-image: linear-gradient(to bottom, rgba(155, 155, 155, 0.5), rgba(155, 155, 155, 0.5)), url(https://preview.redd.it/lbzeaws57m061.png?width=640&crop=smart&auto=webp&s=49987abcf97ca3027f465328c898e1c4fcbfccf9);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  justify-content: space-between;
  cursor: pointer;
  z-index: 2;
}
.player-tile .player-tile-front:hover {
  box-shadow: 0 0 12px 4px rgba(0, 255, 255, 0.6);
}
.player-tile .player-tile-front::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0.2) 100%);
  transform: skewX(-25deg);
}
.player-tile .player-tile-front:hover::after {
  animation: glimmer 1s ease-in-out;
}
.player-tile-back {
  background: linear-gradient(rgba(76, 72, 217, 0.5), rgba(255, 255, 255, 0.5)), url("https://media.istockphoto.com/id/482030962/photo/background-texture-of-rough-asphalt.jpg?s=612x612&w=0&k=20&c=lvOYqEZtrFKa9eDGwM7WNg9aF_vRWOsdEeGcldw89Ow=");
  transform: rotateY(180deg);
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: unset !important;
}
.player-tile-back span {
  z-index: 4;
}
.player-tile-back .player-back__container {
  display: flex;
  flex: 1;
  flex-direction: column;
  height: 100%;
  gap: 15px;
  width: 100%;
}
.player-tile-back .player-back__header {
  display: flex;
  justify-content: space-between;
  padding: 10px;
  background: rgb(0, 75, 150);
}
.player-tile-back .player-back__info {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 15px;
  height: 100%;
}
.player-tile-back .player-back__info .player__toons {
  display: flex;
  justify-content: space-between;
}
.player-tile-back .player-back__info .player__toons .none {
  color: #dc2626;
}
.player-tile-back .player-back__info .player__toons .low {
  color: #f5770b;
}
.player-tile-back .player-back__info .player__toons .average {
  color: #f59e0b;
}
.player-tile-back .player-back__info .player__toons .good {
  color: #16a34a;
}
.player-tile-back .player-back__info .player__toons .high {
  color: #0f7936;
}
.player-tile-back .player-back__info .player__timezone {
  display: flex;
  flex-direction: column;
}
.player__picture {
  width: 50px;
  height: 50px;
}

@keyframes glimmer {
  0% {
    left: -75%;
  }
  100% {
    left: 125%;
  }
}
.danger {
  background: red;
}

.success {
  background: green;
}

.warning {
  background: orange;
}

.probability {
  height: 50px;
  width: 50px;
  color: white;
  font-weight: bold;
  font-size: 14px;
  border-radius: 5px;
  border: solid 3px lightgrey;
  display: flex;
  align-items: center;
  justify-content: center;
}
.probability.high {
  background: #00a700;
}
.probability.very-high {
  background: darkgreen;
}
.probability.low {
  background: red;
}
.probability.normal-high {
  background: #798100;
}
.probability.normal {
  background: orange;
}

.stat {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.19);
  border-radius: 6px;
  overflow: hidden;
}
.stat .label {
  font-size: 12px;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 3px;
  padding: 5px;
  background: rgb(0, 75, 150);
}
.stat .value {
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  padding: 8px;
}

/* Responsive styles */
@media only screen and (max-width: 475px) {
  .player-tile {
    width: 100%;
  }
}
.cookie-banner {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: linear-gradient(90deg, rgb(0, 46, 91), rgba(0, 75, 150, 0.95));
  color: white;
  text-align: center;
  padding: 1rem;
  z-index: 1000;
}

.cookie-banner a {
  color: #ffc107;
  text-decoration: underline;
}

.cookie-banner button {
  margin-left: 1rem;
}

.swgoh-dialog-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.swgoh-dialog {
  background: rgb(0, 75, 150);
  padding: 20px;
  border-radius: 8px;
  width: 80%;
  text-align: left;
  max-width: 600px;
  position: relative;
}

.dialog-buttons {
  float: right;
}
.dialog-buttons button {
  margin: 5px;
  padding: 10px;
}

.dialog-close {
  position: absolute;
  top: 0px;
  right: 0px;
  padding: 16px;
}
.dialog-close:hover {
  cursor: pointer;
}

.swgoh-icon {
  position: relative;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #007bff;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-decoration: none;
}
.swgoh-icon:hover {
  opacity: 0.8;
  color: white;
}
.swgoh-icon:hover .status-icon {
  transform: scale(1.2);
}
.swgoh-icon.active {
  background: #28a745;
}
.swgoh-icon.active:hover {
  background: #228d3a;
}
.swgoh-icon.guildleads {
  background: #16a34a;
}
.swgoh-icon.success {
  background: #16a34a;
}
.swgoh-icon.danger {
  background: #dc2626;
}

.watchlist-icon:hover {
  background-color: rgb(0, 75, 150);
  color: #fff;
}
.watchlist-icon:hover.active:hover {
  background: #228d3a;
}
.watchlist-icon.eye-icon {
  font-size: 14px;
  color: white;
}

.eye-icon {
  font-size: 14px;
  color: white;
}

.status-icon {
  position: absolute;
  top: 0px;
  right: -5px;
  font-size: 14px;
  background: white;
  border-radius: 50%;
  padding: 2px;
  color: #007bff;
  transition: transform 0.3s ease;
  pointer: cursor;
}

.messaged-icon {
  background: #ff5e00;
}
.messaged-icon:hover {
  background: #dd5200;
}

.messaged-container {
  display: flex;
  position: relative;
}

.no-response-icon {
  background: #dc2626;
  width: max-content;
  border: 1px solid white;
  padding: 5px;
  border-radius: 15%;
}
.no-response-icon i {
  margin-right: 5px;
}

.icon-last-messaged {
  background: white;
  color: #16a34a;
  border-radius: 5px;
  font-size: 10px;
  font-weight: bold;
  width: max-content;
  position: absolute;
  padding: 0 3px;
  bottom: -5px;
  left: 60%;
}

.guildlead-icon {
  background: #16a34a;
}

.card-icon {
  height: 40px;
  width: 40px;
  border-radius: 10px;
  overflow: hidden;
  display: block;
}
.card-icon img {
  height: 100%;
  width: 100%;
}

table {
  font-size: small;
  white-space: nowrap;
  background: #001c37;
  text-align: center;
}
table tr, table td, table th {
  border: none;
}
table thead {
  color: #ffd600;
}
table thead tr {
  border-bottom: 2px solid #ffd600;
}
table tbody {
  color: white;
}
table tbody tr {
  border-bottom: 2px solid #8d8d8d;
}
table.watchlist__table tbody td {
  height: 50px;
}
table.watchlist__table tbody .td-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  gap: 10px;
}
table.messagelist__table tbody td {
  height: 50px;
}
table.messagelist__table tbody .td-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  gap: 10px;
}
table.player__table tbody td {
  height: 50px;
}
table.player__table tbody .td-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  gap: 10px;
}
table.alliance__table tbody td {
  height: 50px;
}
table.alliance__table tbody .td-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  gap: 10px;
}
table.alliance__table tbody .td-container.cta__container {
  justify-content: flex-end;
}

@media (max-width: 768px) {
  .alliance__table thead {
    display: none;
  }
  .alliance__table tr {
    display: block;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    padding: 0.75rem;
    border-radius: 8px;
  }
  .alliance__table td {
    display: flex;
    justify-content: space-between;
    padding: 0.35rem 0;
    border: none !important;
    align-items: center;
    height: 100% !important;
    min-height: 50px;
  }
  .alliance__table td::before {
    content: attr(data-label);
    font-weight: bold;
    margin-right: 0.5rem;
  }
  .alliance__table .cta__container {
    justify-content: flex-end;
    gap: 0.5rem;
  }
}
.toggle-switch {
  display: flex;
  gap: 5px;
  align-items: center;
  justify-content: center;
  margin-top: 15px;
}
.toggle-switch .switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 20px;
}
.toggle-switch .switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.toggle-switch .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}
.toggle-switch .slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 0;
  bottom: 4px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
  bottom: 0;
}
.toggle-switch .slider.round {
  border-radius: 34px;
}
.toggle-switch .slider.round:before {
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #16a34a;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(20px);
  -ms-transform: translateX(20px);
  transform: translateX(20px);
}

.guild-tile {
  width: 350px;
  height: 225px;
  perspective: 1000px;
  flex: 0 0 auto;
  /* Front face */
  /* Glimmer */
}
.guild-tile .view-guild__link {
  text-decoration: none;
}
.guild-tile-container {
  background: rgba(154, 180, 255, 0.15);
  border-radius: 5px;
  flex-wrap: wrap;
  width: 100%;
  padding: 15px;
  display: flex;
  gap: 15px;
  max-width: 1140px;
  justify-content: center;
}
.guild-tile-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s ease;
  transform-style: preserve-3d;
  cursor: pointer;
}
.guild-tile-inner.flipped {
  transform: rotateY(180deg);
}
.guild-tile-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.guild-tile-right .top {
  display: inherit;
  flex-direction: column;
  gap: 12px;
}
.guild-tile-left {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.guild-tile-left__info {
  display: flex;
  flex-direction: column;
}
.guild-tile-left__bottom {
  margin-top: auto;
}
.guild-tile-back {
  background: linear-gradient(rgba(76, 72, 217, 0.5), rgba(255, 255, 255, 0.5)), url("https://media.istockphoto.com/id/482030962/photo/background-texture-of-rough-asphalt.jpg?s=612x612&w=0&k=20&c=lvOYqEZtrFKa9eDGwM7WNg9aF_vRWOsdEeGcldw89Ow=");
  transform: rotateY(180deg);
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: unset !important;
}
.guild-tile-back span {
  z-index: 4;
}
.guild-tile-back .guild-back__container {
  display: flex;
  flex: 1;
  flex-direction: column;
  height: 100%;
  gap: 15px;
  width: 100%;
}
.guild-tile-back .guild-back__header {
  display: flex;
  justify-content: space-between;
  padding: 10px;
  background: rgb(0, 75, 150);
}
.guild-tile-back .guild-back__info {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 15px;
  height: 100%;
}
.guild-tile-back .guild-back__stats {
  display: flex;
  flex: 1;
  flex-direction: column;
}
.guild-tile-back .guild-back__stats .stat .value {
  font-size: 12px;
}
.guild-tile .guild-tile-front,
.guild-tile .guild-tile-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 5px;
  overflow: hidden;
  color: white;
  display: flex;
  padding: 15px;
  box-sizing: border-box;
}
.guild-tile .guild-tile-front {
  background-image: linear-gradient(to bottom, rgba(155, 155, 155, 0.5), rgba(155, 155, 155, 0.5)), url("/images/tile-backgrounds/knightfall.png");
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  justify-content: space-between;
  cursor: pointer;
  z-index: 2;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.guild-tile .guild-tile-front:hover {
  box-shadow: 0 0 12px 4px rgba(0, 255, 255, 0.6);
}
.guild-tile .guild-tile-front::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0.2) 100%);
  transform: skewX(-25deg);
}
.guild-tile .guild-tile-front:hover::after {
  animation: glimmer 1s ease-in-out;
}
.guild-tile .guild-tile-back::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.5); /* Black overlay with 50% opacity */
  z-index: -1; /* Put the overlay behind the text */
  display: flex;
  flex-direction: column;
}
.guild-tile .guild-tile-left__top,
.guild-tile .guild-tile-left__bottom {
  display: flex;
  flex-direction: column;
}
.guild-tile .guild__name {
  font-size: 20px;
}
.guild-tile .guild__gp strong {
  margin-right: 5px;
  color: white;
}
.guild-tile .badges .badge {
  font-size: 10px;
}

@keyframes glimmer {
  0% {
    left: -75%;
  }
  100% {
    left: 125%;
  }
}
/* Responsive styles */
@media only screen and (max-width: 475px) {
  .guild-tile {
    width: 100%;
  }
}
.tabs {
  display: flex;
  gap: 30px;
  color: white;
}
.tabs .tab {
  padding: 10px 15px;
  cursor: pointer;
  position: relative;
  transition: color 0.3s;
}
.tabs .tab::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  background-color: #ffd600;
  transition: width 0.3s;
}
.tabs .tab.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  background-color: #ffd600;
  transition: width 0.3s;
  width: 100%;
}
.tabs .tab:hover::after {
  width: 100%;
}

.guild-info__container {
  position: relative;
}
.guild-info__container .badges {
  justify-content: flex-end;
}
.guild-information__container {
  background: #001c37;
  padding: 25px;
  border-radius: 12px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  overflow-x: auto;
}
.guild-information__container hr {
  background: white;
}
.guild-information__container .gl-container {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.guild-information__container .gl-container .not-found {
  color: white;
  font-size: 12px;
}
.guild-information__container .kpi-surface {
  background: none;
}
.guild-information__container .kpi-surface .stat-card.disabled {
  filter: grayscale(80%) brightness(80%);
  pointer-events: none;
}
.guild-information__container .kpi-surface .stat-card.disabled .coming-soon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1rem;
  font-weight: bold;
  color: white;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 1rem 2rem;
  border-radius: 10px;
  text-transform: uppercase;
  text-align: center;
}
.guild-container {
  overflow-x: auto;
}
.guild-container .player__table {
  text-align: left;
}
.guild-container .player__table td i {
  font-size: 12px;
  padding-bottom: 5px;
  padding-left: 5px;
}
.guild-container .player__table td i.leader {
  color: #ffd600;
}
.guild-container .player__table td i.officer {
  color: white;
}
.guild-container .player__table td .td-container {
  justify-content: flex-start;
}

.guild-data {
  text-align: center;
  color: white;
  display: flex;
  justify-content: center;
  gap: 25px;
}

.stat-field {
  display: flex;
  flex-direction: column;
}
.stat-field label {
  font-weight: 300;
  color: #ffd600;
}
.stat-field span {
  font-size: 30px;
}

.scout-card {
  border-radius: 12px;
  width: 100%;
  padding: 15px 10px; /* border thickness */
  background: linear-gradient(90deg, rgb(0, 46, 91), rgb(0, 75, 150)); /* gradient border */
  box-sizing: border-box;
  position: relative;
}
.scout-card__inner {
  background: #fff1dd;
  width: 100%;
  height: 100%;
  border-radius: 6px;
  padding: 12px;
}
.scout-card .logo-container {
  position: absolute;
  bottom: 2px;
  left: 12px;
}
.scout-card .logo-container .logo {
  font-weight: bold;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
}
.scout-card .logo-container .logo-icon {
  background-color: #ffffff;
  color: rgb(0, 46, 91);
  padding: 0 2px;
  border-radius: 6px;
  font-size: 8px;
  z-index: 2;
  white-space: nowrap;
}
.scout-card .logo-container .logo-scout {
  position: relative;
  display: inline-block;
  z-index: 1;
  white-space: nowrap;
  font-size: 8px;
}

.login-outer {
  width: 100%;
  max-width: 750px;
}
.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
}
.login-info ul {
  color: white;
}

/* Responsive styles */
@media only screen and (max-width: 768px) {
  .login-container {
    flex-direction: column;
  }
}
.account-container {
  justify-content: center;
  display: flex;
  gap: 20px;
  max-width: 1200px;
  width: 100%;
}
.account-container .portrait-change__container {
  display: flex;
  padding: 15px;
  background: linear-gradient(90deg, rgb(0, 46, 91), rgb(0, 75, 150));
  margin: 15px 0;
  border-radius: 12px;
  gap: 15px;
}
.account-container .portrait-change__cta-container {
  display: flex;
  flex-direction: column;
}
.account-container .portrait-change__image-container {
  display: flex;
  align-items: center;
}
.account-container .portrait-change__image-container img {
  max-width: 100px;
  max-height: 100px;
}
.account-container .portrait-change__ctas {
  display: flex;
  gap: 15px;
  justify-content: center;
}
.account-container .portrait-change__ctas .btn {
  flex: 1;
}
.account-container .warning {
  color: #ffd600;
  background: none;
  float: left;
  padding-bottom: 15px;
}
.account-outer {
  width: 100%;
  text-align: center;
}
.account-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
  max-width: 750px;
}
.account-inner .swgoh-profile__site-container {
  background: #001c37;
  padding: 15px;
  border-radius: 12px;
}
.account-reasons {
  color: white;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}
.account-info-container {
  width: 100%;
  justify-content: center;
}

.small-container {
  display: flex;
  justify-content: center;
}

.form-group label {
  display: block;
  margin-bottom: 0.25rem;
}

.cta__container button {
  float: right;
}

@media only screen and (max-width: 375px) {
  .account-container .portrait-change__container {
    flex-direction: column;
  }
  .account-container .portrait-change__image-container {
    justify-content: center;
  }
}
@media only screen and (max-width: 425px) {
  .account-container {
    flex-direction: column;
  }
}
.account-sidebar {
  width: 150px;
  background-color: #001c37;
  color: white;
  justify-items: center;
  height: max-content;
}
.account-sidebar ul {
  list-style-type: none;
  padding: 0;
  width: 100%;
}
.account-sidebar a, .account-sidebar button:not(.dropdown-toggle) {
  all: unset;
  color: white;
  text-decoration: none;
  font-weight: 500;
  display: block;
  padding: 15px;
  cursor: pointer;
  width: -webkit-fill-available;
  width: -moz-available;
  width: fill-available;
}
.account-sidebar a:hover, .account-sidebar a:active, .account-sidebar a:focus, .account-sidebar button:not(.dropdown-toggle):hover, .account-sidebar button:not(.dropdown-toggle):active, .account-sidebar button:not(.dropdown-toggle):focus {
  color: white;
  background: rgb(0, 75, 150);
}
.account-sidebar .dropdown-toggle {
  background: rgb(0, 75, 150);
}

.dropdown-toggle {
  all: unset;
  display: none;
  color: white;
  padding: 15px;
  border: none;
  text-align: left;
  cursor: pointer;
  text-decoration: none;
  font-weight: 500;
  text-align: center;
  width: 100%;
}

/* Mobile styles */
@media only screen and (max-width: 425px) {
  .dropdown-toggle {
    display: block;
  }
  .account-sidebar {
    width: 100%;
    overflow-x: hidden;
  }
  .account-sidebar ul {
    display: none;
    flex-direction: column;
    background: #efefef;
    padding: 0;
    margin: 0;
  }
  .account-sidebar ul.show {
    display: flex;
  }
  .account-sidebar ul li {
    list-style: none;
    box-shadow: 0 1px 0 white inset, 0 -1px 0 #d5d5d5 inset;
  }
  .account-sidebar ul li a, .account-sidebar ul li button:not(.dropdown-toggle) {
    color: rgb(0, 75, 150);
  }
}
.swgoh-profile__container .input-row {
  display: flex;
}
.swgoh-profile__container .form-field {
  border-radius: 8px;
}

.watchlist__players {
  background: #001c37;
  border-radius: 12px;
  color: var(--text);
  padding: 1rem;
  margin-top: 20px;
}
.watchlist__players-inner {
  overflow-x: auto;
  width: calc(100vw - 230px);
  max-width: 720px;
  overflow-y: auto;
  max-height: 600px;
}

/* Container that holds your stats */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Individual stat card */
.stat-card {
  background: #f7f8fb;
  border: 1px solid #e6e9ef;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
}

/* Label + value layout */
.stat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: #aaa;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.stat-value {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.1;
  font-weight: 800;
  color: var(--text);
}

/* Optional subtle caption or footnote */
.stat-note {
  margin-top: 0.25rem;
  font-size: 0.85rem;
  color: #aaa;
}

/* Delta / badge (optional) */
.delta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  border: 1px solid #e6e9ef;
  background: white;
  color: black;
  white-space: nowrap;
}

/* Semantic color variants */
.delta.up {
  color: #16a34a;
}

.delta.down {
  color: #dc2626;
}

.delta.warn {
  color: #f59e0b;
}

/* Safe escaped Unicode for SCSS */
.delta.up::before {
  content: "▲";
  font-size: 0.8em;
}

/* ▲ */
.delta.down::before {
  content: "▼";
  font-size: 0.8em;
}

/* ▼ */
.delta.warn::before {
  content: "◆";
  font-size: 0.8em;
}

/* ◆ */
.delta.nochange {
  color: #007bff;
}

.kpi-surface {
  background: #001c37;
  border-radius: 12px;
  color: var(--text);
  padding: 1rem;
}

.stat-card:focus-within {
  outline: 2px solid color-mix(in oklab, #007bff 40%, transparent);
  outline-offset: 2px;
}

.stat-card.is-primary {
  border-color: color-mix(in oklab, #007bff 30%, 12px);
}

/* Responsive styles */
@media only screen and (max-width: 425px) {
  .watchlist__players-inner {
    width: 100%;
  }
}
.messagelist__players {
  background: #001c37;
  border-radius: 12px;
  color: var(--text);
  padding: 1rem;
  margin-top: 20px;
}
.messagelist__players-inner {
  overflow-x: auto;
  width: calc(100vw - 230px);
  max-width: 720px;
  overflow-y: auto;
  max-height: 600px;
}

/* Container that holds your stats */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Individual stat card */
.stat-card {
  background: #f7f8fb;
  border: 1px solid #e6e9ef;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
}

/* Label + value layout */
.stat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: #aaa;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.stat-value {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.1;
  font-weight: 800;
  color: var(--text);
}

/* Optional subtle caption or footnote */
.stat-note {
  margin-top: 0.25rem;
  font-size: 0.85rem;
  color: #aaa;
}

/* Delta / badge (optional) */
.delta, .stat-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  border: 1px solid #e6e9ef;
  background: white;
  color: black;
  white-space: nowrap;
}

/* Semantic color variants */
.delta.up {
  color: #16a34a;
}

.delta.down {
  color: #dc2626;
}

.delta.warn {
  color: #f59e0b;
}

/* Safe escaped Unicode for SCSS */
.delta.up::before {
  content: "▲";
  font-size: 0.8em;
}

/* ▲ */
.delta.down::before {
  content: "▼";
  font-size: 0.8em;
}

/* ▼ */
.delta.warn::before {
  content: "◆";
  font-size: 0.8em;
}

/* ◆ */
.delta.nochange {
  color: #007bff;
}

.kpi-surface {
  background: #001c37;
  border-radius: 12px;
  color: var(--text);
  padding: 1rem;
}

/* Semantic color variants */
.stat-badge.high {
  color: #16a34a;
}

.stat-badge.low {
  color: #dc2626;
}

.stat-card:focus-within {
  outline: 2px solid color-mix(in oklab, #007bff 40%, transparent);
  outline-offset: 2px;
}

.stat-card.is-primary {
  border-color: color-mix(in oklab, #007bff 30%, 12px);
}

/* Responsive styles */
@media only screen and (max-width: 425px) {
  .messagelist__players-inner {
    width: 100%;
  }
}
.alliance__container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}
.alliance__container .cta__container {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
}
.alliance__container .raid-selector__container {
  display: flex;
  gap: 16px;
}
.alliance__details {
  background: #001c37;
  border-radius: 12px;
  color: var(--text);
  padding: 1rem;
}
.alliance__details-inner {
  overflow-x: auto;
  width: calc(100vw - 230px);
  max-width: 720px;
  overflow-y: auto;
  max-height: 600px;
}
.alliance-search-cta__container {
  display: flex;
  justify-content: flex-end;
  padding: 12px 0;
}
.alliance-search .warning {
  color: #ffd600;
}
.alliance-search__results {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: 300px;
  overflow-y: auto;
  padding: 12px;
}
.alliance-search .no-results__container {
  text-align: center;
}
.alliance-search .no-results__container span {
  width: 100%;
}
.alliance-panel {
  display: flex;
  background: #fff1dd;
  padding: 15px;
  border-radius: 12px;
  flex-direction: column;
}
.alliance-panel .top {
  display: inherit;
  justify-content: space-between;
}
.alliance-panel .top span {
  color: black;
}
.alliance-panel .guild-count {
  color: black;
}
.alliance-profile__container, .alliance-leagues__container {
  display: flex;
  overflow-wrap: normal;
  flex-wrap: wrap;
  text-align: left;
  gap: 16px;
}

/* Responsive styles */
@media only screen and (max-width: 425px) {
  .alliance__details-inner {
    width: 100%;
  }
  .alliance__container .raid-selector__container {
    flex-direction: column;
  }
  .alliance__container .raid-selector__container button {
    flex: 1;
  }
}
.hero-section {
  color: #fff;
  padding: 120px 20px;
  text-align: center;
}
.hero-section h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #ffd600;
}
.hero-section p {
  font-size: 1.5rem;
  margin-bottom: 40px;
}
.hero-section a {
  text-shadow: none;
}

.hero-section-small {
  padding: 20px 20px 0;
}
.hero-section-small.guild {
  background: linear-gradient(to bottom, rgba(0, 46, 91, 0.5), rgba(0, 46, 91, 0.5));
  text-align: left;
}
.hero-section-small.guild h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #ffd600;
}
.hero-section-small.guild p {
  border-bottom: 2px solid white;
}
.hero-section-small.guild a {
  text-shadow: none;
}
@media only screen and (max-width: 425px) {
  .hero-section {
    padding: 60px 20px;
  }
}
.features-section {
  padding: 60px 0;
  background-color: #121212;
  color: #eee;
  text-align: center;
}
.features-section h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
}
.features-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.feature-card {
  background-color: #1f1f1f;
  border-radius: 10px;
  padding: 30px 20px;
  width: 300px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.6);
  transition: transform 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-10px);
  cursor: pointer;
}
.feature-card h3 {
  margin-bottom: 15px;
  color: #ffd600;
}
.feature-card p {
  font-size: 1rem;
  line-height: 1.4;
  color: #ccc;
}

/* BADGES */
.badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: auto;
}
.badges .badge {
  display: flex;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: white;
  letter-spacing: 0.5px;
  background: #007bff;
  white-space: unset;
  /* Tooltip container */
}
.badges .badge.low {
  background: #f5770b;
}
.badges .badge.average {
  background: #f59e0b;
}
.badges .badge.good {
  background: #16a34a;
}
.badges .badge.high {
  background: #0f7936;
}
.badges .badge.ds {
  background: #dc2626;
}
.badges .badge.ls {
  background: #007bff;
}
.badges .badge.gl {
  position: relative;
  cursor: pointer;
  /* outer border arrow */
  /* inner arrow (your current one) */
  /* inside tooltip rows */
}
.badges .badge.gl .tooltip-content {
  display: none;
  position: absolute;
  bottom: 125%;
  background: rgba(0, 0, 0, 0.9);
  padding: 10px;
  border-radius: 8px;
  min-width: 220px;
  max-width: 220px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
  z-index: 20;
  text-align: left;
  color: white;
  background: linear-gradient(rgba(169, 143, 92, 0.3), rgba(93, 80, 54, 0.6)), url(https://www.ea.com/_next/static/media/galaxy-base-bg.da79970e.jpg) no-repeat center center fixed;
  border: 1px solid #d6b573;
}
.badges .badge.gl .tooltip-content__inner {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.badges .badge.gl .tooltip-content::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 25%;
  margin-left: -7px; /* slightly bigger than inner arrow */
  border-width: 7px;
  border-style: solid;
  border-color: #d6b573 transparent transparent transparent;
  z-index: 19; /* sits behind the inner arrow */
}
.badges .badge.gl .tooltip-content::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 25%;
  margin-left: -6px;
  border-width: 6px;
  border-style: solid;
  border-color: rgba(0, 0, 0, 0.9) transparent transparent transparent;
  z-index: 20;
}
.badges .badge.gl:hover .tooltip-content {
  display: block;
}
.badges .badge.gl .tooltip-content.show {
  display: block;
}
.badges .badge.gl .tooltip-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  border-radius: 50%;
  border: 2px solid #d6b573;
  overflow: hidden;
}
.badges .badge.gl .tooltip-item img {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  object-fit: cover;
}
.badges .badge.gl .tooltip-item span {
  font-size: 13px;
  font-weight: 500;
}
.badges .badge i.fa-star {
  color: #ffd600;
}
.badges .badge.discord {
  background: #586aea;
}
.badges .badge > a {
  align-items: center;
  display: flex;
  text-decoration: none;
  gap: 5px;
}
.badges .badge > span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.badges .badge.swgohgg {
  background: #425058;
}
.badges .badge.swgohgg a img {
  height: 10px;
  width: auto;
}
.badges .badge.swgohgg a img.large {
  height: 20px;
}
.badges .badge.swgohgg a:hover {
  color: #ee7100;
}

.promo-panel {
  background-size: cover;
  background-position: center;
  border-radius: 25px;
  display: flex;
  flex: 1;
  flex-direction: column;
  height: 600px;
  text-align: center;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.promo-panel__container {
  display: flex;
  gap: 25px;
}
.promo-panel__title {
  background: rgba(0, 75, 150, 0.4);
  border-bottom: 2px solid rgb(0, 75, 150);
  padding: 5%;
}
.promo-panel__info {
  display: flex;
  flex-direction: column;
  padding: 5%;
}
.promo-panel__cta {
  padding: 10%;
}
.promo-panel:not(.promo-panel--disabled) {
  cursor: pointer;
}
.promo-panel:not(.promo-panel--disabled)::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.1);
  opacity: 0;
  pointer-events: none;
  border-radius: inherit;
  transition: opacity 0.3s ease;
}
.promo-panel:not(.promo-panel--disabled):hover {
  transform: scale(1.03);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}
.promo-panel:not(.promo-panel--disabled):hover::after {
  opacity: 1;
}
.promo-panel--disabled {
  filter: grayscale(80%) brightness(80%);
  pointer-events: none;
}
.promo-panel__coming-soon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  font-weight: bold;
  color: white;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 1rem 2rem;
  border-radius: 10px;
  text-transform: uppercase;
}

.block-container {
  padding: 60px 0;
}

@media only screen and (max-width: 768px) {
  .promo-panel {
    flex: unset;
    height: 500px;
  }
  .promo-panel__container {
    flex-direction: column;
  }
}
.toon {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 6px;
  border-radius: 10%;
  border: 2px solid #d6b573;
  overflow: hidden;
  height: 75px;
  width: 100px;
  background: linear-gradient(rgba(169, 143, 92, 0.3), rgba(93, 80, 54, 0.6)), url(https://www.ea.com/_next/static/media/galaxy-base-bg.da79970e.jpg) no-repeat center center fixed;
}
.toon img {
  width: 45%;
  height: 100%;
  border-radius: 4px;
  object-fit: cover;
  -webkit-mask-image: linear-gradient(to right, black 70%, transparent 100%);
  mask-image: linear-gradient(to right, black 70%, transparent 100%);
}
.toon span {
  font-size: 20px;
  font-weight: bold;
}

.scoreboard-title {
  font-weight: bold;
}
.scoreboard span {
  color: black;
}
.scoreboard .champion {
  background: linear-gradient(90deg, #f6c437, #f0b923, #e89f1c);
}
.scoreboard .champion span {
  color: white;
}
.scoreboard .champion span.guild {
  color: white;
}
.scoreboard .promotion {
  background: linear-gradient(90deg, #16a34a, #0f7c3a, #0a5e2c);
  color: white;
}
.scoreboard .promotion span {
  color: white;
}
.scoreboard .promotion span.guild {
  color: white;
}
.scoreboard .relegation {
  background: linear-gradient(90deg, #dc2626, #b71c1c, #8b0000);
  color: white;
}
.scoreboard .relegation span {
  color: white;
}
.scoreboard .relegation span.guild {
  color: white;
}
.scoreboard .position {
  padding: 12px;
}
.scoreboard .raid-member {
  display: flex;
  flex-direction: column;
}
.scoreboard .raid-member .player {
  font-size: 16px;
}
.scoreboard .raid-member .guild {
  font-size: 12px;
  color: #aaa;
}
.scoreboard table {
  background: none;
  text-align: left;
  width: 100%;
}
.scoreboard table thead {
  color: black;
}
.scoreboard table td {
  white-space: normal;
  overflow-wrap: break-word;
}

@media only screen and (min-width: 768px) {
  .scout-card.scoreboard-tile {
    flex: 0 0 calc(50% - 8px);
  }
}
.guild-pannel .guild-name {
  font-size: 20px;
  color: black;
}
.guild-pannel .guild-description {
  font-size: 12px;
  color: black;
}
.guild-pannel__data {
  font-size: 16px;
  color: black;
}
.guild-pannel__data p, .guild-pannel__data span {
  color: black;
}

@media only screen and (min-width: 768px) {
  .scout-card.guild-pannel {
    flex: 0 0 calc(50% - 8px);
  }
}
