/* ====== Favorites Page ====== */

@font-face {
  font-family: "kbeyondwndfnt";
  src: url("kAssets/kyrn0vgraphics/kFonts/beyondwonderlandfont/byondwonderlandfnnt2.woff2")
      format("woff2"),
    url("kAssets/kyrn0vgraphics/kFonts/beyondwonderlandfont/byondwonderlandfnt.woff")
      format("woff");
  unicode-range: U+0000-00FF, U+20A0-20CF, U+2000-206F, U+2200-22FF, U+0100-017F;
  font-display: swap;
}

@font-face {
  font-family: "kmaxsomsinfnt";
  src: url("kAssets/kyrn0vgraphics/kFonts/maxsomsinfont/maxsomsinfont2.woff2")
      format("woff2"),
    url("kAssets/kyrn0vgraphics/kFonts/maxsomsinfont/maxsomsinfont.woff")
      format("woff");
  unicode-range: U+0000-00FF, U+20A0-20CF, U+2000-206F, U+2200-22FF, U+0100-017F;
  font-display: swap;
}

@font-face {
  font-family: "kconvectionfnt";
  src: url("kAssets/kyrn0vgraphics/kFonts/convectionxbfont/fconvectionxb2.woff2")
      format("woff2"),
    url("kAssets/kyrn0vgraphics/kFonts/convectionxbfont/fconvectionxb1.woff")
      format("woff");
  unicode-range: U+0000-00FF, U+20A0-20CF, U+2000-206F, U+2200-22FF, U+0100-017F;
  font-display: swap;
}

html,
body {
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}

body {
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
  background-size: cover;
}

body.kfavspage {
  background-image: url("kAssets/kyrn0vgraphics/kIllustrations/kBGs/kFavsbg/favsgrungebg.png");
}

/* --- Favorites Page Cursors --- */

.kfavspage {
  cursor: url('kAssets/kyrn0vgraphics/kCursors/kcursorsMainPage/kmainpNormalarrwcursor.png'), auto;
}

.kfavspage a:hover,
.kfavspage button:hover,
.kfavspage [onclick]:hover {
  cursor: url('kAssets/kyrn0vgraphics/kCursors/kcursorsMainPage/kmainpLinkscursor.png'), pointer;
}

.kfavspage [contenteditable="true"],
.kfavspage input,
.kfavspage textarea,
.kfavspage p,
.kfavspage h1,
.kfavspage h2,
.kfavspage h3,
.kfavspage h4,
.kfavspage li {
  cursor: url('kAssets/kyrn0vgraphics/kCursors/kcursorsMainPage/kmainpTextscursor.png'), text;
}

.kfavspage .draggable:not(.active-grab) {
  cursor: url('kAssets/kyrn0vgraphics/kCursors/kcursorsMainPage/kmainpHandGrabcursor.png'), grab;
}

.kfavspage .draggable:active,
.kfavspage .active-grab {
  cursor: url('kAssets/kyrn0vgraphics/kCursors/kcursorsMainPage/kmainpHandGrabbingcursor.png'), grabbing;
}

.kfavspage .moveable {
  cursor: url('kAssets/kyrn0vgraphics/kCursors/kcursorsMainPage/kmainpMovecursor.png'), move;
}


#kfavsui {
  position: relative;
  width: 860px;
  height: 1290px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  margin-block: 8vh;
  box-sizing: border-box;
  overflow: visible;
  isolation: isolate;
}

#kfavsuiimg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -webkit-object-fit: contain;
  object-fit: contain;
  user-select: none;
  -webkit-user-select: none;
  pointer-events: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  z-index: 1;
}

#kfvsbuttons {
  all: unset;
  display: contents;
}

#kfvsbuttons img {
  position: absolute;
  height: auto;
  cursor: pointer;
  filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.85));
  -webkit-filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.85));
  pointer-events: auto;
  z-index: 3;
  -webkit-transition: transform 0.25s ease, filter 0.25s ease;
  transition: transform 0.25s ease, filter 0.25s ease;
  transform-origin: center;
  -webkit-transform-origin: center;
  will-change: transform, filter;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

#kfvsbuttons img:hover {
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.9));
  -webkit-filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.9));
  -webkit-transform: scale(1.1) rotate(3deg);
  transform: scale(1.1) rotate(3deg);
}

