/* ========== BASE ========== */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Share Tech Mono", "Times New Roman", serif;
  font-size: 15px;
  color: #f5f5f5;
  background-color: #0a0a0a;
  background-image:
    linear-gradient(rgba(255, 20, 147, 0.08), rgba(0, 0, 0, 0.9)),
    repeating-linear-gradient(
      135deg,
      #0a0a0a 0px,
      #0a0a0a 12px,
      #111111 12px,
      #111111 24px
    );
}

/* ========== MAIN WRAPPERS ========== */
.container,
.layout,
.site-footer {
  width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.container {
  margin-top: 24px;
}

.layout {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 20px;
  align-items: start;
}

aside {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

main {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ========== HEADER / NAV / FOOTER - RESTORED ========== */
header,
nav,
.site-footer {
  background: #c0c0c0;
  border-top: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
  border-right: 2px solid #808080;
  border-bottom: 2px solid #808080;
  box-shadow: inset 1px 1px 0 #ffffff, inset -1px -1px 0 #d4d0c8;
}

header {
  padding: 14px 16px;
  margin-bottom: 10px;
  color: #000000;
}

.title-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rat-icon {
  width: 42px;
  height: 42px;
  image-rendering: pixelated;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

header h1 {
  margin: 0;
  font-size: 20px;
  font-family: "Silkscreen", monospace;
  color: #000000;
  text-shadow: 1px 1px 0 #ffffff;
}

.header-sub {
  display: inline-block;
  margin-top: 6px;
  font-size: 12px;
  color: #555555;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px;
}

nav a {
  display: inline-block;
  padding: 6px 10px;
  text-decoration: none;
  color: #000000;
  background: #d4d0c8;
  border-top: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
  border-right: 2px solid #808080;
  border-bottom: 2px solid #808080;
  font-family: "Silkscreen", monospace;
  font-size: 10px;
}

nav a:hover {
  background: #c0c0c0;
}

nav a:active {
  border-top: 2px solid #808080;
  border-left: 2px solid #808080;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  background: #bdbdbd;
}

.site-footer {
  margin-top: 10px;
  margin-bottom: 20px;
  padding: 12px 10px;
  text-align: center;
  font-size: 11px;
  color: #555555;
  font-family: monospace;
}

.site-footer img {
  display: block;
  margin: 6px auto 0;
}

/* ========== EMO LAYOUT ========== */
.name {
  margin: 0 0 6px;
  font-size: 18px;
  color: #ff66cc;
}

.profile-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.profile-pic {
  width: 165px;
  height: 165px;
  background: linear-gradient(135deg, #181818, #000000);
  border: 1px solid #ff1493;
  box-shadow:
    0 0 10px rgba(255, 20, 147, 0.18),
    inset 0 0 8px rgba(255, 20, 147, 0.08);
  flex-shrink: 0;
}

.profile-info p {
  margin: 0 0 2px;
  font-size: 12px;
  line-height: 1.25;
  color: #e7e7e7;
}

.quote {
  margin-bottom: 8px !important;
  color: #ff9bd6;
}

.status {
  margin-top: 8px;
  font-size: 12px;
  color: #e7e7e7;
}

.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #00ff88;
  border-radius: 50%;
  margin-right: 4px;
}

.login {
  margin-top: 4px;
  font-size: 11px;
  color: #b8b8b8;
}

/* ========== EMO BOXES ========== */
.box,
.top-banner,
.inner-box {
  background: linear-gradient(180deg, #111111 0%, #050505 100%);
  border: 1px solid #ff1493;
  box-shadow:
    0 0 6px rgba(255, 20, 147, 0.24),
    inset 0 0 5px rgba(255, 20, 147, 0.12);
}

.box {
  padding: 8px;
}

.box-title {
  background: linear-gradient(to right, #ff1493, #99004d);
  color: #ffffff;
  padding: 4px 6px;
  margin: -8px -8px 8px -8px;
  font-size: 12px;
  font-weight: bold;
  text-shadow: 0 0 3px rgba(255, 255, 255, 0.25);
}

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 12px;
  font-size: 12px;
  color: #ededed;
}

.music {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 88px;
}

.music-cover {
  width: 66px;
  height: 52px;
  background: linear-gradient(135deg, #333333, #111111);
  border: 1px solid #ff1493;
  flex-shrink: 0;
}

.music p {
  margin: 0 0 6px;
  color: #ededed;
}

.details {
  display: grid;
  grid-template-columns: 115px 1fr;
  gap: 4px 8px;
  font-size: 12px;
  color: #d8d8d8;
}

.top-banner {
  padding: 12px;
  text-align: center;
  margin-bottom: 6px;
  font-weight: bold;
  color: #ff66cc;
  letter-spacing: 0.4px;
}

.pics-title {
  font-size: 13px;
  margin-bottom: 5px;
  color: #ececec;
}

.pics-title span {
  color: #ff1493;
}

.preview-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 10px;
}

.preview {
  height: 110px;
  background: linear-gradient(180deg, #1c1c1c, #000000);
  border: 1px solid #ff1493;
  box-shadow:
    0 0 6px rgba(255, 20, 147, 0.16),
    inset 0 0 4px rgba(255, 20, 147, 0.1);
}

.inner-box {
  padding: 8px;
  margin-top: 6px;
}

.inner-box h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: #ff66cc;
}

.inner-box p {
  margin: 0;
  color: #e5e5e5;
}

.friends {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.friend {
  height: 90px;
  background: linear-gradient(180deg, #1c1c1c, #000000);
  border: 1px solid #ff1493;
  box-shadow:
    0 0 6px rgba(255, 20, 147, 0.16),
    inset 0 0 4px rgba(255, 20, 147, 0.1);
}

.links {
  margin: 0;
  color: #ededed;
}

.links span {
  color: #ff1493;
}

.links span:hover {
  text-decoration: underline;
  text-shadow: 0 0 6px #ff1493;
}