@import url(https://db.onlinewebfonts.com/c/ae238c3ee498c52a23aab0d9f5e94d6b?family=dana-fanum+regular);

/* Start Global Variables */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "dana-fanum regular";
  text-decoration: none;
  scroll-behavior: smooth;
  outline: none;
}

:root {
  --bg-color: #1e3a8a;
  --second-bg-color: #e1b373;
  --text-color: #fff;
  --main-color: #ffd700;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
  scrollbar-width: none;
}

body {
  background: rgb(26, 26, 26);
  background: linear-gradient(
    98deg,
    rgba(26, 26, 26, 1) 0%,
    rgb(22, 1, 93) 100%
  );
  color: var(--text-color);
  min-height: 100vh;
  margin: 0;
}

section {
  min-height: 100vh;
  padding: 10rem 9% 2rem;
}

/* End Global Variables */

/* Start Header */
.header {
  position: fixed;
  top: 5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 75%;
  height: 11%;
  padding: 3rem;
  display: flex;
  background: rgba(255, 255, 255, 0.052);
  border: 3px solid rgba(255, 255, 255, 0.171);
  box-shadow: 0 0 10px rgba(215, 214, 214, 0.022);
  backdrop-filter: blur(20px);
  border-radius: 50px;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}

.logo {
  font-size: 3.8rem;
  color: #1e3a8a;
  font-weight: 600;
}

.logo span {
  color: var(--second-bg-color);
}

.navbar {
  margin-left: 8rem;
}

.navbar a {
  font-size: 3rem;
  color: var(--text-color);
  margin-right: 7rem;
  transition: 0.3s;
  text-decoration: none;
}

.navbar a:hover {
  color: var(--second-bg-color);
}

#login {
  cursor: pointer;
  position: relative;
  padding: 8px 18px;
  font-size: 16px;
  color: var(--text-color);
  border: 2px solid var(--bg-color);
  border-radius: 34px;
  background-color: var(--bg-color);
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  overflow: hidden;
}

#login a {
  text-decoration: none;
  color: var(--text-color);
}

#login::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 50px;
  height: 50px;
  border-radius: inherit;
  scale: 0;
  z-index: -1;
  background-color: var(--second-bg-color);
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

#login:hover::before {
  scale: 3;
}

#login:hover {
  color: #212121;
  scale: 1.1;
  border: 2px solid var(--second-bg-color);
  box-shadow: 0 0px 20px var(--second-bg-color);
}

#login:active {
  scale: 1;
}

#menu-icon {
  font-size: 3.6rem;
  color: var(--text-color);
  display: none;
  position: relative;
  z-index: 102;
  cursor: pointer;
  transition: all 0.3s ease;
}

#login-icon {
  font-size: 3.6rem;
  color: var(--text-color);
  display: none;
}

/* Server Section Styles */
.server-section {
  text-align: center;
  padding: 19rem 2rem 2rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.server-title {
  font-size: 4rem;
  margin-bottom: 2rem;
  color: var(--text-color);
}

.price-display {
  font-size: 2.5rem;
  margin: 2rem 0;
  color: var(--second-bg-color);
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  max-width: 1000px;
}

.price-display h3 {
  margin-left: auto;
}

.config-container {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1.5rem;
  padding: 3rem;
  width: 100%;
  max-width: 1000px;
  margin: 3rem auto;
}

.spec-slider {
  margin-bottom: 4rem;
  position: relative;
}

.spec-slider:last-child {
  margin-bottom: 2rem;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 2rem;
  margin: 2rem 0;
}

.slider-track {
  position: absolute;
  width: 100%;
  height: 1rem;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
}

.slider-fill {
  position: absolute;
  height: 1rem;
  background-color: #00c9ff;
  border-radius: 1rem;
  left: 0;
}

.slider-handle {
  position: absolute;
  width: 3rem;
  height: 3rem;
  background-color: #006aff;
  border-radius: 50%;
  top: -1rem;
  transform: translateX(41%);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0, 106, 255, 0.5);
  z-index: 5;
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
  font-size: 1.4rem;
  color: #ccc;
}

