@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');
/*font-family: 'Inter', sans-serif;*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

:root {
  --main-font: 'Inter', sans-serif;
  --main-color: #F43F5E;
  --background-color: #050816;
  --white-color: #FFFFFF;
  --black-color: #000000;
  --description-color: #C9D1E3;

  --accent-2: #BE123C;

  --green-color: #7AF57A;
  --ip-copied-background: rgba(122, 245, 122, 0.12);
  --ip-copied-icon-background: rgba(122, 245, 122, 0.45);

  --copy-ip-button-background: rgba(244, 63, 94, 0.92);
  --how-to-join-button-background: rgba(15, 23, 42, 0.78);
  --stats-background: rgba(16, 6, 14, 0.74);
  --stat-icon-background-2: rgba(244, 63, 94, 0.35);

  --scroll-bar: rgba(100, 116, 139, 0.7);
  --scroll-bar-hover: #E2E8F0;

  --red-color: #FF7C7C;
  --warning-background: rgba(255, 124, 124, 0.17);
  --warning-icon-background: rgba(255, 124, 124, 0.5);
  --warning-color: #F5C1C1;

  /*Admin-Team rank colors*/
  --default-rank-color: rgba(15, 23, 42, 0.8);
}

body {
  background-image:
    radial-gradient(circle at 12% 8%, rgba(244, 63, 94, 0.18) 0%, transparent 72%),
    radial-gradient(circle at 82% 14%, rgba(190, 18, 60, 0.16) 0%, transparent 74%),
    radial-gradient(circle at 55% 88%, rgba(88, 28, 135, 0.14) 0%, transparent 78%),
    linear-gradient(135deg, #020617 0%, #0b0612 38%, #140915 68%, #020617 100%),
    url("../images/bg0.png"),
    url("../images/bg0.jpg");
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat;
  background-position: center, center, center, center, center, center;
  background-attachment: fixed, fixed, fixed, fixed, fixed, fixed;
  background-size: cover;
  font-family: var(--main-font);
  overflow-x: hidden;
}

@media screen and (max-width: 819px) {
  body {
    background-attachment: scroll;
  }
}

/*Navbar*/
.navbar {
  display: flex;
  width: 100%;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 20px 150px;
  background: linear-gradient(90deg, rgba(5, 8, 22, 0.96), rgba(15, 23, 42, 0.96));
  transition: 0.3s ease-in-out;
}

.navbar a {
  text-decoration: none;
}

.navbar .menu-mobile {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.navbar .menu-mobile .logo {
  display: flex;
  flex-direction: row;
  justify-content: left;
  align-items: center;
  gap: 10px;
}

.navbar .menu-mobile .logo img {
  max-width: 52px;
  height: auto;
}

.navbar .menu-mobile .logo h3 {
  color: var(--white-color);
  font-weight: 900;
  font-size: 20px;
}

.navbar .links {
  display: flex;
  flex-direction: row;
  gap: 30px;
  transition: 0.3s ease-in-out;
}

.navbar-right {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
}

.navbar .lang-toggle {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: radial-gradient(circle at 0 0, rgba(244, 63, 94, 0.25), transparent 55%),
    rgba(15, 23, 42, 0.95);
  color: var(--white-color);
  font-size: 12px;
  padding: 4px 14px;
  cursor: pointer;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: 0.2s ease-in-out;
}

.navbar .lang-toggle:hover {
  border-color: rgba(248, 250, 252, 0.9);
  box-shadow: 0 0 12px rgba(244, 63, 94, 0.45);
}

.navbar .links .link {
  color: var(--description-color);
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  position: relative;
  transition: 0.2s;
}

.navbar .links .link.active {
  color: var(--white-color);
}

.navbar .links .link.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 40px;
  height: 3px;
  border-radius: 5px;
  background: var(--main-color);
}

.navbar .links .link:not(.active):hover {
  color: var(--white-color);
}

.navbar .menu-mobile .hamburger {
  color: var(--white-color);
  font-size: 20px;
  cursor: pointer;
  transition: 0.5s;
  display: none;
}

.navbar .menu-mobile .hamburger:hover {
  opacity: 0.8;
}

.navbar.active {
  max-height: 1000px;
}

.navbar.active .links {
  opacity: 1;
  z-index: 2;
}

/*Footer*/
#footer {
  padding: 20px 150px;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

#footer p {
  color: var(--description-color);
  font-size: 17px;
}

#footer p span {
  color: var(--white-color);
}

#footer .social-links {
  display: flex;
  flex-direction: row;
  gap: 15px;
}

#footer .social-links .link {
  color: var(--description-color);
  text-decoration: none;
  font-size: 20px;
  transition: 0.2s;
}

#footer .social-links .link:hover {
  color: var(--white-color);
}

/*Scrollbar*/
::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: var(--stats-background);
}

::-webkit-scrollbar-thumb {
  background: var(--scroll-bar);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--scroll-bar-hover);
}

/*Other*/
section:not(#header) .content {
  padding: 60px 70px;
  width: 100%;
  max-width: 1320px;
  margin: 40px auto;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(88, 28, 135, 0.28), rgba(190, 18, 60, 0.16));
  border-radius: 26px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}

section:not(#header) .content:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 90px rgba(15, 23, 42, 0.98);
}

/*Responsive*/
@media screen and (max-width: 1625px) {
  .navbar {
    padding: 20px 90px;
  }

  section:not(#header) .content {
    padding: 50px 50px;
    margin: 30px auto;
  }
}

@media screen and (max-width: 819px) {
  .navbar {
    padding: 20px 30px;
  }

  section:not(#header) .content {
    padding: 40px 30px;
    margin: 25px auto;
  }
}

@media screen and (max-width: 867px) {
  .navbar {
    flex-direction: column;
    gap: 30px;
    max-height: 90px;
  }

  .navbar .menu-mobile {
    width: 100%;
  }

  .navbar .menu-mobile .hamburger {
    display: flex;
  }

  .navbar .links {
    flex-direction: column;
    order: 2;
    width: 100%;
    opacity: 0;
    z-index: -1;
  }

  .navbar-right {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .navbar .lang-toggle {
    align-self: flex-start;
  }
}

@media screen and (max-width: 1625px) {
  section:not(#header) .content {
    padding: 90px;
  }

  #footer {
    padding: 20px 90px;
  }
}

@media screen and (max-width: 819px) {
  section:not(#header) .content {
    padding: 50px 30px;
  }

  #footer {
    padding: 20px 30px;
  }
}

@media screen and (max-width: 564px) {
  #footer {
    flex-direction: column;
    gap: 30px;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
}