#kVideogamesbtn {
  top: 13%;
  left: 13%;
  width: 10.5%;
  cursor: url('kAssets/kyrn0vgraphics/kCursors/kcursorsMainPage/kmainpLinkscursor.png'), pointer;
}
#kTVsbtn {
  top: 13.5%;
  left: 25%;
  width: 10.5%;
  cursor: url('kAssets/kyrn0vgraphics/kCursors/kcursorsMainPage/kmainpLinkscursor.png'), pointer;
}
#kHobbiesbtn {
  top: 13%;
  left: 37%;
  width: 10.5%;
  cursor: url('kAssets/kyrn0vgraphics/kCursors/kcursorsMainPage/kmainpLinkscursor.png'), pointer;
}
#kClothesbtn {
  top: 13%;
  left: 48%;
  width: 11.5%;
  cursor: url('kAssets/kyrn0vgraphics/kCursors/kcursorsMainPage/kmainpLinkscursor.png'), pointer;
}
#kMusicbtn {
  top: 13%;
  left: 60%;
  width: 11.5%;
  cursor: url('kAssets/kyrn0vgraphics/kCursors/kcursorsMainPage/kmainpLinkscursor.png'), pointer;
}
#kFoodbtn {
  top: 13.5%;
  left: 73%;
  width: 11.5%;
  cursor: url('kAssets/kyrn0vgraphics/kCursors/kcursorsMainPage/kmainpLinkscursor.png'), pointer;
}

#kfavscontent {
  position: relative;
  top: 21%;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  width: 750px;
  height: 1000px;
  overflow: visible;
  z-index: 2;
  scrollbar-width: thin;
  scrollbar-color: #000 transparent;
}
/* Default message */
#kfavsdefault {
  position: absolute;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  color: #fff;
  font-family: "kbeyondwndfnt", sans-serif;
  font-size: 4rem;
  text-align: center;
  user-select: text;
  -webkit-user-select: text;
}

.kfvsnotetag {
  position: absolute;
  top: 0%;
  left: 84.8%;
  width: 170px;
  height: 313px;
  padding: 190px 10px 10px 40px;
  background-image: url("kAssets/kyrn0vgraphics/kIllustrations/kiUI/kuiFavss/kfavsVideogamessection/kfvnotetag.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transform: rotate(-15deg);
  overflow: visible;
  filter: drop-shadow(0 0 5px rgba(0, 0, 0, 1));
  -webkit-filter: drop-shadow(0 0 5px rgba(0, 0, 0, 1));
  -webkit-transform: rotate(-15deg);
  font-family: "kmaxsomsinfnt", sans-serif;
  white-space: normal;
  font-size: 2.3rem;
  text-align: center;
  line-height: 1.67rem;
  z-index: 1;
  user-select: text;
  -webkit-user-select: text;
  cursor: auto;
}

.kfavssection {
  display: none;
}

:target.kfavssection {
  display: block;
}

body:has(:target#vgames) #kfavscontent > :not(#vgames),
body:has(:target#clothes) #kfavscontent > :not(#clothes),
body:has(:target#food) #kfavscontent > :not(#food),
body:has(:target#hobbies) #kfavscontent > :not(#hobbies),
body:has(:target#tv) #kfavscontent > :not(#tv),
body:has(:target#videos) #kfavscontent > :not(#videos) {
  display: none;
}

body:not(:has(:target)) #kfavsdefault {
  display: block;
}

body:has(:target) #kfavsdefault {
  display: none;
}


#kfvbacktomainp {
  display: inline-block;
  max-width: 170px;
  position: fixed;
  top: 2%;
  left: 2%;
  z-index: 100;
  cursor: pointer;
}

#kfvbacktomainp img {
  display: block;
  width: 150px;
  height: auto;
  -webkit-transition: transform 0.25s ease, filter 0.25s ease;
  transition: transform 0.25s ease, filter 0.25s ease;
}

#kfvbacktomainp:hover img {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
  filter: brightness(1.2) drop-shadow(0 4px 8px rgba(255, 255, 255, 0.4));
  -webkit-filter: brightness(1.2) drop-shadow(0 4px 8px rgba(255, 255, 255, 0.4));
}

.pink-box {
  top: 8%;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 225px;
  background: #aaaaaa;
  background: linear-gradient(
    to bottom,
    #474747 0%,
    #d6d6d6 50%,
    #eaeaea 60%,
    #aaaaaa 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: absolute;
}

.carousel {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  gap: 5px;
  overflow-x: hidden;
  width: 450px;
  height: 300px;
  padding: 0px 20px 0px 20px;
}

.card {
  flex: 0 0 85px;
  height: 145px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

.card.highlighted {
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.image-container {
  width: 75px;
  height: 100px;
  margin: 5px 0 3px 0;
  display: flex;
  align-self: center;
  justify-content: center;
}

.image-container img {
  width: 100%;
  height: 100%;
  display: block;
}

.text {
  display: flex;
  margin: 0 5 0 5px;
  font-size: 12px;
  color: #494949;
  font-weight: normal;
  text-align: left;
  white-space: normal;
}

.focus-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(6px);
  background: rgba(0, 0, 0, 0.3);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 7;
  opacity: 0;
  transition: opacity 0.3s ease;
  overflow: hidden;
}

.focus-overlay.show {
  display: flex;
  opacity: 1;
}

.focus-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  position: relative;
}

.focused-card {
  opacity: 0;
  transform: scale(1);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 2;
}

.focused-card.visible {
  opacity: 1;
  transform: scale(1.3);
}

.focus-text {
  width: 50%;
  background-color: #17c700;
  color: #ffffff;
  font-size: 14px;
  font-family: "kconvectionfnt", sans-serif;
  padding: 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
  position: relative;
  z-index: 1;
}

.focus-text.visible {
  opacity: 1;
}

.xbox360buttons {
  position: absolute;
  bottom: 1.5%;
  left: 1.5%;
  display: block;
  width: 295px;
  height: auto;
  z-index: 10;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

#fvgxbox360controller {
  position: absolute;
  bottom: 15%;
  left: 23%;
  width: 420px;
  height: auto;

}

#fvgxbox360controllerm {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 5px rgba(0, 0, 0, 1));
  -webkit-filter: drop-shadow(0 0 5px rgba(0, 0, 0, 1));
  z-index: 1;
}

#kfvgpctvscreen {
  position: absolute;
  top: 0%;
  left: 14.3%;
  width: 535px;
  height: auto;
  z-index: 2;
}

