* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

@font-face {
  font-family: "Pixelar";
  src: URL("./fonts/PixelarRegular.ttf") format("truetype");
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-image: url("./assets/create/images/1.bg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-color: #111218;
  color: white;
  font-family: "Pixelar", sans-serif;
  min-height: 100vh;
  padding: 20px;
}

/* --- Layout & Card --- */
.container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.card {
  width: 100%;
  max-width: 420px;
  background-image: linear-gradient(to bottom, #0044aa, #6a058a);
  border-radius: 12px;
  border: 2px solid #6a058a;
  box-shadow: 0 0 20px rgba(106, 5, 138, 0.35), 0 10px 30px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  position: relative;
}

/* --- Banner --- */
.banner {
  height: 150px;
  position: relative;
  background-color: #2b2d31;
}

.banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Avatar & Status --- */
.avatar {
  position: absolute;
  bottom: -45px;
  left: 20px;
  width: 110px;
  height: 110px;
  z-index: 10;
}

.avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 7px solid #1a1b26;
  background-color: #1a1b26;
  object-fit: cover;
}

.avatar-frame {
  position: absolute;
  top: -20%;
  left: -20%;
  width: 140%;
  height: 140%;
  pointer-events: none;
  z-index: 11;
}

.status {
  position: absolute;
  bottom: 5px;
  right: 5px;
  width: 28px;
  height: 28px;
  background-color: #1a1b26;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 12;
}

.status.dnd::after {
  content: "";
  width: 20px;
  height: 20px;
  background-color: #f23f42;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.dnd-line {
  position: absolute;
  width: 12px;
  height: 4px;
  background-color: #1a1b26;
  z-index: 13;
  border-radius: 2px;
}

.header-badges {
  position: absolute;
  bottom: 10px;
  right: 15px;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 14px;
}

/* --- Content --- */
.content {
  padding: 60px 20px 20px 20px;
}

/* --- Name --- */
.name {
  font-size: 32px;
  margin-bottom: 2px;
  color: #53acff;
}

.meta {
  display: flex;
  align-items: center;
  font-size: 18px;
  color: #b5bac1;
  gap: 8px;
}

.pronouns {
  background-color: #2b2d3e;
  color: #53acff;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 14px;
}

/* --- Sections --- */
.section-title {
  font-size: 16px;
  text-transform: uppercase;
  font-weight: bold;
  color: #b5bac1;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

/* --- About / Terminal --- */
.about {
  margin-top: 20px;
  margin-bottom: 25px;
}

.code-block {
  background-color: #1e1f2b;
  border: 1px solid #2b2d31;
  border-radius: 6px;
  overflow: hidden;
}

.code-header {
  background-color: #363748;
  padding: 6px 12px;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #232435;
}

.window-title {
  color: #dbdee1;
}

.window-controls {
  letter-spacing: 4px;
  color: #dbdee1;
}

.ascii-art {
  padding: 15px;
  font-family: "Courier New", Courier, monospace;
  font-size: 15px;
  color: #dbdee1;
  white-space: pre-wrap;
  margin: 0;
  line-height: 1.3;
}

/* --- Connections thing --- */
.links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.link-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #232435;
  padding: 12px 15px;
  border-radius: 8px;
  transition: background-color 0.2s;
}

.link-item:hover {
  background-color: #2c2d42;
}

.link-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.connection-icon {
  font-size: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.connection-info {
  display: flex;
  flex-direction: column;
}

.connection-name {
  font-size: 18px;
  color: #dbdee1;
}

/* --- Webring --- */
.webring {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 12px 15px;
  background-color: #232435;
  border-radius: 8px;
}

.webring-title {
  color: #b5bac1;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.webring-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.webring a {
  color: #53acff;
  text-decoration: none;
  font-size: 16px;
  line-height: 1;
  padding: 6px 10px;
  border-radius: 4px;
  transition: background-color 0.2s, color 0.2s;
}

.webring a:hover {
  background-color: #363748;
  color: #8ec9ff;
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #232435;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #363748;
}