@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');

* {
  outline: none;
  font-family: "Poppins", sans-serif;
  font-style: normal;
  letter-spacing: 0.05vw;
  box-sizing: border-box;
  text-decoration: none;
}

html {
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: black;
}





/* MAIN */

.main-content {
  margin-left: 10vw;
  width: 80vw;
  padding: 2vw;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.profile-banner {
    height: 45vw;
    width: 100vw;
    position: absolute;
    top: 0vw;
    left: 0;
    filter: brightness(0.65);
    z-index: -1;
    background-position: center;
    background-size: cover;
    object-fit: cover;
    object-position: center;
    z-index: -1;
}



.profile-banner-gradient {
    height: 45vw;
    backdrop-filter: blur(0.25vw);
    width: 100vw;
    position: absolute;
    top: 0vw;
    left: 0;
    z-index: 0;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgb(0 0 0 / 83%), rgb(0, 0, 0));
}



.profile-background {
    height: 50vw;
    width: 100vw;
    position: absolute;
    top: 44vw;
  left: 0;
    z-index: 0;
    background-color: black;
}

.profile-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2vw;
  height: 20vw;
  margin-bottom: 25vw;
  margin-top: 5vw;
  margin-left: 20vw;
  z-index: 2;
}


.header-button-container {
  margin-top: -1.5vw;
  display: flex;
  gap: 0.35vw;
  align-items: center;
}


.edit-profile-container {
  position: relative;
  z-index: 9;
  margin-top: -1.5vw;
}

.edit-profile-button {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  border-radius: 1vw;
  text-decoration: none;
  z-index: 1000;
  left: 0;
  font-size: 1.25vw;
  padding: 0.5vw 1vw;
  background-color: #4a4a4a80;
  transition: background-color 0.3s ease, border 0.3s ease;
  border: 0.2vw solid #8080801f;
}

.edit-profile-button:hover {
  background-color: #4a4a4a6b;
  border: 0.2vw solid #80808000;
}

.edit-profile-button i {
  transition: transform 0.3s ease;
}

.edit-profile-button:hover i {
  transform: rotate(60deg);
}


.friend-message-container {
  position: relative;
  z-index: 9;
  margin-top: -1.85vw;
  gap: 0.35vw;
}

@keyframes shakeRotate {
  0% { transform: rotate(0deg); }
  20% { transform: rotate(-6deg); }
  40% { transform: rotate(6deg); }
  60% { transform: rotate(-4deg); }
  80% { transform: rotate(4deg); }
  100% { transform: rotate(0deg); }
}

.message-button {
  display: inline-flex;
  align-items: center;
  padding: 0.55vw 1vw;
  color: white;
  border-radius: 1vw;
  text-decoration: none;
  z-index: 1000;
  left: 0;
  font-size: 1.25vw;
  background-color: #4a4a4a80;
  transition: background-color 0.3s ease, border 0.3s ease;
  border: 0.2vw solid #8080801f;
}

.message-button:hover {
  background-color: #4a4a4a6b;
  border: 0.2vw solid #80808000;
}

.message-button i {
  margin-right: 0.5vw;
  transition: transform 0.65s ease;
}

.message-button i.shake {
  animation: shakeRotate 0.65s ease;
}

.friend-add-button {
  display: inline-flex;
  align-items: center;
  padding: 0.65vw 0.55vw;
  color: white;
  border-radius: 1vw;
  text-decoration: none;
  z-index: 1000;
  left: 0;
  font-size: 1.25vw;
  background-color: #4a4a4a80;
  transition: background-color 0.3s ease, border 0.3s ease;
  border: 0.2vw solid #8080801f;
  cursor: pointer;
}

.friend-add-button:hover {
  background-color: #4a4a4a6b;
  border: 0.2vw solid #80808000;
}




  .add-friend-btn {
  display: inline-block;
  padding: 0.65vw 0.65vw;
  color: white;
  border-radius: 1vw;
  text-decoration: none;
  z-index: 1000;
  left: 0;
  font-size: 1.25vw;
  background-color: #4a4a4a80;
  transition: background-color 0.3s ease, border 0.3s ease;
  border: 0.2vw solid #8080801f;
  cursor: pointer;
}

.add-friend-btn:hover {
  background-color: #4a4a4a6b;
  border: 0.2vw solid #80808000;
}

