:root {
  --white: #fff;
  --black: #000000;
  --blue: #67EFEF;
  --grey: #666;
  --accent: #3cf0ff;
  --accent-soft: rgba(60, 240, 255, 0.4);
  --text-muted: #a7a7c2;
  --pink: #ff2edb;
}

* {
  padding: 0;
  margin: 0;
  
}

*::-webkit-scrollbar { width: 8px; }
*::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 10px; }
*::-webkit-scrollbar-track { background: var(--black); }

html {
  scroll-behavior: smooth;
}

body {
  width: 100vw;
  background: var(--black);
  margin: 0 auto;
  overflow-x: hidden;
}

#preloader {
  width: 100vw;
  height: 100vh;
  position: absolute;
  z-index: 9999;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  top: 0;
}

.preloader img {
  animation: spin 3s ease-in-out infinite;
  width: 200px;
}

@keyframes spin {
    0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(180deg);
}
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--black);
  z-index: 99;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 123px;
  padding: 50px;
  box-sizing: border-box;
}

#header_left {
  width: 180px;
  height: 80px;
  background-size: contain;
  background-repeat: no-repeat;
  animation: floatSide 3s ease-in-out infinite;
}

@keyframes floatSide {
  0% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(10px); 
  }
  100% {
    transform: translateX(0);
  }
}

nav img {
  width: 123px;
}

ul {
  font-family: 'Orbitron';
  display: flex;
  gap: 70px;
}

ul li a {
  color: var(--blue);
  font-size: 21.736px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  list-style-type: none;
  text-decoration: none;
  transition: all 0.3s ease-in;
}

ul li a:hover {
  color: var(--white);
}

.nav_right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.login_btn {
  padding: 8px 18px;
  border-radius: 20px;
  border: 1px solid var(--blue);
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.login_btn a {
  text-decoration: none;
  color: var(--blue);
  font-family: "Orbitron";
  font-size: 14px;
}

.login_btn:hover {
  background: var(--blue);
}

.login_btn:hover a {
  color: var(--black);
}

.cart_btn {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--blue);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.cart_btn img {
  width: 20px;
  height: 20px;
}

#cart_count {
  position: absolute;
  top: -8px;
  right: -8px;
  background:var(--pink);
  color: var(--white);
  font-family: "Orbitron";
  font-size: 10px;
  border-radius: 50%;
  padding: 2px 5px;
  min-width: 16px;
  text-align: center;
}

.cart_overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.775);
  display: none; 
  align-items: center;
  justify-content: flex-end;
  z-index: 200;
  
}

.cart_overlay.open {
  display: flex;
}

.cart_panel {
  width: 340px;
  height: 100%;
  background: var(--black);
  border-left: 1px solid rgba(103, 239, 239, 0.4);
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.6);
  padding: 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart_header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart_header h3 {
  color:var(--white);
  font-family: "Orbitron";
  font-size: 18px;
}

.cart_close {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--blue);
  background: transparent;
  color: var(--blue);
  cursor: pointer;
}

.cart_items {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
}

.cart_item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 8px;
  background: var(--black);
}

.cart_item img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 6px;
}

.cart_item p {
  color:var(--white);
  font-family: "Orbitron";
  font-size: 12px;
}

#cart_items {
  color:var(--blue);
  font-family: "Orbitron";
  font-size: 12px;
}

.remove_btn {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--pink);
  background: transparent;
  color: var(--pink);
  font-family: "Orbitron";
  font-size: 12px;
  cursor: pointer;
  transition: 0.2s;
}

.remove_btn:hover {
  background: var(--pink);
  color: #000;
  transform: scale(1.1);
}

.section_1 {
  background-image: url(assets/hero.png);
  background-repeat: no-repeat;
  background-size: 100% auto;
  width: 100%;
  height: 720px;
  align-items: center;
  display: flex;
  margin-top: 50px;
}

#hero_title {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 655px;
  padding: 0 0 0 128px;
}

#hero_title p {
  color: var(--blue);
  font-family: 'Orbitron';
  font-size: 36px;
  font-style: normal;
  font-weight: 800;
  line-height: normal;
}

h1 {
  color: var(--white);
  font-family: 'Anton';
  font-size: 128px;
  font-style: normal;
  font-weight: 400;
  line-height: 133.541%; /* 170.933px */
}

.sec2_title {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0 0 0 128px;
}

