@import url('https://fonts.googleapis.com/css2?family=DotGothic16&display=swap');

:root{
  --panel: #fff6fb;
  --line: #ff4fa3;
  --bar: #ff6fb6;
  --soft: #ffd1e6;
  --shadow: #ff9fcb;
  --text: #ff4fa3;
}

*{ box-sizing: border-box; }

body{
  margin: 0;
  padding: 28px 0;
  background-image: url("https://i4.glitter-graphics.org/pub/2080/2080324f7c521qp7z.gif");
  background-repeat: repeat;
  background-position: top left;
  color: var(--text);
  font-family: 'DotGothic16', Verdana, Arial, sans-serif;

  /* custom cursor */
  cursor: url("https://cur.cursors-4u.net/nature/nat-11/nat1027.gif"), auto;
}

a, button, .pill{
  cursor: url("https://cur.cursors-4u.net/nature/nat-11/nat1027.gif"), pointer;
}

a{ color: var(--text); text-decoration: none; }
a:hover{ text-decoration: underline; }

.page{
  width: 900px;
  margin: 0 auto;
  position: relative;
}

.window{
  background: var(--panel);
  border: 2px solid var(--line);
  box-shadow: 5px 5px 0 var(--shadow);
  border-radius: 10px;
  overflow: hidden;
}

/* ===== 3D title-bar ===== */
.title-bar{
  background: var(--bar);
  color: #fff;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: "MS Sans Serif", Tahoma, Arial, sans-serif;
  font-size: 13px;

  border-top: 2px solid #ffd6ea;
  border-left: 2px solid #ffd6ea;
  border-right: 2px solid #ff3f96;
  border-bottom: 2px solid #ff3f96;

  box-shadow:
    inset 0 2px 0 rgba(255,255,255,0.35),
    inset 0 -2px 0 rgba(0,0,0,0.08);
}

.win-btns{ display: flex; gap: 4px; }

.win-btns span{
  width: 18px;
  height: 16px;
  background: #ffe6f2;

  border-top: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
  border-right: 2px solid #ff3f96;
  border-bottom: 2px solid #ff3f96;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ff4fa3;
  font-size: 11px;
  line-height: 1;
}

.win-btns span:active{
  border-top: 2px solid #ff3f96;
  border-left: 2px solid #ff3f96;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
}

.win-btns .min::before{ content:"_"; transform: translateY(-2px); }
.win-btns .max::before{ content:"□"; font-size: 10px; }
.win-btns .close::before{ content:"×"; font-size: 12px; }

/* divider */
.top-divider{ margin: 0 auto 18px; text-align: center; }
.top-divider img{ max-width: 100%; }

/* header */
header.header{
  margin-bottom: 18px;
  background-image: url("https://i10.glitter-graphics.org/pub/2179/2179460fsmbxuz3td.gif");
  background-repeat: repeat;
  background-position: top center;
  background-size: auto 100%;
}

.header-inner{
  min-height: 180px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 70px;
  background: transparent;
}

.site-title{
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(10px);
  gap: 10px;

  font-family: 'Press Start 2P', 'MS Sans Serif', Arial, sans-serif;
  font-size: 40px;
  letter-spacing: 2px;

  color: #ff5fae;
  text-shadow:
    -3px -3px 0 #fff,
     3px -3px 0 #fff,
    -3px  3px 0 #fff,
     3px  3px 0 #fff,
     4px  4px 0 #ff7fb8,
     6px  6px 0 #e85aa0;
}

.title-gif{ height: 40px; width: auto; }

/* marquee */
.marquee-strip{
  margin: 10px 0 16px;
  padding: 6px 10px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  box-shadow: 4px 4px 0 var(--shadow);
  overflow: hidden;
}

.marquee-track{
  display: inline-flex;
  gap: 18px;
  width: max-content;
  white-space: nowrap;
  animation: marquee-left 18s linear infinite;
}

@keyframes marquee-left{
  from{ transform: translateX(0); }
  to  { transform: translateX(-50%); }
}

/* frame */
.content-frame{
  padding: 18px;
  border-width: 7px;
  border-style: solid;
  border-image: url("https://files.catbox.moe/fmru60.gif") 7 fill round;
}

/* grid */
.grid{
  display: grid;
  gap: 16px;
  grid-template-columns: 180px 1fr 200px;
  grid-template-areas:
    "social  welcome  about"
    "social  artwork  about"
    "social  artwork  deco"
    "stamps  commission commission";
}

.social{ grid-area: social; }
.welcome{ grid-area: welcome; }
.about{ grid-area: about; }
.artwork{ grid-area: artwork; }
.deco{ grid-area: deco; }
.stamps{ grid-area: stamps; }
.commission{ grid-area: commission; }

