:root {
  --bg-color: #2c2a4a;
  --wall-color: #4f4c7a;
  --shelf-color: #3e3c61;
  --desk-color: #353358;
  --pc-case-color: #dce0e8;
  --pc-case-dark: #b8bccb;
  --monitor-color: #c3c8d4;
  --screen-color: #11111b;
  --cat-color: #313244;
  --cat-highlight: #45475a;
  --plant-pot: #e6e9ef;
  --plant-leaf: #a6e3a1;
  --mug-color: #c3c8d4;
  --headphone-color: #6c7086;
  --highlight-light: rgba(255, 255, 255, 0.1);
  --shadow-dark: rgba(0, 0, 0, 0.2);
}

body {
  margin: 0;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--bg-color);
}

.scene {
  position: relative;
  width: 800px;
  height: 600px;
  background-color: var(--wall-color);
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Shelf */
.shelf {
  position: absolute;
  top: 150px;
  left: 0;
  width: 100%;
  height: 20px;
  background-color: var(--shelf-color);
  box-shadow: 0 4px 10px var(--shadow-dark);
}
.shelf::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 200px;
  width: 60px;
  height: 80px;
  background: #f5c2e7;
  border: 5px solid #fff;
  box-shadow: 2px 2px 8px var(--shadow-dark);
}
.shelf::after {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 300px;
  width: 40px;
  height: 70px;
  background: #89b4fa;
  border-left: 5px solid #74c7ec;
  border-right: 5px solid #94e2d5;
  box-shadow: 2px 2px 8px var(--shadow-dark);
}

/* Desk */
.desk {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background-color: var(--desk-color);
  z-index: 10;
}
.desk::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to bottom, var(--highlight-light), transparent);
}

/* Tower */
.tower {
  position: absolute;
  bottom: 100px;
  left: 50px;
  width: 100px;
  height: 250px;
  background: var(--pc-case-color);
  border-radius: 8px;
  box-shadow: inset -5px -5px 15px rgba(0, 0, 0, 0.1),
    5px 0 15px var(--shadow-dark);
  border-top: 2px solid var(--highlight-light);
  z-index: 12;
}
.tower .drive-slot {
  position: absolute;
  top: 20px;
  left: 10px;
  width: 80px;
  height: 20px;
  background: var(--pc-case-dark);
  border-radius: 2px;
  box-shadow: inset 1px 1px 3px var(--shadow-dark);
}
.tower .drive-slot:nth-child(2) {
  top: 45px;
}
.tower .power-light {
  position: absolute;
  top: 80px;
  left: 45px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #a6e3a1;
  box-shadow: 0 0 8px #a6e3a1, 0 0 10px #a6e3a1;
}