h2 {
  color: var(--white);
  font-family: "Bebas Neue";
  font-size: 88.073px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.sec2_title p {
  color: var(--blue);
  font-family: 'Orbitron';
  font-size: 36px;
  font-style: normal;
  font-weight: 800;
  line-height: normal;
}

.section_2 {
  width: 100%;
  display: flex;
  flex-direction: column;
  margin-top: 100px;
}

.sec2_inside {
  background-image: url(assets/sec2bg.png);
  background-repeat: no-repeat;
  background-size: cover;
  height: 600px;
  width: 100%;
  margin-top: 350px;
  display: flex;
  justify-content: center;
}

#characters {
  display: flex;
  gap: 100px;
  height: 590px;
  margin-top: -100px;
}

.portal {
  background-image: url(assets/portal.png);
  height: 590px;
  width: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.3s ease-in;
}

.portal:hover {
  transform: scale(1.08);
}

.portal img:nth-child(2) {
  position: absolute;
  top: -150px;
  right: -30px;
  transform: scale(0.8);
  animation: rotateFloat 4s ease-in-out infinite;
  transform-origin: center;
}

.portal img:nth-child(3) {
  position: absolute;
  bottom: -100px;
  left: -50px;
}

@keyframes rotateFloat {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-3deg);
  }
  50% {
    transform: rotate(0deg);
  }
  75% {
    transform: rotate(3deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

.section_3 {
  height: 1410px;
  margin-top: 100px;
}

.sec3_inside {
  background-image: url(assets/comic_bg.png);
  height: 1448px;
  background-repeat: no-repeat;
  background-size: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 250px;
}

.spiderweb {
  background-image: url(assets/spiderweb.png);
  background-repeat: no-repeat;
  width: 1291px;
  height: 1185px;
  margin-top: -300px;
  position: relative;
}

.glow, .glow2, .glow3 {
  background-image: url(assets/loop.png);
  background-repeat: no-repeat;
  width: 323px;
  height: 329px;
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease-in;
}

.glow p, .glow2 p, .glow3 p {
  color: var(--white);
  font-family: 'Anton';
  font-size: 32px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  width: 212px;
  text-align: center;
}

.glow {
  right: 100px;
  top: 120px;
}

.glow2 {
  left: 200px;
  top: 300px;
}

.glow3 {
  left: 500px;
  top: 650px;
}

.glow:hover, .glow2:hover, .glow3:hover {
  transform: scale(1.07);
}

.section_4 {
  display: flex;
  flex-direction: column;
  gap: 80px;
  margin-top: 120px;
}

.sec4_images {
  display: flex;
  gap: 45px;
  align-self: center;
  justify-content: center;
}

.merch_card {
  background: var(--black);
  border-radius: 12px;
  padding: 30px;
  border: 1px solid rgba(103, 239, 239, 0.4);
  box-shadow: 0 0 24px rgba(103, 239, 239, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transition: all 0.3s ease-in;
}

.merch_card:hover {
  transform: scale(1.06);
}

.merch_card img {
  width: 300px;
  height: 365px;
  object-fit: cover;
  border-radius: 15px;
}

.counter {
  display: flex;
  align-items: center;
  gap: 10px;
}

.counter button {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  background: transparent;
  color:var(--accent);
  font-family: "Orbitron";
  font-size: 18px;
  cursor: pointer;
  transition: all;
}

.counter button:hover {
  background: var(--accent);
  color: #000;
  transform: translateY(-1px);
}

.counter p {
  min-width: 20px;
  text-align: center;
  color: #fff;
  font-family: "Orbitron";
  font-size: 18px;
}


.footer {
  background: #000;
  padding: 60px 0 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 100px;
  font-family: "Orbitron", sans-serif;
}

.footer_container {
  width: 80%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
}

.footer_col h3 {
  color: var(--blue);
  font-size: 28px;
  margin-bottom: 10px;
  font-family: "Anton";
}

.footer_col h4 {
  color: var(--white);
  font-size: 18px;
  margin-bottom: 12px;
}

.footer_col p {
  color: #aaa;
  font-size: 14px;
  width: 180px;
  line-height: 1.5;
}

.footer_col ul {
  list-style: none;
}

.footer_col ul li {
  margin-bottom: 8px;
}

.footer_col ul li a {
  color: var(--grey);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s ease;
}

.footer_col ul li a:hover {
  color: var(--blue);
}

.socials {
  display: flex;
  gap: 15px;
}

.socials img {
  width: 28px;
  height: 28px;
  filter: brightness(1000%) saturate(0);
  transition: all 0.3s ease;
}

.socials img:hover {
  transform: scale(1.2);
}

.footer_bottom {
  text-align: center;
  margin-top: 40px;
  color: var(--grey);
  font-size: 13px;
}

.characters_page {
  position: relative;
  display: flex;
  justify-content: center;
  margin-top: 150px;
}

.spider_gif {
  position: absolute;
  top: -30px;
  right: -30px;
  z-index: -99;
}

#left_image {
  width: 773px;
  height: 941px;
  padding: 27px 27px 27px 50px;
}

#character_content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 533px;
  justify-content: center;
}

#character_content p {
  width: 533px;
height: 292px;
color: #FFF;
font-family: Orbitron;
font-size: 24px;
font-style: normal;
font-weight: 400;
line-height: 133.541%; /* 32.05px */
}