.profile-copy-btn  {
  display: inline-block;
  padding: 0.65vw 0.7vw;
  color: white;
  border-radius: 1vw;
  text-decoration: none;
  z-index: 1000;
  left: 0;
  cursor: pointer;
  font-size: 1.25vw;
  background-color: #4a4a4a80;
  transition: background-color 0.3s ease, border 0.3s ease;
  border: 0.2vw solid #8080801f;
}

.profile-copy-btn:hover {
  background-color: #4a4a4a6b;
  border: 0.2vw solid #80808000;
}

.profile-shop-btn {
  display: inline-block;
  padding: 0.65vw 0.65vw;
  color: white;
  border-radius: 1vw;
  text-decoration: none;
  z-index: 1000;
  left: 0;
  font-size: 1.25vw;
  cursor: pointer;
  background-color: #4a4a4a80;
  transition: background-color 0.3s ease, border 0.3s ease;
  border: 0.2vw solid #8080801f;
}

.profile-shop-btn:hover {
  background-color: #4a4a4a6b;
  border: 0.2vw solid #80808000;
}
  


.profile-info {
  display: flex;
  align-items: center;
  padding: 1.5vw 2vw;
  border-radius: 1vw;
  margin-top: -4.5vw;
  z-index: 2;
}



.user-profile-pic-frame {
  position: absolute;
  width: 12vw;
  height: 12vw;
  transform: translateY(-0.8vw) translateX(-1vw);
  z-index: 1;
  cursor: pointer;
}

.user-profile-pic {
  width: 10vw;
  height: 10vw;
  background-color: #555;
  border-radius: 1vw;
  background-position: center;
  background-size: cover;
  object-fit: cover;
  object-position: center;
  cursor: pointer;
  box-shadow: 0vw 0vw 1.5vw 0vw rgba(0, 0, 0, 0.419);
  margin-right: 1vw;
  transform: translateY(0.3vw);
}

.user-profile-pic {
  cursor: pointer;
}

.image-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease, backdrop-filter 0.5s ease;;
}

.image-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
  backdrop-filter: blur(0.25vw);
}

.image-modal-content {
  height: 60vh;
  width: 60vh;
  object-fit: cover;
  border-radius: 3vw;
  box-shadow: 0 0 3vw rgba(0, 0, 0);
  background-color: #fff;
  transform: scale(0.8);
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.image-modal-overlay.active .image-modal-content {
  transform: scale(1);
  opacity: 1;
}









.profile-text {
  display: flex;
  flex-direction: column;
}

.user-profile-container {
  display: flex;
  flex-direction: column;
  width: 12vw;
  margin-top: -2vw;
}

.user-profile-username {
  font-size: 3vw;
  color: rgb(235, 235, 235);
  text-shadow: 0vw 0vw 1.2vw rgb(0, 0, 0);
  margin-bottom: 2vw;
  display: flex; 
}
.user-profile-level {
  font-size: 1.85vw;
  width: auto;
  padding: 1vw 0.65vw;
  height: 2.5vw;
  border-radius: 1vw;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: -0.75vw;
  margin-right: -0.5vw;
  min-width: 2.65vw;
}

.profile-text span {
  font-size: 1.5vw;
  color: rgb(255, 255, 255);
  text-shadow: 0vw 0vw 1.2vw rgb(0, 0, 0)
}

.profile-text-bio {
  margin-bottom: 1.5vw;
  margin-top: -0.75vw;
  text-shadow: 0vw 0vw 1.5vw rgb(0, 0, 0);
}

.profile-text-bio p {
  color: rgb(188, 188, 188);
  font-size: 0.75vw;
}









/* SOCIAL ICONS ON PROFILE */

.header-social-container {
  display: flex;
  justify-content: left;
  transform: translateY(-2vw) translateX(-0.25vw);
}

.header-social-background {
  backdrop-filter: blur(0.5vw);
  border-radius: 5vw;
  display: flex;
  justify-content: left;
  z-index: 3;
}

.header-social-icon {
  font-size: 2vw;
  padding: 0.5vw 0.5vw;
  color: rgb(220, 220, 220);
  border-radius: 50%;
  text-align: left;
  align-items: left;
  transform:scale(1);
  transition: color 0.25s ease, transform 0.25s ease;
}

.header-social-icon:hover {
  color: rgb(183, 183, 183);
  transform:scale(1.1);
}















/* STATS */

.profile-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1vw;
  justify-content: left;
  width: 100%;
  margin-top: -1.5vw;
}

