.hero-section {
  position: relative;
  width: 100%;
  min-height: 500px;
  background-image: linear-gradient(
      to bottom,
      rgba(19, 23, 31, 0.7) 0%,
      rgba(19, 23, 31, 0.3) 70%,
      rgba(19, 23, 31, 0) 100%
    ),
    url("images/pageArt/league1.png");
  background-size: 50%;
  background-position: center 60px; /* ← this moves it DOWN */
  background-repeat: no-repeat;
  z-index: 0;
}

/* Body and Background (excluding dashboard) */
body:not(.dashboard-body) {
  background-color: #13171f;
  color: white;
  font-family: Arial, Helvetica, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  overflow-y: auto;
}

/* Canvas */
#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw !important;
  height: 100vh !important;
  z-index: -1;
  image-rendering: pixelated;
}

/* Content Wrapper */
.content-wrapper {
  position: relative;
  z-index: 1;
  overflow: visible;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
  transform: none !important;
}

/* Title Section */
.title {
  padding-top: 150px;
  text-align: center;
}

.title h1 {
  margin: 0 auto;
  padding: 0;
  font-size: 3em;
  background: linear-gradient(140deg, #ff0000, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
  line-height: 1.2;
}

.title h2 {
  margin: 0 auto;
  padding: 0;
  font-size: 3em;
  background: linear-gradient(190deg, #fcd2d2, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
  line-height: 1.2;
}

/* Button Container */
.button-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  position: relative;
  top: 0;
  width: 100%;
  gap: 20px;
  margin-top: 70px;
}

.button1,
.button2,
.button3,
.button4 {
  border: none;
  border-radius: 8px;
  color: white;
  padding: 15px 32px;
  font-size: large;
  text-align: center;
  width: 220px;
  cursor: pointer;
  transition: opacity 0.3s ease-in-out, color 0.3s ease-in-out,
    transform 0.3s ease;
}

.button1 {
  background-color: rgb(0, 98, 255);
}
.button1:hover {
  opacity: 0.8;
  color: rgb(255, 255, 255);
  transform: scale(1.05);
  text-decoration: none;
}

.button2 {
  background-color: rgb(235, 42, 42);
}
.button2:hover {
  opacity: 0.8;
  color: rgb(255, 255, 255);
  transform: scale(1.05);
  text-decoration: none;
}

.button3 {
  background-color: rgb(63, 63, 63);
}
.button3:hover {
  opacity: 0.8;
  color: rgb(255, 255, 255);
  transform: scale(1.05);
  text-decoration: none;
}

.button4 {
  background-color: rgb(62, 163, 89);
}
.button4:hover {
  opacity: 0.8;
  color: rgb(255, 255, 255);
  transform: scale(1.05);
  text-decoration: none;
}

/* Features Section */
.features {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  padding: 50px 20px;
  background: rgba(255, 255, 255, 0.1);
  max-width: 800px;
  margin: 0 auto;
}

.feature-card {
  background: rgba(0, 0, 0, 0.5);
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  max-width: 700px;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.feature-card h3 {
  font-size: 1.5em;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 1em;
  color: #ccc;
}

/* Footer */
footer {
  background-color: black;
  color: gray;
  font-size: 12px;
  padding: 20px;
  text-align: center;
  margin-top: auto;
}

/* Login Popup */
/* styles.css for chboosting.com login and registration UI */
#loginPopup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.popup-content {
  background: #1a1a1a;
  padding: 20px;
  border-radius: 8px;
  width: 350px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  position: relative;
  color: #fff;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  cursor: pointer;
  color: #fff;
}

.popup-content h2 {
  margin: 0 0 20px;
  text-align: center;
  font-size: 24px;
}

.popup-content form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.popup-content input {
  padding: 10px;
  border: 1px solid #444;
  border-radius: 4px;
  background: #2a2a2a;
  color: #fff;
  font-size: 16px;
}

.popup-content button {
  padding: 10px;
  border: none;
  border-radius: 4px;
  background: #007bff;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
}

.popup-content button:hover {
  background: #0056b3;
}

.register-toggle,
.register-btn {
  background: #28a745;
}

.register-toggle:hover,
.register-btn:hover {
  background: #218838;
}

.sign-in-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  background: #007bff;
  color: #fff;
  cursor: pointer;
  font-size: 16px;
}

.sign-in-btn:hover {
  background: #0056b3;
}

.profile-dropdown {
  position: relative;
  display: inline-block;
}

.profile-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  background: #007bff;
  color: #fff;
  cursor: pointer;
  font-size: 16px;
}

.profile-btn:hover {
  background: #0056b3;
}

.dropdown-content {
  display: none;
  position: absolute;
  background: #1a1a1a;
  min-width: 160px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  z-index: 1;
  border-radius: 4px;
  right: 0;
}

.dropdown-content a {
  color: #fff;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-size: 14px;
}

.dropdown-content a:hover {
  background: #2a2a2a;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 1.5em;
  cursor: pointer;
  color: #ffffff;
}

.close-btn:hover {
  color: #ff4444;
}

.forgot-password-btn,
.reset-btn {
  padding: 10px;
  border: none;
  border-radius: 4px;
  background: #dc3545;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
}

.forgot-password-btn:hover,
.reset-btn:hover {
  background: #c82333;
}

