/* ================================================= */
/* FONTS */
/* ================================================= */

@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=VT323&display=swap');


/* ================================================= */
/* BASE STYLES */
/* ================================================= */

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;

  font-family: 'VT323', monospace;
  color: #333;
  background: #c0e8ff;
}


/* Prevent media from overflowing */

img,
iframe,
audio,
video {
  max-width: 100%;
  height: auto;
  display: block;
}


/* ================================================= */
/* CLOUDS BACKGROUND */
/* ================================================= */

.cloud {
  position: absolute;

  pointer-events: none;

  z-index: -1;

  background: url('cloud.png') no-repeat;
  background-size: contain;

  left: -100px;
}


.cloud1 {
  width: 500px;
  height: 250px;
  top: 15%;

  animation: flyCloud 60s linear infinite;
}


.cloud2 {
  width: 400px;
  height: 200px;
  top: 30%;

  animation: flyCloud 80s linear infinite 5s;
}


.cloud3 {
  width: 450px;
  height: 225px;
  top: 50%;

  animation: flyCloud 100s linear infinite 10s;
}


.cloud4 {
  width: 350px;
  height: 175px;
  top: 65%;

  animation: flyCloud 70s linear infinite 3s;
}


.cloud5 {
  width: 480px;
  height: 240px;
  top: 40%;

  animation: flyCloud 90s linear infinite 8s;
}


@keyframes flyCloud {

  0% {
    left: -500px;
  }

  100% {
    left: 120vw;
  }

}


/* ================================================= */
/* FLYING BIRD */
/* ================================================= */

.top-bird {
  position: absolute;

  top: 20px;
  right: -150px;

  width: 150px;

  pointer-events: none;

  z-index: 999;

  animation: bird-fly 15s linear infinite;
}


@keyframes bird-fly {

  0% {
    transform: translateX(-120vw);
  }

  100% {
    transform: translateX(0);
  }

}


/* ================================================= */
/* MAIN LAYOUT */
/* ================================================= */

.page-wrapper {
  display: flex;

  flex-direction: column;

  align-items: center;

  padding: 30px;

  position: relative;

  z-index: 1;
}


.site-container {
  width: 100%;

  max-width: 900px;

  padding: 0 10px;
}


/* ================================================= */
/* GENERAL WINDOWS / POSTS */
/* ================================================= */

.post,
.icon-container,
.snippet-player {

  width: 100%;

  border: 1px solid #000;

  border-radius: 10px;

  background:
    linear-gradient(
      to bottom,
      #f5f5f5 0%,
      #dcdcdc 100%
    );

  box-shadow:
    inset 0 0 8px rgba(0, 0, 0, 0.15),
    4px 4px 16px rgba(0, 0, 0, 0.5);

  margin-bottom: 20px;

  position: relative;

  overflow: hidden;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}


.post:hover,
.icon-container:hover {

  transform: translateY(-4px);

  box-shadow:
    inset 0 0 8px rgba(0, 0, 0, 0.15),
    0 8px 20px rgba(0, 0, 0, 0.5);
}


.snippet-player:hover {

  transform: translateY(-6px);
}


/* ================================================= */
/* WINDOW TITLE BAR */
/* ================================================= */

.post-title-bar {

  height: 28px;

  display: flex;

  align-items: center;

  padding: 0 10px;

  font-family: 'Press Start 2P', monospace;

  font-size: 12px;

  background:
    linear-gradient(
      to bottom,
      #e9e9e9 0%,
      #cfcfcf 100%
    );

  border-bottom: 1px solid #9a9a9a;
}


.post-title-text {
  flex: 1;
}


.window-buttons {

  display: flex;

  gap: 4px;

  margin-right: 10px;
}


/* ================================================= */
/* APPS SECTION */
/* ================================================= */

.icon-container {
  padding: 0;
}


.icon-section {

  display: grid;

  grid-template-columns:
    repeat(6, 1fr);

  gap: 15px;

  justify-items: center;

  padding: 12px;
}


.icon {

  text-align: center;

  text-decoration: none;

  color: #333;
}


.icon img {

  width: 64px;

  height: 64px;

  image-rendering: pixelated;

  margin: 0 auto 4px;
}