.stat {
  display: flex;
  align-items: left;
  gap: 1vw;
  padding: 0.5vw 1vw;
  border-radius: 0.5vw;
  color: #ffffff;
  font-weight: 600;
  text-shadow: 0vw 0vw 0.5vw rgba(46, 46, 46, 0.45);
  font-size: 1.5vw;
  white-space: nowrap;
  
}

.stat i {
  font-size: 2vw;
  color: #ffffff;
}

.stat-cards {
  background-color: rgba(114, 179, 209, 0.75);
  color: #ffffff;
  justify-content: center;
  align-items: center;
}

.stat-coins {
  background-color: rgba(255, 235, 169, 0.75);
  color: #ffffff;
  justify-content: center;
  align-items: center;
}

.stat-tokens {
  background-color: rgba(141, 186, 143, 0.75);
  color: #ffffff;
  justify-content: center;
  align-items: center;
}

.stat-friends {
  background-color: rgba(221, 133, 125, 0.75);
  color: #ffffff;
  justify-content: center;
  align-items: center;
}

.collection h2 {
  font-size: 2vw;
  margin-bottom: 1vw;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1vw;
}

.card {
  width: 100%;
  height: 15vw;
  background-color: #555;
  border-radius: 1vw;
}

.friends-list {
  display: flex;
  justify-content: space-between;
}

.friend {
  background-color: red;
  padding: 2vw;
  border-radius: 50%;
  text-align: center;
  font-size: 1vw;
}




/* PROFILE CONTENT */

/* Comments */
.profile-description {
  grid-column: 1 / -1;
  background: #30303029;
  border-radius: 1.5vw;
  height: auto;
  backdrop-filter:blur(0.3vw);
  margin-bottom: -1vw;
}

.profile-description-card {
  display: flex;
  margin: 0 auto;
  margin-bottom: 1.5vw;
  width: 96%;
  background: #3a3a3a26;
  border-radius: 1.65vw;
  height: 8vw;
  margin-top: -0.65vw;
}

.profile-description p {
  font-size: 1.15vw;
  text-align: center;
  padding: 2vw;
  margin-top: -2.5vw;
}

/* kontajner: 2-stÃƒÆ’Ã¢â‚¬Å¾Ãƒâ€šÃ‚ÂºpcovÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â½ grid */
.profile-container {
  position: relative; /* <-- toto je kÃƒÆ’Ã¢â‚¬Å¾Ãƒâ€šÃ‚Â¾ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚ÂºÃƒÆ’Ã¢â‚¬Å¾Ãƒâ€šÃ‚ÂovÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â© */
  z-index: 997; /* alebo akokoÃƒÆ’Ã¢â‚¬Å¾Ãƒâ€šÃ‚Â¾vek vysokÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â© ÃƒÆ’Ã¢â‚¬Å¾Ãƒâ€šÃ‚ÂÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â­slo potrebujeÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ */
  
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: auto;
  gap: 2vw 1vw;
  width: 70vw;
  margin-top: -26vw;
  margin-left: 25vw;
  padding: 2vw;
  box-sizing: border-box;
  font-family: 'Press Start 2P', sans-serif;
  color: #fff;
}


/* Advancements */
.profile-advancements {
  grid-column: 1;
  background: #30303029;
  border-radius: 1.5vw;
  backdrop-filter:blur(0.3vw);
}

/* Level */
.profile-level {
  grid-column: 2;
  background: #30303029;
  border-radius: 1.5vw;
  height: 13.25vw;
  backdrop-filter:blur(0.3vw);
}

/* Inventory */
.profile-inventory {
  grid-column: 1;
  background: #30303029;
  border-radius: 1.5vw;
  margin-top: -1vw;
  height: 20vw;
  backdrop-filter:blur(0.3vw);
  height: 23vw;
}

/* Cards */
.profile-cards {
  grid-column: 2;
  background: #30303029;
  border-radius: 1.5vw;
  margin-top: -6vw;
  backdrop-filter:blur(0.3vw);
  height: 16.5vw;
}

/* Friends */
.profile-friends {
  grid-column: 2;
  background: #30303029;
  border-radius: 1.5vw;
  margin-top: -12.5vw;
  height: 10.5vw;
  backdrop-filter:blur(0.3vw);
}