.forgot-password-link-btn {
  display: inline-block;
  padding: 8px 12px;
  border: none;
  border-radius: 4px;
  background: #dc3545;
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s;
}

.forgot-password-link-btn:hover {
  background: #c82333;
}

.popup-content form p {
  margin: 15px 0 0;
  text-align: center;
}

.error-message {
  color: #dc3545;
  font-size: 14px;
  text-align: center;
  margin-top: 10px;
}

/* League Services Specific Styles */
.league-services {
  background-image: url("");
  background-size: auto 100%;
  background-position: center center;
  background-repeat: no-repeat;
  min-height: 100vh;
  width: 100%;
  overflow: visible;
}

.league-services .content-wrapper {
  background: transparent;
}

.league-services .hero {
  text-align: center;
  padding: 150px 20px 50px;
}

.league-services .hero h1 {
  font-size: 2.5em;
  background: linear-gradient(90deg, #ff0000, #00ff00, #0000ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
  line-height: 1.2;
  text-transform: uppercase;
}

.league-services .hero h2 {
  font-size: 1.5em;
  background: linear-gradient(90deg, #ffcc00, #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #ccc;
  margin: 10px 0 20px;
  text-transform: uppercase;
}

.league-services .order-btn {
  background-color: #ff4444;
  color: white;
  padding: 15px 30px;
  border: none;
  border-radius: 5px;
  font-size: 1.2em;
  cursor: pointer;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.league-services .order-btn:hover {
  opacity: 0.8;
  transform: scale(1.05);
}

.league-services .ls-pricing-process {
  background: rgba(255, 255, 255, 0.1);
  padding: 40px 20px;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto 30px;
  border-radius: 10px;
}

.league-services .ls-pricing-process h3 {
  font-size: 2em;
  margin-bottom: 20px;
}

.league-services .ls-process-steps {
  display: flex;
  justify-content: space-around;
  gap: 20px;
  flex-wrap: wrap;
}

.league-services .ls-step {
  background: rgba(0, 0, 0, 0.5);
  padding: 20px;
  border-radius: 10px;
  width: 30%;
  min-width: 250px;
  transition: transform 0.3s ease;
}

.league-services .ls-step:hover {
  transform: scale(1.05);
}

.league-services .ls-step h4 {
  font-size: 1.3em;
  margin-bottom: 10px;
}

.league-services .ls-step p {
  font-size: 1em;
  color: #ccc;
}

.league-services .ls-pricing-table {
  margin-top: 20px;
  font-size: 1.1em;
  color: #ddd;
}

.league-services .rank-selection {
  background: rgba(255, 255, 255, 0.1);
  padding: 40px 20px;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto 30px;
  border-radius: 10px;
}

.selection-and-payment-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: nowrap;
}

.league-selection-wrapper {
  flex: 1;
  min-width: 0;
}

.ls-payment-panel {
  flex: 0 0 300px;
  position: relative;
  background: rgba(0, 0, 0, 0.5);
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.ls-rank-container {
  display: flex;
  flex-direction: row;
  gap: 40px;
  width: 100%;
  justify-content: center;
  align-items: stretch;
}

.ls-current-league-group,
.ls-target-league-group {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.ls-rank-box {
  background: rgba(0, 0, 0, 0.5);
  padding: 20px;
  border: 1px solid rgba(154, 154, 154, 0.786);
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  width: 100%;
  text-align: center;
  box-sizing: border-box;
}

.rank-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.rank-btn {
  background: rgba(255, 255, 155, 0.1);
  border: none;
  padding: 5px;
  border-radius: 10%;
  cursor: pointer;
}

.rank-btn img {
  width: 40px;
  height: 40px;
}

.rank-btn.selected {
  border: 1px solid #ffffff;
  border-radius: 5px;
}

.rank-btn.disabled {
  background-color: #666;
  cursor: not-allowed;
  opacity: 0.5;
}

.division-lp-container,
.master-lp-container {
  margin-top: 10px;
}

.division-select,
.lp-select,
.queue-select,
.server-select {
  margin-top: 10px;
}

.division-buttons {
  display: flex;
  gap: 5px;
  margin-top: 5px;
}

.division-btn {
  padding: 5px 10px;
  border: 1px solid #ccc;
  background: #f8f9fa;
  cursor: pointer;
}

.division-btn.selected {
  background: #007bff;
  color: #fff;
  border-color: #007bff;
}

.division-btn.disabled {
  background-color: #666;
  cursor: not-allowed;
  opacity: 0.5;
}

.master-lp-container input {
  width: 100%;
  max-width: 200px;
  padding: 5px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 3px;
  box-sizing: border-box;
}

.rank-display-section {
  text-align: center;
  margin-bottom: 15px;
}

.rank-display-section img {
  width: 100px;
  height: 100px;
  margin-top: 10px;
}

.rank-selection {
  width: 100%;
}

.league-services .ls-new-section,
.league-services .ls-target-rank {
  width: 100%;
  text-align: center;
}

.league-services .ls-new-section h2,
.league-services .ls-target-rank h2 {
  font-size: 1.8em;
  margin-bottom: 10px;
  background: linear-gradient(90deg, #ffcc00, #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.league-services .ls-new-section-top {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px 20px;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto 20px;
  border-radius: 10px;
}
.ls-new-section-top {
  margin-top: 350px !important;
  background-color: rgba(25, 25, 34, 0.8) !important;
}

.league-services .ls-new-section-top h2 {
  font-size: 1.8em;
  margin-bottom: 15px;
  background: linear-gradient(90deg, #ffcc00, #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.league-services .game-selection {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.league-services .game-card {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.5);
  padding: 10px 15px;
  border-radius: 8px;
  width: 100%;
  max-width: 250px;
  text-decoration: none;
  transition: transform 0.3s ease, background-color 0.3s ease,
    box-shadow 0.3s ease;
  cursor: pointer;
}

.league-services .game-card:hover {
  transform: scale(1.03);
  background-color: rgba(255, 68, 68, 0.2);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.league-services .game-card img {
  width: 60px;
  height: 60px;
  border-radius: 5px;
  margin-right: 15px;
  object-fit: cover;
}

.league-services .game-card h3 {
  font-size: 1.1em;
  background: linear-gradient(90deg, #ffcc00, #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0;
}

@media (max-width: 768px) {
  .league-services .ls-new-section-top {
    padding: 20px;
  }
  .league-services .game-card {
    max-width: 200px;
  }
}

.league-services .rank-display-section {
  background: rgba(0, 0, 0, 0.5);
  padding: 15px;
  border: 1px solid rgba(154, 154, 154, 0.786);
  border-radius: 10px;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.league-services .rank-text {
  font-size: 1.2em;
  margin-bottom: 10px;
  color: #ddd;
}

.league-services .ls-rank-box {
  background: rgba(0, 0, 0, 0.5);
  padding: 20px;
  border: 1px solid rgba(154, 154, 154, 0.786);
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  width: 100%;
  min-width: 300px;
  text-align: center;
}

.league-services .ls-rank-box h3 {
  font-size: 1em;
  margin-bottom: 15px;
  background: linear-gradient(90deg, #ffcc00, #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: left;
}

.league-services .rank-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.league-services .rank-btn:hover {
  outline: 2px solid white;
}

.league-services .rank-btn img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.league-services .rank-btn.selected {
  background: #ff4444c6;
}

.league-services .division-select {
  margin-top: 20px;
}

.league-services .division-select label {
  font-size: 1.1em;
  display: block;
  margin-bottom: 10px;
  color: #ddd;
}

.league-services .division-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.league-services .division-btn {
  background-color: #333;
  color: white;
  padding: 8px 15px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.league-services .division-btn:hover {
  background-color: #555;
  transform: scale(1.1);
}

.league-services .division-btn.selected {
  background-color: #ff4444;
}

.league-services .lp-select {
  margin-top: 20px;
  text-align: left;
  max-width: 200px;
  margin-left: auto;
  margin-right: auto;
}

.league-services .queue-select,
.league-services .server-select {
  margin-top: -1px;
  text-align: left;
  max-width: 200px;
  margin-left: auto;
  margin-right: auto;
}

.league-services .lp-select label,
.league-services .queue-select label,
.league-services .server-select label {
  font-size: 1.1em;
  display: block;
  margin-bottom: 10px;
  color: #ddd;
}

.league-services .lp-select select,
.league-services .queue-select select,
.league-services .server-select select {
  width: 100%;
  padding: 8px;
  border-radius: 5px;
  border: 1px solid #ccc;
  background-color: #333;
  color: white;
}

.league-services .queue-server-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.league-services .ls-payment-panel {
  width: 30%;
  min-width: 300px;
  background: rgba(0, 0, 0, 0.5);
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  text-align: center;
  color: #ddd;
  align-self: flex-start;
}

.league-services .ls-payment-panel h2 {
  font-size: 1.8em;
  margin-bottom: 15px;
  background: linear-gradient(90deg, #ffcc00, #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.payment-options {
  margin-bottom: 20px;
}

.option-row {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
  padding: 5px 0;
}

.option-row span {
  font-size: 1em;
  flex: 0 0 50%;
  text-align: left;
  padding-left: 10px;
  order: 1;
  color: #fff;
}

.option-label {
  font-size: 1em;
  flex: 0 0 15%;
  text-align: center;
  order: 2;
}

.option-label.free {
  color: #28a745;
  font-weight: bold;
}

.option-label.percentage {
  color: #dc3545;
  font-weight: bold;
}

.info-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 22px;
  height: 22px;
  min-width: 22px;
  min-height: 22px;
  max-width: 22px;
  max-height: 22px;
  border-radius: 50%;
  background-color: #626262b3;
  color: white;
  font-size: 11px;
  font-weight: bold;
  font-family: Arial, sans-serif;
  line-height: 22px;
  flex: none !important;
  padding: 0;
  margin: 0;
  cursor: help;
  transition: color 0.3s ease;
  position: relative;
  margin-left: 30px;
  margin-right: 18px;
  order: 3;
}

.info-icon:hover {
  color: #aaa;
}

.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 20px;
  flex: 0 0 15%;
  margin: 0 2px;
  margin-left: -10px;
  order: 4;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #666;
  transition: 0.3s;
  border-radius: 20px;
}

.switch .slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
}

.switch input:checked + .slider {
  background-color: #19c34180;
}

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

.option-price {
  color: #ccc;
  flex: 0 0 15%;
  text-align: center;
  order: 5;
}

.tooltip {
  visibility: hidden;
  position: absolute;
  top: calc(100% + 5px);
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 10px;
  border-radius: 5px;
  font-size: 14px;
  white-space: normal;
  width: 200px;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.info-icon:hover .tooltip {
  visibility: visible;
  opacity: 1;
}

.original-price {
  text-decoration: line-through;
  color: #888;
  margin: 0;
  text-align: center;
}

.original-price.no-strikethrough {
  text-decoration: none;
  color: white;
  font-weight: bold;
  font-size: 1.2em;
}

.discounted-price {
  font-weight: bold;
  font-size: larger;
  color: #19c341;
  margin: 0;
  text-align: center;
}

.coupon-section {
  text-align: center;
  margin-bottom: 10px;
  margin-top: 15px;
}

.coupon-section p {
  margin: 0 0 5px 0;
  font-size: 14px;
}

.coupon-section input {
  width: 100%;
  padding: 8px;
  border-radius: 5px;
  border: 1px solid #ccc;
  background-color: #333;
  color: white;
  margin-bottom: 10px;
}

.discount-rate {
  color: #dc3545;
  text-shadow: 0 0 5px #dc3545, 0 0 10px #dc3545, 0 0 15px #dc3545;
}

.discount-rate.coupon-active {
  color: #ffffff;
  text-shadow: 0 0 5px #28a745, 0 0 10px #28a745, 0 0 15px #28a745;
}

.cashback-offer {
  background-color: #28a746a7;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 5px;
  text-align: center;
  font-weight: bold;
  margin-top: 10px;
  display: inline-block;
  width: auto;
}

.cashback-offer p {
  margin: 0;
}

.proceed-payment {
  background-color: #007bff;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 5px;
  width: 100%;
  font-size: 1.1em;
  cursor: pointer;
  pointer-events: auto !important;
  opacity: 1 !important;
  visibility: visible !important;
  display: inline-block !important;
  position: relative !important;
  z-index: 10 !important;
  overflow: visible !important;
  text-align: center;
  line-height: normal;
}

.proceed-payment:hover {
  opacity: 0.9;
}

.secure-payment {
  text-align: center;
  margin-bottom: 0px;
  color: #ffffff;
  font-size: 0.9em;
}

.secure-payment img {
  width: 150px;
  height: 150px;
  object-fit: contain;
  margin-top: -45px;
  margin-bottom: -50px;
}

.league-services .ls-testimonials {
  background: rgba(255, 255, 255, 0.1);
  padding: 40px 20px;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto 30px;
  border-radius: 10px;
}

.league-services .ls-testimonials h3 {
  font-size: 2em;
  margin-bottom: 20px;
  background: linear-gradient(90deg, #ffcc00, #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.league-services .ls-testimonial-card {
  background: rgba(0, 0, 0, 0.5);
  padding: 20px;
  border-radius: 10px;
  margin: 10px auto;
  max-width: 600px;
  transition: transform 0.3s ease;
}

.league-services .ls-testimonial-card:hover {
  transform: scale(1.05);
}

.league-services .ls-testimonial-card p {
  font-size: 1.1em;
  color: #ddd;
}

.league-services .ls-testimonial-card span {
  display: block;
  margin-top: 10px;
  font-size: 0.9em;
  color: #aaa;
}

.league-services .ls-new-section-bottom {
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 10px;
  margin: 20px auto;
  max-width: 1200px;
}

.league-services .ls-new-section-bottom h3 {
  font-size: 1.5em;
  margin-bottom: 10px;
  background: linear-gradient(90deg, #ffcc00, #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.league-services .ls-new-section-bottom p {
  font-size: 1em;
  color: #ccc;
}

.league-services .ls-guarantees {
  text-align: center;
  padding: 20px;
}

.league-services .ls-guarantees h3 {
  font-size: 1.8em;
  margin-bottom: 15px;
  background: linear-gradient(90deg, #ffcc00, #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.league-services .ls-guarantees ul {
  list-style: none;
  padding: 0;
}

.league-services .ls-guarantees li {
  font-size: 1.1em;
  color: #ddd;
  margin: 10px 0;
}

.league-services .service-panels {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 40px 20px;
  background: rgba(255, 255, 255, 0.1);
  max-width: 1000px;
  margin: 0 auto 30px;
  border-radius: 10px;
}

.league-services .service-card {
  background: rgba(0, 0, 0, 0.5);
  padding: 20px;
  border-radius: 10px;
  width: 45%;
  min-width: 250px;
  text-align: center;
  transition: transform 0.3s ease;
}

.league-services .service-card:hover {
  transform: scale(1.05);
}

.league-services .service-card h3 {
  font-size: 1.3em;
  margin-bottom: 10px;
  background: linear-gradient(90deg, #ffcc00, #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.league-services .service-card p {
  font-size: 1em;
  color: #ccc;
}

/* Header for league-services.html */
header {
  background-color: hsla(0, 0%, 100%, 0.079);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: rgb(255, 255, 255);
  height: 80px;
  width: 100%;
  padding: 0;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header .logo a {
  background-image: url("/images/logo.png");
  background-size: contain;
  background-repeat: no-repeat;
  display: inline-block;
  text-indent: -9999999999px;
  height: 100px;
  width: 300px;
  position: absolute;
  top: -10px;
  left: 20px;
  z-index: 1;
}

header nav {
  position: relative;
}

header nav ul {
  margin: 0;
  padding: 0 30px;
  list-style-type: none;
  display: flex;
  align-items: center;
}

header nav li {
  display: inline-block;
  margin-right: 20px;
}

header .nav-toggle {
  display: none;
  font-size: 30px;
  color: white;
  cursor: pointer;
  padding: 10px;
}

header a {
  color: white;
  text-decoration: none;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: larger;
  margin: 0 20px;
}

/* Nav menu specific styles */
.nav-menu a {
  padding: 8px 16px;
  border-radius: 5px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.nav-menu a:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

/* Sign In button specific styling */
.nav-menu a[href="#sign-in"] {
  background-color: #007bff;
  color: white;
  padding: 8px 16px;
  border-radius: 5px;
  cursor: pointer;
}

.nav-menu a[href="#sign-in"]:hover {
  background-color: #0056b3;
  transform: scale(1.05);
}

/* Profile dropdown compatibility for league-services */
header .profile-dropdown {
  display: inline-block;
  vertical-align: middle;
}

header .profile-dropdown .dropdown-content {
  right: 0;
  top: 100%;
}

/* Error Popup Styles */
.error-popup {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 5000;
  opacity: 0;
  transform: none;
  transition: opacity 0.3s ease-out, right 0.3s ease-out;
  width: 320px;
  max-width: 90vw;
  pointer-events: none;
}

.error-popup.active {
  opacity: 1;
  right: 20px;
  pointer-events: auto;
}

.error-content {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background-color: #ff3333;
  padding: 12px 18px;
  border-radius: 5px;
  color: white;
  width: 100%;
  min-height: 50px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
  font-family: Arial, sans-serif;
  border: 1px solid #cc0000;
  box-sizing: border-box;
}

.error-content .warning-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  background-color: #cc0000;
  color: white;
  border-radius: 50%;
  font-size: 16px;
  font-weight: bold;
  margin-right: 10px;
  flex-shrink: 0;
}

.error-content .warning-icon::before {
  content: "!";
}

/* css for LoL champions */

/* Modal styling */
.modal {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #2c2c2c;
  padding: 20px;
  border-radius: 8px;
  z-index: 9999;
  width: 90%;
  max-width: 920px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.modal.hidden {
  display: none;
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  column-gap: 5px;
}
.champion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, 50px);
  gap: 10px;
  max-height: 400px;
  overflow-y: auto;
}
.champion-grid img {
  width: 50px;
  height: 50px;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
}
.champion-grid img.selected {
  border-color: #00ff88;
}
.modal-footer {
  text-align: center;
  margin-top: 25px;
}
.modal-header input {
  width: 78%;
  background: #393636;
  color: #fff;
  padding: 12px;
  border: 1px solid #24232300;
  border-radius: 8px;
}
.modal-header input::placeholder {
  color: #665f5f !important;
  font-size: 14px;
}
.modal-header {
  margin-bottom: 17px;
}
#clear-champions {
  font-size: 18px;
  color: white;
  background-color: #e14540;
  border: 1px solid #e14540;
  border-radius: 10px;
  padding: 10px 14px;
}
button#submit-champions {
  font-size: 18px;
  color: white;
  background-color: #e14540;
  border: 1px solid #e14540;
  border-radius: 10px;
  padding: 10px 14px;
}

.header-section {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  text-align: center;
  margin-bottom: 20px;
}
.lanes-image {
  max-width: 40px;
  background-color: #5d5959;
  border-radius: 10px;
}
.icons {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  gap: 10px;
}
.flash {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  row-gap: 4px;
}
.flash img {
  max-width: 20px;
}
.select-champ {
  margin: 10px 0px;
  font-size: 14px;
  font-weight: 400;
  color: #b1a7a7;
}
input#champion-search {
  margin-top: 10px;
}
div#champion-grid {
  scrollbar-width: thin;
  scrollbar-color: #e14540 #f1f1f1;
  overflow-x: hidden;
}

/* Flash Key Selector Styling (to match lane selectors) */
#champion-selector-modal .lane-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 10px;
  margin-bottom: 10px;
}
#champion-selector-modal .lane-section h3 {
  font-size: 1.1em;
  color: #ddd;
  margin-bottom: 8px;
  margin-top: 0;
}
#champion-selector-modal #flash-key-options {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  background: #393636;
  border-radius: 8px;
  border: 1px solid #24232300;
  padding: 12px 18px;
  margin-bottom: 0;
}
#champion-selector-modal #flash-key-options label {
  color: #fff;
  font-size: 1.1em;
  margin: 0;
}
#champion-selector-modal #flash-key-1 {
  font-size: 1.1em;
  background: #222;
  color: #fff;
  border: 1px solid #555;
  border-radius: 6px;
  padding: 8px 18px;
  margin-left: 10px;
  transition: border 0.2s, box-shadow 0.2s;
}
#champion-selector-modal #flash-key-1:focus, 
#champion-selector-modal #flash-key-1:hover {
  border: 1.5px solid #007bff;
  box-shadow: 0 0 6px #007bff55;
  outline: none;
}

/* Responsive adjustments for league-services header and other sections */
@media (max-width: 768px) {
  header {
    height: 60px;
    justify-content: flex-end;
  }
  header .logo a {
    height: 80px;
    width: 200px;
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 10;
  }
  header .nav-toggle {
    display: block;
    position: fixed;
    top: 15px;
    right: 15px;
    z-index: 11;
  }
  header nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 0;
    background-color: hsla(0, 0%, 10%, 0.9);
    width: 200px;
    padding: 10px;
    border-radius: 5px;
    z-index: 10;
  }
  header nav:hover ul {
    display: flex;
  }
  header nav li {
    margin: 10px 0;
    text-align: center;
  }
  header a {
    margin: 0;
  }
  .nav-menu a {
    display: block;
    padding: 10px;
  }
  .nav-menu a[href="#sign-in"] {
    padding: 10px;
  }
  .title {
    padding-top: 100px;
  }
  .title h1,
  .title h2 {
    font-size: 2em;
  }
  .button-container {
    flex-direction: column;
    gap: 15px;
  }
  .features {
    padding: 30px 20px;
    max-width: 600px;
  }
  .feature-card {
    max-width: 500px;
    min-height: 120px;
  }
  .popup-content {
    width: 90%;
    max-width: 350px;
    padding: 15px;
  }
  .league-services .hero {
    padding: 100px 20px 30px;
  }
  .league-services .hero h1 {
    font-size: 2em;
  }
  .league-services .hero h2 {
    font-size: 1.2em;
  }
  .league-services .order-btn {
    padding: 10px 20px;
    font-size: 1em;
  }
  .league-services .ls-pricing-process {
    padding: 20px;
  }
  .league-services .ls-process-steps {
    flex-direction: column;
    align-items: center;
  }
  .league-services .ls-step {
    width: 100%;
    max-width: 300px;
  }
  .league-services .ls-rank-container {
    flex-direction: column;
    align-items: center;
  }
  .league-services .ls-new-section,
  .league-services .ls-target-rank,
  .league-services .ls-rank-box {
    width: 100%;
    max-width: 400px;
  }
  .league-services .queue-server-container {
    flex-direction: column;
    align-items: center;
  }
  .league-services .service-panels {
    flex-direction: column;
    align-items: center;
  }
  .league-services .service-card {
    width: 100%;
    max-width: 300px;
  }
  .selection-and-payment-container {
    flex-direction: column;
    align-items: center;
  }
  .rank-selection-wrapper {
    min-width: 100%;
  }
  .ls-new-section,
  .ls-target-rank,
  .ls-payment-panel {
    width: 100%;
    max-width: 400px;
  }
  .ls-rank-box {
    width: 100%;
    max-width: 400px;
  }
  .tooltip {
    width: 150px;
    left: 50%;
    transform: translateX(-50%);
  }
  .option-row {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 0;
  }
  .option-row span {
    flex: 0 0 100%;
    padding-left: 0;
    margin-bottom: 5px;
  }
  .option-label {
    flex: 0 0 100%;
    margin-bottom: 5px;
  }
  .option-price {
    flex: 0 0 100%;
    margin-bottom: 5px;
  }
  .switch {
    margin: 0 0 5px 0;
  }
  .info-icon {
    margin-left: 0;
    margin-top: 5px;
    margin-right: 0;
  }
  .original-price {
    color: #fff;
    font-size: 24px;
    display: block;
  }
  .original-price.strikethrough {
    text-decoration: line-through;
    color: #999;
  }
  .discounted-price {
    color: #fff;
    font-size: 24px;
    display: none; /* Hidden by default */
  }
  .cashback-offer {
    color: #fff;
  }
  .coupon-apply {
    padding: 8px 16px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
  }
  .coupon-apply:hover {
    background: #0056b3;
  }
  .discount-rate {
    color: #dc3545; /* Red for inactive */
    display: block;
  }
  .discount-rate.coupon-active {
    color: #28a745; /* Green for active */
  }
}
/* Ensure division-select is cohesive */
.league-services .division-select {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
}

.league-services .division-select > div:not(.division-container) {
  font-size: 1.1em;
  color: #ddd;
}

.league-services .division-container {
  display: flex;
  gap: 10px;
  justify-content: center;
}

/* Adjust lp-select to reduce separation */
.league-services .lp-select {
  margin-top: 10px; /* Reduced from 20px */
  text-align: center;
  max-width: 200px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.league-services .lp-select div {
  font-size: 1.1em;
  color: #ddd;
}

/* Position RR inputs */
.league-services .current-rr-input,
.league-services .desired-rr-input {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.league-services .current-rr-input label,
.league-services .desired-rr-input label {
  font-size: 1.1em;
  color: #ddd;
}

.league-services .current-rr-input input,
.league-services .desired-rr-input input {
  width: 80px;
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 3px;
  background: #333;
  color: white;
}

.league-services .current-rr-input,
.league-services .desired-rr-input {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.league-services .current-rr-input label,
.league-services .desired-rr-input label {
  font-size: 1.1em;
  color: #ddd;
}

.league-services .current-rr-input input,
.league-services .desired-rr-input input {
  width: 100%;
  max-width: 200px;
  padding: 5px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 3px;
  background: #333;
  color: white;
}
/* styles.css */
.message-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.message-popup-content {
  background-color: #fff;
  padding: 20px;
  border-radius: 5px;
  text-align: center;
  max-width: 400px;
  width: 90%;
  position: relative;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.message-close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 20px;
  cursor: pointer;
  color: #333;
}

.message-close-btn:hover {
  color: #f00;
}

.message-popup-content p {
  margin: 0 0 20px;
  font-size: 16px;
  color: #333;
}

.sign-in-redirect-btn,
.register-redirect-btn {
  padding: 10px 20px;
  margin: 0 10px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  font-size: 14px;
}

.sign-in-redirect-btn {
  background-color: #007bff;
  color: #fff;
}

.sign-in-redirect-btn:hover {
  background-color: #0056b3;
}

.register-redirect-btn {
  background-color: #28a745;
  color: #fff;
}

.register-redirect-btn:hover {
  background-color: #218838;
}

/* Booster Selection Modal Styles */
.booster-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  overflow: auto;
  background: rgba(0, 0, 0, 0.5);
}
.booster-modal-content {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.25);
    position: fixed;
    text-align: left;
    height: 70vh;
    overflow: hidden;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
.booster-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 28px;
  font-weight: bold;
  color: #888;
  cursor: pointer;
  transition: color 0.2s;
}
.booster-modal-close:hover {
  color: #333;
}
.booster-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0 0;
  height: 100%;
  /* overflow-y: hidden; */
}
.booster-item {
  padding: 16px 12px;
  margin-bottom: 12px;
  border-radius: 8px;
  background: #f8f9fa;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  cursor: pointer;
  border: 1px solid #e0e0e0;
  transition: background 0.2s, box-shadow 0.2s;
}
.booster-item:hover {
  background: #e6f0ff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.booster-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.booster-username {
  font-weight: 600;
  font-size: 1.1em;
  color: #1a237e;
}
.booster-status {
  font-size: 0.95em;
  padding: 2px 10px;
  border-radius: 12px;
  font-weight: 500;
  color: #fff;
  margin-left: 10px;
}
.booster-status.online {
  background: #43a047;
}
.booster-status.offline {
  background: #bdbdbd;
}
.booster-details {
  font-size: 0.97em;
  color: #333;
  margin-left: 2px;
  margin-top: 2px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px 12px;
}
.booster-item.loading {
  text-align: center;
  color: #888;
  font-style: italic;
  background: none;
  border: none;
  box-shadow: none;
}

/* Booster Modal Card Overrides */
.booster-modal-content {
  max-width: 350px;
  width: 98vw;
  min-width: 500px;
  padding: 16px 8px;
}
.booster-list {
  max-height: 100%;
  overflow-y: auto;
  width: 100%;
  max-width: 500px;
}
.booster-modal-card {
  background: #23272e;
  color: #e0e0e0;
  border: 1px solid #444;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  margin: 8px 0;
  padding: 10px 8px 8px 8px;
  width: 100%;
  max-width: 99%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.booster-modal-card .card-header {
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 4px;
  gap: 2px;
}
.booster-modal-card .username-wrapper h3 {
  font-size: 1em;
  text-shadow: none;
  text-decoration: none;
  color: #ffd700;
}
.booster-modal-card .language-wrapper {
  font-size: 0.8em;
  color: #b0b0b0;
  gap: 3px;
}
.booster-modal-card .language-icon,
.booster-modal-card .game-icon {
  width: 14px;
  height: 14px;
}
.booster-modal-card .status-dot {
  position: static;
  margin-left: 6px;
  margin-top: 2px;
  width: 10px;
  height: 10px;
}
.booster-modal-card .card-content {
  margin-bottom: 6px;
}
.booster-modal-card .rank-panel,
.booster-modal-card .bio-section {
  font-size: 0.95em;
  padding: 4px 6px;
  margin-bottom: 4px;
}
.booster-modal-card .card-footer {
  flex-direction: column;
  gap: 2px;
  padding: 0;
}
.booster-modal-card .game-section {
  padding: 2px 0;
}
.booster-modal-card .section-title {
  font-size: 0.85em;
}
.booster-modal-card .profile-image,
.booster-modal-card .champion-image,
.booster-modal-card .agent-image {
  width: 18px;
  height: 18px;
  margin: 0 2px 2px 0;
}
.booster-modal-card .images {
  gap: 2px;
}
.popup_outer .images img.profile-image {
  width: 45px;
  height: 45px;
  object-fit: cover;
  background: rgba(255, 255, 155, 0.1);
  border-radius: 10%;
  padding: 5px;
  cursor: pointer;
  margin: 0;
  box-sizing: border-box;
}
.popup_outer .images {
  margin: 10px 0 20px;
  display: flex;
  justify-content: center;
  gap: 5px;
  flex-wrap: wrap;
}
.popup_outer span.section-title {
  font-size: 18px !important;
  margin-bottom: 15px;
  background: linear-gradient(90deg, #ffcc00, #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: left;
  font-weight: 600;
}
.popup_outer .rank-panel {
  border: 1px solid #a0a0a0;
  border-radius: 4px;
  padding: 6px;
  margin-bottom: 8px;
  background-color: #333333;
  box-shadow: 0 0 5px rgba(40, 167, 69, 0.3);
  box-sizing: border-box;
}
.popup_outer .rank-panel .rank-section {
  display: flex;
  justify-content: space-between;
  gap: 5px;
  flex-wrap: wrap;
}
.popup_outer .booster-modal-card {
  width: 100%;
  max-width: 100%;
}
.popup_outer .username-wrapper,
.popup_outer .language-wrapper {
  display: flex;
  align-items: center;
  gap: 5px;
  justify-content: center;
}
.popup_outer .username-wrapper h3,
.popup_outer .language-wrapper span {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
}
.popup_outer .username-wrapper img.game-icon,
.popup_outer .language-wrapper img {
  width: 30px;
  height: auto;
}
.popup_outer ul.booster-list,
.popup_outer ul.booster-list * {
  box-sizing: border-box;
}
.popup_outer .username-wrapper {
  margin-top: 10px;
}
.popup_outer h3.main_label {
  font-size: 22px;
  color: #23272e;
  text-align: center;
  margin: 0;
  margin-bottom: 15px;
  font-weight: 600;
}
.popup_outer .bio-section {
  border: 1px solid #a0a0a0;
  border-radius: 4px;
  padding: 6px;
  margin-bottom: 8px;
  background-color: #333333;
  box-shadow: 0 0 5px rgba(40, 167, 69, 0.3);
  font-size: 0.9em;
  font-style: italic;
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  color: #0082b2;
  word-break: break-word;
  box-sizing: border-box;
}
.popup_outer .game-section>div {
    display: flex;
    flex-direction: column;
    align-items: center;
}
@media (max-width: 600px) {
  .booster-modal-content {
    min-width: 360px;
    padding: 4px 2px;
    height: 22vh;
  }
  .booster-modal-card {
    padding: 6px 2px 4px 2px;
  }
  .popup_outer .booster-modal-content {
    max-width: 92% !important;
    padding: 10px;
    width: 98% !important;
  }

  .popup_outer .booster-card.booster-modal-card {
    padding: 15px;
  }
  .booster-list {
    height: 25vh;
  }
  .main_label {
    margin-bottom: 0px;
  }
}

/* new css  */
.booster-modal-card {
  
  overflow: hidden;
}
/* .lanes {
  display: none !important;
} */
.champions {
  display: none !important;
}
.agents {
  display: none !important;
}
.lane-image-row {
  display: flex;
  gap: 12px;
  margin-bottom: 8px;
}
.lane-image {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border 0.2s, box-shadow 0.2s, opacity 0.2s;
  opacity: 1;
}
.lane-image.selected-primary {
  border: 2.5px solid #007bff;
  box-shadow: 0 0 8px #007bff55;
}
.lane-image.selected-secondary {
  border: 2.5px solid #ff9800;
  box-shadow: 0 0 8px #ff980055;
}
.lane-image.disabled-lane {
  opacity: 0.4;
  pointer-events: none;
}

/* Flash Key Selector Styling (to match lane selectors) */
#champion-selector-modal .lane-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 10px;
  margin-bottom: 10px;
}
#champion-selector-modal .lane-section h3 {
  font-size: 1.1em;
  color: #ddd;
  margin-bottom: 8px;
  margin-top: 0;
}
#champion-selector-modal #flash-key-options {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  background: #393636;
  border-radius: 8px;
  border: 1px solid #24232300;
  padding: 12px 18px;
  margin-bottom: 0;
}
#champion-selector-modal #flash-key-options label {
  color: #fff;
  font-size: 1.1em;
  margin: 0;
}
#champion-selector-modal #flash-key-1 {
  font-size: 1.1em;
  background: #222;
  color: #fff;
  border: 1px solid #555;
  border-radius: 6px;
  padding: 8px 18px;
  margin-left: 10px;
  transition: border 0.2s, box-shadow 0.2s;
}
#champion-selector-modal #flash-key-1:focus, 
#champion-selector-modal #flash-key-1:hover {
  border: 1.5px solid #007bff;
  box-shadow: 0 0 6px #007bff55;
  outline: none;
}