.icon span {
  font-size: 10px;
}


/* ================================================= */
/* BIOGRAPHY + SNIPPET PLAYER ROW */
/* ================================================= */

.post-with-player-row {

  width: 100%;

  display: flex;

  align-items: stretch;
}


.post-with-player {

  display: flex;

  gap: 15px;

  width: 100%;

  align-items: stretch;
}


/* ================================================= */
/* BIOGRAPHY */
/* ================================================= */

.post-with-player .post {

  flex: 1 1 auto;

  padding: 0;

  display: flex;

  flex-direction: column;
}


.post-with-player .post .post-content {

  padding: 12px;

  position: relative;

  flex: 1;
}


.post-with-player .post .side-image {

  position: absolute;

  top: 8px;

  right: 8px;

  width: 120px;

  height: auto;

  pointer-events: none;
}


/* ================================================= */
/* SNIPPET SYNDROME PLAYER */
/* ================================================= */

.post-with-player .snippet-player {

  flex: 0 0 200px;

  padding: 15px;

  border-radius: 12px;

  background:
    linear-gradient(
      to bottom,
      #4a4a4a,
      #222
    );

  border: none;

  color: #fff;

  box-shadow:
    inset 0 0 8px rgba(0, 0, 0, 0.15),
    4px 4px 16px rgba(0, 0, 0, 0.5);
}


.snippet-title {

  font-family: 'Press Start 2P', monospace;

  font-size: 11px;

  text-align: center;

  margin-bottom: 12px;

  color: #fff;
}


.player-display {

  width: 100%;
}


.track-art-wrapper {
  width: 100%;
}


#track-art {

  width: 100%;

  border-radius: 8px;

  border: 2px solid #888;

  margin-bottom: 12px;
}


#track-title {

  font-family: 'Press Start 2P', monospace;

  font-size: 11px;

  text-align: center;

  margin-bottom: 12px;

  background: #222;

  padding: 4px 0;

  border-radius: 4px;

  color: #fff;
}


/* ================================================= */
/* PLAYER CONTROLS */
/* ================================================= */

.controls {

  display: flex;

  justify-content: center;

  gap: 12px;

  margin-bottom: 8px;
}


.control-button {

  background:
    linear-gradient(
      to bottom,
      #555,
      #222
    );

  border-radius: 50%;

  border: 1px solid #999;

  width: 40px;

  height: 40px;

  font-size: 14px;

  color: #fff;

  cursor: pointer;
}


.playhead-container input[type="range"] {

  width: 100%;

  height: 6px;

  background: #fff;

  border-radius: 3px;

  appearance: none;
}


/* ================================================= */
/* BLOG ROW */
/* ================================================= */

.blog-row {

  display: flex;

  flex-wrap: wrap;

  gap: 20px;

  align-items: stretch;
}


.blog-row .post {

  flex: 1 1 48%;

  min-width: 260px;

  display: flex;

  flex-direction: column;
}


/* ================================================= */
/* SEN'S TOP 10 */
/* ================================================= */

.blog-3 {
  position: relative;
}


.blog-3 .blog3-cig {

  position: absolute;

  top: 38px;

  right: 12px;

  width: 60px;

  height: auto;

  pointer-events: none;
}


/* ================================================= */
/* MOBILE */
/* ================================================= */

