* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: inherit;
  cursor: default;
}

html,
body {
  height: 100%;
  font-family: "Funnel Display", sans-serif;
  background: #474747;
}

.hero_section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero_section .video_filter {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: black;
  opacity: 0.85;
}

.hero_section video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.navbar {
  position: fixed;
  height: 50px;
  width: 95%;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 42px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.4) 0%,
    rgba(255, 255, 255, 0.2) 100%
  );
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(20px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}

.logo {
  aspect-ratio: 1;
  object-fit: contain;
  object-position: center;
  width: 38px;
  flex-shrink: 0;
}

.navbar-left {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  font-family: "Funnel Display";
  font-size: 22px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -0.96px;
  position: relative;
  left: 10px;
}

.navbar-right {
  display: flex;
  align-items: center;
  gap: 30px;
  color: #fff;
  font-family: "Funnel Display";
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  position: relative;
  right: 20px;
}

a.nav-link {
  transform: translateY(-2px);
  cursor: pointer;
}

.main_logo {
  width: 55%;
  height: auto;
  z-index: 1;
  position: relative;
  left: -20px;
}

.register-btn {
  z-index: 1;
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #ff1341;
  color: white;
  font-size: 24px;
  font-family: Funnel Display;
  font-weight: 500;
  border: none;
  padding: 10px 75px;
  border-radius: 50px;
  cursor: pointer;
  display: inline-block;
  text-align: center;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease-in-out;
}

.register-btn:hover {
  background-color: #b10f2f;
  box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.3);
}

.bg_glitch_video_container {
  position: fixed;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  z-index: -1;
}

.glitch-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -10;
}

.bg_glitch_video_container .video_filter {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: black;
  opacity: 0.5;
  z-index: -5;
}

.about_us {
  height: 700px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.abouttext {
  height: 562px;
  width: 25%;
  border-radius: 30px;
  background-color: black;
  /* backdrop-filter: blur(25px); */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.abouttext h1 {
  font-family: "Funnel Display", sans-serif;
  font-size: 50px;
  font-weight: 500;
  color: #FF1341;
  text-align: left;
  padding: 0 50px;
}

.abouttext p {
  font-family: "Montserrat", sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: #e3e3e3;
  text-align: left;
  margin-top: 20px;
  margin-bottom: 30px;
  padding: 0 50px;
}

.images_container {
  position: relative;
  height: 562px;
  width: 50%;
  border-radius: 30px;
  background: rgb(24, 24, 24);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.images_container img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 30px;
  transition: opacity 0.5s ease-in-out;
  z-index: 0;
  position: relative;
}

.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0,0,0,0.4);
  color: white;
  border: none;
  font-size: 30px;
  padding: 10px;
  cursor: pointer;
  z-index: 2;
  border-radius: 50%;
}

.nav-btn.left {
  left: 10px;
}

.nav-btn.right {
  right: 10px;
}

.nav-btn:hover {
  background-color: rgba(0,0,0,0.6);
}

.images_filter {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: black;
  opacity: 0.3;
  z-index: 1;
  border-radius: 30px;
}