/* Comments */
.profile-comments {
  grid-column: 1 / -1;
  background: #30303029;
  border-radius: 1.5vw;
  height: 15vw;
  backdrop-filter:blur(0.3vw);
  margin-top: -3vw;
  margin-bottom: 5vw;
}

.profile-comments-card {
  display: flex;
  margin: 0 auto;
  margin-bottom: 1.5vw;
  width: 96%;
  
  background: #3a3a3a26;
  border-radius: 1.65vw;
  height: 8vw;
  margin-top: -0.65vw;
}

/* Nadpisy */
.profile-advancements h2,
.profile-level h2,
.profile-inventory h2,
.profile-cards h2,
.profile-friends h2,
.profile-description h2,
.profile-comments h2 {
  font-size: 2vw;
  padding: 1.5vw;
  margin: 0 0 1vw;
  text-align: center;
}

/* TlaÃƒÆ’Ã¢â‚¬Å¾Ãƒâ€šÃ‚ÂidlÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¡ */
.profile-advancements button,
.profile-inventory button,
.profile-cards button {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5vw;
  font-weight: 500;
  cursor: pointer;
  margin: 0 auto;
  width: 100%;
  text-align: center;
  background-color: #8080801c;
  padding: 0.5vw;
  border-radius: 0vw 0vw 1.5vw 1.5vw;
}

/* Purple grid (advancements) */
.profile-purple-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(2, 4vw);
  gap: 0.6vw;
  padding: 0vw 1.5vw;
  margin-top: -1vw;
  margin-bottom: 1.5vw;
}
.profile-purple-grid div {
  background: #33333329;
  border-radius: 0.4vw;
}

/* Black grid (inventory) */
.profile-black-grid {
  display: grid;
  grid-template-columns: repeat(4, 6.5vw);
  grid-template-rows: repeat(2, 6.5vw);
  gap: 0.6vw;
  justify-content: center;
  margin: 0 auto;
  margin-top: -1vw;
  margin-bottom: 1.5vw;
}
.profile-black-grid div {
  background: #3a3a3a26;
  border-radius: 0.85vw;
}


/* Level progress */
.profile-progress-wrapper {
  display: flex;
  align-items: center;
  position: relative;
  background-color: #5757571a;
  border-radius: 1.5vw;
  padding: 1vw;
  width: 90%;
  margin: 0 auto;
  margin-top: 2vw;
  
}
.profile-level-number {
  font-size: 1.15vw;
  color: #ffffff;
  background-color: #ffffff21;
  border: 0.2vw solid #8080801c;
  text-align: center;
  width: 2.65vw;
  height: 2.65vw;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-bar {
  flex: 1;
  height: 0.65vw;
  background: #888;
  margin: 0 1vw;
  position: relative;
  border-radius: 0.5vw;
}
.profile-fill {
  width: 0;
  height: 100%;
  background-image: linear-gradient(to right, rgb(197, 140, 27), rgb(225, 176, 85));
  border-radius: 5vw;
  transition: width 3s ease;
}
.profile-exp-text {
  position: absolute;
  top: -4.85vw;
  left: 0;
  width: 100%;
  text-align: center;
  font-size: 1.35vw;
  color: orange;
}

/* Cards grid s individuÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¡lnymi ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â­rkami & vÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â½ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡kami */
.profile-cards-grid {
  display: flex;
  justify-content: center;
  gap: 0.65vw;
  margin: 0 auto;
  margin-top: -1vw;
  margin-bottom: 1.5vw;
  width: 100%;
}

.profile-card {
  background: #3a3a3a26;
  border-radius: 0.65vw;
  width: 5.5vw;
  height: 7vw;
}


/* Friends */
.profile-friend-list {
  display: flex;
  justify-content: space-between;
  padding: 1.15vw 2vw;
}
.profile-friend-list div {
  width: 5vw;
  height: 5vw;
  background: #3a3a3a26;
  border-radius: 50%;
  padding: 1vw;
  margin-top: -3vw;
}


#preview-bar {
  width: 80vw;
  margin-left: 20vw;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgb(12 12 12 / 95%);
  backdrop-filter:blur(0.1vw);
  color: white;
  padding: 1.5vw 2vw;
  font-family: sans-serif;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 9999;
  box-shadow: 0 -1vw 1vw rgba(0, 0, 0, 0.4);
}

#preview-bar-text {
  font-size: 1.65vw;
  color: white;
}