.slider-value {
  font-size: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.slider-value span {
  font-weight: bold;
  color: var(--second-bg-color);
}

.slider-value-label {
  display: flex;
  align-items: center;
}

.slider-value-label i {
  margin-left: 1rem;
  font-size: 2.4rem;
  color: var(--second-bg-color);
}

.server-specs {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
  max-width: 1000px;
}

.selection-tabs {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 1000px;
  margin: 2rem 0;
}

.tab-group {
  display: flex;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2rem;
  overflow: hidden;
}

.selection-tab {
  padding: 1.5rem 3rem;
  font-size: 1.8rem;
  color: var(--text-color);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.selection-tab.active {
  background-color: #006aff;
  color: white;
}

.selection-tab[data-location="europe"] {
  opacity: 0.6;
  cursor: not-allowed;
  position: relative;
}

.selection-tab[data-location="europe"]::after {
  content: "\f023";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
}

.order-btn {
  background: #0066ff;
  color: var(--text-color);
  border: none;
  padding: 1.5rem 3rem;
  border-radius: 50px;
  font-size: 1.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 3rem;
}

.order-btn:hover {
  background: #0052cc;
  transform: scale(1.05);
}

.order-btn i {
  margin-left: 1rem;
}

.toast {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 275px;
  z-index: 1000;
}

.wrapper {
  width: 100%;
  margin-bottom: 10px;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.main {
  margin: 12px 16px 12px 56px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.main::before {
  font-size: 24px;
  position: absolute;
  top: 50%;
  left: -40px;
  transform: translateY(-50%);
}

.success-icon::before {
  content: "\f058";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: #47cf73;
}

.info-icon::before {
  content: "\f05a";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: #2f83ff;
}

.warning-icon::before {
  content: "\f071";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: #ffc107;
}

.error-icon::before {
  content: "\f06a";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: #dc3545;
}

.success {
  background-color: rgba(20, 20, 20, 0.85);
  color: #fff;
  padding: 10px;
  border-left: 4px solid #47cf73;
}

.info {
  background-color: rgba(20, 20, 20, 0.85);
  color: #fff;
  padding: 10px;
  border-left: 4px solid #2f83ff;
}

.warning {
  background-color: rgba(20, 20, 20, 0.85);
  color: #fff;
  padding: 10px;
  border-left: 4px solid #ffc107;
}

.error {
  background-color: rgba(20, 20, 20, 0.85);
  color: #fff;
  padding: 10px;
  border-left: 4px solid #dc3545;
}

/* Payment option styles */
.payment-options {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0;
  background: rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  border-radius: 1.5rem;
  width: 100%;
  max-width: 1000px;
}

.payment-option {
  flex: 1;
  padding: 1.5rem;
  background-color: transparent;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  color: var(--text-color);
  font-size: 1.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.payment-option.active {
  background-color: rgba(0, 106, 255, 0.3);
  border-color: #006aff;
}

/* Responsive adjustments */
@media (max-width: 1948px) {
  html {
    font-size: 55%;
  }
}

@media (max-width: 1800px) {
  html {
    font-size: 53%;
  }

  .header {
    width: 76%;
  }

  .navbar a {
    font-size: 2.6rem;
    margin-right: 5rem;
  }
}

@media (max-width: 1600px) {
  .header {
    position: absolute;
    top: 4rem;
    width: 98%;
  }
}

@media (max-width: 1200px) {
  .config-container {
    padding: 2rem;
  }
}

@media (max-width: 991px) {
  section {
    padding: 10rem 3% 2rem;
  }

  #menu-icon {
    display: block;
  }

  .header {
    position: fixed;
    top: 3rem;
    padding: 2rem 3%;
    background: rgba(26, 26, 26, 0.345);
    backdrop-filter: blur(20px);
  }

  #menu-icon {
    display: block;
    font-size: 3.6rem;
    color: var(--text-color);
    cursor: pointer;
  }

  #login {
    display: none;
  }
  .navbar {
    position: fixed;
    top: -28px;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: rgba(26, 26, 26, 0.808);
    transition: 0.5s ease;
    z-index: 999;
  }

  .navbar.active {
    z-index: 1000;
  }

  .navbar.active {
    right: -4%;
  }

  .navbar a {
    display: block;
    font-size: 1.8rem;
    margin: 1.5rem 0;
    padding: 1rem 3rem;
    text-align: right;
    color: var(--text-color);
  }

  .navbar a:hover {
    color: var(--second-bg-color);
  }

  .menu-links {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }

  #menu-icon {
    font-size: 3rem;
    z-index: 1000;
    position: fixed;
  }

  .navbar .logo {
    margin-bottom: 3rem;
    order: -1;
  }

  #login-icon {
    position: relative;
    top: 0.5rem;
    display: block;
  }

  .logo {
    font-size: 3.8rem;
    color: #1e3a8a;
    font-weight: 600;
    text-align: center;
    width: 100%;
  }

  #menu-icon {
    display: block;
  }

  #menu-icon.bx-x {
    position: fixed;
    top: 5px;
    z-index: 1001;
  }

  .navbar.active {
    right: -4%;
    z-index: 1000;
  }

  .payment-options {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .server-section {
    padding-top: 12rem;
  }

  .server-title {
    font-size: 3rem;
  }

  .config-container {
    padding: 1.5rem;
  }

  .selection-tabs {
    flex-direction: column;
    gap: 1.5rem;
  }

  .tab-group {
    width: 100%;
  }

  .selection-tab {
    flex: 1;
    font-size: 1.6rem;
    padding: 1.2rem;
  }
}

@media (max-width: 480px) {
  .slider-value {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .order-btn {
    width: 100%;
    margin-top: 2rem;
  }
}
