/* Base Layout */
.lia {
    align-items: flex-start;
    display: flex;
    min-width: auto; /* Changed from 586px */
    width: 100%;
}

:root {
  --black: #000000;

  --font-size-l: 20px;
  --font-size-m: 13px;
  --font-size-xl: 35px;
  --font-size-xxl: 48px;

  --font-family-inter: "Inter", Helvetica;
  --font-family-irish_grover: "Irish Grover", Helvetica;
  --font-family-istok_web: "Istok Web", Helvetica;
}

main {
  display: flex;
  flex-direction: column;
}

header {
  width: 100%;
}

section {
  margin: 2rem 0;
}

article {
  margin-bottom: 1rem;
}

/* Main Rectangle */
.lia .main_-rectangle {
  background-color: #bebebe;
  border: 1px solid var(--black);
  height: 1350px;
  position: relative;
  width: 540px;
}

/* Header Section */
.lia .flex-col {
  align-items: center;
  display: flex;
  flex-direction: column;
  left: 0;
  min-height: 495px;
  position: absolute;
  top: 0;
  width: 540px;
}

.lia .header {
  height: 188px;
  width: 540px;
}

.lia .nora_-kari_-frame {
  background-color: #dfdfdf70;
  border: 1px solid var(--black);
  box-shadow: 0 4px 1px #00000040;
  height: 139px;
  margin: 34px 0 0 16px;
  position: relative;
  width: 425px;
  overflow: hidden;
}

/* Name Elements */
.lia .name {
  left: 17px;
  top: 0;
  width: 366px;
}

.lia .name-1 {
  left: 151px;
  top: 58px;
  width: 120px;
}

.lia .name-2 {
  color: var(--black);
  font-family: var(--font-family-inter), serif;
  font-size: var(--font-size-xxl);
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0;
  line-height: normal;
  position: absolute;
  text-shadow: 0 4px 4px #00000040;
  white-space: nowrap;
}

.lia .nora-kari-baby {
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
  width: auto;
  object-fit: contain;
  max-width: 97px;
  max-height: 139px;
}

/* Zone Frame */
.lia .zone_-frame {
  align-items: center;
  background-color: #ECF1EFFF;
  border: 0 solid var(--black);
  box-shadow: 0 4px 4px #00000040;
  display: flex;
  gap: 10px;
  height: 89px;
  justify-content: center;
  margin: 45px 0 0 1px;
  padding: 2px 9px;
  position: relative;
  width: 297px;
}

.zone_-frame {
    box-shadow: 0 0 15px #00d9ff,
                0 0 25px #00d9ff,
                0 0 35px #00d9ff;
    animation: diamondGlow 3s ease-in-out infinite alternate;
}

@keyframes diamondGlow {
    from {
        box-shadow: 0 0 15px #00d9ff,
                    0 0 25px #00d9ff,
                    0 0 35px #00d9ff;
    }
    to {
        box-shadow: 0 0 20px #00d9ff,
                    0 0 35px #00d9ff,
                    0 0 45px #00d9ff,
                    0 0 60px #00d9ff;
    }
}

.lia .welcome-to-my-zone {
  -webkit-text-stroke: 1px #51c7f2;
  color: var(--black);
  font-family: var(--font-family-inter), serif;
  font-size: var(--font-size-xl);
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0;
  line-height: normal;
  margin-top: -0.60px;
  position: relative;
  text-align: center;
  text-shadow: 0 4px 16px 8px #00000040;
  width: fit-content;
}