#preview-bar a {
  background: #3b3b3b;
  color: #ffffff;
  padding: 1vw 2vw;
  border-radius: 1vw;
  text-decoration: none;
  font-weight: 500;
  transition: 0.2s ease;
  font-size: 1.5vw;
}

#preview-bar a:hover {
  background: #333333;
}






































































/* PHONE */


@media (max-width: 768px) {

.main-content {
  margin-left: 0vw;
  width: 100%;
  padding: 2vw;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.profile-banner {
    height: 115vw;
    width: 100%;
    position: absolute;
    top: 0vw;
    filter: brightness(0.65);
    z-index: -1;
    background-position: center;
    background-size: cover;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}



.profile-banner-gradient {
    height: 115vw;
    backdrop-filter: blur(0.25vw);
    width: 100%;
    position: absolute;
    top: 0vw;
    z-index: 2;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgb(0 0 0 / 54%), rgb(0, 0, 0));
}



.profile-background {
    height: 50vw;
    width: 100%;
    position: absolute;
    top: 114.5vw;
    z-index: 2;
    background-color: black;
}

.profile-header {
  gap: 2vw;
  width: 100%;
  margin-bottom: 25vw;
  margin-top: 5vw;
  margin-left: 0VW;
  z-index: 2;
}


.header-button-container {
  margin-top: 0vw;
  display: flex;
  gap: 1.5vw;
  align-items: center;
  
}


.edit-profile-container {
  position: relative;
  z-index: 9;
  margin-top: -1.5vw;
}

.edit-profile-button {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  z-index: 1000;
  left: 0;
  background-color: #4a4a4a80;
  border-radius: 3vw;
  font-size: 5vw;
  padding: 2vw 3vw;
  transition: background-color 0.3s ease, border 0.3s ease;
  border: 0.65vw solid #8080801f;
  gap: 1.5vw;
}

.edit-profile-button:hover {
  background-color: #4a4a4a6b;
  border: 0.65vw solid #80808000;
}

.edit-profile-button i {
  transition: transform 0.3s ease;
}

.edit-profile-button:hover i {
  transform: rotate(60deg);
}


.friend-message-container {
  position: relative;
  z-index: 9;
  margin-top: -1.85vw;
  gap: 1.5vw;
}

@keyframes shakeRotate {
  0% { transform: rotate(0deg); }
  20% { transform: rotate(-6deg); }
  40% { transform: rotate(6deg); }
  60% { transform: rotate(-4deg); }
  80% { transform: rotate(4deg); }
  100% { transform: rotate(0deg); }
}

.message-button {
  display: inline-flex;
  align-items: center;
  padding: 0.55vw 1vw;
  color: white;
  border-radius: 1vw;
  text-decoration: none;
  z-index: 1000;
  left: 0;
  border-radius: 3vw;
  font-size: 5vw;
  padding: 2vw 3vw;
  transition: background-color 0.3s ease, border 0.3s ease;
  border: 0.65vw solid #8080801f;
  background-color: #4a4a4a80;
  transition: background-color 0.3s ease, border 0.3s ease;
  gap: 1.5vw;
}

.message-button:hover {
  background-color: #4a4a4a6b;
  border: 0.65vw solid #80808000;
}

.message-button i {
  margin-right: 0.5vw;
  transition: transform 0.65s ease;
}

.message-button i.shake {
  animation: shakeRotate 0.65s ease;
}

.friend-add-button {
  display: inline-flex;
  align-items: center;
  color: white;
  border-radius: 1vw;
  text-decoration: none;
  z-index: 1000;
  left: 0;
  background-color: #4a4a4a80;
  border-radius: 3vw;
  font-size: 5vw;
  padding: 2.35vw 2vw;
  transition: background-color 0.3s ease, border 0.3s ease;
  border: 0.65vw solid #8080801f;
  cursor: pointer;
}

.friend-add-button:hover {
  background-color: #4a4a4a6b;
  border: 0.65vw solid #80808000;
}




  .add-friend-btn {
  display: inline-block;
  padding: 0.65vw 0.65vw;
  color: white;
  border-radius: 1vw;
  text-decoration: none;
  z-index: 1000;
  left: 0;
  font-size: 1.25vw;
  background-color: #4a4a4a80;
  transition: background-color 0.3s ease, border 0.3s ease;
  border: 0.2vw solid #8080801f;
  cursor: pointer;
}

.add-friend-btn:hover {
  background-color: #4a4a4a6b;
  border: 0.2vw solid #80808000;
}

.profile-copy-btn  {
  display: inline-block;
  color: white;
  border-radius: 1vw;
  text-decoration: none;
  z-index: 1000;
  left: 0;
  cursor: pointer;
  border-radius: 3vw;
  font-size: 5vw;
  padding: 2.35vw 3vw;
  transition: background-color 0.3s ease, border 0.3s ease;
  border: 0.65vw solid #8080801f;
}

.profile-copy-btn:hover {
  background-color: #4a4a4a6b;
  border: 0.65vw solid #80808000;
}

.profile-shop-btn {
  display: inline-block;
  color: white;
  text-decoration: none;
  z-index: 1000;
  left: 0;
  font-size: 1.25vw;
  cursor: pointer;
  border-radius: 3vw;
  font-size: 5vw;
  padding: 2.35vw 3vw;
  transition: background-color 0.3s ease, border 0.3s ease;
  border: 0.65vw solid #8080801f;
}

.profile-shop-btn:hover {
  background-color: #4a4a4a6b;
  border: 0.65vw solid #80808000;
}
  


.profile-info {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5vw 2vw;
  border-radius: 1vw;
  margin-top: 4.5vw;
  z-index: 2;
  width: 100%;
  height: auto;
  padding: 0vw;
}



.user-profile-pic-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
}

