html, body {
  margin: 0;
  padding: 0;

  overflow-x: hidden;
  overflow-y: auto;

  background:
    linear-gradient(
      97deg,
      rgba(0,0,0,1) 0%,
      rgb(19,18,21) 50%,
      rgb(33,23,39) 100%
    );

  color: white;
  font-family: Verdana, sans-serif;
}

.screen {
  position: relative;

  width: 100%;
  height: 100%;

  overflow-y: auto;
  overflow-x: hidden;

  padding-bottom: 40px;

  box-sizing: border-box;
}

.terminal {
  position: fixed;
  inset: 0;

  display: flex;

  background-color: #383838;
  padding: 20px;
  box-sizing: border-box;

  overflow: hidden;
}
  
.frame {
    position: relative;
    width: 100%;
    height: 97%;
    border-radius: 50px;
    overflow: hidden;
    background: radial-gradient(#2001605e, #220127b3);
    border: 15px solid;
    border-bottom-color: #121212;
    border-left-color: #080808;
    border-right-color: #080808;
    border-top-color: #020202;
    box-shadow: inset 0 0 18rem black, inset 0 0 3rem black, 0 0 10rem black;
}
::-webkit-scrollbar {
  display: none;
}
.frame::before {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(to bottom, rgb(255 255 255 / 51%) 0px, rgb(255 255 255 / 0%) 1px, #00000078 2px, transparent 4px);
    pointer-events: none;
    z-index: 10000;
    opacity: 0.22;
    mix-blend-mode: soft-light;
}

/* TOP BAR */

.topbar {
  position: sticky;
  top: 0;
}

.topbar {

  top: 0;
  left: 0;

  width: 100%;

  height: 60px;

  background:
    rgba(0,0,0,0.35);

  backdrop-filter: blur(10px);

  -webkit-backdrop-filter: blur(10px);

  border-bottom:
    1px solid rgba(255,255,255,0.08);

  display: flex;

  justify-content: space-between;

  align-items: center;

  padding: 0 30px;

  box-sizing: border-box;

  z-index: 1000;
}

.topbar-left,
.topbar-right {

  font-size: 12px;

  letter-spacing: 2px;

  text-transform: uppercase;

  color:
    rgba(255,255,255,0.75);
}


/* SIDEBAR */

.sidebar {
    position: fixed;
    top: 95px;
    left: 35px;
    width: 220px;
    height: calc(100% - 110px);
    box-sizing: border-box;
    z-index: 999;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    padding-top: 40px;
    border-radius: 0 0 0 35px;
}

.nav-logo {
  padding-left: 28px;

  margin-bottom: 30px;

  letter-spacing: 4px;

  font-size: 20px;
}

.sidebar a {
  color: white;

  text-decoration: none;

  padding: 16px 28px;

  font-size: 13px;

  letter-spacing: 2px;

  text-transform: uppercase;

  transition: 0.3s;
}

.sidebar a:hover {
  background: rgba(255,255,255,0.08);

  padding-left: 38px;
}


/* MAIN CONTENT */

.main-content {
  margin-left: 220px;

  margin-top: 60px;

  padding: 40px;

  min-height: calc(100vh - 60px);
}


/* HERO */

.characters-hero {
  margin-bottom: 50px;
}

.hero-title {
  margin: 0;

  font-size: 4rem;

  letter-spacing: 6px;

  font-weight: 900;
}

.hero-subtitle {
  margin-top: 10px;

  color: rgba(255,255,255,0.7);

  font-size: 1.1rem;
}


/* SEARCH */

.character-search {
  margin-top: 25px;

  width: 320px;

  padding: 14px 18px;

  border-radius: 10px;

  border:
    1px solid rgba(255,255,255,0.1);

  background: rgba(255,255,255,0.05);

  color: white;

  outline: none;

  backdrop-filter: blur(8px);
}

.character-search::placeholder {
  color: rgba(255,255,255,0.4);
}


/* GRID */

.character-grid {
  display: grid;

  grid-template-columns:
    repeat(auto-fit, minmax(260px, 1fr));

  gap: 25px;
}


/* CARD */

.character-card {
  background: rgba(255,255,255,0.05);

  border:
    1px solid rgba(255,255,255,0.08);

  border-radius: 14px;

  overflow: hidden;

  backdrop-filter: blur(8px);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.character-card:hover {
  transform: translateY(-8px);

  box-shadow:
    0 10px 30px rgba(0,0,0,0.3);
}


/* IMAGE */

.character-image {
  width: 100%;

  height: 320px;

  object-fit: cover;

  display: block;
}


/* BODY */

.character-body {
  padding: 20px;
}


/* TEXT */

.character-name {
  margin: 0;

  font-size: 1.5rem;
}

.character-fandom {
  margin-top: 8px;

  color: rgba(255,255,255,0.6);

  font-size: 0.9rem;

  letter-spacing: 1px;

  text-transform: uppercase;
}

.character-bio {
  margin-top: 16px;

  line-height: 1.6;

  color: rgba(255,255,255,0.8);
}


/* TAGS */

.character-tags {
  display: flex;

  gap: 10px;

  margin-top: 20px;

  flex-wrap: wrap;
}

.tag {
  background: rgba(255,255,255,0.08);

  border:
    1px solid rgba(255,255,255,0.08);

  padding: 8px 12px;

  border-radius: 999px;

  font-size: 0.8rem;
}