/* Monitor */
.monitor {
  position: absolute;
  bottom: 180px;
  left: 50%;
  transform: translateX(-50%);
  width: 250px;
  height: 200px;
  background: linear-gradient(145deg, var(--monitor-color), #b0b4c1);
  border-radius: 20px 20px 15px 15px;
  box-shadow: 0 0 60px rgba(30, 30, 46, 0.6),
    inset 0 2px 2px var(--highlight-light);
  z-index: 15;
}
.monitor::before {
  content: "";
  position: absolute;
  bottom: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 80px;
  background: var(--pc-case-dark);
  border-radius: 0 0 10px 10px;
  z-index: -1;
}
.monitor::after {
  content: "";
  position: absolute;
  bottom: -90px;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 10px;
  background: linear-gradient(to top, var(--monitor-color), #b0b4c1);
  border-radius: 5px;
  z-index: -2;
}
.screen {
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  bottom: 40px;
  background-color: var(--screen-color);
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 24px;
  letter-spacing: 2px;
  text-shadow: 0 0 5px #fff, 0 0 10px #fff;
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.7);
}

/* Keyboard & Mouse */
.keyboard {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  width: 350px;
  height: 100px;
  background: repeating-linear-gradient(
    to bottom,
    #4c4f69,
    #4c4f69 12px,
    #36384d 12px,
    #36384d 20px
  );
  border-radius: 10px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3),
    inset 0 2px 1px var(--highlight-light);
  border: 1px solid #2e3040;
  z-index: 20;
}
.mouse {
  position: absolute;
  bottom: 60px;
  right: 150px;
  width: 50px;
  height: 70px;
  background: linear-gradient(to bottom, #6c7086, #4c4f69);
  border-radius: 20px 20px 30px 30px;
  box-shadow: 0 2px 5px var(--shadow-dark);
  z-index: 21;
}

/* Cat */
.cat {
  position: absolute;
  bottom: 90px;
  left: 320px;
  z-index: 25;
}
.cat-body {
  width: 150px;
  height: 60px;
  background: linear-gradient(180deg, var(--cat-highlight), var(--cat-color));
  border-radius: 30px;
}
.cat-head {
  position: absolute;
  top: -20px;
  left: -10px;
  width: 50px;
  height: 45px;
  background: var(--cat-highlight);
  border-radius: 50%;
}
.cat-head::before,
.cat-head::after {
  content: "";
  position: absolute;
  top: -5px;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 15px solid var(--cat-highlight);
}
.cat-head::before {
  left: 0;
  transform: rotate(-20deg);
}
.cat-head::after {
  right: 0;
  transform: rotate(20deg);
}
.cat-tail {
  position: absolute;
  right: -20px;
  bottom: 0;
  width: 80px;
  height: 25px;
  background: var(--cat-color);
  border-radius: 0 20px 20px 0;
  transform: rotate(-30deg);
  transform-origin: left bottom;
  box-shadow: inset -5px 0 10px rgba(0, 0, 0, 0.2);
}

/* Mug handle behind mug */
.mug-handle {
  position: absolute;
  bottom: 100px;
  left: 195px;
  width: 25px;
  height: 30px;
  border: 8px solid var(--mug-color);
  border-radius: 50%;
  z-index: 29;
}

/* Mug body in front */
.mug {
  position: absolute;
  bottom: 90px;
  left: 160px;
  width: 50px;
  height: 60px;
  background: linear-gradient(to right, var(--mug-color), #aab0c0);
  border-radius: 5px 5px 25px 25px;
  box-shadow: 2px 2px 8px var(--shadow-dark);
  z-index: 30;
}

/* Plant */
.plant {
  position: absolute;
  bottom: 100px;
  right: 60px;
  z-index: 16;
}
.plant-pot {
  width: 60px;
  height: 50px;
  background: linear-gradient(to right, var(--plant-pot), #d5d9e2);
  border-radius: 5px 5px 20px 20px;
  box-shadow: 2px 2px 8px var(--shadow-dark);
}
.leaf {
  position: absolute;
  bottom: 40px;
  width: 20px;
  height: 40px;
  background: var(--plant-leaf);
  border-radius: 50% 0;
  transform-origin: bottom center;
}
.leaf.one {
  left: 25px;
  transform: rotate(-30deg);
}
.leaf.two {
  left: 10px;
  height: 50px;
  transform: rotate(10deg);
}
.leaf.three {
  left: 30px;
  background: #89b4fa;
  transform: rotate(40deg);
}

/* Headphones */
.headphones {
  position: absolute;
  bottom: 50px;
  right: 50px;
  z-index: 22;
}
.headphone-band {
  width: 80px;
  height: 70px;
  border: 10px solid var(--headphone-color);
  border-radius: 40px 40px 0 0;
  border-bottom: none;
}
.headphone-cup {
  position: absolute;
  width: 30px;
  height: 40px;
  background: linear-gradient(var(--headphone-color), #585b70);
  border-radius: 10px;
  box-shadow: 1px 1px 5px var(--shadow-dark);
}
.headphone-cup.left {
  bottom: -10px;
  left: -15px;
}
.headphone-cup.right {
  bottom: -10px;
  right: -15px;
}
