:root {
  --black: #050505;
  --white: #f5f5f3;
  --muted: #77777a;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #a96be8;
  --font: "DM Sans", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  min-height: 100%;
}

body {
  min-height: 100vh;
  overflow: hidden;
  color: var(--white);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

.background {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image: url("images/background.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.signature {
  position: fixed;
  left: 46px;
  bottom: 32px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.85);
  transform: rotate(-7deg);
  pointer-events: none;
}

.signature-name {
  font-family: "Caveat", cursive;
  font-size: 42px;
  font-weight: 600;
  line-height: 0.8;
  letter-spacing: -0.04em;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.12);
}

.signature-line {
  position: relative;
  width: 82px;
  height: 12px;
  margin-top: 2px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  transform: rotate(-2deg);
}

.signature-line::after {
  content: "";
  position: absolute;
  right: -8px;
  bottom: -3px;
  width: 18px;
  height: 7px;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  transform: rotate(-12deg);
}

.header {
  position: absolute;
  top: 28px;
  left: 46px;
  right: 46px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  position: relative;
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-family: "Caveat", cursive;
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
  transform: rotate(-5deg);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.12);
  font-family: sans-serif;
}

.brand:hover {
  color: #fff;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.discord,
.roblox {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.68);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.discord svg,
.roblox svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.discord:hover,
.roblox:hover {
  color: #fff;
  transform: translateY(-1px);
}

.hero {
  position: relative;
  width: min(1320px, calc(100vw - 120px));
  height: 100vh;
  margin: auto;
  display: grid;
  grid-template-columns:
    minmax(230px, 1fr)
    minmax(420px, 620px)
    minmax(230px, 1fr);
  align-items: center;
  gap: 30px;
}

.hero-left {
  position: relative;
  z-index: 3;
  padding-bottom: 10px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 17px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.eyebrow span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.55);
}

.hero-left h1 {
  max-width: 360px;
  font-size: clamp(58px, 6vw, 88px);
  line-height: 0.88;
  font-weight: 600;
  letter-spacing: -0.075em;
}

.hero-left h1 strong {
  position: relative;
  display: inline-block;
  color: #fff;
  font-weight: 600;
  letter-spacing: -0.085em;
  line-height: 0.82;
  transform: rotate(-2deg);
  text-shadow: 0 2px 18px rgba(255, 255, 255, 0.12);
}

.hero-left h1 strong::after {
  content: "";
  position: absolute;
  left: 3px;
  bottom: -8px;
  width: 72%;
  height: 7px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 0 0 80% 40%;
  transform: rotate(-2deg);
}

.hero-image {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: visible;
}

.hero-image::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4%;
  width: 55%;
  height: 16%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.22);
  filter: blur(35px);
  border-radius: 50%;
  z-index: -1;
}

.hero-image img {
  width: 105%;
  height: 95%;
  object-fit: contain;
  object-position: center bottom;
  display: block;
  transform: scale(1.02);
  filter: drop-shadow(0 20px 35px rgba(0, 0, 0, 0.18));
}

.hero-right {
  position: relative;
  z-index: 3;
  max-width: 300px;
  justify-self: end;
  padding-bottom: 10px;
}

.hero-right h2 {
  position: relative;
  display: inline-block;
  font-size: clamp(42px, 4vw, 65px);
  line-height: 0.86;
  font-weight: 600;
  letter-spacing: -0.075em;
}

.hero-right h2 img {
  position: absolute;
  width: 0.62em;
  height: 0.62em;
  object-fit: contain;
  left: -0.38em;
  top: -0.28em;
  pointer-events: none;
}

@media (max-width: 650px) {
  .hero-right h2 img {
    display: none;
  }
}

.role {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 15px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.role span {
  position: relative;
  width: 34px;
  height: 13px;
  display: inline-block;
  transform: rotate(-7deg);
}

.role span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 28px;
  height: 6px;
  border-top: 1.5px solid rgba(255, 255, 255, 0.75);
  border-radius: 70% 30% 0 0;
  transform: rotate(5deg);
}

