:root {
  --pink-1: #ff9ad5;
  --pink-2: #ffd1e8;
  --pink-3: #fff0f8;
  --pink-4: #ff6fb8;
  --text-main: #ff4fa0;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: radial-gradient(circle at top, #ffd9ec 0%, #ffb6dc 100%);
  font-family: 'Quicksand', 'Kosugi Maru', sans-serif;
}

.canvas {
  width: 1280px;
  margin: 20px auto;
  background: var(--pink-3);
  border-radius: 24px;
  padding: 16px 20px 20px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.25);
}

/* TITLE BAR */
.title-bar {
  height: 64px;
  line-height: 64px;
  background: linear-gradient(#ffb0de, #ff7fc4);
  border-radius: 18px;
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 3px;
  color: white;
  margin-bottom: 16px;
}

/* LAYOUT */
.layout {
  display: grid;
  grid-template-columns: 260px 1fr 330px;
  gap: 16px;
}

/* SIDEBAR */
.sidebar {
  display: grid;
  gap: 14px;
}

.box {
  background: white;
  border-radius: 18px;
  padding: 12px;
  box-shadow: inset 0 0 18px rgba(255,150,210,0.45);
  text-align: center;
}

.profile img {
  width: 100%;
  border-radius: 14px;
}

.tag {
  margin-top: 8px;
  font-size: 13px;
  letter-spacing: 1px;
}

.badge {
  font-weight: 700;
  font-size: 15px;
}

/* INFO */
.info {
  background: white;
  border-radius: 20px;
  padding: 22px;
  box-shadow: inset 0 0 26px rgba(255,160,220,0.5);
}

.info-inner {
  max-width: 420px;
}

.info h1 {
  margin: 0;
  font-family: 'Kosugi Maru', sans-serif;
  font-size: 34px;
}

.info h2 {
  margin: 6px 0 14px;
  font-size: 14px;
  letter-spacing: 1px;
  color: #999;
}

.details p {
  margin: 6px 0;
  font-size: 14px;
}

.details span {
  display: inline-block;
  width: 80px;
  color: #ff77b8;
  font-weight: 600;
}

.bio {
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.8;
  color: #666;
}

/* CHARACTER */
.character img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

/* STATUS PANELS */
.panels {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.panel {
  height: 92px;
  background: linear-gradient(#ffe6f2, #ffd0e6);
  border-radius: 30px;
  display: block;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  font-weight: 800;
  color: var(--text-main);
  box-shadow: 0 9px #eba9c0;
  cursor:pointer;
  text-align: center;
  padding: 20px;
  text-decoration-line: none;
}
.panel:hover {
  background: #f074b0;
  color: #ffd1e8;
  box-shadow: 0 9px #d16e91;
}
footer {
  margin-top: 24px;
  text-align: center;
  font-size: 12px;
  color: var(--text-main);
}



/* Style the header with a grey background and some padding */
.header {
 overflow: hidden;
 background: linear-gradient(#fac3e4);
 padding: 10px 10px
}

/* Style the header links */
.header a {
  float: left;
  color: rgb(167, 82, 82);
  text-align: center;
  padding: 20px;
  text-decoration: none;
  font-size: 18px;
  line-height: 25px;
  border-radius: 4px;
  font-family: 'Kosugi Maru', sans-serif;
}

/* Style the logo link (notice that we set the same value of line-height and font-size to prevent the header to increase when the font gets bigger */
.header a.logo {
    object-fit: cover;
}

/* Change the background color on mouse-over */
.header a:hover {
  background-color: #bff5ffec;
  color: black;
  font-family: 'Kosugi Maru';
}

/* Style the active/current link*/
.header a.active {
  background-color:#fca7d3;
  color: rgb(221, 70, 163);
}

/* Float the link section to the right */
.header-right {
  float: right;
}

/* Add media queries for responsiveness - when the screen is 500px wide or less, stack the links on top of each other */
@media screen and (max-width: 500px) {
  .header a {
    float: none;
    display: block;
    text-align: left;
  }
  .header-right {
    float: none;
  }
}