.social, .about{ min-height: 560px; }
.welcome{ min-height: 220px; }
.artwork{ min-height: 360px; }
.deco{ min-height: 220px; }

/* social */
.social{ display: flex; flex-direction: column; }

.social-links{
  list-style: none;
  padding: 12px 16px 0;
  margin: 0;
}

.social-links li{ margin-bottom: 8px; }

.social-links a{
  display: block;
  padding: 6px 10px;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: #fff;
  text-align: center;
  font-weight: bold;
}

.social-links a:hover{ background: #ffe0ef; }

.social-blinkies{
  margin: 10px 12px 12px;
  display: grid;
  gap: 6px;
  justify-items: center;
}

.social-blinkies img{
  width: 100%;
  max-width: 150px;
  height: auto;
  image-rendering: pixelated;
}

/* welcome */
.welcome-box{
  margin: 12px;
  padding: 14px;
  border: 2px solid var(--line);
  background: #fff;
  border-radius: 10px;
  text-align: center;
}

/* about */
.artist-blinkies{
  display: flex;
  justify-content: center;
  margin: 15px 0 6px;
}

.artist-blinkies img{
  height: 32px;
  width: 180px;
  image-rendering: pixelated;
}

.avatar-box{
  margin: 12px;
  height: 180px;
  border: 2px dashed var(--line);
  background: #ffe0ef;
  border-radius: 10px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.avatar-box img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-width: 8px;
  border-style: solid;
  border-image: url("https://i.imgur.com/e3EPu48.png") 12 fill round;
}

.about-list{
  padding: 0 12px 14px;
  line-height: 1.9;
}

.about-stamp{
  margin: 14px 0 10px;
  text-align: center;
}

.about-stamp img{
  width: 80%;
  max-width: 180px;
  height: auto;
  image-rendering: pixelated;
}

/* artwork */
.window.artwork{
  position: relative;
  padding-bottom: 60px;
  background: linear-gradient(#fff7fb, #ffe3f0);
  box-shadow: inset 0 0 12px rgba(255,120,180,0.4), 5px 5px 0 var(--shadow);
}

.artwork-blinkies{
  display: flex;
  justify-content: center;
  padding: 8px 0 4px;
}

.artwork-blinkies img{
  height: 28px;
  image-rendering: pixelated;
}

.art-grid-wrapper{
  max-height: 470px;
  overflow-y: auto;
  padding: 12px;
  padding-bottom: 0;
}

.art-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.art{
  height: 120px;
  border: 2px solid var(--line);
  background: #ffe0ef;
  border-radius: 10px;
  overflow: hidden;
}

.art img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* bottom blinkies */
.blinkies{
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 8px;
  height: 30px;
  overflow: hidden;
  pointer-events: none;
}

.blinkies-track{
  display: flex;
  gap: 12px;
  width: max-content;
  animation: scroll-left 18s linear infinite;
}

.blinkies-track img{
  height: 24px;
  image-rendering: pixelated;
  flex: 0 0 auto;
}

@keyframes scroll-left{
  from{ transform: translateX(0); }
  to  { transform: translateX(-50%); }
}

/* deco */
.deco-box{
  margin: 12px;
  border: 2px dashed var(--line);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
  display: grid;
  place-items: center;
  min-height: 180px;
}

.deco-box img{
  width: 100%;
  height: auto;
  display: block;
}

/* stamps */
.stamps-grid{
  margin: 12px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  padding: 10px;
  background: #fff;
  border-radius: 10px;
}

.stamps-grid img{ width: 100%; height: auto; }

/* commission */
.commission{ overflow: hidden; }

.commission-box{
  position: relative;          /* important */
  overflow: hidden;            /* clips the bunny */
  padding-left: 180px; 
}

.commission-img{
  position: absolute;
  left: 18px;
  bottom: 0px;               /* push down so it's “cut off” */
  width: 300px;                /* make bigger */
  height: auto;
  z-index: 1;
  pointer-events: none;
}

.commission-content{
  position: relative;
  z-index: 2;
}

.commission-title{
  font-size: 18px;
  font-weight: bold;
  margin: 0;
}

.commission-desc{
  font-size: 12px;
  margin: 0 0 6px;
  opacity: 0.9;
}

.commission-buttons{
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.pill{
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  border: 2px solid var(--line);
  background: #fff;
  box-shadow: 3px 3px 0 var(--shadow);
  font-family: "MS Sans Serif", Tahoma, Arial, sans-serif;
}

/* floating persona */
.float-persona{
  position: fixed;
  right: 40px;
  top: 240px;
  width: 220px;
  height: auto;
  z-index: 999;
  pointer-events: none;
  animation: floaty 3s ease-in-out infinite;
}

@keyframes floaty{
  0%{ transform: translateY(0); }
  50%{ transform: translateY(-10px); }
  100%{ transform: translateY(0); }
}