.role span::after {
  content: "";
  position: absolute;
  right: 0;
  top: 2px;
  width: 10px;
  height: 10px;
  border-right: 1.5px solid rgba(255, 255, 255, 0.6);
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.6);
  border-radius: 0 0 60% 0;
  transform: rotate(20deg);
}

.hero-right p {
  margin-top: 22px;
  color: rgb(255 255 255 / 79%);
  font-size: 14px;
  line-height: 1.65;
}

.discord-button,
.roblox-button {
  margin-top: 25px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  box-shadow:
    0 8px 25px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.roblox-button {
  margin-left: 6px;
}

.discord-button svg,
.roblox-button svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.discord-button .arrow,
.roblox-button .arrow {
  margin-left: 5px;
  font-size: 16px;
  transition: transform 0.2s ease;
}

.discord-button:hover,
.roblox-button:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.24);
  transform: translateY(-2px);
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.discord-button:hover .arrow,
.roblox-button:hover .arrow {
  transform: translate(2px, -2px);
}

.music-player {
  position: fixed;
  top: 23px;
  left: 50%;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 18px;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 8px 25px rgba(0, 0, 0, 0.14);
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.music-button,
.volume-button {
  width: 25px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.music-button:hover,
.volume-button:hover {
  color: #fff;
  transform: scale(1.08);
}

.music-button svg,
.volume-button svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}

.pause-icon,
.mute-icon {
  display: none;
}

.music-player.playing .play-icon {
  display: none;
}

.music-player.playing .pause-icon {
  display: block;
}

.volume-button.muted .volume-icon {
  display: none;
}

.volume-button.muted .mute-icon {
  display: block;
}

.pause-icon svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
  display: block;
}

.music-time {
  color: rgba(255, 255, 255, 0.45);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}

.music-title {
  color: rgba(255, 255, 255, 0.75);
}

#musicVolume {
  width: 55px;
  height: 3px;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
}

#musicVolume::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 50%;
  background: #f5f5f3;
  cursor: pointer;
}

#musicVolume::-moz-range-thumb {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 50%;
  background: #f5f5f3;
  cursor: pointer;
}

.time-stamp {
  position: fixed;
  right: 46px;
  bottom: 32px;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 8px 25px rgba(0, 0, 0, 0.14);
  color: rgba(255, 255, 255, 0.78);
  white-space: nowrap;
}

.time-label {
  color: rgb(33 33 33 / 45%);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#clock {
  color: rgb(79 79 79 / 82%);
  font-size: 12px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}

