/*! Flickity v2.2.1
https://flickity.metafizzy.co
---------------------------------------------- */
@import url("https://fonts.googleapis.com/css2?family=Fira+Code:wght@300;400;500;600;700&family=Roboto+Mono:wght@400;500;600;700;800;900&family=Roboto:wght@100;200;300;400;500;600;700;800;900&family=Roboto+Slab:wght@100;200;300;400;500;600;700;800;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
.flickity-enabled {
  position: relative;
}

.flickity-enabled:focus {
  outline: 0;
}

.flickity-viewport {
  overflow: hidden;
  position: relative;
  height: 100%;
}

.flickity-slider {
  position: absolute;
  width: 100%;
  height: 100%;
}

.flickity-enabled.is-draggable {
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.flickity-enabled.is-draggable .flickity-viewport {
  cursor: move;
  cursor: -webkit-grab;
  cursor: grab;
}

.flickity-enabled.is-draggable .flickity-viewport.is-pointer-down {
  cursor: -webkit-grabbing;
  cursor: grabbing;
}

.flickity-button {
  position: absolute;
  background: rgba(255, 255, 255, 0.75);
  border: none;
  color: #333;
}

.flickity-button:hover {
  background: #fff;
  cursor: pointer;
}

.flickity-button:focus {
  outline: 0;
  box-shadow: 0 0 0 5px #19f;
}

.flickity-button:active {
  opacity: .6;
}

.flickity-button:disabled {
  opacity: .3;
  cursor: auto;
  pointer-events: none;
}

.flickity-button-icon {
  fill: currentColor;
}

.flickity-prev-next-button {
  top: 50%;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  transform: translateY(-50%);
}

.flickity-prev-next-button.previous {
  left: 10px;
}

.flickity-prev-next-button.next {
  right: 10px;
}

.flickity-rtl .flickity-prev-next-button.previous {
  left: auto;
  right: 10px;
}

.flickity-rtl .flickity-prev-next-button.next {
  right: auto;
  left: 10px;
}

.flickity-prev-next-button .flickity-button-icon {
  position: absolute;
  left: 20%;
  top: 20%;
  width: 60%;
  height: 60%;
}

.flickity-page-dots {
  position: absolute;
  width: 100%;
  bottom: -25px;
  padding: 0;
  margin: 0;
  list-style: none;
  text-align: center;
  line-height: 1;
}

.flickity-rtl .flickity-page-dots {
  direction: rtl;
}

.flickity-page-dots .dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 8px;
  background: #333;
  border-radius: 50%;
  opacity: .25;
  cursor: pointer;
}

.flickity-page-dots .dot.is-selected {
  opacity: 1;
}

/***************/
/* MEYER RESET */
/***************/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

*, *:before, *:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.all-works {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}
.all-works h1 {
  line-height: 1;
}

.show-all {
  font-family: "Poppins", serif;
}

.slideshow .work {
  width: 320px;
  height: 270px;
}
.slideshow .work.Art {
  width: 320px;
  height: 345px;
}
.slideshow .work.Album {
  width: 320px;
  height: 345px;
}
@media screen and (max-width: 640px) {
  .slideshow .work .workinfo h3 {
    font-size: 12px;
  }
  .slideshow .work .workinfo p {
    font-size: 10px;
  }
}

.works {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  flex-direction: row;
  justify-content: flex-start;
  flex-grow: 1;
  width: 100%;
}

.work {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 10px 0 10px;
  width: 100%;
}
.work a {
  width: 100%;
}

.workcontainer {
  background-color: #1b1e27;
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 12px;
}
.workcontainer:hover .workbackdrop {
  filter: brightness(85%);
}
.workcontainer:hover .worklogo {
  transform: scale(1.05);
}
.workcontainer:hover .worktext {
  transform: scale(1.05);
}

#music .workcontainer .worktext p, #art .workcontainer .worktext p {
  display: none;
}

#music .work .workcontainer, #art .work .workcontainer {
  aspect-ratio: 1;
}

.workinfo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  height: 100%;
}
.workinfo h3 {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  width: 100%;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 2px;
}
@media screen and (max-width: 640px) {
  .workinfo h3 {
    font-size: 10px;
  }
}
.workinfo p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 0;
  font-size: 12px;
  line-height: 16px;
  font-style: italic;
}
@media screen and (max-width: 640px) {
  .workinfo p {
    font-size: 8px;
    line-height: 12px;
  }
}

.workbackdrop {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  transition: all 0.05s ease-in;
  filter: brightness(100%);
}

.worklogo {
  width: 100%;
  height: 100%;
  display: flex;
  transition: all 0.05s ease-in;
  transform: scale(1);
  z-index: 1;
}
.worklogo.icon {
  position: relative;
  left: 10%;
  top: 10%;
  width: 80%;
  height: 80%;
}