/* Agent Selector Modal Styling (like champion selector) */
#agent-selector-modal .modal-header input {
  width: 78%;
  background: #393636;
  color: #fff;
  padding: 12px;
  border: 1px solid #24232300;
  border-radius: 8px;
}
#agent-selector-modal .modal-header input::placeholder {
  color: #665f5f !important;
  font-size: 14px;
}
#agent-selector-modal .modal-header {
  margin-bottom: 17px;
}
#clear-agents {
  font-size: 18px;
  color: white;
  background-color: #e14540;
  border: 1px solid #e14540;
  border-radius: 10px;
  padding: 10px 14px;
}
button#submit-agents {
  font-size: 18px;
  color: white;
  background-color: #e14540;
  border: 1px solid #e14540;
  border-radius: 10px;
  padding: 10px 14px;
}
#agent-selector-modal .header-section {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-bottom: 20px;
}
.agent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, 50px);
  gap: 10px;
  max-height: 400px;
  overflow-y: auto;
}
.agent-grid img {
  width: 50px;
  height: 50px;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
}
.agent-grid img.selected {
  border-color: #00ff88;
}
#agent-selector-modal .modal-footer {
  text-align: center;
  margin-top: 25px;
}
.select-agent {
  margin: 10px 0px;
  font-size: 14px;
  font-weight: 400;
  color: #b1a7a7;
}
#agent-summary {
  margin-top: 10px;
  color: #333;
  font-size: 0.95em;
}


/* ===== */

.close-modal-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  z-index: 9999;
}