@media (max-width: 650px) {

  .page-wrapper {
    padding: 15px 8px;
  }

  .site-container {
    padding: 0 4px;
  }

  /* Apps */

  .icon-section {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: center;
    gap: 8px;
    padding: 10px 5px;
  }

  .icon img {
    width: 42px;
    height: 42px;
  }

  .icon span {
    font-size: 8px;
  }


  /* ============================================= */
  /* Biography + Snippet */
  /* ============================================= */

  .post-with-player-row {
    width: 100%;
    display: flex;
    align-items: stretch;
    margin-bottom: 20px; /* GAP BEFORE TOP 10 */
  }

  .post-with-player {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 8px;
  }


  /* Biography = 70% */

  .post-with-player .post {
    flex: 0 0 calc(70% - 4px);
    width: calc(70% - 4px);

    min-width: 0;

    margin-bottom: 0;

    display: flex;
    flex-direction: column;
    align-self: stretch;
  }


  .post-with-player .post .post-content {
    flex: 1;
    padding: 10px;
    overflow: hidden;
  }


  .post-with-player .post .side-image {
    width: 75px;
    top: 8px;
    right: 8px;
  }


  .post-with-player .post-content ul {
    margin-top: 8px;
    padding-left: 20px;
    padding-right: 70px;
  }


  .post-with-player .post-content li {
    font-size: 15px;
    line-height: 1.15;
    margin-bottom: 3px;
  }


  /* ============================================= */
  /* Snippet Syndrome = 30% */
  /* ============================================= */

  .post-with-player .snippet-player {
    flex: 0 0 calc(30% - 4px);
    width: calc(30% - 4px);

    min-width: 0;

    margin-bottom: 0;

    align-self: stretch;

    height: auto;

    padding: 8px;

    display: flex;
    flex-direction: column;

    overflow: hidden;
  }


  .snippet-title {
    font-size: 7px;
    line-height: 1.2;
    text-align: center;
    margin-bottom: 8px;
    word-break: break-word;
  }


  #track-art {
    width: 100%;
    height: auto;
    margin-bottom: 7px;
    border-width: 1px;
    border-radius: 4px;
  }


  #track-title {
    font-size: 6px;
    line-height: 1.2;
    padding: 4px 2px;
    margin-bottom: 7px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }


  .controls {
    gap: 3px;
    margin-bottom: 7px;
  }


  .control-button {
    width: 25px;
    height: 25px;
    min-width: 25px;
    min-height: 25px;
    padding: 0;
    font-size: 8px;
  }


  .playhead-container input[type="range"] {
    width: 100%;
    height: 4px;
  }


  /* ============================================= */
  /* Top 10 Things */
  /* ============================================= */

  .blog-row {
    display: flex;
    flex-direction: column;
    gap: 15px;

    margin-top: 0;
  }


  .blog-row .post {
    flex: 1 1 100%;
    width: 100%;
    min-width: 0;
  }


  .post-title-bar {
    height: 26px;
    font-size: 9px;
    padding: 0 7px;
  }


  .post p,
  .post li {
    font-size: 15px;
  }


  .blog-3 .blog3-cig {
    width: 45px;
    top: 34px;
    right: 8px;
  }
}


/* ================================================= */
/* VERY SMALL PHONES */
/* ================================================= */

@media (max-width: 400px) {

  .page-wrapper {
    padding: 10px 5px;
  }

  .site-container {
    padding: 0 2px;
  }

  .post-with-player {
    gap: 6px;
  }


  /* Biography = 70% */

  .post-with-player .post {
    flex-basis: calc(70% - 3px);
    width: calc(70% - 3px);
  }


  /* Snippet = 30% */

  .post-with-player .snippet-player {
    flex-basis: calc(30% - 3px);
    width: calc(30% - 3px);
    padding: 5px;
  }


  .post-with-player .post-content {
    padding: 7px;
  }


  .post-with-player .post-content li {
    font-size: 13px;
    line-height: 1.1;
  }


  .post-with-player .post .side-image {
    width: 55px;
    right: 5px;
  }


  .post-with-player .post-content ul {
    padding-left: 17px;
    padding-right: 50px;
  }


  .snippet-title {
    font-size: 6px;
  }


  #track-title {
    font-size: 5px;
  }


  .control-button {
    width: 21px;
    height: 21px;
    min-width: 21px;
    min-height: 21px;
    font-size: 7px;
  }
}


/* ================================================= */
/* RETRO CRT TV SCANLINES â€” SLOW + SUBTLE */
/* ================================================= */

body {
  position: relative;
}

/* Fixed scanline layer */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;

  pointer-events: none;
  z-index: 1;

  background: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 3px,
    rgba(0, 0, 0, 0.07) 4px
  );

  animation: crt-scan 8s linear infinite;
}

/* Keep the website content above the scanlines */
.page-wrapper {
  z-index: 2;
}

/* Keep the flying bird visible */
.top-bird {
  z-index: 999;
}