/* Stats Section */
.stats-section {
  perspective: 2000px;
  padding: 0;
  margin-top: -40px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Base Stats Styles */
.spotify-stats,
.youtube-stats {
  background-color: #dfdfdf70;
  height: 155px;
  width: 155px;
  left: 56px;
  object-fit: cover;
  position: absolute;
  transform-style: preserve-3d;
  cursor: pointer;
  transform-origin: center center;
  transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow:
          rgba(88, 101, 242, 0.2) 0 15px 25px,
          rgba(88, 101, 242, 0.1) 0 5px 10px;
  margin: 15px 0;
}

.spotify-stats {
  top: 772px;
  animation: float 8s infinite ease-in-out;
}

.youtube-stats {
  top: 589px;
  animation: float 8s infinite ease-in-out reverse;
}

/* Stats Animations */
@keyframes float {
  0% { transform: rotate3d(1, 1, 1, 0deg) translateY(0px); }
  25% { transform: rotate3d(1, 2, 1, 15deg) translateY(-10px); }
  50% { transform: rotate3d(1, -1, 1, -15deg) translateY(5px); }
  75% { transform: rotate3d(-1, 1, 1, 15deg) translateY(-5px); }
  100% { transform: rotate3d(1, 1, 1, 0deg) translateY(0px); }
}

/* Stats Hover Effects */
.spotify-stats:hover,
.youtube-stats:hover {
  transform: scale(1.05) translateY(-15px);
  animation: none;
}

.spotify-stats:hover {
  transform: rotate3d(1, 2, 0, 30deg) scale(1.05) translateY(-15px);
  box-shadow:
          rgba(88, 101, 242, 0.3) -25px 25px 25px -5px,
          rgba(88, 101, 242, 0.2) -15px 15px 15px -5px,
          rgba(88, 101, 242, 0.25) 0 50px 100px -20px,
          rgba(88, 101, 242, 0.3) 0 30px 60px -30px;
}

.youtube-stats:hover {
  transform: rotate3d(-1, 2, 0, 30deg) scale(1.05) translateY(-15px);
  box-shadow:
          rgba(88, 101, 242, 0.3) 25px 25px 25px -5px,
          rgba(88, 101, 242, 0.2) 15px 15px 15px -5px,
          rgba(88, 101, 242, 0.25) 0 50px 100px -20px,
          rgba(88, 101, 242, 0.3) 0 30px 60px -30px;
}

.stats-section:hover .spotify-stats:not(:hover),
.stats-section:hover .youtube-stats:not(:hover) {
  transform: scale(0.98) translateY(5px);
  filter: brightness(0.95);
}

/* Stats Gradient Overlay */
.spotify-stats::after,
.youtube-stats::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
          125deg,
          rgba(88, 101, 242, 0.2) 0%,
          rgba(88, 101, 242, 0) 60%
  );
  pointer-events: none;
  transform: translateZ(1px);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.spotify-stats:hover::after,
.youtube-stats:hover::after {
  opacity: 1;
}

/* Accolades Section */
._frame-container {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 20px;
  left: 270px;
  min-height: 340px;
  position: absolute;
  top: 530px;
  width: 300px;
  margin-bottom: 20px;
}

.acc1_-frame,
.acc2_-frame {
  background-color: #ECF1EFFF;
  border: 1px solid var(--black);
  border-radius: 12px;
  width: 255px;
  box-shadow:
    rgba(17, 17, 26, 0.1) 0 8px 24px,
    rgba(17, 17, 26, 0.05) 0 16px 56px,
    rgba(17, 17, 26, 0.05) 0 24px 80px;
  transition: all 0.3s ease;
}

.acc1_-frame {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-left: 1px;
  padding: 9px 5px;
}

.acc2_-frame {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 5px 8px;
}

.acc1_-frame:hover,
.acc2_-frame:hover {
  transform: translateY(-5px);
  box-shadow:
          rgba(17, 17, 26, 0.1) 0 12px 36px,
          rgba(17, 17, 26, 0.05) 0 24px 64px,
          rgba(17, 17, 26, 0.05) 0 32px 88px;
}

/* Text Styles */
.accolades {
  -webkit-text-stroke: 1px var(--black);
  align-self: stretch;
  color: #f1c13e;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;  /* For iOS compatibility*/
  font-family: var(--font-family-irish_grover), serif;
  font-size: var(--font-size-l);
  font-weight: 400;
  letter-spacing: 0;
  line-height: normal;
  margin: -1.5px 0 0 -0.5px;
  position: relative;
  text-align: center;
  text-shadow: 0 4px 4px #00000040;
}