.worktext {
  position: relative;
  left: 10%;
  top: 10%;
  width: 80%;
  height: 80%;
  padding: auto;
  display: flex;
  text-align: center;
  justify-content: center;
  transition: all 0.05s ease-in;
  transform: scale(1);
}
.worktext p {
  text-shadow: -2px -1px 0 white, -2px 0px 0 white, -2px 1px 0 white, -1px -2px 0 white, -1px -1px 0 white, -1px 0px 0 white, -1px 1px 0 white, -1px 2px 0 white, 0px -2px 0 white, 0px -1px 0 white, 0px 0px 0 white, 0px 1px 0 white, 0px 2px 0 white, 1px -2px 0 white, 1px -1px 0 white, 1px 0px 0 white, 1px 1px 0 white, 1px 2px 0 white, 2px -1px 0 white, 2px 0px 0 white, 2px 1px 0 white;
  color: black;
  font-family: "Roboto", sans-serif;
  font-weight: 900;
  font-size: min(5vw, 32px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.highlight {
  background-color: #1b1e27;
  color: #D4D4D4;
  padding: 7px 7px 7px 10px;
  border: none;
  overflow: hidden;
}

code {
  font-family: 'Consolas','Courier New', monospace;
}

.highlight pre {
  background-color: #1E1E1E;
  overflow: auto;
}

.highlight .hll {
  background-color: #1E1E1E;
}

.highlight .c {
  color: #75715e;
}

/* Comment */
.highlight .err {
  color: #960050;
  background-color: #1e0010;
}

/* Error */
.highlight .k {
  color: #66d9ef;
}

/* Keyword */
.highlight .l {
  color: #ae81ff;
}

/* Literal */
.highlight .n {
  color: #f8f8f2;
}

/* Name */
.highlight .o {
  color: #f92672;
}

/* Operator */
.highlight .p {
  color: #f8f8f2;
}

/* Punctuation */
.highlight .cm {
  color: #75715e;
}

/* Comment.Multiline */
.highlight .cp {
  color: #75715e;
}

/* Comment.Preproc */
.highlight .c1 {
  color: #75715e;
}

/* Comment.Single */
.highlight .cs {
  color: #75715e;
}

/* Comment.Special */
.highlight .ge {
  font-style: italic;
}

/* Generic.Emph */
.highlight .gs {
  font-weight: bold;
}

/* Generic.Strong */
.highlight .kc {
  color: #66d9ef;
}

/* Keyword.Constant */
.highlight .kd {
  color: #66d9ef;
}

/* Keyword.Declaration */
.highlight .kn {
  color: #f92672;
}

/* Keyword.Namespace */
.highlight .kp {
  color: #66d9ef;
}

/* Keyword.Pseudo */
.highlight .kr {
  color: #66d9ef;
}

/* Keyword.Reserved */
.highlight .kt {
  color: #66d9ef;
}

/* Keyword.Type */
.highlight .ld {
  color: #e6db74;
}

/* Literal.Date */
.highlight .m {
  color: #ae81ff;
}

/* Literal.Number */
.highlight .s {
  color: #e6db74;
}

/* Literal.String */
.highlight .na {
  color: #a6e22e;
}

/* Name.Attribute */
.highlight .nb {
  color: #f8f8f2;
}

/* Name.Builtin */
.highlight .nc {
  color: #a6e22e;
}

/* Name.Class */
.highlight .no {
  color: #66d9ef;
}

/* Name.Constant */
.highlight .nd {
  color: #a6e22e;
}

/* Name.Decorator */
.highlight .ni {
  color: #f8f8f2;
}

/* Name.Entity */
.highlight .ne {
  color: #a6e22e;
}

/* Name.Exception */
.highlight .nf {
  color: #a6e22e;
}

/* Name.Function */
.highlight .nl {
  color: #f8f8f2;
}

/* Name.Label */
.highlight .nn {
  color: #f8f8f2;
}

/* Name.Namespace */
.highlight .nx {
  color: #a6e22e;
}

/* Name.Other */
.highlight .py {
  color: #f8f8f2;
}

/* Name.Property */
.highlight .nt {
  color: #f92672;
}

/* Name.Tag */
.highlight .nv {
  color: #f8f8f2;
}

/* Name.Variable */
.highlight .ow {
  color: #f92672;
}

/* Operator.Word */
.highlight .w {
  color: #f8f8f2;
}

/* Text.Whitespace */
.highlight .mf {
  color: #ae81ff;
}

/* Literal.Number.Float */
.highlight .mh {
  color: #ae81ff;
}

/* Literal.Number.Hex */
.highlight .mi {
  color: #ae81ff;
}

/* Literal.Number.Integer */
.highlight .mo {
  color: #ae81ff;
}

/* Literal.Number.Oct */
.highlight .sb {
  color: #e6db74;
}

/* Literal.String.Backtick */
.highlight .sc {
  color: #e6db74;
}

/* Literal.String.Char */
.highlight .sd {
  color: #e6db74;
}

/* Literal.String.Doc */
.highlight .s2 {
  color: #e6db74;
}

/* Literal.String.Double */
.highlight .se {
  color: #ae81ff;
}

/* Literal.String.Escape */
.highlight .sh {
  color: #e6db74;
}

/* Literal.String.Heredoc */
.highlight .si {
  color: #e6db74;
}

/* Literal.String.Interpol */
.highlight .sx {
  color: #e6db74;
}

/* Literal.String.Other */
.highlight .sr {
  color: #e6db74;
}

/* Literal.String.Regex */
.highlight .s1 {
  color: #e6db74;
}

/* Literal.String.Single */
.highlight .ss {
  color: #e6db74;
}

/* Literal.String.Symbol */
.highlight .bp {
  color: #f8f8f2;
}

/* Name.Builtin.Pseudo */
.highlight .vc {
  color: #f8f8f2;
}

/* Name.Variable.Class */
.highlight .vg {
  color: #f8f8f2;
}

/* Name.Variable.Global */
.highlight .vi {
  color: #f8f8f2;
}

/* Name.Variable.Instance */
.highlight .il {
  color: #ae81ff;
}

/* Literal.Number.Integer.Long */
/* Generic Heading & Diff Header */
.highlight .gu {
  color: #75715e;
}

/* Generic.Subheading & Diff Unified/Comment? */
.highlight .gd {
  color: #f92672;
}

/* Generic.Deleted & Diff Deleted */
.highlight .gi {
  color: #a6e22e;
}

/* Generic.Inserted & Diff Inserted */
.tooltip {
  width: 32px;
  height: 32px;
  font-size: 32px;
  color: white;
}

.tooltip .tooltiptext {
  visibility: hidden;
  opacity: 0;
  width: 140px;
  background-color: #272a31;
  color: #F3FCF0;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  top: 120%;
  left: 50%;
  margin-left: -70px;
  transition: all 0.2s;
}

.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent #272a31 transparent;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

.games-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 20px;
  overflow: visible;
}

.game-link {
  text-decoration: none;
  overflow: visible;
  display: block;
  cursor: pointer;
}

.game-link[data-game-item] {
  cursor: pointer;
}

.game-link[data-game-item] .game-item {
  cursor: pointer;
}

.game-item {
  background: #252526;
  border: 1px solid #3f3f41;
  border-radius: 0;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  transition: border-color 0.2s ease, transform 0.2s ease;
  height: 200px;
  position: relative;
}

.game-link[data-game-item] .game-item::after {
  content: '▼';
  position: absolute;
  bottom: 20px;
  right: 24px;
  color: rgba(243, 252, 240, 0.4);
  font-size: 12px;
  transition: transform 0.3s ease, color 0.2s ease;
}

.game-link[data-game-item].expanded .game-item::after {
  transform: rotate(180deg);
  color: #4fc1ff;
}

.game-item:hover {
  border-color: #4fc1ff;
  transform: translateY(-2px);
}

.game-link[data-game-item] .game-item:hover::after {
  color: #4fc1ff;
}

.game-item-image {
  flex: 0 0 200px;
  min-width: 200px;
  width: 200px;
  height: 200px;
  overflow: hidden;
  background: #1e1e1e;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.game-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Game items without images - content takes full width */
.game-item:not(:has(.game-item-image)) .game-item-content {
  width: 100%;
}

/* Fallback for browsers that don't support :has() */
.game-item.no-image .game-item-content {
  width: 100%;
}

.game-item-content {
  flex: 1;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 8px;
  height: 200px;
  overflow: hidden;
}

.game-header-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
  width: 100%;
}

.game-category {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #4fc1ff;
  margin: 0;
  font-family: "Poppins", serif;
}

.game-date {
  font-size: 11px;
  font-weight: 400;
  color: rgba(243, 252, 240, 0.6);
  margin: 0;
  font-family: "Inter", sans-serif;
  flex-shrink: 0;
}

.game-title {
  font-size: 24px;
  font-weight: 700;
  color: #F3FCF0;
  margin: 0;
  font-family: "Poppins", serif;
  line-height: 1.2;
  flex-shrink: 0;
}

.game-description {
  font-size: 14px;
  line-height: 1.5;
  color: #cccccc;
  margin: 0;
  flex: 1;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  min-height: 0;
}

.game-meta {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-shrink: 0;
}

.game-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-tag {
  display: inline-block;
  padding: 6px 12px;
  background: #404040;
  color: #cccccc;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  font-family: "Inter", sans-serif;
  white-space: nowrap;
}

/* Optional per-project icon links (GitHub, Steam, Itch, etc.) */
.game-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
  align-items: center;
}

.game-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: #333333;
  color: #dddddd;
  border: 1px solid #4a4a4a;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.game-links a:hover {
  background: #4fc1ff;
  border-color: #4fc1ff;
  color: #0b1015;
  transform: translateY(-1px);
}

.game-links a i {
  pointer-events: none;
}

/* Expanded Game Item Styles */
.game-item-expanded {
  display: none;
  background: #252526;
  border: 1px solid #3f3f41;
  border-top: none;
  padding: 0 24px;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.5s ease, opacity 0.4s ease, padding 0.4s ease;
}

.game-link.expanded .game-item-expanded {
  display: block;
  max-height: 10000px;
  opacity: 1;
  padding: 24px;
}

.game-link.expanded .game-item {
  border-bottom: none;
}

.expanded-content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 24px;
}

.expanded-main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.expanded-description,
.expanded-features {
  flex: 1;
}

.expanded-description h3,
.expanded-features h3 {
  font-size: 18px;
  font-weight: 600;
  color: #F3FCF0;
  margin: 0 0 12px 0;
  font-family: "Poppins", serif;
}

.expanded-description p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(243, 252, 240, 0.85);
  margin: 0;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.features-list li {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(243, 252, 240, 0.85);
  padding-left: 20px;
  position: relative;
  margin-bottom: 8px;
}

.features-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #4fc1ff;
  font-weight: bold;
}

.expanded-video {
  width: 100%;
  margin: 0;
}

.expanded-video:empty {
  display: none;
}

.expanded-video iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.expanded-screenshots:empty {
  display: none;
}

.expanded-screenshots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.expanded-screenshots img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  border: 1px solid #3f3f41;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.expanded-screenshots img:hover {
  transform: scale(1.02);
  border-color: #4fc1ff;
}