@keyframes crt-scan {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 0 8px;
  }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  body::before {
    animation: none;
  }
}


```css
/* ================================================ */
/* PHOTO BOOTH + TOP 10 ROW */
/* ================================================ */

.blog-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
  width: 100%;
  margin-bottom: 20px;
}

.blog-row > .photo-booth,
.blog-row > .blog-3 {
  width: 100%;
  min-width: 0;
  height: auto;
  margin: 0;
  align-self: stretch;
}

/* ================================================ */
/* PHOTO BOOTH WINDOW */
/* ================================================ */

.photo-booth {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  background: #292929;
  border: 1px solid #505050;
  color: #ededed;
}

.photo-booth .post-title-bar {
  flex: 0 0 28px;
}

/* ================================================ */
/* IPOD BODY */
/* ================================================ */

.photo-booth .ipod {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  height: auto;
  padding: 14px;
  background: linear-gradient(
    145deg,
    #494949 0%,
    #292929 45%,
    #383838 100%
  );
}

/* ================================================ */
/* IPOD SCREEN */
/* ================================================ */

.photo-booth .ipod-screen {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  padding: 10px;
  border: 2px solid #111;
  border-radius: 7px;
  background: #171717;
  box-shadow:
    inset 0 0 0 1px #454545,
    0 2px 5px #111;
}

.photo-booth .ipod-screen-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 5px;
  padding-bottom: 8px;
  color: #a9a9a9;
  font-family: monospace;
  font-size: 10px;
  letter-spacing: 1px;
}

/* ================================================ */
/* PHOTO FRAME */
/* ================================================ */

.photo-booth .photo-frame {
  width: 100%;
  min-width: 0;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #080808;
  border: 1px solid #404040;
}

.photo-booth .photo-frame img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: contain;
  transition: opacity 0.18s ease;
}

.photo-booth .photo-caption {
  padding-top: 8px;
  color: #c4c4c4;
  text-align: center;
  font: 11px monospace;
  overflow-wrap: anywhere;
}

/* ================================================ */
/* IPOD CLICK WHEEL */
/* ================================================ */

.photo-booth .ipod-wheel {
  flex: 0 0 auto;
  width: min(150px, 72%);
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  justify-items: center;
  background: linear-gradient(
    145deg,
    #555,
    #303030 65%,
    #202020
  );
  border: 1px solid #666;
  box-shadow:
    inset 0 2px 5px #777,
    0 3px 5px #171717;
}

.photo-booth .ipod-arrow {
  width: 34px;
  height: 42px;
  padding: 0;
  border: none;
  border-radius: 6px;
  color: #e4e4e4;
  background: transparent;
  font-size: 17px;
  cursor: pointer;
}

.photo-booth .ipod-arrow:hover {
  background: #666;
}

.photo-booth .ipod-arrow:active {
  transform: scale(0.9);
}

.photo-booth .ipod-select {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #222;
  border: 1px solid #666;
  color: #bbb;
  font: bold 10px monospace;
}

.photo-booth .ipod-footer {
  text-align: center;
  color: #aaa;
  font: 8px monospace;
  letter-spacing: 1px;
}

/* ================================================ */
/* TOP 10 LIST */
/* ================================================ */

.blog-3 {
  display: flex;
  flex-direction: column;
  position: relative;
  min-width: 0;
}

.blog-3 ol {
  margin-top: 12px;
  margin-bottom: 16px;
  padding-left: 40px;
  padding-right: 12px;
}

.blog-3 li {
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.blog-3 .blog3-cig {
  position: absolute;
  top: 38px;
  right: 12px;
  width: 60px;
  height: auto;
  pointer-events: none;
}

/* ================================================ */
/* MOBILE */
/* ================================================ */

@media (max-width: 650px) {
  .blog-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
  }

  .photo-booth .ipod {
    padding: 7px;
    gap: 8px;
  }

  .photo-booth .ipod-screen {
    padding: 6px;
  }

  .photo-booth .ipod-screen-header {
    font-size: 8px;
    letter-spacing: 0;
    padding-bottom: 5px;
  }

  .photo-booth .photo-frame {
    min-height: 65px;
  }

  .photo-booth .photo-frame img {
    max-height: 160px;
  }

  .photo-booth .photo-caption {
    font-size: 9px;
    padding-top: 5px;
  }

  .photo-booth .ipod-wheel {
    width: min(110px, 85%);
  }

  .photo-booth .ipod-arrow {
    width: 26px;
    height: 32px;
    font-size: 13px;
  }

  .photo-booth .ipod-select {
    width: 27px;
    height: 27px;
    font-size: 8px;
  }

  .photo-booth .ipod-footer {
    font-size: 6px;
    letter-spacing: 0;
  }

  .blog-3 ol {
    padding-left: 25px;
    padding-right: 5px;
  }

  .blog-3 .blog3-cig {
    width: 38px;
    top: 32px;
    right: 6px;
  }
}

@media (max-width: 400px) {
  .blog-row {
    gap: 6px;
  }

  .photo-booth .ipod {
    padding: 4px;
    gap: 6px;
  }

  .photo-booth .ipod-screen {
    padding: 4px;
  }

  .photo-booth .ipod-screen-header {
    font-size: 6px;
  }

  .photo-booth .photo-caption {
    font-size: 8px;
  }

  .photo-booth .ipod-wheel {
    width: min(80px, 90%);
  }

  .photo-booth .ipod-arrow {
    width: 19px;
    height: 26px;
    font-size: 10px;
  }

  .photo-booth .ipod-select {
    width: 20px;
    height: 20px;
    font-size: 6px;
  }

  .photo-booth .ipod-footer {
    font-size: 5px;
  }

  .blog-3 ol {
    padding-left: 21px;
    padding-right: 3px;
  }

  .blog-3 li {
    font-size: 14px;
  }

  .blog-3 .blog3-cig {
    width: 30px;
    right: 4px;
  }
}
/* Make the Photo Booth image area square */
.photo-booth .photo-frame {
  width: 100%;
  aspect-ratio: 1 / 1;
  min-height: 0;
  height: auto;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #080808;
}

.photo-booth .photo-frame img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center;
}

/* Keep the square responsive on mobile too */
@media (max-width: 650px) {
  .photo-booth .photo-frame {
    aspect-ratio: 1 / 1;
    min-height: 0;
  }

  .photo-booth .photo-frame img {
    max-height: none;
  }
}
/* Give Top 10 more space than the Photo Booth */
.blog-row {
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  align-items: stretch;
}

/* Keep the iPod compact */
.photo-booth .ipod {
  padding: 10px;
  gap: 8px;
}

.photo-booth .ipod-screen {
  width: 100%;
  padding: 8px;
}

/* Smaller square photo */
.photo-booth .photo-frame {
  width: 100%;
  max-width: 180px;
  aspect-ratio: 1 / 1;
  min-height: 0;
  height: auto;
  margin: 0 auto;
  overflow: hidden;
}

.photo-booth .photo-frame img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
}

/* Keep it compact on smaller screens */
@media (max-width: 650px) {
  .blog-row {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    gap: 8px;
  }

  .photo-booth .ipod {
    padding: 5px;
    gap: 6px;
  }

  .photo-booth .photo-frame {
    max-width: 130px;
  }
}
/* Add space above Contact Me */
.blog-row {
  margin-bottom: 20px;
}

/* FIXED BOTTOM Y2K TICKER */
.bottom-ticker {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 35px;
  background: #000;
  color: #fff;
  border-top: 1px solid #444;
  overflow: hidden;
  z-index: 9999;
  display: flex;
  align-items: center;
  white-space: nowrap;
  font-family: monospace;
  font-size: 14px;
  letter-spacing: 1px;
}

.ticker-track {
  display: flex;
  width: max-content;
  flex-shrink: 0;
  animation: ticker-scroll 40s linear infinite;
}

.ticker-track span {
  flex-shrink: 0;
  padding-right: 0;
}

@keyframes ticker-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Keep page content from sitting behind the ticker */
body {
  padding-bottom: 35px;
}

/* Optional: pause scrolling when hovered */
.bottom-ticker:hover .ticker-track {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track {
    animation: none;
  }
}