.in-only-7-months-no,
.this-screenshot-is-n {
  align-self: stretch;
  color: var(--black);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif; /* For iOS compatibility*/
  font-family: var(--font-family-irish_grover), serif;
  font-size: var(--font-size-m);
  font-weight: 400;
  letter-spacing: 0;
  line-height: normal;
  position: relative;
}

.in-only-7-months-no {
  height: 96px;
}

.this-screenshot-is-n {
  height: 110px;
}

/* Video Section */
.lia .video_-frame {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    gap: 10px;
    left: 92px;
    position: absolute;
    top: 1021px;
    width: 388px;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
}

.video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.lia .lyric_-rectangle {
  background-color: #E6EDECFF;
  border: 0 solid var(--black);
  box-shadow: 0 4px 4px #00000040;
  height: 47px;
  left: 78px;
  position: absolute;
  top: -58px;
  width: 232px;
}

.lia .watch-the-lyric-vide {
  -webkit-text-stroke: 1px #927d7d;
  color: var(--black);
  font-family: var(--font-family-istok_web), serif;
  font-size: var(--font-size-m);
  font-weight: 400;
  left: 95px;
  letter-spacing: 0;
  line-height: normal;
  position: absolute;
  text-align: center;
  text-shadow: 0 4px 4px #00000040;
  top: -56px;
  width: 201px;
}

h2.accolades {
  margin: 0;
}
.container-center-horizontal {
    width: 100%;
    min-width: 320px;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    overflow-x: hidden;
}

.lia {
    width: 100%;
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main_-rectangle {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.content-wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

@media screen and (max-width: 768px) {
    [class*="-frame"],
    [class*="-rectangle"],
    .absolutely-positioned-element {
        position: relative !important;
        left: auto !important;
        right: auto !important;
        width: 100% !important;
        margin: 20px auto !important;
        transform: none !important;
    }

    .main_-rectangle {
        padding: 0 15px;
    }

    .text-element {
        position: relative !important;
        left: auto !important;
        text-align: center;
        width: 100% !important;
        margin: 10px auto !important;
    }

    img {
        max-width: 100%;
        height: auto;
    }

    .accolades_-frame,
    .accolades {
        width: 90% !important;
        min-height: fit-content !important;
        padding: 20px !important;
        height: auto !important;
    }

    .in-only-7-months-no,
    .this-screenshot-is-n {
        font-size: 16px !important;
        line-height: 1.4 !important;
        margin-bottom: 10px !important;
        width: 100% !important;
        text-align: center !important;
    }

    .lia .main_-rectangle {
        width: 100%;
        height: auto;
        min-height: 1350px;
    }

    .lia .flex-col {
        width: 100%;
    }

    .lia .header {
        width: 100%;
    }

    .lia .nora_-kari_frame {
        width: 90%;
        margin: 34px auto 0;
    }

    ._frame-container {
        position: relative;
        left: 0;
        width: 100%;
        display: flex;
        align-items: center;
    }

    .acc1_-frame,
    .acc2_-frame {
        width: 90%;
        margin: 0 auto;
    }

    .lia .video_-frame {
        position: relative;
        left: 0;
        width: 90%;
        margin: 0 auto;
    }

    .lia .lyric_-rectangle {
        left: 50%;
        transform: translateX(-50%);
    }
}

.RectangleFigma {
    position: relative;
    width: 90px;
    height: 35px;
    margin: 50px 0 0 48%;
    background-color: rgb(69, 95, 151);
    border: 2px solid rgba(0, 0, 0, 1);
    text-align: center;
    line-height: 35px;
    z-index: 3;
}

.RectangleFigma a {
    color: white;
    text-decoration: none;
    font-family: var(--font-family-joan), serif;
    font-size: 14px;
}