#kfvgtvscreenmain {
  width: 100%;
  height: 100%;
}

#px360cAbtn {
  position: absolute;
  top: 33.1%;
  left: 69.3%;
  width: 25px;
  height: auto;
  cursor: pointer;
}

#px360cBbtn {
  position: absolute;
  top: 25.3%;
  left: 75.2%;
  width: 25px;
  height: auto;
  cursor: pointer;
}

#px360cXbtn {
  position: absolute;
  top: 25.3%;
  left: 62.8%;
  width: 25px;
  height: auto;
  cursor: pointer;
}

#px360cRightbtn {
  position: absolute;
  top: 42.5%;
  left: 38.5%;
  width: 23px;
  height: auto;
  cursor: pointer;
}

#px360cLeftbtn {
  position: absolute;
  top: 42.5%;
  left: 29%;
  width: 23px;
  height: auto;
  cursor: pointer;
}

#px360cHomeBttnOff {
  position: absolute;
  top: 25%;
  left: 44.8%;
  width: 34.5px;
  height: auto;
  cursor: pointer;
  animation: kfvx360greenPulse 1.2s infinite ease-in-out;
}

#x360hbOFF {
  position: absolute;
  bottom: 10%;
  left: 63.2%;
  width: 33px;
  height: 31px;
  cursor: pointer;
  animation: kfvx360greenPulse 1.2s infinite ease-in-out;
}

@keyframes kfvx360greenPulse {
  0% {
    filter: drop-shadow(0 0 0px lime);
  }
  50% {
    filter: drop-shadow(0 0 12px lime);
  }
  100% {
    filter: drop-shadow(0 0 0px lime);
  }
}

#bootVideo {
  position: absolute;
  top: 8%;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  width: 400px;
  height: 225px;
  object-fit: cover;
  z-index: 20;
  opacity: 1;
  pointer-events: none;
  -webkit-transition: opacity 0.5s ease;
  transition: opacity 0.5s ease;
}

#blackOverlay {
  position: absolute;
  top: 8%;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  width: 400px;
  height: 225px;
  background-color: #000;
  z-index: 30;
  opacity: 1;
  -webkit-transition: opacity 0.5s ease;
  transition: opacity 0.5s ease;
}

#kfvgdvdplayermainimg {
  position: absolute;
  top: 3%;
  left: 12%;
  width: 580px;
  height: auto;
  opacity: 1;
  user-select: none;
  -webkit-user-select: none;
  pointer-events: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  z-index: 2;
}

#kfvupbtndvd {
  position: absolute;
  top: 64.8%;
  left: 71.3%;
  width: 45px;
  height: auto;
  cursor: pointer;
  z-index: 4;
}

