@import url('https://fonts.googleapis.com/css2?family=Alata&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');

/* --- Scrollbars & Selection --- */
::-webkit-scrollbar { width: 6px; height: 6px; background: transparent; }
::-webkit-scrollbar-thumb { background-color: #fce6f0; border: 1px dotted #edaecb; }
::selection { background-color: #fdf2f8; color: #8d7c76; }
::-moz-selection { background-color: #fdf2f8; color: #8d7c76; }

/* --- Base Layout --- */
html {
  font-size: clamp(12px, 1.2vw, 14px);
  overflow-x: hidden;
  height: 100%;
}
body {
  background: transparent;
  padding: 20px;
  min-height: 100vh;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  cursor: url(https://www.rw-designer.com/cursor-view/114444.png), progress !important;
}
a, button, input, textarea, select, .button {
  cursor: url(https://www.rw-designer.com/cursor-view/114444.png), progress !important;
}

/* --- Font Faces --- */
@font-face { src: url(bonushearts.woff2); font-family: 'heart'; font-display: swap; }
@font-face { src: url(angel.woff2); font-family: 'angel'; font-display: swap; }
@font-face { font-family: 'dotgothic16'; src: url(dotgothic16.woff2); font-display: swap; }
@font-face { font-family: 'basiic'; src: url(basiic.woff2); font-display: swap; }
@font-face { src: url(satin.woff2); font-family: 'satin'; font-display: swap; }
@font-face { font-family: 'pixel cursive'; src: url('pixel-cursive.woff2'); font-display: swap; }
@font-face { src: url(DreamerTM-Regular.ttf); font-family: 'dreamer'; font-display: swap; }
@font-face { src: url(pc-9800.woff2); font-family: 'pc-9800'; font-display: swap; }
@font-face { font-family: 'zen maru gothic'; src: url(zenmarugothic.woff2); }

/* --- Containers --- */
#everything {
  width: 100%;
  max-width: 1400px;
  position: relative;
  margin: 0 auto;
  padding-top: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* --- Header & Title --- */
#right-wing, #left-wing, #cake {
  position: absolute;
  pointer-events: none;
  filter: drop-shadow(0 0 3px white) drop-shadow(3px 3px 2px #000000);
  z-index: 50;
}
#right-wing { width: 280px; height: auto; right: -160px; top: 0px; }
#left-wing { width: 280px; height: auto; left: -60px; top: 0px; }
#cake-container {
  position: absolute;
  right: 410px;
  width: 280px;
  margin-top: -10px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  z-index: 9999; 
}
#cake-img {
  width: 60%;
  height: auto;
  margin-bottom: 25px;
  filter: drop-shadow(0px 0px 1px #fbfaf8) drop-shadow(1px 1px 0px #0000002d);
}
.header {
  width: 1020px;
  height: 160px;
  background: transparent;
  margin: 15px auto 40px auto;
  position: relative;
  border: 30px solid;
  border-image: url('laceborder.png') 22 repeat;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.inside-header {
  flex: 1;
  height: 100%;
  background-image: url('polkadots.png');   
  background-size: cover;
  position: relative;
  overflow: hidden;
  outline: 1px grey dashed;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.title {
  position: absolute;
  top: 27%;
  left: 41%;
  transform: translate(-74%, -38%);
  width: 65%;
  z-index: 25;
  font-family: 'Dreamer', sans-serif;
  font-size: 83px;
  letter-spacing:6px;
  color: #404040;
  text-align: center;
  white-space: nowrap;
  text-shadow: 2px 2px 0px white, -2px -2px 0px white;
}
.copyright {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  letter-spacing: 2px;
  font-family: 'satin';
  font-weight: 800;
  color: #666565;
  z-index: 10;
}
.gif {
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 100%;
  z-index: 1;
  background: url('https://i.pinimg.com/originals/54/57/ef/5457efa4ea1fab93b9b7dcc95c17ba1f.gif') center/cover no-repeat;
  filter: grayscale(60%) opacity(95%);
  mask-image: linear-gradient(to left, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to left, black 90%, transparent);
}
h1 {
  font-family: 'Times New Roman', serif;
  font-size: 46px;
  color: #FFFFFF;
  text-shadow: 0 0 5px #0e0300;
  text-align: center;
  margin-bottom: 10px;
}

/* --- Retro Desktop Grid Structure --- */
.desktop-grid {
  display: grid;
  grid-template-columns: 260px 1fr 260px;
  gap: 25px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.side-column {
  display: flex;
  flex-direction: column;
  gap: 25px;
}
.main-column {
  display: flex;
  flex-direction: column;
}

/* --- Solid Desktop Window Box Theme --- */
.window {
  background-color: #ffffff !important;
  border: 2px solid #000000 !important;
  box-shadow: 3px 3px 0px #000000 !important;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.main-window {
  height: 100%;
  min-height: 550px;
}
.window-header {
  background: repeating-linear-gradient(0deg, #000000, #000000 2px, #ffffff 2px, #ffffff 4px);
  border-bottom: 2px solid #000000;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.window-title {
  background-color: #ffffff !important;
  color: #000000 !important;
  padding: 0 10px;
  font-weight: bold;
  font-family: 'Courier New', Courier, monospace;
  font-size: 13px;
}
.window-close, .window-zoom {
  width: 12px;
  height: 12px;
  border: 2px solid #000000;
  background-color: #ffffff;
}

/* --- Window Internal Bodies --- */
.window-body {
  padding: 15px;
  background-color: #ffffff !important;
  color: #000000 !important;
  font-family: "Courier New", Courier, monospace;
}
.main-body {
  flex-grow: 1;
  overflow-y: auto;
  max-height: 500px;
}
.text-body p {
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 12px;
}
.image-body {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #ffffff !important;
}
.image-body img {
  max-width: 100%;
  height: auto;
  border: 1px solid #000000;
}

/* --- Center Article Links --- */
.center-title {
  text-align: center;
  font-size: 16px;
  margin-bottom: 20px;
}
.article-list {
  list-style: none;
}
.article-list li {
  margin-bottom: 12px;
}
.article-list a {
  color: #000000 !important;
  text-decoration: none !important;
  font-size: 13px;
  display: inline-block;
  padding: 2px 4px;
}
.article-list a:hover {
  background-color: #000000 !important;
  color: #ffffff !important;
  font-style: normal !important;
}

/* --- Snowflakes --- */
.snowflake {
  color: #fff;
  font-size: 2em;
  position: fixed;
  top: -10%;
  z-index: 100;
  pointer-events: none;
  user-select: none;
  animation-name: snowflakes-fall, snowflakes-shake;
  animation-duration: 10s, 3s;
  animation-timing-function: linear, ease-in-out;
  animation-iteration-count: infinite, infinite;
}
@keyframes snowflakes-fall { 0% { top: -10%; } 100% { top: 100%; } }
@keyframes snowflakes-shake { 0%, 100% { transform: translateX(0px); } 50% { transform: translateX(80px); } }

.snowflake:nth-of-type(0) { left: 1%; animation-delay: 0s, 0s; }
.snowflake:nth-of-type(1) { left: 10%; animation-delay: 1s, 1s; }
.snowflake:nth-of-type(2) { left: 20%; animation-delay: 6s, .5s; }
.snowflake:nth-of-type(3) { left: 30%; animation-delay: 4s, 2s; }
.snowflake:nth-of-type(4) { left: 40%; animation-delay: 2s, 2s; }
.snowflake:nth-of-type(5) { left: 50%; animation-delay: 8s, 3s; }
.snowflake:nth-of-type(6) { left: 60%; animation-delay: 6s, 2s; }
.snowflake:nth-of-type(7) { left: 70%; animation-delay: 2.5s, 1s; }
.snowflake:nth-of-type(8) { left: 80%; animation-delay: 1s, 0s; }

/* --- Marquee Stamps & Footer --- */
.marquee {
  position: absolute;
  bottom: 0; left: 0; width: 100%;
  overflow: hidden; z-index: 10;
}
.site-footer {
  margin-top: 40px;
  padding: 20px 0;
  text-align: center;
  font-family: Arial, sans-serif;
  font-size: 12px;
  color: #8d7c76;
  width: 100%;
}

body {
  margin: 0;
  padding: 20px;
  min-height: 100vh;
}

* {
  box-sizing: border-box;
  cursor: url(https://www.rw-designer.com/cursor-view/114444.png), progress !important;
}
a, button, .close, .resize {
  cursor: url(https://www.rw-designer.com/cursor-view/114444.png), progress !important;
}

#everything {
  width: 100%;
  max-width: 1400px;
  position: relative;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* --- Responsive Layout Grid --- */
.desktop-grid {
  display: grid;
  grid-template-columns: 280px 1fr 280px;
  gap: 25px;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  align-items: start;
}

.side-column {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.main-column {
  display: flex;
  flex-direction: column;
}

.main-window {
  min-height: 520px;
}

/* --- Window Content Styles --- */
.window-pane {
  background-color: var(--secondary) !important; /* Blocks transparency bleed */
  color: var(--primary) !important;
}

.text-body p {
  font-family: "Courier New", Courier, monospace;
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 12px;
}

.image-body {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px !important;
}

.image-body img {
  max-width: 100%;
  height: auto;
  border: 1.5px solid var(--primary);
}

/* --- Center List Layout --- */
.center-title {
  text-align: center;
  font-size: 16px;
  margin-bottom: 20px;
  font-family: Chicago, sans-serif;
}

.article-list {
  list-style: none;
  padding: 0;
}

.article-list li {
  margin-bottom: 12px;
}

.article-list a {
  color: var(--primary);
  text-decoration: none;
  font-family: "Courier New", Courier, monospace;
  font-size: 13px;
  font-weight: bold;
  display: inline-block;
  padding: 2px 4px;
}

.article-list a:hover {
  background-color: var(--primary);
  color: var(--secondary) !important;
  text-decoration: none;
}

/* --- Header Wing Alignment Fixes --- */
#right-wing, #left-wing {
  position: absolute;
  pointer-events: none;
  z-index: 50;
}
#right-wing { width: 280px; right: -160px; top: 0px; }
#left-wing { width: 280px; left: -60px; top: 0px; }

#cake-container {
  position: absolute;
  right: 410px;
  width: 280px;
  margin-top: -10px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  z-index: 99; 
}
#cake-img { width: 60%; height: auto; margin-bottom: 25px; }

.header {
  width: 1020px;
  height: 160px;
  margin: 15px auto 40px auto;
  position: relative;
  border: 30px solid;
  border-image: url('laceborder.png') 22 repeat;
  border-radius: 30px;
}

.inside-header {
  width: 100%;
  height: 100%;
  background-image: url('polkadots.png');   
  background-size: cover;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.title {
  position: absolute;
  top: 27%;
  left: 41%;
  transform: translate(-74%, -38%);
  width: 65%;
  z-index: 25;
  font-family: Chicago, sans-serif;
  font-size: 50px;
  color: #404040;
  text-align: center;
}

/* --- Snowflakes Overlay --- */
.snowflake {
  color: #fff;
  font-size: 2em;
  position: fixed;
  top: -10%;
  z-index: 100;
  pointer-events: none;
  user-select: none;
  animation-name: snowflakes-fall, snowflakes-shake;
  animation-duration: 10s, 3s;
  animation-timing-function: linear, ease-in-out;
  animation-iteration-count: infinite, infinite;
}
@keyframes snowflakes-fall { 0% { top: -10%; } 100% { top: 100%; } }
@keyframes snowflakes-shake { 0%, 100% { transform: translateX(0px); } 50% { transform: translateX(80px); } }

.site-footer {
  margin-top: 40px;
  text-align: center;
  font-family: Arial, sans-serif;
  font-size: 12px;
  color: #8d7c76;
}