* {
  margin: 0;
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Yantramanav', sans-serif;
  color: #2f184b;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    linear-gradient(rgba(255,255,255,.18), rgba(255,255,255,.18)),
    url('assets/bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 24px 12px 60px;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  max-width: 600px;
  margin: 0 auto;
}

.panel {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,.18);
}

.profile {
  background: #c8b1e4;
}

/* topbar */

.topbar {
  background: #532b88;
  color: #f4effa;
  font-family: 'Cute Font', cursive;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 1.1rem;
}

.topbar__player {
  flex: 1;
  text-align: center;
  min-width: 140px;
}

.topbar__home {
  opacity: .9;
}

/* hero */

.hero__banner {
  display: block;
}

.hero__banner img {
  width: 100%;
  display: block;
  aspect-ratio: 14 / 5;
  object-fit: cover;
}

.hero__inner {
  padding: 18px;
  display: grid;
  gap: 16px;
}

.hero__titlestrip {
  background: #9b72cf;
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.hero__avatar {
  width: 84px;
  height: 84px;
  border-radius: 14px;
  object-fit: cover;
  border: 3px solid #590c08;
  flex-shrink: 0;
}

.hero__titletext {
  flex: 1;
  min-width: 140px;
}

.hero__name {
  font-family: 'Darumadrop One', cursive;
  font-size: 2.4rem;
  line-height: 1;
  color: #2f184b;
}

.hero__meta {
  font-family: 'Cute Font', cursive;
  font-size: 1.4rem;
  color: #2f184b;
  margin-top: 4px;
}

.hero__extra {
  margin-left: auto;
  text-align: right;
}

.hero__discord {
  font-family: 'Yantramanav', sans-serif;
  font-size: .95rem;
  color: #040308;
}

.hero__badges {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
  margin-top: 6px;
}

.hero__badges img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

/* pill (shared with subpage "back home" links) */

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ebb7f5;
  border-radius: 14px;
  padding: 12px 16px;
  font-family: 'Space Mono', monospace;
  transition: transform .2s ease, opacity .2s ease;
  opacity: .95;
}

.pill__icon {
  line-height: 1;
}

.pill:hover {
  transform: scale(1.03);
  opacity: 1;
}

.pill--wide {
  display: flex;
  justify-content: center;
  width: 100%;
}

/* secondary banner + stickers */

.banner2 {
  position: relative;
  padding: 0 18px 18px;
}

.banner2 img:first-child {
  width: 100%;
  display: block;
  border-radius: 14px;
  aspect-ratio: 14 / 3;
  object-fit: cover;
}

.sticker {
  position: absolute;
  width: 56px;
  z-index: 2;
  pointer-events: none;
}

.sticker--a {
  top: 0;
  right: 20px;
}

.sticker--b {
  bottom: 0;
  left: 6px;
}

.sticker--c {
  top: 35%;
  left: 44%;
}

/* about */

.about {
  padding: 0 18px 18px;
}

.about__columns {
  display: flex;
  gap: 16px;
  align-items: stretch;
}

.about__col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.about__label {
  font-family: 'Darumadrop One', cursive;
  font-size: 2.1rem;
  line-height: 1;
  color: #2f184b;
}

.about__box {
  border-radius: 14px;
  padding: 16px;
  font-family: 'Cute Font', cursive;
  font-size: 1.2rem;
  line-height: 1.5;
  color: #2f184b;
}

.about__box--byf,
.about__box--interests {
  background: #a278d2;
}

.about__box--me {
  background: #9b72cf;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about__photo {
  width: 100%;
  border-radius: 14px;
  display: block;
  object-fit: cover;
  max-height: 160px;
}

.about__me-photo {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  margin-top: auto;
}

.about__me-strip {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
}

.badge-row {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ebb7f5;
  opacity: .7;
  border-radius: 10px;
  padding: 6px 10px;
  font-family: 'Space Mono', monospace;
  font-size: .85rem;
  transition: opacity .2s ease, transform .2s ease;
}

.badge-pill:hover {
  opacity: 1;
  transform: scale(1.03);
}

.footer-strip {
  display: block;
  width: 100%;
  margin-top: 16px;
  border-radius: 14px;
  object-fit: cover;
}

/* shared subpage styles (anime.html / games.html) */

.card h2,
.page-header h1 {
  font-family: 'Darumadrop One', cursive;
  line-height: 1;
}

.page-header h1 {
  font-size: 3rem;
}

.page-header p {
  font-family: 'Cute Font', cursive;
  font-size: 1.5rem;
}

.content-section {
  background: #a278d2;
  padding: 18px;
  display: grid;
  gap: 18px;
}

.card {
  background: rgba(255,255,255,.18);
  border-radius: 18px;
  padding: 16px;
}

.card h2 {
  font-size: 2.25rem;
  margin-bottom: 10px;
}

.card p,
.list {
  font-family: 'Cute Font', cursive;
  font-size: 1.2rem;
  line-height: 1.5;
}

.list {
  padding-left: 1.2rem;
}

.gallery {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.gallery img {
  width: 100%;
  display: block;
  border-radius: 14px;
  object-fit: cover;
}

.page-header {
  background: #9b72cf;
  padding: 18px;
}

.page-header p {
  margin: 6px 0 14px;
}

.page--simple .content-section {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

@media (max-width: 520px) {
  body {
    padding: 12px 8px 40px;
  }

  .hero__name {
    font-size: 1.9rem;
  }

  .hero__meta {
    font-size: 1.15rem;
  }

  .hero__extra {
    margin-left: 0;
    text-align: left;
  }

  .about__columns {
    flex-direction: column;
  }

  .sticker {
    width: 42px;
  }

  .page-header h1 {
    font-size: 2.5rem;
  }

  .page-header p {
    font-size: 1.3rem;
  }

  .card p,
  .list {
    font-size: 1.1rem;
  }
}