.user-profile-pic-frame {
  width: 42vw;
  height: 42vw;
  border-radius: 1vw;
  background-position: center;
  background-size: cover;
  object-fit: cover;
  object-position: center;
  cursor: pointer;
  margin-top: 47vw;
  transform: translateY(-0vw) translateX(0.5vw);
}

.user-profile-pic {
  width: 35vw;
  height: 35vw;
  border-radius: 3vw;
  background-position: center;
  background-size: cover;
  object-fit: cover;
  object-position: center;
  cursor: pointer;
  box-shadow: 0vw 0vw 1.5vw 0vw rgba(0, 0, 0, 0.419);
  margin-top: 47vw;
  transform: translateX(0.5vw);
}


.user-profile-pic {
  cursor: pointer;
}

.image-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease, backdrop-filter 0.5s ease;;
}

.image-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
  backdrop-filter: blur(0.25vw);
}

.image-modal-content {
  width: 80%;
  height: 80vw;
  object-fit: cover;
  border-radius: 5vw;
  box-shadow: 0 0 3vw rgba(0, 0, 0);
  background-color: #fff;
  transform: scale(0.8);
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
}


.image-modal-overlay.active .image-modal-content {
  transform: scale(1);
  opacity: 1;
}









.profile-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.user-profile-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: -2vw;
  text-align: center;
  align-items: center;
  justify-content: center;
}

.user-profile-username {
  font-size: 10vw;
  color: rgb(235, 235, 235);
  text-shadow: 0vw 0vw 1.2vw rgb(0, 0, 0);
  margin: 0 auto 4vw auto;
  width: 100%;
  text-align: center;
  display: inline-block;
  margin-top: 133vw;
  
}

.user-profile-level {
  font-size: 1.85vw;
  padding: 1vw 0.65vw;
  height: 2.5vw;
  border-radius: 1vw;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  min-width: 2.65vw;
}

.profile-text span {
  font-size: 1.5vw;
  color: rgb(255, 255, 255);
  text-shadow: 0vw 0vw 1.2vw rgb(0, 0, 0);
  text-align: center;
}

.profile-text-bio {
  margin-bottom: 1.5vw;
  margin-top: -0.75vw;
  text-shadow: 0vw 0vw 1.5vw rgb(0, 0, 0);
  text-align: center;
}

.profile-text-bio p {
  color: rgb(188, 188, 188);
  font-size: 0.75vw;
  text-align: center;
}


/* SOCIAL ICONS ON PROFILE */

.header-social-container {
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translateY(-2vw);
  padding: 0vw;
  width: 100%;
  margin-bottom: 1vw;
}

.header-social-background {
  backdrop-filter: blur(0.5vw);
  border-radius: 5vw;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 3;
  padding: 0vw;
  margin-top: 1vw;
}

.header-social-icon {
  font-size: 7vw;
  padding: 1vw 2vw;
  color: rgb(220, 220, 220);
  border-radius: 50%;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(1);
  transition: color 0.25s ease, transform 0.25s ease;
}