.name_tag {
  width: 359px;
height: 246px;
}

.character_figure {
  width: 400px;
  height: auto;
}

.login_body {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 100vh;
}

.login_card {
  width: 520px;
  background: var(--bg-card);
  border-radius: 10px;
  padding: 40px 48px 36px;
  box-shadow:0 0 25px rgba(0, 255, 255, 0.35),0 0 60px rgba(255, 0, 255, 0.18);
  border: 1px solid var(--accent-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.login_title {
  font-family: "Anton";
  font-size: 40px;
  letter-spacing: 2px;
  text-align: center;
}

.login_subtitle {
  font-family: 'Orbitron';
  font-size: 12px;
  text-align: center;
  margin-top: 6px;
  margin-bottom: 32px;
  color: var(--accent);
}

.login_form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}

.login_label {
  font-family: 'Orbitron';
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.login_input {
  width: 100%;
  padding: 10px 14px;
  border-radius: 3px;
  border: 1px solid #2b3147;
  background: #050714;
  color: var(--text-main);
  font-size: 13px;
  outline: none;
  transition: all 0.3s ease-in;
}

.login_input::placeholder {
  color: #5c647f;
}

.login_input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 10px rgba(60, 240, 255, 0.7);
  background: var(--black);
}

.login_row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  margin-top: 4px;
}

.remember {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  color: var(--text-muted);
}

.remember input {
  accent-color: var(--accent);
}

.remember p {
  color: var(--text-muted);
  font-family: Orbitron;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 18px; /* 150% */
}

.forgot_link {
  font-family: 'Orbitron';
  color: var(--accent);
  text-decoration: none;
  font-size: 11px;
}

.forgot-link:hover {
  text-decoration: underline;
}

#login_btn {
  font-family: "Anton";
  margin-top: 18px;
  width: 100%;
  padding: 11px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  font-size: 15px;
  background: var(--accent);
  color: var(--black);
  text-transform: uppercase;
  box-shadow:0 0 18px rgba(60, 240, 255, 0.8),0 0 40px rgba(60, 240, 255, 0.4);
  transition: all 0.3s ease;
}

.login_btn:hover {
  transform: translateY(-1px);
  background: var(--accent);
  box-shadow:
    0 0 24px rgba(60, 240, 255, 1),
    0 0 60px rgba(255, 46, 219, 0.4);
}

.login_btn:active {
  transform: translateY(0);
}

.signup_text {
  font-family: 'Orbitron';
  margin-top: 16px;
  text-align: center;
  font-size: 11px;
  color: var(--text-muted);
}

.signup_link {
  font-family: 'Orbitron';
  color: var(--accent);
  text-decoration: none;
}

.signup_link:hover {
  text-decoration: underline;
}

.profile_page {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 160px;
}

.profile_card {
  width: 360px;
  background: var(--black);
  border: 1px solid var(--accent-soft);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 0 25px rgba(60, 240, 255, 0.4);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.profile_header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.profile_img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent);
}

.profile_name {
  color: var(--white);
  font-family: "Anton";
  font-size: 24px;
}

.profile_role {
  color: var(--blue);
  font-family: "Orbitron";
  font-size: 12px;
  letter-spacing: 1px;
}

.profile_bio {
  color: var(--text-muted);
  font-family: "Orbitron";
  font-size: 13px;
  line-height: 1.6;
}

.profile_stats {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}

.profile_stats h3 {
  color: var(--white);
  font-family: "Anton";
  font-size: 20px;
}

.profile_stats p {
  color: var(--grey);
  font-size: 11px;
  font-family: "Orbitron";
}

.profile_buttons {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.profile_btn {
  flex: 1;
  padding: 8px 0;
  border-radius: 20px;
  border: 1px solid var(--blue);
  background: transparent;
  color: var(--blue);
  font-family: "Orbitron";
  font-size: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.profile_btn:hover {
  background: var(--blue);
  color: var(--black);
}

#style {
  display: none;
  color: var(--pink);
  font-family: "Orbitron";
}
