:root {
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #070707;
  color: #f7f7f7;
  font-family: Manrope, Arial, sans-serif;
}

#background-video {
  position: fixed;
  z-index: -3;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) brightness(.36) contrast(1.1);
}

/* Video karartma */
.shade {
  position: fixed;
  z-index: -2;
  inset: 0;
  background:
    radial-gradient(
      ellipse at center,
      rgba(0,0,0,.12),
      rgba(0,0,0,.83)
    );
}

/* Ses paneli */
.sound {
  position: fixed;
  top: 21px;
  right: 21px;
  z-index: 10;

  display: flex;
  align-items: center;
  gap: 10px;

  padding: 9px 15px;

  border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px;

  background: rgba(20,20,20,.65);

  backdrop-filter: blur(10px);
}

.sound button {
  padding: 0;
  border: 0;

  color: white;
  font-size: 18px;

  background: transparent;
  cursor: pointer;
}

input[type=range] {
  width: 68px;
  accent-color: #e5e5e5;
  cursor: pointer;
}

/* Giriş ekranı */
.enter {
  position: fixed;
  z-index: 5;
  inset: 0;

  display: grid;
  place-content: center;
  gap: 18px;

  border: 0;

  color: white;
  text-align: center;

  background: #000;

  cursor: pointer;

  transition:
    opacity .45s ease,
    transform .45s ease;
}

.enter strong {
  font-size: clamp(34px, 5vw, 50px);
  letter-spacing: .06em;
}

.enter span {
  color: #aaa;
  font: 500 16px "DM Mono", monospace;
  letter-spacing: .12em;
}

.enter.hide {
  opacity: 0;
  transform: scale(.94);
  pointer-events: none;
}

/* Bio */
.bio {
  width: min(100% - 34px, 680px);
  min-height: 349px;

  display: grid;
  grid-template-columns: 1fr 1.12fr;
  align-items: center;

  padding: 32px 30px;

  border: 1px solid rgba(255,255,255,.18);
  border-radius: 28px;

  background:
    linear-gradient(
      110deg,
      rgba(11,11,11,.76),
      rgba(49,49,49,.53),
      rgba(12,12,12,.72)
    );

  box-shadow:
    0 18px 60px rgba(0,0,0,.42),
    inset 0 1px 0 rgba(255,255,255,.09);

  backdrop-filter: blur(13px);

  opacity: 0;

  transform:
    translateY(16px)
    scale(.98);

  pointer-events: none;

  transition:
    opacity .55s ease,
    transform .55s cubic-bezier(.2,.9,.2,1);
}

.bio.show {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.identity {
  padding: 3px 31px 3px 1px;
  text-align: center;

  border-right: 1px solid rgba(255,255,255,.05);
}

.discord-profile {
  display: inline-block;
}

.avatar-wrap {
  position: relative;
  width: 112px;
  margin: auto;
}

.profile {
  display: block;

  width: 112px;
  height: 112px;

  object-fit: cover;
  object-position: center 68%;

  border: 3px solid #8075ff;
  border-radius: 50%;

  box-shadow:
    0 0 0 2px #00c7ff;

  transition: transform .2s ease;
}

.discord-profile:hover .profile {
  transform: scale(1.04);
}

.avatar-wrap i {
  position: absolute;

  right: 1px;
  bottom: 4px;

  width: 20px;
  height: 20px;

  border: 3px solid #171717;
  border-radius: 50%;

  background: #ff3e4b;
}

h1 {
  margin: 17px 0 2px;

  font-size: 27px;
  letter-spacing: -.04em;
}

h1 span {
  color: #fff;
}

.discord-text {
  display: block;

  margin: 0;

  color: #aaa;

  font-size: 12px;
  text-decoration: none;
}

.discord-text:hover {
  color: #fff;
}

.tag {
  margin-top: 15px;

  padding: 10px;

  border-radius: 10px;

  background: rgba(0,0,0,.28);

  font: 500 12px "DM Mono", monospace;
  letter-spacing: .38em;
}

.badges {
  display: flex;
  justify-content: center;

  gap: 13px;
  margin-top: 15px;
}

.badges span {
  display: grid;
  place-items: center;

  width: 25px;
  height: 25px;

  font-size: 22px;
}

.badges span:nth-child(2),
.badges span:nth-child(4) {
  color: #7d78ff;
}

.badges span:nth-child(3) {
  color: #f2c94c;
}

/* Linkler */
.links {
  display: grid;
  gap: 10px;

  padding-left: 30px;
}

.links a {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 11px;

  min-height: 47px;

  border: 1px solid rgba(255,255,255,.12);
  border-radius: 13px;

  color: #f4f4f4;

  font-size: 14px;
  font-weight: 700;

  text-decoration: none;

  background: rgba(255,255,255,.035);

  transition:
    transform .2s ease,
    background .2s ease,
    border-color .2s ease;
}

.links a:hover,
.links a:focus-visible {
  transform: translateY(-2px);

  border-color: rgba(255,255,255,.3);

  background: rgba(255,255,255,.12);

  outline: none;
}

.links a span {
  font-size: 18px;
}

.links a .discord-icon,
.links a .brand-icon {
  display: inline-flex;

  width: 18px;
  height: 18px;
}

.discord-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.brand-icon svg {
  width: 100%;
  height: 100%;

  fill: none;
  stroke: currentColor;
  stroke-width: 2;

  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-icon svg .fill {
  fill: currentColor;
  stroke: none;
}

.tiktok-icon svg {
  fill: currentColor;
  stroke: none;

  filter:
    drop-shadow(1px 1px 0 #f25)
    drop-shadow(-1px -1px 0 #3de0e7);
}

.spotify-icon svg {
  fill: #1ed760;
  stroke: #1ed760;
}

.spotify-icon svg path {
  fill: none;
  stroke: #101010;
  stroke-width: 1.55;
}

.links .featured {
  border-color: rgba(113,99,255,.35);

  background:
    linear-gradient(
      110deg,
      rgba(85,73,218,.14),
      rgba(42,39,99,.15)
    );
}

.links small {
  margin-top: 7px;

  color: #868686;

  text-align: center;

  font: 500 10px "DM Mono", monospace;

  letter-spacing: .14em;
}

/* Mobil */
@media (max-width: 620px) {

  .bio {
    grid-template-columns: 1fr;

    max-width: 385px;

    padding: 25px;
  }

  .identity {
    padding: 0 0 22px;

    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.07);
  }

  .links {
    padding: 22px 0 0;
  }

  .sound {
    top: 13px;
    right: 13px;
  }

  .enter strong {
    font-size: 34px;
  }
}

/* Hareket azaltma */
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