@media screen and (max-width: 768px) {
  .expanded-screenshots {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
}

@media screen and (max-width: 768px) {
  .game-item {
    flex-direction: column;
    height: auto;
    min-height: 200px;
  }
  
  .game-item-image {
    flex: 0 0 200px;
    min-width: 100%;
    width: 100%;
    height: 200px;
  }
  
  .game-item-content {
    padding: 20px;
    height: auto;
    min-height: auto;
  }
  
  .game-title {
    font-size: 22px;
  }
  
  .game-description {
    font-size: 14px;
    -webkit-line-clamp: 3;
  }
}

.svg-icon {
  width: 40px;
  height: 40px;
  background-size: contain;
  background-repeat: no-repeat;
  display: inline-block;
}
.svg-icon.github {
  background-image: url(/content/branding/github_white.png);
}
.svg-icon.twitter {
  background-image: url(/content/branding/twitter_white.png);
}
.svg-icon.steam {
  background-image: url(/content/branding/steam_white.png);
}
.svg-icon.epicgames {
  background-image: url(/content/branding/epicgames_white.png);
}
.svg-icon.itch {
  background-image: url(/content/branding/itch_white.png);
}
.svg-icon.newgrounds {
  background-image: url(/content/branding/newgrounds_white.png);
}
.svg-icon.humble {
  background-image: url(/content/branding/humble_white.png);
}
.svg-icon.hicetnunc {
  background-image: url(/content/branding/hicetnunc_white.png);
}
.svg-icon.versum {
  background-image: url(/content/branding/versum_white.png);
}
.svg-icon.fxhash {
  background-image: url(/content/branding/fxhash_white.png);
}
.svg-icon.objkt {
  background-image: url(/content/branding/objkt_white.png);
}
.svg-icon.lexaloffle {
  background-image: url(/content/branding/lexaloffle_white.png);
}
.svg-icon.gamejolt {
  background-image: url(/content/branding/gamejolt_white.png);
}
.svg-icon.gxgames {
  background-image: url(/content/branding/gxgames_white.png);
}
.svg-icon.twitch {
  background-image: url(/content/branding/twitch_white.png);
}
.svg-icon.web {
  background-image: url(/content/branding/web_white.png);
}
.svg-icon.bandcamp {
  background-image: url(/content/branding/bandcamp_white.png);
}
.svg-icon.spotify {
  background-image: url(/content/branding/spotify_white.png);
}
.svg-icon.apple {
  background-image: url(/content/branding/apple_white.png);
}
.svg-icon.napster {
  background-image: url(/content/branding/napster_white.png);
}
.svg-icon.xbox {
  background-image: url(/content/branding/xbox_white.png);
}
.svg-icon.switch {
  background-image: url(/content/branding/switch_white.png);
}
.svg-icon.wayback {
  background-image: url(/content/branding/wayback_white.png);
}
.svg-icon.dreams {
  background-image: url(/content/branding/dreams_white.png);
}
.svg-icon.sbox {
  background-image: url(/content/branding/sbox_white.png);
}
.svg-icon.discord {
  background-image: url(/content/branding/discord_white.png);
}
@media screen and (max-width: 640px) {
  .svg-icon {
    width: 32px;
    height: 32px;
  }
}

.tag {
  display: inline-block;
  border-radius: 3px;
  padding: .2em .5em;
  border-radius: 4px;
  background: maroon;
  color: white;
  text-shadow: 0 0 2px black;
  font-weight: 600;
  font-size: 0.75em;
  margin: .25em .1em;
  font-family: "Fira Code";
}

.tag-game {
  background-image: linear-gradient(45deg, #52bd52, #5252bd);
}

.tag-music {
  background-image: linear-gradient(45deg, #5252bd, #bd5252);
}

.tag-website {
  background-image: linear-gradient(45deg, #bd5252, #52bd52);
}

.tag-tool {
  background-image: linear-gradient(45deg, #52bd52, #bd5252);
}

.tag-remake {
  background: #52bd6c;
}

.tag-soundtrack {
  background: #bd5252;
}

.tag-jam {
  background: #bd52bd;
}

.tag-ugc {
  background: #52bdbd;
}

.tag-steam {
  background: black;
}

.tag-xbox {
  background: #0E7A0D;
}

.tag-switch {
  background: #E7000A;
}

.tag-newgrounds {
  background: #EC7523;
}

@font-face {
  font-family: pico8;
  src: url("/fonts/pico8.ttf");
}
.tag-playdate {
  background: #FFC833;
  color: #312F27;
  text-shadow: none;
}

.tag-pico-8 {
  background: #5F574F;
  color: #FFF1E8;
  text-shadow: 2px 2px 0px #1D2B53;
  font-family: pico8;
  font-size: 12px;
  top: 10px;
  height: 26px;
}

.tag-sbox {
  background: #106DF6;
  font-family: Poppins;
  font-weight: black;
}

.tag-GameMaker {
  background: black;
  font-family: Poppins;
  font-weight: black;
}

.tag-Unity {
  background: #222C37;
  font-family: Poppins;
  font-weight: black;
}

.tag-album {
  background: #523d3d;
  font-weight: black;
}

.tag-open-source {
  background-image: url("/content/caution.png");
  background-blend-mode: multiply;
  background-color: #7c7c7c;
}

/* ------------------------------
   Gallery layout
------------------------------ */

.gallery-page {
  padding-bottom: 40px;
}

.gallery-section {
  margin-top: 24px;
}

.gallery-divider {
  height: 1px;
  width: 100%;
  background: rgba(243, 252, 240, 0.12);
  margin: 28px 0;
}

.gallery-header {
  margin-bottom: 16px;
}

.gallery-header-title {
  font-size: 20px;
  font-weight: 600;
  color: #F3FCF0;
  margin: 0;
  font-family: "Poppins", serif;
}

.gallery-header-subtitle {
  font-size: 14px;
  color: rgba(243, 252, 240, 0.75);
  margin-top: 4px;
  margin-bottom: 0;
}

.gallery-header-subtitle-small {
  font-size: 12px;
  color: rgba(243, 252, 240, 0.6);
  margin-top: 4px;
  margin-bottom: 0;
  font-style: italic;
}

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

/* When a section has only 1 card, don't stretch it full-width */
.gallery-grid-centered {
  /* Keep the single-card section the same size as other cards */
  grid-template-columns: 280px;
  justify-content: start; /* align left like other sections */
}

/* When expanded, let it behave like other expanded cards (full width) */
.gallery-grid-centered:has(.gallery-card.expanded) {
  grid-template-columns: 1fr;
}

.gallery-card {
  background: #252526;
  border: 1px solid #3f3f41;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  position: relative;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-card:hover {
  border-color: #4fc1ff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
}

.gallery-media {
  position: relative;
  background: #1e1e1e;
  overflow: hidden;
  max-height: 220px;
  transition: max-height 0.3s ease;
}

.gallery-media img {
  width: 100%;
  display: block;
}

/* Optional video in gallery media slot */
.gallery-media iframe {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  display: block;
}


.gallery-content {
  padding: 14px 18px 12px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.gallery-main {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.gallery-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(243, 252, 240, 0.7);
}

.gallery-label {
  color: #4fc1ff;
  font-weight: 600;
}

.gallery-title {
  font-size: 16px;
  font-weight: 600;
  color: #F3FCF0;
  margin: 0;
  font-family: "Poppins", serif;
}

.gallery-description {
  font-size: 13px;
  line-height: 1.5;
  color: #cccccc;
  margin: 0;
}

/* .gallery-toggle-hint removed */

.gallery-card.expanded .gallery-media {
  max-height: 520px; /* Roughly ~2x the default visual height */
}

.gallery-card.expanded {
  grid-column: 1 / -1; /* Let the expanded card take a full row */
}

.gallery-card-expanded {
  border-top: 1px solid #3f3f41;
  padding: 14px 18px 16px 18px;
  display: none;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(243, 252, 240, 0.85);
  position: relative;
}

.gallery-card.expanded .gallery-card-expanded {
  display: block;
}

.gallery-card:not(.expanded) .gallery-nav {
  display: none;
}

.gallery-expanded-body {
  margin-bottom: 12px;
}

.gallery-section-title {
  font-size: 14px;
  font-weight: 600;
  color: #F3FCF0;
  margin: 14px 0 10px 0;
  font-family: "Poppins", serif;
}

.gallery-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.gallery-features-list li {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(243, 252, 240, 0.85);
  padding-left: 20px;
  position: relative;
  margin-bottom: 8px;
}

.gallery-features-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #4fc1ff;
  font-weight: 700;
}

.gallery-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 12px;
  pointer-events: none; /* let clicks fall through except on buttons */
  z-index: 2;
}

.gallery-nav-btn {
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid #3f3f41;
  background: #1e1e1e;
  color: rgba(243, 252, 240, 0.85);
  font-size: 28px;
  font-family: "Inter", sans-serif;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.1s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

.gallery-nav-prev {
  margin-left: -8px; /* float slightly off left side */
}

.gallery-nav-next {
  margin-right: -8px; /* float slightly off right side */
}

.gallery-nav-btn:hover {
  background: #4fc1ff;
  border-color: #4fc1ff;
  color: #0b1015;
  transform: translateY(-1px);
}

.gallery-nav-btn:active {
  transform: translateY(0);
}

@media screen and (max-width: 640px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

.wrapper-masthead {
  margin-bottom: 20px;
}
.wrapper-masthead .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-grow: 1;
  padding-left: 0;
}

.masthead {
  padding: 20px 0 20px 0;
  border-bottom: 1px solid #f8fcf0;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  flex-grow: 1;
  gap: 20px;
}
@media screen and (max-width: 640px) {
  .masthead {
    text-align: center;
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
}

.site-avatar {
  float: left;
  position: relative;
  top: 0px;
  left: 0px;
  width: 70px;
  height: 70px;
  margin-right: 15px;
  border-radius: 16px;
  display: none; /* Hidden for now */
}
.site-avatar.large {
  width: 128px;
  height: 128px;
}
@media screen and (max-width: 640px) {
  .site-avatar {
    float: none;
    display: block;
    margin: 0 auto;
  }
}

.site-info {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  flex: 0 0 auto;
  text-align: left;
  margin-left: 0;
  padding-left: 0;
}
.site-info .site-icons {
  display: flex;
  flex-direction: row;
  gap: 0.5em;
  justify-content: center;
  align-items: center;
}

/* THis is the font-awesome icons */
.site-info .site-icons i {
  width: 32px;
  height: 32px;
  font-size: 32px;
  color: white;
}

.site-subtitle {
  margin: 4px 0 0 0;
  font-size: 14px;
  color: rgba(243, 252, 240, 0.8);
  font-family: "Inter", sans-serif;
  font-weight: 400;
}

.sitelinks i {
  width: 32px;
  height: 32px;
  font-size: 32px;
  color: white;
}

@media screen and (max-width: 640px) {
  .site-info {
    float: none;
    display: block;
    margin: 0 auto;
  }
}

.site-name {
  margin: 0;
  color: #F3FCF0;
  cursor: pointer;
  font-family: "Poppins", serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 1px;
  line-height: 1.2;
}

.site-name a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-name a:hover {
  color: rgba(243, 252, 240, 0.9);
}

.site-description {
  margin: -5px 0 0 0;
  color: #F3FCF0;
  font-size: 16px;
}
@media screen and (max-width: 640px) {
  .site-description {
    margin: 3px 0;
  }
}

nav {
  float: right;
  margin-top: 23px;
  font-family: "Poppins", serif;
  font-size: 18px;
}
nav.left {
  float: none;
  width: auto;
  margin-top: 8px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
nav.left a {
  margin-left: 0px;
  margin-right: 0px;
}

.header-nav {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: flex-end;
  gap: 0;
  flex: 0 0 auto;
  font-family: "Poppins", serif;
  font-size: 14px;
  padding-bottom: 2px;
}

.header-nav a {
  color: #f8fcf0;
  text-align: right;
  font-weight: 300;
  letter-spacing: 1px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.header-nav a:hover,
.header-nav a:active {
  color: #8661C1;
}

.nav-divider {
  color: rgba(243, 252, 240, 0.4);
  margin: 0 8px;
  user-select: none;
}

@media screen and (max-width: 640px) {
  .site-info {
    align-items: center;
    text-align: center;
  }
  
  .header-nav {
    justify-content: center;
    align-items: center;
    font-size: 16px;
  }
  
  nav.left {
    float: none;
    margin-top: 9px;
    display: block;
    font-size: 16px;
  }
}
@media screen and (max-width: 640px) {
  nav {
    float: none;
    margin-top: 9px;
    display: block;
    font-size: 16px;
  }
}
nav a {
  margin-left: 20px;
  color: #f8fcf0;
  text-align: right;
  font-weight: 300;
  letter-spacing: 1px;
}
@media screen and (max-width: 640px) {
  nav a {
    margin: 0 10px;
    color: #8661C1;
  }
}

div.gallery {
  border: 1px solid #ccc;
}

div.gallery:hover {
  border: 1px solid #777;
}

div.gallery img {
  width: 100%;
  height: auto;
}

div.desc {
  padding: 15px;
  text-align: center;
}

* {
  box-sizing: border-box;
}

pre {
  background-color: #2d2d2d; /* Dark background */
  border-radius: 5px;
  padding: 15px;
  overflow: auto;
  max-height: 400px; /* Limit height if needed */
}

.responsive {
  padding: 0px 10px;
  float: left;
  width: 50%;
}

@media only screen and (max-width: 700px) {
  .responsive {
    width: 200%;
    margin: 6px 0;
  }
}

@media only screen and (max-width: 500px) {
  .responsive {
    width: 200%;
  }
}

.clearfix:after {
  content: "";
  display: table;
  clear: both;
}

html {
  font-size: 100%;
}

body {
  background: #1b1e27;
  font: 18px/1.4 "Inter", sans-serif;
  color: #F3FCF0;
}

.container {
  margin: 0 auto;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  max-width: 900px;
  padding: 0 10px;
  width: 100%;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Poppins", serif;
  color: #F3FCF0;
  font-weight: bold;
  margin: 0.4em 0 8px;
  padding: 0;
}
@media screen and (max-width: 640px) {
  h1, h2, h3, h4, h5, h6 {
    line-height: 1.4;
  }
}

h1 {
  font-size: 30px;
  font-weight: 700;
}
h1 a {
  color: inherit;
}

h2 {
  font-size: 24px;
  font-weight: 600;
}

h3 {
  font-size: 20px;
  font-weight: 500;
}

h4 {
  font-size: 18px;
  color: #F3FCF0;
  font-weight: 400;
}

p {
  margin: 15px 0;
}

a {
  color: #8661C1;
  text-decoration: none;
  cursor: pointer;
}
a:hover, a:active {
  color: #EE4266;
}

ul, ol {
  margin: 15px 0;
  padding-left: 30px;
}

ul {
  list-style-type: disc;
}

ol {
  list-style-type: decimal;
}

ol ul, ul ol, ul ul, ol ol {
  margin: 0;
}

ul ul, ol ul {
  list-style-type: circle;
}

em, i {
  font-style: italic;
}

strong, b {
  font-weight: bold;
}

img {
  max-width: 100%;
}

.gmnoprint img {
  max-width: none;
}

.date {
  font-style: italic;
  color: #f8fcf0;
}

::-moz-selection {
  color: #1b1e27;
  background: #f8fcf0;
}

::selection {
  color: #1b1e27;
  background: #f8fcf0;
}

.clearfix:before,
.clearfix:after {
  content: " ";
  display: table;
}

.clearfix:after {
  clear: both;
}

/*********************/
/* LAYOUT / SECTIONS */
/*********************/
.header-text {
  text-align: left;
  font-family: "Poppins", serif;
  font-style: italic;
  margin: 0px;
  margin-bottom: 2em;
}

.entry {
  text-align: left;
}

.posts > .post {
  padding-bottom: 2em;
  border-bottom: 1px solid #f8fcf0;
}

.posts > .post:last-child {
  padding-bottom: 1em;
  border-bottom: none;
}

.post blockquote {
  margin: 1.8em .8em;
  border-left: 2px solid #f8fcf0;
  padding: 0.1em 1em;
  color: #f8fcf0;
  font-size: 22px;
  font-style: italic;
}
.post .comments {
  margin-top: 10px;
}
.post .read-more {
  text-transform: uppercase;
  font-size: 15px;
}
.post > h1 {
  margin: 0px;
  margin-top: 1em;
}

.workcontent {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
@media screen and (max-width: 640px) {
  .workcontent {
    flex-direction: column;
    justify-content: center;
  }
}

.workentry {
  width: 65%;
  text-align: left;
}
@media screen and (max-width: 640px) {
  .workentry {
    width: 100%;
  }
}
.workentry .header {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.workentry .header h3 {
  flex-shrink: 0;
}
.workentry .header .line {
  position: relative;
  flex-grow: 1;
  border-bottom: 2px solid #f8fcf0;
  bottom: 22px;
}
.workentry > .info-box {
  display: flex;
  flex-direction: column;
}
.workentry > .info-box > .content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  font-size: 16px;
}
.workentry > .info-box > .content > div {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.workentry > .info-box > .content > div > .entry {
  display: flex;
  flex-direction: row;
  gap: 8px;
}
.workentry > .info-box > .content > div > .entry p {
  flex-shrink: 0;
  margin: 4px 0px;
}
.workentry > .info-box > .content > div > .entry > .value {
  display: flex;
  flex-direction: column;
  flex-shrink: 1;
  flex-grow: 1;
  color: rgba(243, 252, 240, 0.65);
}
.workentry > .blurb {
  font-size: 14px;
  font-style: italic;
  color: rgba(243, 252, 240, 0.65);
}
.workentry .worklinks {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  text-align: center;
}
@media screen and (max-width: 640px) {
  .workentry .worklinks .svg-icon {
    width: 40px;
    height: 40px;
  }
}

.bannercontainer {
  background-color: #1b1e27;
  position: relative;
  padding: 6px;
  width: 100%;
}

.workscreenshots {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: flex-start;
  width: 30%;
  margin-top: 20px;
}
@media screen and (max-width: 640px) {
  .workscreenshots {
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
  }
}

.workscreenshot {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 4px;
  margin-bottom: 4px;
  margin-left: 0px;
  margin-right: 0px;
}
@media screen and (max-width: 640px) {
  .workscreenshot {
    flex-direction: row;
    flex-wrap: wrap;
    width: 45%;
    margin-top: 20px;
    margin-left: 4px;
    margin-right: 4px;
  }
}

/* Video Section - Optional */
.workvideo {
  width: 100%;
  margin-top: 20px;
  margin-bottom: 20px;
}

.workvideo iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  border: none;
}

@media screen and (max-width: 640px) {
  .workvideo {
    margin-top: 20px;
    margin-bottom: 20px;
  }
  
  .workvideo iframe {
    width: 100%;
  }
}

.workinfo {
  font-size: 14px;
  line-height: 75%;
}

.wrapper-footer {
  margin-top: 25px;
}

footer {
  padding: 20px 0;
  text-align: center;
}

.iframe-insert {
  width: 100%;
  aspect-ratio: 1;
}

.linktree {
  font-weight: bolder;
  line-height: 5vh;
}

.typewrite {
  color: orange;
  pointer-events: none;
  cursor: default;
}

.karet {
  padding-right: 0.1em;
  border-right-color: #fff;
  border-right-style: solid;
  border-right-width: 0.08em;
  animation: blinking 0.5s step-end infinite;
}

.fade-in-content > * {
  opacity: 0;
  animation: fade-in 0.5s ease-in-out forwards;
}

.fade-in-content-slow > * {
  opacity: 0;
  animation: fade-in 0.5s ease-in-out forwards;
}

.fade-me-in {
  opacity: 0;
  animation: fade-in 0.5s ease-in-out forwards;
}

.fade-in-content > *:nth-child(1n) {
  animation-delay: 0.08s;
}

.fade-in-content-slow > *:nth-child(1n) {
  animation-delay: 0.2s;
}

.fade-in-content > *:nth-child(2n) {
  animation-delay: 0.16s;
}

.fade-in-content-slow > *:nth-child(2n) {
  animation-delay: 0.4s;
}

.fade-in-content > *:nth-child(3n) {
  animation-delay: 0.24s;
}

.fade-in-content-slow > *:nth-child(3n) {
  animation-delay: 0.6s;
}

.fade-in-content > *:nth-child(4n) {
  animation-delay: 0.32s;
}

.fade-in-content-slow > *:nth-child(4n) {
  animation-delay: 0.8s;
}

.fade-in-content > *:nth-child(5n) {
  animation-delay: 0.4s;
}

.fade-in-content-slow > *:nth-child(5n) {
  animation-delay: 1s;
}

.fade-in-content > *:nth-child(6n) {
  animation-delay: 0.48s;
}

.fade-in-content-slow > *:nth-child(6n) {
  animation-delay: 1.2s;
}

.fade-in-content > *:nth-child(7n) {
  animation-delay: 0.56s;
}

.fade-in-content-slow > *:nth-child(7n) {
  animation-delay: 1.4s;
}

.fade-in-content > *:nth-child(8n) {
  animation-delay: 0.64s;
}

.fade-in-content-slow > *:nth-child(8n) {
  animation-delay: 1.6s;
}

.fade-in-content > *:nth-child(9n) {
  animation-delay: 0.72s;
}

.fade-in-content-slow > *:nth-child(9n) {
  animation-delay: 1.8s;
}

.fade-in-content > *:nth-child(10n) {
  animation-delay: 0.8s;
}

.fade-in-content-slow > *:nth-child(10n) {
  animation-delay: 2s;
}

.fade-in-content > *:nth-child(11n) {
  animation-delay: 0.88s;
}

.fade-in-content-slow > *:nth-child(11n) {
  animation-delay: 2.2s;
}

.fade-in-content > *:nth-child(12n) {
  animation-delay: 0.96s;
}

.fade-in-content-slow > *:nth-child(12n) {
  animation-delay: 2.4s;
}

.fade-in-content > *:nth-child(13n) {
  animation-delay: 1.04s;
}

.fade-in-content-slow > *:nth-child(13n) {
  animation-delay: 2.6s;
}

.fade-in-content > *:nth-child(14n) {
  animation-delay: 1.12s;
}

.fade-in-content-slow > *:nth-child(14n) {
  animation-delay: 2.8s;
}

.fade-in-content > *:nth-child(15n) {
  animation-delay: 1.2s;
}

.fade-in-content-slow > *:nth-child(15n) {
  animation-delay: 3s;
}

.fade-in-content > *:nth-child(16n) {
  animation-delay: 1.28s;
}

.fade-in-content-slow > *:nth-child(16n) {
  animation-delay: 3.2s;
}

.fade-in-content > *:nth-child(17n) {
  animation-delay: 1.36s;
}

.fade-in-content-slow > *:nth-child(17n) {
  animation-delay: 3.4s;
}

.fade-in-content > *:nth-child(18n) {
  animation-delay: 1.44s;
}

.fade-in-content-slow > *:nth-child(18n) {
  animation-delay: 3.6s;
}

.fade-in-content > *:nth-child(19n) {
  animation-delay: 1.52s;
}

.fade-in-content-slow > *:nth-child(19n) {
  animation-delay: 3.8s;
}

.fade-in-content > *:nth-child(20n) {
  animation-delay: 1.6s;
}

.fade-in-content-slow > *:nth-child(20n) {
  animation-delay: 4s;
}

.fade-in-content > *:nth-child(21n) {
  animation-delay: 1.68s;
}

.fade-in-content-slow > *:nth-child(21n) {
  animation-delay: 4.2s;
}

.fade-in-content > *:nth-child(22n) {
  animation-delay: 1.76s;
}

.fade-in-content-slow > *:nth-child(22n) {
  animation-delay: 4.4s;
}

.fade-in-content > *:nth-child(23n) {
  animation-delay: 1.84s;
}

.fade-in-content-slow > *:nth-child(23n) {
  animation-delay: 4.6s;
}

.fade-in-content > *:nth-child(24n) {
  animation-delay: 1.92s;
}

.fade-in-content-slow > *:nth-child(24n) {
  animation-delay: 4.8s;
}

.fade-in-content > *:nth-child(25n) {
  animation-delay: 2s;
}

.fade-in-content-slow > *:nth-child(25n) {
  animation-delay: 5s;
}

.fade-in-content > *:nth-child(26n) {
  animation-delay: 2.08s;
}

.fade-in-content-slow > *:nth-child(26n) {
  animation-delay: 5.2s;
}

.fade-in-content > *:nth-child(27n) {
  animation-delay: 2.16s;
}

.fade-in-content-slow > *:nth-child(27n) {
  animation-delay: 5.4s;
}

.fade-in-content > *:nth-child(28n) {
  animation-delay: 2.24s;
}

.fade-in-content-slow > *:nth-child(28n) {
  animation-delay: 5.6s;
}

.fade-in-content > *:nth-child(29n) {
  animation-delay: 2.32s;
}

.fade-in-content-slow > *:nth-child(29n) {
  animation-delay: 5.8s;
}

.fade-in-content > *:nth-child(30n) {
  animation-delay: 2.4s;
}

.fade-in-content-slow > *:nth-child(30n) {
  animation-delay: 6s;
}

.fade-in-content > *:nth-child(31n) {
  animation-delay: 2.48s;
}

.fade-in-content-slow > *:nth-child(31n) {
  animation-delay: 6.2s;
}

.fade-in-content > *:nth-child(32n) {
  animation-delay: 2.56s;
}

.fade-in-content-slow > *:nth-child(32n) {
  animation-delay: 6.4s;
}

.fade-in-content > *:nth-child(33n) {
  animation-delay: 2.64s;
}

.fade-in-content-slow > *:nth-child(33n) {
  animation-delay: 6.6s;
}

.fade-in-content > *:nth-child(34n) {
  animation-delay: 2.72s;
}

.fade-in-content-slow > *:nth-child(34n) {
  animation-delay: 6.8s;
}

.fade-in-content > *:nth-child(35n) {
  animation-delay: 2.8s;
}

.fade-in-content-slow > *:nth-child(35n) {
  animation-delay: 7s;
}

.fade-in-content > *:nth-child(36n) {
  animation-delay: 2.88s;
}

.fade-in-content-slow > *:nth-child(36n) {
  animation-delay: 7.2s;
}

.fade-in-content > *:nth-child(37n) {
  animation-delay: 2.96s;
}

.fade-in-content-slow > *:nth-child(37n) {
  animation-delay: 7.4s;
}

.fade-in-content > *:nth-child(38n) {
  animation-delay: 3.04s;
}

.fade-in-content-slow > *:nth-child(38n) {
  animation-delay: 7.6s;
}

.fade-in-content > *:nth-child(39n) {
  animation-delay: 3.12s;
}

.fade-in-content-slow > *:nth-child(39n) {
  animation-delay: 7.8s;
}

.fade-in-content > *:nth-child(40n) {
  animation-delay: 3.2s;
}

.fade-in-content-slow > *:nth-child(40n) {
  animation-delay: 8s;
}

.fade-in-content > *:nth-child(41n) {
  animation-delay: 3.28s;
}

.fade-in-content-slow > *:nth-child(41n) {
  animation-delay: 8.2s;
}

.fade-in-content > *:nth-child(42n) {
  animation-delay: 3.36s;
}

.fade-in-content-slow > *:nth-child(42n) {
  animation-delay: 8.4s;
}

.fade-in-content > *:nth-child(43n) {
  animation-delay: 3.44s;
}

.fade-in-content-slow > *:nth-child(43n) {
  animation-delay: 8.6s;
}

.fade-in-content > *:nth-child(44n) {
  animation-delay: 3.52s;
}

.fade-in-content-slow > *:nth-child(44n) {
  animation-delay: 8.8s;
}

.fade-in-content > *:nth-child(45n) {
  animation-delay: 3.6s;
}

.fade-in-content-slow > *:nth-child(45n) {
  animation-delay: 9s;
}

.fade-in-content > *:nth-child(46n) {
  animation-delay: 3.68s;
}

.fade-in-content-slow > *:nth-child(46n) {
  animation-delay: 9.2s;
}

.fade-in-content > *:nth-child(47n) {
  animation-delay: 3.76s;
}

.fade-in-content-slow > *:nth-child(47n) {
  animation-delay: 9.4s;
}

.fade-in-content > *:nth-child(48n) {
  animation-delay: 3.84s;
}

.fade-in-content-slow > *:nth-child(48n) {
  animation-delay: 9.6s;
}

.fade-in-content > *:nth-child(49n) {
  animation-delay: 3.92s;
}

.fade-in-content-slow > *:nth-child(49n) {
  animation-delay: 9.8s;
}

.fade-in-content > *:nth-child(50n) {
  animation-delay: 4s;
}

.fade-in-content-slow > *:nth-child(50n) {
  animation-delay: 10s;
}

.fade-in-content > *:nth-child(51n) {
  animation-delay: 4.08s;
}

.fade-in-content-slow > *:nth-child(51n) {
  animation-delay: 10.2s;
}

.fade-in-content > *:nth-child(52n) {
  animation-delay: 4.16s;
}

.fade-in-content-slow > *:nth-child(52n) {
  animation-delay: 10.4s;
}

.fade-in-content > *:nth-child(53n) {
  animation-delay: 4.24s;
}

.fade-in-content-slow > *:nth-child(53n) {
  animation-delay: 10.6s;
}

.fade-in-content > *:nth-child(54n) {
  animation-delay: 4.32s;
}

.fade-in-content-slow > *:nth-child(54n) {
  animation-delay: 10.8s;
}

.fade-in-content > *:nth-child(55n) {
  animation-delay: 4.4s;
}

.fade-in-content-slow > *:nth-child(55n) {
  animation-delay: 11s;
}

.fade-in-content > *:nth-child(56n) {
  animation-delay: 4.48s;
}

.fade-in-content-slow > *:nth-child(56n) {
  animation-delay: 11.2s;
}

.fade-in-content > *:nth-child(57n) {
  animation-delay: 4.56s;
}

.fade-in-content-slow > *:nth-child(57n) {
  animation-delay: 11.4s;
}

.fade-in-content > *:nth-child(58n) {
  animation-delay: 4.64s;
}

.fade-in-content-slow > *:nth-child(58n) {
  animation-delay: 11.6s;
}

.fade-in-content > *:nth-child(59n) {
  animation-delay: 4.72s;
}

.fade-in-content-slow > *:nth-child(59n) {
  animation-delay: 11.8s;
}

.fade-in-content > *:nth-child(60n) {
  animation-delay: 4.8s;
}

.fade-in-content-slow > *:nth-child(60n) {
  animation-delay: 12s;
}

.fade-in-content > *:nth-child(61n) {
  animation-delay: 4.88s;
}

.fade-in-content-slow > *:nth-child(61n) {
  animation-delay: 12.2s;
}

.fade-in-content > *:nth-child(62n) {
  animation-delay: 4.96s;
}

.fade-in-content-slow > *:nth-child(62n) {
  animation-delay: 12.4s;
}

.fade-in-content > *:nth-child(63n) {
  animation-delay: 5.04s;
}

.fade-in-content-slow > *:nth-child(63n) {
  animation-delay: 12.6s;
}

.fade-in-content > *:nth-child(64n) {
  animation-delay: 5.12s;
}

.fade-in-content-slow > *:nth-child(64n) {
  animation-delay: 12.8s;
}

.fade-in-content > *:nth-child(65n) {
  animation-delay: 5.2s;
}

.fade-in-content-slow > *:nth-child(65n) {
  animation-delay: 13s;
}

.fade-in-content > *:nth-child(66n) {
  animation-delay: 5.28s;
}

.fade-in-content-slow > *:nth-child(66n) {
  animation-delay: 13.2s;
}

.fade-in-content > *:nth-child(67n) {
  animation-delay: 5.36s;
}

.fade-in-content-slow > *:nth-child(67n) {
  animation-delay: 13.4s;
}

.fade-in-content > *:nth-child(68n) {
  animation-delay: 5.44s;
}

.fade-in-content-slow > *:nth-child(68n) {
  animation-delay: 13.6s;
}

.fade-in-content > *:nth-child(69n) {
  animation-delay: 5.52s;
}

.fade-in-content-slow > *:nth-child(69n) {
  animation-delay: 13.8s;
}

.fade-in-content > *:nth-child(70n) {
  animation-delay: 5.6s;
}

.fade-in-content-slow > *:nth-child(70n) {
  animation-delay: 14s;
}

.fade-in-content > *:nth-child(71n) {
  animation-delay: 5.68s;
}

.fade-in-content-slow > *:nth-child(71n) {
  animation-delay: 14.2s;
}

.fade-in-content > *:nth-child(72n) {
  animation-delay: 5.76s;
}

.fade-in-content-slow > *:nth-child(72n) {
  animation-delay: 14.4s;
}

.fade-in-content > *:nth-child(73n) {
  animation-delay: 5.84s;
}

.fade-in-content-slow > *:nth-child(73n) {
  animation-delay: 14.6s;
}

.fade-in-content > *:nth-child(74n) {
  animation-delay: 5.92s;
}

.fade-in-content-slow > *:nth-child(74n) {
  animation-delay: 14.8s;
}

.fade-in-content > *:nth-child(75n) {
  animation-delay: 6s;
}

.fade-in-content-slow > *:nth-child(75n) {
  animation-delay: 15s;
}

.fade-in-content > *:nth-child(76n) {
  animation-delay: 6.08s;
}

.fade-in-content-slow > *:nth-child(76n) {
  animation-delay: 15.2s;
}

.fade-in-content > *:nth-child(77n) {
  animation-delay: 6.16s;
}

.fade-in-content-slow > *:nth-child(77n) {
  animation-delay: 15.4s;
}

.fade-in-content > *:nth-child(78n) {
  animation-delay: 6.24s;
}

.fade-in-content-slow > *:nth-child(78n) {
  animation-delay: 15.6s;
}

.fade-in-content > *:nth-child(79n) {
  animation-delay: 6.32s;
}

.fade-in-content-slow > *:nth-child(79n) {
  animation-delay: 15.8s;
}

.fade-in-content > *:nth-child(80n) {
  animation-delay: 6.4s;
}

.fade-in-content-slow > *:nth-child(80n) {
  animation-delay: 16s;
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: scale(1.05);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes blinking {
  from, to {
    border-color: transparent;
  }
  50% {
    border-color: white;
  }
}

/* About Me Page Styles */
.about-section {
  margin-bottom: 20px;
}

.about-section .blurb {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(243, 252, 240, 0.85);
  text-align: left;
  margin-top: 10px;
}

/* Center resume area on about page */
.about-page .workcontent {
  justify-content: center;
  align-items: center;
}

.about-page .workentry {
  width: auto;
  max-width: 960px;
  margin: 0 auto;
  text-align: left;
}

/* Resume Section – card-style to match game items */
.resume-section {
  background: #252526;
  border: 1px solid #3f3f41;
  padding: 28px 32px;
  text-align: left;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.resume-section .resume-name {
  font-size: 26px;
  font-weight: 700;
  color: #F3FCF0;
  margin-top: 0;
  margin-bottom: 4px;
  font-family: "Poppins", serif;
}

.resume-section .resume-title {
  font-size: 16px;
  color: rgba(243, 252, 240, 0.85);
  margin-bottom: 12px;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.resume-section .resume-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  margin-top: 8px;
  font-size: 14px;
  color: rgba(243, 252, 240, 0.85);
}

.resume-section .resume-contact p {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.resume-section .resume-contact i {
  width: auto;
  text-align: center;
  color: rgba(243, 252, 240, 0.7);
}

.resume-section .resume-contact a {
  color: rgba(243, 252, 240, 0.9);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.resume-section .resume-contact a:hover {
  color: #4fc1ff;
  border-color: #4fc1ff;
}

@media screen and (max-width: 640px) {
  .resume-section {
    padding: 20px 18px;
  }

  .resume-section .resume-name {
    font-size: 22px;
  }
  
  .resume-section .resume-title {
    font-size: 14px;
  }
  
  .resume-section .resume-contact {
    font-size: 13px;
  }
}

/* Section divider lines */
.resume-section .line {
  width: 100%;
  height: 1px;
  background-color: rgba(243, 252, 240, 0.12);
  margin: 16px 0;
  border: none;
}

/* Skills Section */
.skills-section {
  margin-top: 3px;
  margin-bottom: 3px;
  width: 100%;
}

/* Work Experience Section - Collapsible */
.work-experience-section {
  margin-top: 3px;
  margin-bottom: 3px;
  width: 100%;
}

.work-experience-header {
  cursor: pointer;
  user-select: none;
  border-radius: 4px;
  transition: background-color 0.2s ease, transform 0.1s ease;
  position: relative;
  padding: 8px 12px;
  padding-left: 24px;
  margin-bottom: 4px;
}

.work-experience-header:hover {
  background-color: rgba(243, 252, 240, 0.05);
}

.work-experience-header:active {
  transform: scale(0.98);
  background-color: rgba(243, 252, 240, 0.1);
}

.work-experience-header::before {
  content: '▶';
  font-size: 10px;
  color: rgba(243, 252, 240, 0.7);
  transition: transform 0.3s ease, color 0.2s ease;
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
}

.work-experience-header:hover::before {
  color: rgba(243, 252, 240, 0.9);
}

.work-experience-section.collapsed .work-experience-header::before {
  transform: translateY(-50%) rotate(-90deg);
}

.work-experience-header h3 {
  width: 100%;
  text-align: center;
  margin: 0;
  transition: color 0.2s ease;
}

.work-experience-header:hover h3 {
  color: rgba(243, 252, 240, 0.95);
}

.work-experience-content {
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  max-height: 2000px;
  opacity: 1;
}

.work-experience-section.collapsed .work-experience-content {
  max-height: 0;
  opacity: 0;
  margin-top: 0;
  margin-bottom: 0;
}

/* Education Section - Collapsible */
.education-section {
  margin-top: 3px;
  margin-bottom: 3px;
  width: 100%;
}

.education-header {
  cursor: pointer;
  user-select: none;
  border-radius: 4px;
  transition: background-color 0.2s ease, transform 0.1s ease;
  position: relative;
  padding: 8px 12px;
  padding-left: 24px;
  margin-bottom: 4px;
}

.education-header:hover {
  background-color: rgba(243, 252, 240, 0.05);
}

.education-header:active {
  transform: scale(0.98);
  background-color: rgba(243, 252, 240, 0.1);
}

.education-header::before {
  content: '▶';
  font-size: 10px;
  color: rgba(243, 252, 240, 0.7);
  transition: transform 0.3s ease, color 0.2s ease;
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
}

.education-header:hover::before {
  color: rgba(243, 252, 240, 0.9);
}

.education-section.collapsed .education-header::before {
  transform: translateY(-50%) rotate(-90deg);
}

.education-header h3 {
  width: 100%;
  text-align: center;
  margin: 0;
  transition: color 0.2s ease;
}

.education-header:hover h3 {
  color: rgba(243, 252, 240, 0.95);
}

.education-content {
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  max-height: 2000px;
  opacity: 1;
}

.education-section.collapsed .education-content {
  max-height: 0;
  opacity: 0;
  margin-top: 0;
  margin-bottom: 0;
}

/* Projects Section - Collapsible */
.projects-section {
  margin-top: 3px;
  margin-bottom: 3px;
  width: 100%;
}

.projects-header {
  cursor: pointer;
  user-select: none;
  border-radius: 4px;
  transition: background-color 0.2s ease, transform 0.1s ease;
  position: relative;
  padding: 8px 12px;
  padding-left: 24px;
  margin-bottom: 4px;
}

.projects-header:hover {
  background-color: rgba(243, 252, 240, 0.05);
}

.projects-header:active {
  transform: scale(0.98);
  background-color: rgba(243, 252, 240, 0.1);
}

.projects-header::before {
  content: '▶';
  font-size: 10px;
  color: rgba(243, 252, 240, 0.7);
  transition: transform 0.3s ease, color 0.2s ease;
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
}

.projects-header:hover::before {
  color: rgba(243, 252, 240, 0.9);
}

.projects-section.collapsed .projects-header::before {
  transform: translateY(-50%) rotate(-90deg);
}

.projects-header h3 {
  width: 100%;
  text-align: center;
  margin: 0;
  transition: color 0.2s ease;
}

.projects-header:hover h3 {
  color: rgba(243, 252, 240, 0.95);
}

.projects-content {
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  max-height: 2000px;
  opacity: 1;
}

.projects-section.collapsed .projects-content {
  max-height: 0;
  opacity: 0;
  margin-top: 0;
  margin-bottom: 0;
}

.skills-header {
  cursor: pointer;
  user-select: none;
  border-radius: 4px;
  transition: background-color 0.2s ease, transform 0.1s ease;
  position: relative;
  padding: 8px 12px;
  padding-left: 24px;
  margin-bottom: 4px;
}

.skills-header:hover {
  background-color: rgba(243, 252, 240, 0.05);
}

.skills-header:active {
  transform: scale(0.98);
  background-color: rgba(243, 252, 240, 0.1);
}

.skills-header::before {
  content: '▶';
  font-size: 10px;
  color: rgba(243, 252, 240, 0.7);
  transition: transform 0.3s ease, color 0.2s ease;
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
}

.skills-header:hover::before {
  color: rgba(243, 252, 240, 0.9);
}

.skills-section.collapsed .skills-header::before {
  transform: translateY(-50%) rotate(-90deg);
}

.skills-header h3 {
  width: 100%;
  text-align: center;
  margin: 0;
  transition: color 0.2s ease;
}

.skills-header:hover h3 {
  color: rgba(243, 252, 240, 0.95);
}

.skills-content {
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  max-height: 1000px;
  opacity: 1;
}

.skills-section.collapsed .skills-content {
  max-height: 0;
  opacity: 0;
  margin-top: 0;
  margin-bottom: 0;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, max-content));
  gap: 24px;
  margin-top: 16px;
  padding: 0 20px;
  justify-content: center;
  max-width: 100%;
}

.skill-category {
  text-align: left;
}

.skill-category h4 {
  font-size: 16px;
  font-weight: 600;
  color: #F3FCF0;
  margin-bottom: 8px;
  font-family: "Poppins", serif;
}

.skill-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.skill-list li {
  font-size: 14px;
  color: rgba(243, 252, 240, 0.8);
  line-height: 1.8;
  padding-left: 16px;
  position: relative;
}

.skill-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: rgba(243, 252, 240, 0.6);
  font-weight: bold;
}

@media screen and (max-width: 640px) {
  .skills-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0 10px;
  }
  
  .skill-category h4 {
    font-size: 15px;
  }
  
  .skill-list li {
    font-size: 13px;
  }
}

/* Work Experience Entry Style */
.experience-entry {
  margin-bottom: 3px;
  width: 100%; /* Ensure full width */
  max-width: 100%; /* Prevent any width constraints */
}

.experience-header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  margin-bottom: 4px;
  gap: 200px; /* Space between company and date */
  width: 100%; /* Ensure full width */
  padding: 0;
}

.experience-company {
  font-weight: 600;
  font-size: 18px;
  color: #F3FCF0;
  text-align: left;
  padding: 0; /* Ensure no padding */
  margin: 0; /* Ensure no margin */
  transition: color 0.2s ease;
}

.experience-header:hover .experience-company {
  color: rgba(243, 252, 240, 0.95);
}

.experience-date {
  font-size: 14px;
  color: rgba(243, 252, 240, 0.7);
  text-align: right;
  font-style: italic;
  white-space: nowrap; /* Keep date on one line */
  padding: 0; /* Ensure no padding */
  margin: 0; /* Ensure no margin */
}

/* Removed collapsible functionality from individual experience entries */

.experience-position {
  text-align: left;
  font-size: 16px;
  color: rgba(243, 252, 240, 0.85);
  margin-top: 4px;
  font-style: italic;
}

@media screen and (max-width: 640px) {
  .experience-header {
    grid-template-columns: 1fr;
    gap: 8px; /* Smaller gap on mobile */
  }
  
  .experience-date {
    text-align: left;
    margin-top: 4px;
  }
  
  .experience-position {
    text-align: left;
  }
}

/* Experience bullet points list */
.experience-duties {
  margin-top: 8px;
  margin-left: 20px;
  padding-left: 0;
  list-style-type: disc;
  list-style-position: outside;
}

.experience-duties li {
  font-size: 15px;
  color: rgba(243, 252, 240, 0.8);
  line-height: 1.6;
  margin-bottom: 6px;
  padding-left: 8px;
  text-align: left;
}

.experience-duties li::marker {
  color: rgba(243, 252, 240, 0.6);
}

@media screen and (max-width: 640px) {
  .experience-duties {
    margin-left: 16px;
  }
  
  .experience-duties li {
    font-size: 14px;
  }
}

/* Resume Summary Section */
/* Summary Section - Collapsible */
.resume-summary.summary-section {
  margin-top: 3px;
  margin-bottom: 3px;
  width: 100%;
}

.summary-header {
  cursor: pointer;
  user-select: none;
  border-radius: 4px;
  transition: background-color 0.2s ease, transform 0.1s ease;
  position: relative;
  padding: 8px 12px;
  padding-left: 24px;
  margin-bottom: 4px;
}

.summary-header:hover {
  background-color: rgba(243, 252, 240, 0.05);
}

.summary-header:active {
  transform: scale(0.98);
  background-color: rgba(243, 252, 240, 0.1);
}

.summary-header::before {
  content: '▶';
  font-size: 10px;
  color: rgba(243, 252, 240, 0.7);
  transition: transform 0.3s ease, color 0.2s ease;
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
}

.summary-header:hover::before {
  color: rgba(243, 252, 240, 0.9);
}

.summary-section.collapsed .summary-header::before {
  transform: translateY(-50%) rotate(-90deg);
}

.summary-header h3 {
  width: 100%;
  text-align: center;
  margin: 0;
  transition: color 0.2s ease;
}

.summary-header:hover h3 {
  color: rgba(243, 252, 240, 0.95);
}

.summary-content {
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  max-height: 1000px;
  opacity: 1;
}

.summary-section.collapsed .summary-content {
  max-height: 0;
  opacity: 0;
  margin-top: 0;
  margin-bottom: 0;
}

.summary-content p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(243, 252, 240, 0.85);
  text-align: left;
  margin: 0;
  padding: 12px 20px;
}

@media screen and (max-width: 640px) {
  .summary-content p {
    font-size: 14px;
    padding: 12px 10px;
  }
}

/* Description Section */
.description-section {
  margin-top: 0px;
  margin-bottom: 40px;
  width: 100%;
  text-align: left;
  padding-bottom: 20px;
}

.description-text {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(243, 252, 240, 0.85);
  margin: 0 0 20px 0;
  padding: 0;
}

.description-separator {
  width: 100%;
  height: 1px;
  background-color: rgba(243, 252, 240, 0.2);
  margin-top: 20px;
}

@media screen and (max-width: 640px) {
  .description-section {
    margin-bottom: 30px;
    padding-bottom: 15px;
  }
  
  .description-text {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
  }
  
  .description-separator {
    margin-top: 15px;
  }
}

/* Game Section - Collapsible */
.game-section {
  margin-top: 00px;
  margin-bottom: 20px;
  width: 100%;
}

.game-section-header {
  padding: 8px 12px;
  margin-bottom: 16px;
}

.game-section-header h1 {
  margin: 0;
}

.game-section-content {
  overflow: visible;
}

/* Code Browser Styles */
.code-explorer-section {
  width: 100%;
  margin: 60px 0;
  padding: 40px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.code-explorer-section .header {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 20px;
  padding: 0 10px;
}

.code-explorer-section .blurb {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 30px;
  padding: 0 10px;
}

.code-browser {
  margin: 0 auto;
  border: 1px solid rgba(243, 252, 240, 0.2);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.3);
  overflow: hidden;
  width: calc(100vw - 2400px);
  max-width: calc(100vw - 2400px);
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.code-browser-header {
  padding: 15px 40px;
  background: rgba(243, 252, 240, 0.05);
  border-bottom: 1px solid rgba(243, 252, 240, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.code-browser-header h3 {
  margin: 0;
  color: rgba(243, 252, 240, 0.9);
  font-size: 18px;
}

.code-browser-info {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.repo-name {
  color: rgba(243, 252, 240, 0.7);
  font-size: 14px;
  font-family: 'Roboto Mono', monospace;
}

.github-link {
  color: rgba(243, 252, 240, 0.8);
  text-decoration: none;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.github-link:hover {
  color: rgba(243, 252, 240, 1);
}

.code-browser-content {
  display: flex;
  height: 800px;
  overflow: hidden;
  align-items: stretch;
}

.code-browser-sidebar {
  width: auto;
  min-width: 200px;
  max-width: 25%;
  border-right: 1px solid rgba(243, 252, 240, 0.2);
  background: rgba(0, 0, 0, 0.2);
  overflow-y: auto;
  overflow-x: visible;
  flex-shrink: 1;
  flex-grow: 1;
}

.file-tree-container {
  padding: 12px 20px;
  width: max-content;
  min-width: 100%;
}

.file-tree {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
  width: max-content;
  min-width: 100%;
}

/* Root level file tree - no indentation */
.file-tree-container > .file-tree {
  padding-left: 0;
  margin-left: 0;
}

/* All nested ul elements - these indent relative to their parent li */
.file-tree ul {
  list-style: none;
  margin: 0;
  padding: 0;
  margin-top: 0;
  margin-bottom: 0;
  padding-left: 20px;
  margin-left: 0;
  display: block;
}

.tree-folder,
.tree-file {
  padding: 4px 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(243, 252, 240, 0.7);
  transition: none;
  border-radius: 4px;
  margin: 1px 0;
  min-height: 24px;
  position: relative;
  line-height: 1.4;
  vertical-align: middle;
  width: max-content;
  min-width: 100%;
}

.tree-folder {
  margin-bottom: 0;
}

/* Ensure list items themselves don't have left margin/padding that would shift them */
.file-tree li {
  margin-left: 0;
  padding-left: 0;
  display: block;
}

/* Nested ul should appear directly below parent li, indented */
.tree-folder > ul {
  display: block;
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
}

/* Root level items - no indentation */
.file-tree-container > .file-tree {
  padding-left: 0;
  border-left: none;
}

.tree-file .tree-toggle {
  visibility: hidden; /* Hide but keep space for alignment */
}

.tree-folder:hover,
.tree-file:hover {
  background: transparent;
  color: rgba(243, 252, 240, 0.7);
}

.tree-file.selected {
  background: transparent;
  color: rgba(243, 252, 240, 0.8);
  font-weight: normal;
}

.tree-toggle {
  width: 16px;
  min-width: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  vertical-align: middle;
}

.tree-toggle i {
  font-size: 10px;
  transition: transform 0.2s ease;
  color: rgba(243, 252, 240, 0.6);
  line-height: 1.4;
  display: inline-block;
  vertical-align: middle;
}

.tree-icon {
  width: 16px;
  min-width: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  vertical-align: middle;
}

.tree-icon i {
  font-size: 14px;
  color: rgba(243, 252, 240, 0.6);
  line-height: 1.4;
  display: inline-block;
  vertical-align: middle;
}

.tree-folder .tree-icon i {
  color: rgba(255, 193, 7, 0.8);
}

.tree-name {
  flex: 0 0 auto;
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
  min-width: 0;
  line-height: 1.4;
  margin: 0;
  padding: 0;
  vertical-align: middle;
  display: inline-block;
}

.code-browser-main {
  flex: 0 0 75%;
  min-width: 600px;
  max-width: 75%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 0;
  position: relative;
}

.file-viewer-header {
  flex: 0 0 auto;
  padding: 12px 40px;
  background: rgba(243, 252, 240, 0.05);
  border-bottom: 1px solid rgba(243, 252, 240, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.file-path {
  color: rgba(243, 252, 240, 0.8);
  font-family: 'Roboto Mono', monospace;
  font-size: 13px;
  word-break: break-all;
}

.file-viewer-actions {
  display: flex;
  gap: 10px;
}

.view-on-github {
  color: rgba(243, 252, 240, 0.8);
  text-decoration: none;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.view-on-github:hover {
  color: rgba(243, 252, 240, 1);
}

.file-viewer {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 0;
  height: 100%;
}

.file-viewer-content {
  flex: 1 1 0;
  overflow-x: scroll !important;
  overflow-y: auto;
  padding: 20px 40px 40px 40px;
  margin: 0;
  background: rgba(0, 0, 0, 0.4);
  min-height: 0;
  scrollbar-width: thin;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
}

/* Force horizontal scrollbar to always be visible */
.file-viewer-content::-webkit-scrollbar:horizontal {
  display: block !important;
  height: 12px;
}

.file-viewer-content pre {
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  font-size: 12px;
  line-height: 1.5;
  min-height: 100%;
  pointer-events: none;
}

.file-viewer-content pre * {
  pointer-events: auto;
}

.file-viewer-content code {
  font-family: 'Fira Code', 'Roboto Mono', monospace;
  color: rgba(243, 252, 240, 0.9);
  background: transparent;
  padding: 0;
  border: none;
  white-space: pre;
  word-wrap: normal;
  overflow: visible;
  display: block;
  font-size: 12px;
  line-height: 1.5;
}

.file-viewer-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: rgba(243, 252, 240, 0.5);
  text-align: center;
  padding: 40px;
}

.file-viewer-placeholder i {
  font-size: 48px;
  margin-bottom: 15px;
  opacity: 0.5;
}

.file-viewer-placeholder p {
  margin: 0;
  font-size: 16px;
}

.loading,
.error {
  padding: 20px;
  text-align: center;
  color: rgba(243, 252, 240, 0.7);
}

.error {
  color: rgba(255, 87, 87, 0.8);
}

/* Scrollbar styling for code browser */
.code-browser-sidebar::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.file-viewer-content::-webkit-scrollbar {
  width: 8px;
  height: 12px;
  position: relative;
  z-index: 999;
}

.file-viewer-content::-webkit-scrollbar-track {
  pointer-events: auto;
  z-index: 999;
}

.file-viewer-content::-webkit-scrollbar-thumb {
  pointer-events: auto;
  z-index: 999;
}

.file-viewer-content::-webkit-scrollbar-corner {
  background: rgba(0, 0, 0, 0.2);
  pointer-events: auto;
}

.code-browser-sidebar::-webkit-scrollbar-track,
.file-viewer-content::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
  pointer-events: auto;
}

.code-browser-sidebar::-webkit-scrollbar-thumb,
.file-viewer-content::-webkit-scrollbar-thumb {
  background: rgba(243, 252, 240, 0.3);
  border-radius: 4px;
  pointer-events: auto;
}

.code-browser-sidebar::-webkit-scrollbar-thumb:hover,
.file-viewer-content::-webkit-scrollbar-thumb:hover {
  background: rgba(243, 252, 240, 0.5);
}

/* Responsive design */
@media screen and (max-width: 3000px) {
  .code-browser {
    width: calc(100vw - 400px);
    max-width: calc(100vw - 400px);
    left: 50%;
    transform: translateX(-50%);
  }
}

@media screen and (max-width: 768px) {
  .code-browser {
    width: calc(100vw - 40px);
    max-width: calc(100vw - 40px);
    left: 50%;
    transform: translateX(-50%);
  }

  .code-browser-header {
    padding: 15px 20px;
    flex-direction: column;
    align-items: flex-start;
  }

  .file-viewer-header {
    padding: 12px 20px;
  }

  .file-viewer-content {
    padding: 20px;
  }

  .file-tree-container {
    padding: 12px 10px;
  }

  .code-browser-content {
    flex-direction: column;
    height: auto;
    max-height: 800px;
  }

  .code-browser-sidebar {
    width: 100%;
    max-height: 300px;
    border-right: none;
    border-bottom: 1px solid rgba(243, 252, 240, 0.2);
  }

  .code-browser-main {
    min-height: 400px;
  }
}

/* Resume Download Button */
.resume-download-btn {
  display: inline-block;
  margin: 15px 0 20px 0;
  padding: 12px 24px;
  background: rgba(243, 252, 240, 0.1);
  border: 1px solid rgba(243, 252, 240, 0.3);
  border-radius: 6px;
  color: rgba(243, 252, 240, 0.9);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.resume-download-btn:hover {
  background: rgba(243, 252, 240, 0.2);
  border-color: rgba(243, 252, 240, 0.5);
  color: rgba(243, 252, 240, 1);
}

.resume-download-btn i {
  margin-right: 8px;
}
