/* Import font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

/* ===== Global Reset ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

html {
  scroll-behavior: smooth;
}
body {
  background-color: #000;
  background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('images/shop.jpg');
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  z-index: 2;
}



.header {
    position: fixed;
    top: 20px;                /* space at the top */
    left: 50%;                /* center horizontally */
    transform: translateX(-50%);
    width: 90%;               /* smaller than 100% */
    padding: 10px 30px 10px 30px;
    background-color: rgb(1, 1, 1); 
    border-radius: 50px;  
    border: 2px solid rgb(255, 201, 101);    
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 900;
}


.logo {
    font-weight: 600;
}

.pcbar {
    color: #ededed;
    display: flex;
    justify-content: space-between;
    font-weight: 500;
    margin-left: 35px;
    list-style-type: none;
    text-decoration: none;
}

.pcbar li{
    height: 50px;
}
.pcbar a {
  font-size: 15px;
  height: 100%;
  padding: 0 20px;
  display: flex;
  align-items: center;
  color: rgb(230, 225, 214);
  text-decoration: none;
  position: relative; 
}

.pcbar a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 5px;
  width: 0%;
  height: 2px;
  background-color: rgb(255, 201, 101);
  transition: width 0.3s ease;
}


.pcbar a.active::after {
  width: 100%;
}


.pcbar :hover,
.pcbar .active {
    color: rgb(255, 201, 101); 
}

.signbtn {
    color: black; 
    background-color: rgb(182, 118, 0); 
    padding: 10px 20px;
    border-radius: 80px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.logo {
    flex: 1;
}

.logo a {
    display: flex;
    align-items: center;
    font-size: clamp(1rem, 2vw, 2.5rem);
    color: #ededed;
    text-decoration: none;
}

.logo img{
    width: clamp(40px, 6vw, 60px);
    margin-right: 10px;
    mix-blend-mode: lighten;
}

img {
    display: flex;
    justify-content: center;
    align-content: center;
    text-align: center;
    width: 55%;
    border: 3px #ededed;
    border-radius: 15px;
    margin-right: 50%;
}

.text {
    font-size: 3vmin;
    color: #ededed;
}

.text h2{
    font-size: 7vmin;

}

.text p {
    text-align: center;
    font-size: 4vmin;
    color: #ededed;
    margin-bottom: -40px;
}

.word {
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 90%;
    width: 90%;
    padding: 20px;
    border: 2px solid black;
    margin: auto;
    margin-top: 50px;
    background-color:rgba(0, 0, 0, 0.5) ;
    box-shadow: inset -5px -5 px rgba(0, 0, 0, 0.5);
    border-radius: 25px;
}

.word p {
    color: whitesmoke;
    font-size: 100%;
}

.sidebar {
    position: fixed;
    top: -22px;
    right: -200px;
    height: 100vh;
    width: 400px;
    z-index: 999;
    background-color: rgba(0, 0, 0, 0.714);
    backdrop-filter: blur(10px);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.sidebar a {
    font-size: clamp(8px,3vm , 15px);
    color: white;
    padding-inline: 25px;
    width: 100%;
    line-height: 70px;
    text-decoration: none;
}

.sidebar a:hover{
    color: white;
    width:500% ;
    background-color: rgba(247, 161, 0, 0.748);
    padding: auto; 
}

.sidebar a.active {
    color: white;
    width:500% ;
    background-color: rgb(247, 161, 0);
    padding: auto; 
}

.close-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 15px;
}
.close-btn svg {
  pointer-events: none; 
}

/* Hide elements on smaller screens */
@media (max-width: 1200px) {
  .hideOnMobile {
    display: none;
  }
}

/* ===== Form Container ===== */
.container {
  background: rgba(51, 51, 51, 0.474);
  width: 450px;
  padding: 1.5rem;
  margin: 150px auto;
  border-radius: 10px;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.6);
  z-index: 1;
}

/* ===== Form ===== */
.form-logo {
  width: 100px;
  height: auto;
  margin: 0 auto 10px auto;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  display: block;
}

form {
  margin: 0 2rem;
}

.form-title {
  color: rgb(255, 201, 101);
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
  padding: 1.3rem;
  margin-bottom: 0.4rem;
}

.input-group {
  padding: 1% 0;
  position: relative;
}

.input-group i {
  position: absolute;
  color: rgb(255, 201, 101);
}

input {
  color: rgb(255, 201, 101);
  width: 100%;
  background-color: transparent;
  border: none;
  border-bottom: 1px solid #ffffff;
  padding-left: 1.5rem;
  font-size: 15px;
}

input:focus {
  background-color: transparent;
  outline: none;
  border-bottom: 2px solid #fff;
}

input::placeholder {
  color: transparent;
}

label {
  font-size: 12px;
  color: rgb(255, 201, 101);
  position: relative;
  left: 2.2em;
  top: -2.3em;
  transition: 0.3s ease all;
}

input:focus ~ label,
input:not(:placeholder-shown) ~ label {
  top: -4.2em;
  color: #fff;
  font-size: 10px;
}

/* ===== Password Eye ===== */
.eye {
  cursor: pointer;
}

.eye b {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 16px;
  color: whitesmoke;
}

.eye b:hover {
  color: rgb(255, 201, 101);
}

/* ===== Forgot Password ===== */
.forgot {
  text-align: center;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.forgot a {
  text-decoration: none;
  color: rgb(255, 201, 101);
}

.forgot a:hover {
  color: rgb(168, 109, 0);
  text-decoration: underline;
}

/* ===== Buttons ===== */
.btn {
  font-size: 1.1rem;
  padding: 8px 0;
  border-radius: 5px;
  border: none;
  width: 100%;
  background: rgb(168, 109, 0);
  color: white;
  cursor: pointer;
  transition: 0.3s ease;
}

.btn:hover {
  background: #fff;
  color: rgb(168, 109, 0);
}

/* ===== Links ===== */
.links {
  display: flex;
  justify-content: space-around;
  padding: 0 3rem;
  margin-top: 0.9rem;
}

.links p {
  color: rgb(255, 201, 101);
}

button {
  color: rgb(255, 201, 101);
  border: none;
  background-color: transparent;
  font-size: 1rem;
  font-weight: lighter;
}

button:hover {
  color: #fff;
}

/* ===== Modal ===== */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(2px);
}

.modal-content {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  max-width: 400px;
  text-align: center;
}

/* ===== Terms ===== */
.term {
  color: whitesmoke;
  margin: 20px 0 0;
  font-size: 0.8rem;
  text-align: center;
}

.term label {
  display: flex;
  align-items: center;
  cursor: pointer;
  gap: 8px;
}

.term input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border: 2px solid rgb(255, 201, 101);
  border-radius: 50%;
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  flex-shrink: 0;
}

.term input[type="checkbox"]:checked::after {
  content: "✔";
  color: rgb(255, 201, 101);
  font-size: 12px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.term a {
  color: rgb(255, 201, 101);
  text-decoration: none;
}

.term a:hover {
  color: rgb(182, 118, 0);
  text-decoration: underline;
}

/* ===== Preloader ===== */
#preloader {
  position: fixed;
  background: #fff url(loading.gif) no-repeat center center;
  background-size: 150px 150px;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  z-index: 9999;
  opacity: 1;
  transition: opacity 1s ease, filter 1s ease;
}

#preloader.fade-out {
  opacity: 0;
  filter: blur(8px);
  pointer-events: none;
}