.header-social-icon:hover {
  color: rgb(183, 183, 183);
  transform: scale(1.1);
}
















/* STATS */

.profile-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1vw;
  justify-content: left;
  width: 100%;
  margin-top: -1.5vw;
}

.stat {
  display: flex;
  align-items: left;
  gap: 1vw;
  padding: 0.5vw 1vw;
  border-radius: 0.5vw;
  color: #ffffff;
  font-weight: 600;
  text-shadow: 0vw 0vw 0.5vw rgba(46, 46, 46, 0.45);
  font-size: 1.5vw;
  white-space: nowrap;
  
}

.stat i {
  font-size: 2vw;
  color: #ffffff;
}

.stat-cards {
  background-color: rgba(114, 179, 209, 0.75);
  color: #ffffff;
  justify-content: center;
  align-items: center;
}

.stat-coins {
  background-color: rgba(255, 235, 169, 0.75);
  color: #ffffff;
  justify-content: center;
  align-items: center;
}

.stat-tokens {
  background-color: rgba(141, 186, 143, 0.75);
  color: #ffffff;
  justify-content: center;
  align-items: center;
}

.stat-friends {
  background-color: rgba(221, 133, 125, 0.75);
  color: #ffffff;
  justify-content: center;
  align-items: center;
}

.collection h2 {
  font-size: 2vw;
  margin-bottom: 1vw;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1vw;
}

.card {
  width: 100%;
  height: 15vw;
  background-color: #555;
  border-radius: 1vw;
}

.friends-list {
  display: flex;
  justify-content: space-between;
}

.friend {
  background-color: red;
  padding: 2vw;
  border-radius: 50%;
  text-align: center;
  font-size: 1vw;
}




/* PROFILE CONTENT */

/* Comments */
.profile-description {
  grid-column: 1 / -1;
  background: #30303029;
  border-radius: 1.5vw;
  height: auto;
  backdrop-filter:blur(0.3vw);
  margin-bottom: -1vw;
}

.profile-description-card {
  display: flex;
  margin: 0 auto;
  margin-bottom: 1.5vw;
  width: 96%;
  background: #3a3a3a26;
  border-radius: 1.65vw;
  height: 8vw;
  margin-top: -0.65vw;
}

.profile-description p {
  font-size: 1.15vw;
  text-align: center;
  padding: 2vw;
  margin-top: -2.5vw;
}

.profile-container {
  position: relative;
  z-index: 997;
  display: block;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: auto;
  gap: 2vw 1vw;
  width: 95vw;
  margin-left: 0vw;
  padding: 2vw;
  box-sizing: border-box;
  font-family: 'Press Start 2P', sans-serif;
  color: #fff;
  margin: 0 auto;
  margin-top: 85vw;
}


/* Advancements */
.profile-advancements {
  grid-column: 1;
  background: #30303029;
  border-radius: 3vw;
  backdrop-filter:blur(0.3vw);
  margin-bottom: 2vw;
}

/* Level */
.profile-level {
  grid-column: 2;
  background: #30303029;
  border-radius: 3vw;
  height: 33.25vw;
  backdrop-filter:blur(0.3vw);
  margin-bottom: 3vw;
}

/* Inventory */
.profile-inventory {
  grid-column: 1;
  background: #30303029;
  border-radius: 3vw;
  margin-top: -1vw;
  backdrop-filter:blur(0.3vw);
  margin-bottom: 8vw;
  height: 63vw;
}

/* Cards */
.profile-cards {
  grid-column: 2;
  background: #30303029;
  border-radius: 3vw;
  margin-top: -6vw;
  backdrop-filter:blur(0.3vw);
  height: 37.5vw;
  margin-bottom: 2vw;
}

/* Friends */
.profile-friends {
  grid-column: 2;
  background: #30303029;
  border-radius: 4vw;
  margin-top: 0vw;
  margin-bottom: 2vw;
  height: 29vw;
  backdrop-filter:blur(0.3vw);
}

/* Comments */
.profile-comments {
  grid-column: 1 / -1;
  background: #30303029;
  border-radius: 3vw;
  height: 25vw;
  backdrop-filter:blur(0.3vw);
  margin-top: 0vw;
  margin-bottom: 20vw;
}

.profile-comments-card {
  display: flex;
  margin: 0 auto;
  margin-bottom: 1.5vw;
  width: 96%;
  background: #3a3a3a26;
  border-radius: 3vw;
  height: 11vw;
  margin-top: -0.65vw;
}