#kfvrightbtndvd {
  position: absolute;
  top: 67%;
  left: 78.3%;
  width: 17px;
  height: auto;
  cursor: pointer;
  z-index: 4;
}

#kfvdownbtndvd {
  position: absolute;
  top: 71.8%;
  left: 72.3%;
  width: 43px;
  height: auto;
  cursor: pointer;
  z-index: 4;
}

#kfvleftbtndvd {
  position: absolute;
  top: 67%;
  left: 68.8%;
  width: 20px;
  height: auto;
  cursor: pointer;
  z-index: 4;
}

#kfvselectbtndvd {
  position: absolute;
  top: 67.2%;
  left: 72.5%;
  width: 32px;
  height: auto;
  cursor: pointer;
  z-index: 4;
}

#kfvturnonbtndvd {
  position: absolute;
  top: 72%;
  left: 22.18%;
  width: 28px;
  height: auto;
  cursor: pointer;
  z-index: 5;
  animation: kfvdvdPulse 2s infinite ease-in-out;
  will-change: transform, filter;
  z-index: 4;
}

@keyframes kfvdvdPulse {
  0% {
    transform: scale(1);
    filter: drop-shadow(0 0 0px #0077ff);
  }
  50% {
    transform: scale(1.1);
    filter: drop-shadow(0 0 15px #0077ff);
  }
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 0px #0077ff);
  }
}


#kfvgdvdBackBtn {
  position: absolute;
  width: 40px;
  height: 30px;
  top: 68%;
  left: 40%;
  background-color: rgb(78, 78, 78);
  color: white;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  cursor: pointer;
}

/* --- Main DVD Player Screen --- */
#kfvgdvdMainContainer {
  position: absolute;
  top: 10%;
  left: 53.5%;
  transform: translateX(-50%);
  width: 385px;
  height: 220px;
  background-color: #005eff;
  overflow: hidden;
  border: 4px solid #111;
  z-index: 1;
}

#kfvgdvdContentLayer {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: opacity 0.3s ease-out;
}

.kfvgdvdVideoActive {
  opacity: 0;
  pointer-events: none;
}

#kfvgdvdTitleHeader {
  color: white;
  margin: 5px 0 3px 0;
  font-size: 20px;
  font-family: "kconvectionfnt", sans-serif;
  font-weight: normal;
  text-align: center;
  width: 100%;
}

#kfvgdvdGridContainer {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin: 0 0 0 30px;
  width: 360px;
  box-sizing: border-box;
}

.kfvgdvdMovieItem {
  width: 90px;
  height: 80px;
  margin: 5px 9px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: visible;
}

.kfvgdvdThumbBox {
  width: 100%;
  height: 60px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #000;
  border: 3px solid #111;
  transition: all 0.15s ease-out;
  box-sizing: border-box;
}

.kfvgdvdMovieTitle {
  color: white;
  font-size: 13px;
  font-family: "kconvectionfnt", sans-serif;
  margin: 3px 0 0 0;
  padding: 0;
  text-align: center;
  width: 100%;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.kfvgdvdActiveItem .kfvgdvdThumbBox {
  border-color: #facc15;
  transform: scale(1.1);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
  z-index: 10;
}

.kfvgdvdActiveItem .kfvgdvdMovieTitle {
  font-weight: bold;
  color: #facc15;
  z-index: 11;
}

/* --- Video Player Styling (Updated) --- */
#kfvgdvdVideoPlayer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 50;
  opacity: 0;
  transition: opacity 0.3s ease-in;
}

.kfvgdvdVideoFadeIn {
  opacity: 1 !important;
}

#kfvgdvdSplashScreen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0s 0.3s;
  background-image: url("kAssets/kyrn0vgraphics/kIllustrations/kiUI/kuiFavss/kfavsVideogamessection/kfvvgsdvdpplayer/kfvdvdpscreen.png");
  background-color: black;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

#kfvgdvdPowerOverlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: black;
  z-index: 999;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.6s ease;
}

.kfvgdvdPowerOn {
  opacity: 0 !important;
  visibility: hidden !important;
  transition: opacity 0.3s ease, visibility 0s 0.3s !important;
}

#kfvgdvdBackBtn {
  position: absolute;
  top: 71.7%;
  left: 60%;
  width: 50px;
  height: 30px;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 5;
}

#kfvgdvdBackBtn p {
  color: white;
  margin: 0;
  font-family: "kconvectionfnt", sans-serif;
  font-size: 14px;
  text-align: center;
  margin: 5px 0 0 0;
  padding: 0;
  cursor: pointer;
}