.contact-section {
  color: #fff;
  padding: 50px 20px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.contact-container {
  width: 100%;
  max-width: 1100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
}

.contact-section h1 {
  font-family: 'Funnel Display', sans-serif;
  font-size: 40px;
  font-weight: 500;
  letter-spacing: 4px;
  margin-bottom: 0;
  color: #fff;
  text-align: center;
}

.contact-form {
  background: rgba(40, 40, 40, 0.8);
  padding: 40px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.form-group {
  margin-bottom: 30px;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
  color: #fff;
  font-weight: 400;
  font-family: 'Montserrat', sans-serif;
}

.form-group input {
  width: 100%;
  padding: 15px 20px;
  background: rgba(60, 60, 60, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: #fff;
  font-size: 1rem;
  font-family: 'Montserrat', sans-serif;
  transition: all 0.3s ease;
  outline: none;
  box-sizing: border-box;
}

.form-group input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.form-group input:focus {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(60, 60, 60, 0.7);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.submit-btn {
  width: 100%;
  padding: 15px;
  background: #ff1341;
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 20px;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
}

.social-icons {
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: center;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: rgba(40, 40, 40, 0.8);
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  cursor: pointer;
}

.social-icon:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

.social-icon.youtube:hover {
  background: #ff0000;
  border-color: #ff0000;
}

.social-icon.instagram:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  border-color: #bc1888;
}

.social-icon.whatsapp:hover {
  background: #25d366;
  border-color: #25d366;
}

.social-icon.discord:hover {
  background: #5865f2;
  border-color: #5865f2;
}

.social-icon svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 768px) {
  .contact-section {
    padding: 60px 15px;
  }

  .contact-section h1 {
    font-size: 2.5rem;
    letter-spacing: 2px;
  }

  .contact-form {
    padding: 30px 20px;
  }

  .social-icons {
    gap: 25px;
  }

  .social-icon {
    width: 50px;
    height: 50px;
  }

  .social-icon svg {
    width: 20px;
    height: 20px;
  }

  .about_us {
    flex-direction: column;
    height: auto;
    padding: 40px 20px;
    gap: 30px;
  }

  .abouttext {
    width: 90%;
    height: auto;
    padding: 30px 0;
  }

  .abouttext h1 {
    font-size: 35px;
  }

  .abouttext p {
    font-size: 16px;
  }

  .images_container {
    width: 90%;
    height: 400px;
  }

  .navbar {
    width: 90%;
  }

  .navbar-left {
    font-size: 18px;
  }

  .navbar-right {
    font-size: 16px;
    gap: 20px;
  }

  .main_logo {
    width: 70%;
  }

  .register-btn {
    font-size: 20px;
    padding: 8px 50px;
  }
}

@media (max-width: 480px) {
  .contact-container {
    gap: 40px;
  }

  .contact-section h1 {
    font-size: 2rem;
  }

  .contact-form {
    padding: 25px 15px;
  }

  .social-icons {
    gap: 20px;
  }

  .form-group input {
    padding: 12px 15px;
  }

  .submit-btn {
    padding: 12px;
    font-size: 1rem;
  }

  .abouttext h1 {
    font-size: 28px;
  }

  .abouttext p {
    font-size: 14px;
  }

  .navbar-left {
    font-size: 16px;
    gap: 10px;
  }

  .navbar-right {
    font-size: 14px;
    gap: 15px;
  }

  .logo {
    width: 32px;
  }

  .main_logo {
    width: 80%;
  }

  .register-btn {
    font-size: 18px;
    padding: 6px 40px;
  }
}


/* CSS FOR OUR TOURNAMENTS SECTION*/

.our_tournaments {
  color: white;
  text-align: center;
  padding: 40px 20px;
  padding-top: 10px;
  font-family: "Funnel Display", sans-serif;
}

.our_tournaments h1 {
  font-family: "Funnel Display", sans-serif;
  font-size: 40px;
  font-weight: 500;
  color: #ffffff;
  text-align: center;
  padding: 0 30px;
  margin-bottom: 70px;
}

.tournament_cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-left: 30px;
  margin-right: 30px;
  justify-content: center;
}

.card {
  position: relative;
  width: 100%;
  max-height: 500px;
  aspect-ratio: 3 / 5;
  background-size: cover;
  background-position: center;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  transition: transform 0.3s;
  cursor: pointer;
}

.card:hover {
  transform: scale(1.05);
}

.overlay {
  background: rgba(0, 0, 0, 0.8);
  padding: 20px;
  width: 100%;
}

.overlay h3 {
  margin: 0;
  font-size: 22px;
  font-weight: bold;
}

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

@media (max-width: 768px) {
  .tournament_cards {
    grid-template-columns: repeat(2, 1fr);
  }

   .navbar-left {
    font-size: 16px;
    gap: 10px;
  }

  .navbar-right {
    font-size: 15px;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .overlay h3 {
    margin: 0;
    font-size: 16px;
    font-weight: bold;
  }

  .overlay p {
    margin: 5px 0 0;
    font-size: 12px;
  }
}

/* CSS FOR UPCOMING TOURNAMENTS SECTION */
.upcoming_tournaments {
  color: white;
  text-align: center;
  padding: 40px 20px;
  padding-top: 10px;
  font-family: "Funnel Display", sans-serif;
}

.upcoming_tournaments h1 {
  font-family: "Funnel Display", sans-serif;
  font-size: 40px;
  font-weight: 500;
  color: #ffffff;
  text-align: center;
  padding: 0 30px;
  margin-bottom: 70px;
}

.upcoming_tournament_card {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 0;
  margin-right: 0;
}

.upcoming_tournament_card .card {
  width: 350px;
  max-width: 90vw;
  aspect-ratio: 3 / 5;
  background-size: cover;
  background-position: center;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  transition: transform 0.3s;
  cursor: pointer;
}

.upcoming_tournament_card .card:hover {
  transform: scale(1.05);
}

.upcoming_tournament_card .overlay {
  background: rgba(0, 0, 0, 0.8);
  padding: 20px;
  width: 100%;
}

.upcoming_tournament_card .overlay h3 {
  margin: 0;
  font-size: 22px;
  font-weight: bold;
}

.upcoming_tournament_card .overlay p {
  margin: 5px 0 0;
  font-size: 14px;
}

@media (max-width: 768px) {
  .upcoming_tournament_card .card {
    width: 90vw;
    aspect-ratio: 3 / 5;
  }
  .upcoming_tournaments h1 {
    font-size: 2.5rem;
    padding: 0 10px;
  }
}

@media (max-width: 480px) {
  .upcoming_tournament_card .overlay h3 {
    font-size: 16px;
  }
  .upcoming_tournament_card .overlay p {
    font-size: 12px;
  }
}