/* Nadpisy */
.profile-advancements h2,
.profile-level h2,
.profile-inventory h2,
.profile-cards h2,
.profile-friends h2,
.profile-description h2,
.profile-comments h2 {
  font-size: 5vw;
  padding: 3vw;
  margin: 0 0 1vw;
  text-align: center;
}

/* TlaÃƒÆ’Ã¢â‚¬Å¾Ãƒâ€šÃ‚ÂidlÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¡ */
.profile-advancements button,
.profile-inventory button,
.profile-cards button {
  background: none;
  border: none;
  color: #fff;
  font-size: 5vw;
  font-weight: 500;
  cursor: pointer;
  margin: 0 auto;
  width: 100%;
  text-align: center;
  background-color: #8080801c;
  padding: 0.5vw;
  border-radius: 0vw 0vw 3vw 3vw;
}

/* Purple grid (advancements) */
.profile-purple-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(2, 4vw);
  gap: 10.6vw 0.6vw;
  padding: 0vw 1.5vw;
  margin-top: -1vw;
  margin-bottom: 1.5vw;
  height: 30vw;
}
.profile-purple-grid div {
  background: #33333329;
  border-radius: 2vw;
  height: 14vw;
}

/* Black grid (inventory) */
.profile-black-grid {
  display: grid;
  grid-template-columns: repeat(4, 20vw);
  grid-template-rows: repeat(2, 20vw);
  gap: 1vw;
  justify-content: center;
  margin: 0 auto;
  margin-top: -1vw;
  margin-bottom: 3vw;
}
.profile-black-grid div {
  background: #3a3a3a26;
  border-radius: 3vw;
}


/* Level progress */
.profile-progress-wrapper {
  display: flex;
  align-items: center;
  position: relative;
  background-color: #5757571a;
  border-radius: 4vw;
  padding: 2.5vw;
  width: 90%;
  margin: 0 auto;
  margin-top: 4vw;
  
}
.profile-level-number {
  font-size: 5vw;
  color: #ffffff;
  background-color: #ffffff21;
  border: 0.2vw solid #8080801c;
  text-align: center;
  width: 8vw;
  height: 8vw;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-bar {
  flex: 1;
  height: 2vw;
  background: #888;
  margin: 0 1vw;
  position: relative;
  border-radius: 0.5vw;
}
.profile-fill {
  width: 0;
  height: 100%;
  background-image: linear-gradient(to right, rgb(197, 140, 27), rgb(225, 176, 85));
  border-radius: 5vw;
  transition: width 3s ease;
}
.profile-exp-text {
  position: absolute;
  top: -12vw;
  left: 0;
  width: 100%;
  text-align: center;
  font-size: 4vw;
  color: orange;
}

/* Cards grid s individuÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¡lnymi ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â­rkami & vÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â½ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡kami */
.profile-cards-grid {
  display: flex;
  justify-content: center;
  gap: 1vw;
  margin: 0 auto;
  margin-top: -1vw;
  margin-bottom: 1.5vw;
  width: 100%;
}

.profile-card {
  background: #3a3a3a26;
  border-radius: 3vw;
  width: 16vw;
  height: 16vw;
  margin-bottom: 1.5vw;
}


/* Friends */
.profile-friend-list {
  display: flex;
  justify-content: space-between;
  padding: 1.15vw 2vw;
}
.profile-friend-list div {
  width: 16vw;
  height: 16vw;
  background: #3a3a3a26;
  border-radius: 50%;
  padding: 1vw;
  margin-top: -3vw;
}


#preview-bar {
  width: 100%;
  margin-left: 0vw;
  position: fixed;
  bottom: 0vw;
  left: 0;
  right: 0;
  background: rgb(21 21 21);
  backdrop-filter:blur(0.1vw);
  color: white;
  padding: 4vw 3vw;
  font-family: sans-serif;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 999999;
  box-shadow: 0 -1vw 1vw rgba(0, 0, 0, 0.4);
}

#preview-bar-text {
  font-size: 6vw;
  color: white;
}

#preview-bar a {
  background: #3b3b3b;
  color: #ffffff;
  padding: 2vw 5vw;
  border-radius: 3vw;
  text-decoration: none;
  font-weight: 500;
  transition: 0.2s ease;
  font-size: 5vw;
}

#preview-bar a:hover {
  background: #333333;
}

}