@media (max-width: 1000px) {
  .header {
    left: 28px;
    right: 28px;
  }

  .hero {
    width: calc(100vw - 56px);
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero-image {
    position: absolute;
    inset: 0;
    width: 75%;
    left: 12.5%;
    opacity: 0.5;
    z-index: 0;
  }

  .hero-left {
    position: relative;
    z-index: 3;
  }

  .hero-right {
    position: relative;
    z-index: 3;
  }
}

@media (max-width: 650px) {
  body {
    min-height: 100dvh;
    height: 100dvh;
    overflow: hidden;
  }

  .background {
    background-position: center;
  }

  .header {
    top: 18px;
    left: 18px;
    right: 18px;
    justify-content: center;
  }

  .brand {
    display: none;
  }

  .social-links {
    gap: 18px;
  }

  .discord,
  .roblox {
    font-size: 12px;
  }

  .discord span,
  .roblox span {
    display: none;
  }

  .music-player {
    top: 58px;
    left: 50%;
    max-width: calc(100vw - 30px);
    padding: 8px 12px;
    gap: 8px;
    font-size: 11px;
  }

  .music-title {
    max-width: 110px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .music-time {
    display: none;
  }

  #musicVolume {
    width: 35px;
  }

  .hero {
    width: 100%;
    height: 100dvh;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
  }

  .hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    left: 0;
    opacity: 0.42;
    z-index: 0;
    pointer-events: none;
  }

  .hero-image img {
    width: 100%;
    height: 82%;
    object-fit: contain;
    object-position: center bottom;
  }

  .hero-left {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    padding: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 3;
  }

  .eyebrow {
    margin-bottom: 14px;
  }

  .hero-left h1 {
    max-width: 90%;
    font-size: clamp(48px, 15vw, 68px);
    text-align: center;
  }

  .hero-right {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    max-width: 320px;
    padding: 0;
    margin-top: 45vh;
    text-align: center;
    justify-self: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 3;
  }

  .hero-right h2 {
    font-size: clamp(38px, 11vw, 54px);
  }

  .hero-right h2 img {
    display: none;
  }

  .role {
    justify-content: center;
    margin-top: 12px;
    font-size: 12px;
  }

  .role span {
    order: 0;
  }

  .hero-right p {
    max-width: 280px;
    margin-top: 15px;
    font-size: 12px;
    line-height: 1.55;
    text-align: center;
  }

  .discord-button,
  .roblox-button {
    margin-top: 17px;
    padding: 10px 13px;
    font-size: 11px;
  }

  .roblox-button {
    margin-left: 3px;
  }

  .signature {
    left: 50%;
    bottom: 15px;
    transform: translateX(-50%) rotate(-7deg);
    align-items: center;
  }

  .signature-name {
    font-size: 30px;
  }

  .signature-line {
    width: 62px;
  }

  .time-stamp {
    left: 50%;
    right: auto;
    top: 215px;
    bottom: auto;
    transform: translateX(-50%);
    padding: 9px 12px;
    gap: 6px;
  }

  .time-label {
    font-size: 8px;
  }

  #clock {
    font-size: 11px;
  }
}

@media (max-width: 420px) {
  .header {
    top: 14px;
  }

  .social-links {
    gap: 15px;
  }

  .music-player {
    top: 21%;
    max-width: calc(100vw - 24px);
    padding: 7px 10px;
    gap: 6px;
  }

  .music-title {
    max-width: 95px;
  }

  #musicVolume {
    width: 30px;
  }

  .hero-image img {
    height: 78%;
  }

  .hero-left h1 {
    font-size: clamp(44px, 14vw, 58px);
  }

  .hero-right {
    margin-top: 43vh;
    max-width: 290px;
  }

  .hero-right h2 {
    font-size: clamp(34px, 10.5vw, 46px);
  }

  .hero-right p {
    max-width: 250px;
    font-size: 11px;
  }

  .discord-button,
  .roblox-button {
    padding: 9px 11px;
    font-size: 10px;
  }

  .signature {
    bottom: 12px;
  }

  .signature-name {
    font-size: 27px;
  }

  .time-stamp {
    top: 108px;
    bottom: auto;
    padding: 8px 10px;
  }
}

@media (max-height: 700px) and (max-width: 650px) {
  .hero-right {
    margin-top: 35vh;
  }

  .hero-image img {
    height: 75%;
  }

  .signature {
    bottom: 8px;
  }

  .time-stamp {
    top: 108px;
    bottom: auto;
  }
}

@media (max-width: 650px) {
  html,
  body {
    width: 100%;
    height: 100%;
    min-height: 100%;
    max-height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden !important;
    overscroll-behavior: none;
    position: fixed;
    inset: 0;
  }

  .hero {
    width: 100%;
    height: 100svh;
    min-height: 100svh;
    max-height: 100svh;
    overflow: hidden;
  }

  .background {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100svh;
  }

  .header,
  .music-player,
  .signature,
  .time-stamp {
    position: fixed;
  }
}

@media (max-width: 420px) {
  html,
  body {
    width: 100%;
    height: 100svh;
    min-height: 100svh;
    max-height: 100svh;
    overflow: hidden !important;
    overscroll-behavior: none;
  }

  .hero {
    height: 100svh;
    min-height: 100svh;
    max-height: 100svh;
  }

  .background {
    height: 100svh;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}