@font-face {
  font-family: 'Barrio';
  src: url('fonts/Barrio-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Rock Salt';
  src: url('fonts/RockSalt-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

body {
  margin: 0;
  font-family: 'Courier New', monospace;
  background-color: #1a0000;
  background-image: url('icons/banner.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: #fff;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(26, 0, 0, 0.6);
  z-index: 0;
  pointer-events: none;
}

/* gives the header wrapper the same banner so there's zero gap between it and the nav */
#page-content {
  background-image: url('icons/banner.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: fixed;
}



h1 {
  font-size: 3em;
  font-family: 'Creepster', cursive;
  color: white;
}

nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
}

nav li {
  margin: 0 15px;
}

nav a {
  color: white;
  text-decoration: none;
  font-size: 1.2em;
}

main {
  padding: 0;
  position: relative;
  background-image: url('icons/banner.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

main::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(26, 0, 0, 0.6);
  z-index: 1;
  pointer-events: none;
}


main > * {
  position: relative;
  z-index: 1;
}

.page-footer-spacer {
  height: 72px;
}

section {
  margin-bottom: 0;
}

/* Center wrapper for all sections */
.section-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 0;
}

/* Centered section titles */
#sketches h2 {
  text-align: center;
  font-size: 2em;
  margin-bottom: 20px;
}

.sketch-grid {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.sketch-box {
  background-color: #330000;
  border: 2px dashed #ff6666;
  
}

.price-box {
  background-color: #330000;
  border: 2px dashed #ff6666;
  padding: 20px;
  width: fit-content;
  font-family: 'Special Elite', monospace;
  font-size: 1.2em;
  line-height: 1.6;
  color: #ffcccc;
}

/* Jiggle animation */
@keyframes jiggle {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(3deg); }
  50% { transform: rotate(-3deg); }
  75% { transform: rotate(2deg); }
  100% { transform: rotate(0deg); }
}

nav a:hover {
  color: #ff4444;
  text-shadow: 0 0 5px #ff4444;
}

.butcher-menu {
  background-color: #2b0000;
  border: 4px double #ff3333;
  padding: 25px;
   width: 400px; 
  font-family: 'Special Elite', monospace;
  color: #fff;
  box-shadow: 0 0 20px #660000;
  position: relative;
  overflow: hidden;
}

.menu-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  font-size: 1.4em;
  border-bottom: 1px dashed #ff6666;
  padding: 10px 0;
  gap: 10px;
}

.cut-name {
  color: #fff;
}

.cut-price {
  color: #ff9999;
  
}

.sold-out .stamp {
  position: absolute;
  top: 5px;
  right: -10px;
  background: #ff0000;
  color: white;
  font-size: 0.8em;
  padding: 2px 6px;
  transform: rotate(-15deg);
  font-weight: bold;
  box-shadow: 0 0 5px #660000;
}

/* Dripping blood effect */
.butcher-menu::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 20px;
  background: repeating-linear-gradient(
    to bottom,
    #ff0000,
    #ff0000 5px,
    transparent 5px,
    transparent 10px
  );
  animation: drip 2s infinite ease-in-out;
}

@keyframes drip {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

.social-bar {
  background-color: #330000;
  padding: 10px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  font-family: 'Courier New', monospace;
  font-size: 1em;
  border-top: 2px solid #ff3333;
  border-bottom: 2px solid #ff3333;
  box-shadow: inset 0 5px 10px #660000;
  position: relative;
}

.social-btn {
  color: #ffcccc;
  text-decoration: none;
  position: relative;
  padding: 6px 14px 6px 10px;
  border: 2px dashed #ff6666;
  background-color: #2b0000;
  transition: transform 0.2s ease, color 0.3s ease, background 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  vertical-align: middle;
  cursor: pointer;
}

.social-btn:hover {
  transform: scale(1.05);
  color: #fff;
  background-color: #3a0000;
  text-shadow: 0 0 5px #ff4444;
}

.social-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: currentColor;
  opacity: 0.85;
}

.social-label {
  font-family: 'Courier New', monospace;
  font-size: 0.85em;
  letter-spacing: 1px;
}

.social-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
}


.sketch-box img {
  max-height: 450px; /* or whatever height fits your vibe */
  width: auto;
  display: block;
  margin: 0 auto;
}

.icon-nav {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: nowrap;
  margin: 0;
  padding: 24px 20px;
  position: relative;
  background-image: url('icons/banner.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* gradient from transparent at top to full overlay at bottom, all within nav */
.icon-nav::before {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(26, 0, 0, 0) 0%,
    rgba(26, 0, 0, 0.6) 100%
  );
  z-index: 0;
}

.icon-nav > * {
  position: relative;
  z-index: 1;
}


.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  color: white;
  font-family: "Barrio", system-ui;
  transition: transform 0.2s ease;
}

.nav-item img {
  width: auto;
  height: 90px;
  object-fit: contain;
  margin-bottom: 6px;
  display: block;
  vertical-align: bottom;
}

.nav-item span {
  font-size: 1em;
  line-height: 1;
  display: block;
}

.nav-fade {
  height: 40px;
  background: linear-gradient(to bottom, rgba(26,0,0,0.5) 0%, transparent 100%);
  position: relative;
  z-index: 1;
  pointer-events: none;
  flex-shrink: 0;
}

.site-header {
  position: relative;
  background-image: url('icons/banner.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: fixed;
  text-align: center;
  padding: 60px 20px;
  color: white;
  overflow: hidden;
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* subtle dark overlay for legibility */
.site-header::before {
  content: none;
}

/* title sits above overlay */
.site-header h1 {
  position: relative;
  z-index: 2;
  margin: 0;
  font-size: 3rem;
  line-height: 1;
  text-shadow: 0 4px 20px rgba(68, 7, 7, 0.55);
}

/* adjust placement and size */
.header-top-image {
  position: absolute;
  width: 500px;        /* tune size */
  height: auto;
  z-index: 5;         /* sits above banner and text */
  pointer-events: none;
}

.tagline {
  font-size: 1.5em;
  font-family: 'Courier New', monospace;
  color: #ff9999;
  margin-top: 10px;
  text-shadow: 0 0 5px #660000;
  font-style: italic;
}


.gif-board {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 1000px;
  width: 100%;
  border: 4px double #ff3333;
  padding: 16px;
  margin: 0 auto 80px;
}

.gif-board img {
  height: 180px;
  width: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}

.enter-button a {
  background-color: #990000;
  color: white;
  padding: 15px 30px;
  font-size: 1.2em;
  font-family: 'Special Elite', monospace;
  text-decoration: none;
  border: 2px dashed #ff6666;
  box-shadow: 0 0 10px #660000;
  transition: transform 0.2s ease;
  position: relative;
}

.enter-button a::after {
  content: '🔪';
  position: absolute;
  right: -25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.enter-button a:hover {
  transform: scale(1.05);
  color: #ff4444;
  text-shadow: 0 0 5px #ff4444;
}

.enter-button a:hover::after {
  transform: translateY(-50%) rotate(-45deg);
}



.about-main {
  padding: 40px;
  max-width: 800px;
  margin: 20px auto 0;
  font-family: 'Courier New', monospace;
  color: #fff;
  background-color: #1a0000;
  box-shadow: 0 0 20px #330000;
  border: 4px double #ff3333;
  position: relative;
  width: 100%;
  box-sizing: border-box;
}


.about-section {
  margin-bottom: 40px;
}

.about-section h2 {
  font-size: 2em;
  color: #ff6666;
  margin-bottom: 10px;
  font-family: 'Special Elite', monospace;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
}

.about-section h2::after {
  content: "";
  position: absolute;
  right: 5px;
  top: 30%;
  transform: translateY(-50%);
  width: 120px;
  height: 120px;
  background-image: url('icons/hatchet.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}


.about-section p {
  font-size: 1.2em;
  line-height: 1.6;
  color: #ffcccc;
  background-color: #2b0000;
  padding: 15px;
  border-left: 4px dashed #ff4444;
  margin-bottom: 20px;
  box-shadow: inset 0 0 10px #660000;
}

.about-section::before {
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  background: repeating-linear-gradient(
    to right,
    #ff0000,
    #ff0000 5px,
    transparent 5px,
    transparent 10px
  );
  margin-bottom: 20px;
  animation: dripDivider 3s infinite ease-in-out;
}



.gallery-center-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 20px 20px 20px;
  box-sizing: border-box;
}

/* Tabs */
.gallery-tabs {
  text-align: center;
  margin-bottom: 20px;
  width: 100%;
  max-width: 1280px;
}
.gallery-tabs button {
  background: none;
  border: 2px solid #660000;
  color: #ff6666;
  padding: 8px 16px;
  margin: 0 6px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.gallery-tabs button.active,
.gallery-tabs button:hover {
  background: #ff3333;
  color: #fff;
}

/* Gallery Container */
.gallery-main {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 10px 20px;
  background: #1a0000;
  border: 4px double #ff3333;
  box-shadow: 0 0 20px #330000;
  overflow-x: hidden;
  min-height: calc(75vh + 15px);
}
  

/* Horizontal Scroller */
.gallery-scroll {
  display: flex; 
  overflow-x: auto;
  white-space: nowrap;
  gap: 0;
  scroll-behavior: smooth;
  padding-bottom: 40px;
}

#designs-gallery {
  display: grid;
}

/* Hanging Items */
.gallery-item {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin-left: -50px;
  position: relative;
  transform: rotate(-2deg) translateY(-10px);
  transition: transform 0.2s;
}
.gallery-item:first-child {
  margin-left: 0;
}
.gallery-item:nth-child(odd) {
  transform: rotate(-3deg) translateY(-15px);
}
.gallery-item:nth-child(even) {
  transform: rotate(2deg) translateY(-5px);
}
.gallery-item:hover {
  z-index: 10;
}
@keyframes dangle {
  0%   { transform: rotate(0deg); }
  25%  { transform: rotate(2deg); }
  50%  { transform: rotate(-2deg); }
  75%  { transform: rotate(1deg); }
  100% { transform: rotate(0deg); }
}

/* Thumb wrapper: holds hook + hole + art */
.thumb {
  position: relative;
  display: inline-block;
  padding-top: 24px;  /* reserve vertical space for the hook */
}

/* Art Image */
.thumb .gallery-art {
  display: block;
  width: auto;        /* natural image width */
  max-width: 100%;
  height: auto;
  max-height: 600px;  /* cap height */
  object-fit: contain;
  border: 2px dashed #ff6666;
  box-shadow: 0 0 10px #660000;
  cursor: zoom-in;
  transition: transform 0.3s ease, filter 0.3s ease;
}
.thumb .gallery-art:hover {
  transform: scale(1.05);
  filter: brightness(1.2) saturate(1.2);
}

/* Hook icon */
.thumb .hook-icon {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 38px;
  user-select: none;
  pointer-events: none;
  z-index: 2;
}

/* Hook hole */
.thumb .hook-hole {
  position: absolute;
  top: 32px;   /* just below the hook tip */
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  background: radial-gradient(ellipse at center, #3a0000 72%, #000 100%);
  border-radius: 50%;
  box-shadow: 0 2px 8px #660000;
  user-select: none;
  pointer-events: none;
  z-index: 1;
}

.gallery-bar {
  position: absolute;
  top: 8px;
  left: 0;
  width: 100%;
  height: 15px; /* adjust to match your image */
  background: url('icons/bar.png') repeat-x center;
  background-size: contain;
  z-index: 0;
}


/* Zoom overlay */
#zoom-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.8);
}
#zoom-overlay img {
  max-width: 90%;
  max-height: 90%;
  box-shadow: 0 0 20px #000;
}


.tos-layout {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.tos-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 120px;
  position: fixed;
  top: 130px;
  z-index: 100;
}

.tos-nav a {
  display: block;
  background: #f5f0e8;
  color: #1a0000;
  padding: 10px 10px 20px;
  font-family: 'Courier New', monospace;
  font-size: 0.72em;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  line-height: 1.3;
  box-shadow: 2px 4px 12px rgba(0,0,0,0.6);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  clip-path: polygon(
    0% 0%, 100% 0%,
    100% 78%, 94% 84%, 88% 78%, 82% 84%,
    76% 78%, 70% 84%, 64% 78%, 58% 84%,
    52% 78%, 46% 84%, 40% 78%, 34% 84%,
    28% 78%, 22% 84%, 16% 78%, 10% 84%,
    4% 78%, 0% 84%
  );
  border: none;
}

.tos-nav a::before {
  content: '';
  display: block;
  width: 7px;
  height: 7px;
  background: #1a0000;
  border-radius: 50%;
  margin: 0 auto 4px;
}

.tos-nav a:hover {
  transform: translateY(-3px);
  box-shadow: 2px 8px 18px rgba(0,0,0,0.7);
  color: #660000;
  text-shadow: none;
}

.rcpt-num {
  display: block;
  font-size: 1.05em;
  font-weight: 900;
  letter-spacing: 2px;
  color: #8b0000;
  margin-bottom: 2px;
}

.rcpt-divider {
  display: block;
  font-size: 0.72em;
  color: #aaa;
  letter-spacing: 0;
  margin: 3px 0;
  font-weight: 400;
}

.rcpt-label {
  display: block;
  font-size: 0.88em;
  font-weight: 900;
  color: #1a0000;
  line-height: 1.25;
  margin-bottom: 3px;
}

.rcpt-flair {
  display: block;
  font-size: 0.58em;
  font-weight: 400;
  color: #888;
  letter-spacing: 1px;
  margin-top: 3px;
}

.tos-main {
  width: 100%;
  margin: 0;
  padding: 40px;
  background-color: #1a0000;
  border: 4px double #ff3333;
  box-shadow: 0 0 20px #330000;
  font-family: 'Courier New', monospace;
  color: #ffcccc;
  box-sizing: border-box;
}

.tos-main h2 {
  font-size: 2.5em;
  color: #ff6666;
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 0 0 5px #660000;
}

.tos-section {
  margin-bottom: 30px;
  padding: 20px;
  background-color: #2b0000;
  border-left: 6px dashed #ff4444;
  box-shadow: inset 0 0 10px #660000;
}

.tos-section h3 {
  font-size: 1.5em;
  color: #fff;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.tos-section p {
  font-size: 1.2em;
  color: #ff9999;
  line-height: 1.6;
}


.tos-main section {
  margin-bottom: 60px;
}

.empty-sticker {
  position: relative;
  background: #fffbe6;
  border: 2px dashed #a52a2a;
  border-radius: 12px;
  padding: 1rem 2rem;
  font-family: "Rock Salt", cursive;
  color: #a52a2a;
  font-size: 1rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
  transform: rotate(-3deg);
  margin-top: 2rem;
  text-align: center;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}


.commission-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #2b0000;
  border: 4px double #ff3333;
  padding: 24px 30px;
  margin: 24px auto;
  width: 100%;
  max-width: 740px;
}

.commission-block:first-of-type {
  margin-top: 0;
}





/* Images section */
.commission-info {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.info-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 0;
  width: 100%;
}

/* Title styling */
.commission-info h2 {
  font-size: 2em;
  color: #ff6666;
  margin-bottom: 20px;
  font-family: 'Courier New', monospace;
}

/* Image layout */

.sketch-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  align-items: flex-start;
}

.sketch-preview img {
  max-width: auto;
  max-height: 200px;
  box-shadow: 0 0 10px #660000;
  margin-bottom: 15px;
}

/* Price list below images */
.commission-prices {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-left: 0;
  border-top: 2px dashed #660000;
  padding-top: 20px;
}


.commission-prices .menu-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Courier New', monospace;
  font-size: 1.2em;
  color: #ffcccc;
  margin-bottom: 12px;
  width: 100%;
}

.commission-prices .cut-name {
  color: #fff;
}

.commission-prices .cut-price {
  color: #ff9999;
}

.commission-prices .dot-fill {
  flex-grow: 1;
  border-bottom: 4px dotted #ff4444;
  height: 6px;
  margin: 0 10px;
}

.commission-prices .menu-item.sold-out .cut-price {
  text-decoration: line-through;
  color: #999;
}

.zoomable {
  transition: transform 0.3s ease;
  cursor: zoom-in;
}



#zoom-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(20, 0, 0, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#zoomed-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border: 4px dashed #ff6666;
  box-shadow: 0 0 30px #660000;
  animation: zoomFade 0.3s ease;
}

@keyframes zoomFade {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.gallery-tabs {
  text-align: center;
  margin-bottom: 20px;
}

.gallery-tabs button {
  background-color: #990000;
  color: white;
  padding: 10px 20px;
  font-family: 'Courier New', monospace;
  border: 2px dashed #ff6666;
  margin: 0 10px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.gallery-tabs button:hover {
  transform: scale(1.05);
  color: #ffcccc;
  text-shadow: 0 0 5px #ff4444;
}


.accordion-toggle {
  background-color: #660000;
  color: #fff;
  font-size: 1.2em;
  font-family: 'Courier New', monospace;
  padding: 10px 20px;
  border: 2px dashed #ff6666;
  width: 100%;
  text-align: left;
  cursor: pointer;
  margin-top: 20px;
}

.accordion-toggle:hover {
  background-color: #990000;
  color: #fff;
}

.accordion-content {
  display: none;
  padding: 20px;
  background-color: #2b0000;
  border: 2px dashed #ff6666;
  margin-bottom: 20px;
    width: 100%;
  box-sizing: border-box;
}

.accordion-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}


/* Remove per-column scrolling */
.accordion-columns > div {
  max-height: none;
  overflow-y: visible;
}

/* Apply scrolling to the whole accordion box */
.accordion-content {
  max-height: 300px;
  overflow-y: auto;
}

.accordion-block.might-draw .accordion-content,
.accordion-block.wont-draw .accordion-content {
  max-height: none !important;
  overflow-y: visible !important;
}

.accordion-block.might-draw .accordion-columns {
  grid-template-columns: repeat(2, minmax(300px, 1fr));
}



.accordion-block.vore-draw .accordion-columns {
  grid-template-columns: repeat(4, minmax(0px, 1fr));

}


.discord-hover {
  cursor: default;
}

.discord-username {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translate(-50%, -10px);
  background-color: #2b0000;
  color: #ffcccc;
  padding: 6px 12px;
  border: 2px solid #ff6666;
  font-size: 0.9em;
  white-space: nowrap;
  opacity: 0;
  font-family: 'Courier New', monospace;
  box-shadow: 0 0 8px #ff333366;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 10;
  margin-bottom: 4px;
}

.discord-hover:hover .discord-username {
  opacity: 1;
  transform: translate(-50%, -4px);
}

.floating-status {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 130px;
  height: auto;
  z-index: 999;
  pointer-events: auto;   /* ← changed from none to auto */
  opacity: 0.9;
}

/* ── Sticky commission order form button (ink-stamp tag style) ── */
.commission-form-btn {
  position: fixed;
  top: 40px;
  left: var(--tos-nav-left, auto);
  width: 120px;
  box-sizing: border-box;
  z-index: 1000;
  display: inline-block;
  background: #8a0000;
  color: #ffe8e8;
  font-family: "Rock Salt", cursive;
  font-size: 0.78em;
  font-weight: 400;
  padding: 14px 22px;
  border: 2px solid #ff2222;
  border-radius: 3px;
  text-decoration: none;
  letter-spacing: 0.5px;
  line-height: 1.3;
  cursor: pointer;
  text-transform: uppercase;
  transform: rotate(-4deg);
  box-shadow: 0 3px 8px rgba(0,0,0,0.5);
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.commission-form-btn::before {
  content: '';
  position: absolute;
  inset: 3px;
  border: 1px solid #ff2222;
  border-radius: 2px;
  pointer-events: none;
  opacity: 0.6;
}

.commission-form-btn:hover {
  background: #a30000;
  transform: rotate(-1deg) scale(1.04);
  box-shadow: 0 4px 10px rgba(0,0,0,0.6);
}

.commission-form-btn:active {
  transform: rotate(-1deg) scale(0.98);
}

@media (max-width: 768px) {
  .commission-form-btn {
    top: 110px;
    left: auto;
    right: 16px;
    width: auto;
    padding: 11px 16px;
    font-size: 0.68em;
  }
}


.floating-status {
  transform-origin: top center;
}

.floating-status.dangle-once {
  animation: dangle 2.4s cubic-bezier(0.45, 0.05, 0.55, 0.95) 1 forwards;
}

@keyframes dangle {
  0%   { transform: rotate(0deg); }
  15%  { transform: rotate(6deg); }
  35%  { transform: rotate(-5deg); }
  52%  { transform: rotate(3.5deg); }
  67%  { transform: rotate(-2deg); }
  80%  { transform: rotate(1deg); }
  90%  { transform: rotate(-0.5deg); }
  100% { transform: rotate(0deg); }
}


#scrollToTopBtn {
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 100;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.15s ease, box-shadow 0.15s ease;
  /* receipt shape */
  background: #f5f0e8;
  color: #1a0000;
  border: none;
  padding: 14px 18px 20px;
  width: 90px;
  text-align: center;
  font-family: 'Courier New', monospace;
  box-shadow: 2px 4px 12px rgba(0,0,0,0.6);
  clip-path: polygon(
    0% 0%, 100% 0%,
    100% 82%, 94% 88%, 88% 82%, 82% 88%,
    76% 82%, 70% 88%, 64% 82%, 58% 88%,
    52% 82%, 46% 88%, 40% 82%, 34% 88%,
    28% 82%, 22% 88%, 16% 82%, 10% 88%,
    4% 82%, 0% 88%
  );
}

#scrollToTopBtn:hover {
  transform: translateY(-3px);
  box-shadow: 2px 8px 18px rgba(0,0,0,0.7);
}

#scrollToTopBtn::before {
  content: '';
  display: block;
  width: 12px;
  height: 12px;
  background: #1a0000;
  border-radius: 50%;
  margin: 0 auto 8px;
}

#scrollToTopBtn .receipt-label {
  font-size: 0.6em;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #660000;
  display: block;
  margin-bottom: 4px;
  white-space: nowrap;
}

#scrollToTopBtn .receipt-divider {
  border: none;
  border-top: 1px dashed #aaa;
  margin: 6px 0;
}

#scrollToTopBtn .receipt-main {
  font-size: 0.72em;
  font-weight: bold;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #1a0000;
  display: block;
  line-height: 1.3;
}

#scrollToTopBtn .receipt-arrow {
  font-size: 1.4em;
  display: block;
  margin-top: 1px;
  color: #8b0000;
}



/* ── Queue Page ─────────────────────────────── */
.queue-main {
      width: 100%;
      box-sizing: border-box;
      padding: 0 40px;
    }

    .trello-link-wrap {
      text-align: center;
      width: 100%;
      margin: 0 0 2px 0;
      padding: 0 0 2px 0;
      border-bottom: 1px dashed #ff333322;
      display: block;
      box-sizing: border-box;
    }

    .trello-link {
      color: #ff333388;
      font-family: 'Courier New', monospace;
      font-size: 0.78em;
      text-decoration: none;
      letter-spacing: 1px;
      transition: color 0.2s ease;
    }

    .trello-link:hover { color: #ff6666; }

    #queue-board {
      width: 100%;
      max-width: 1400px;
      margin: 0 auto 0 70px;
      box-sizing: border-box;
      padding: 40px 20px 40px;
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;
      gap: 20px;
      align-items: start;
      background: url('icons/tile.png') repeat;
      background-size: 300px auto;
      border-top: 4px solid #a52a2a;
      border-bottom: 4px solid #a52a2a;
    }

    .queue-list-section {
      width: 100%;
      box-sizing: border-box;
    }

    .queue-list-header {
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 10px 16px;
      border-left: 4px solid;
      margin-bottom: 14px;
      width: 100%;
      box-sizing: border-box;
    }

    .queue-list-name {
      font-family: 'Courier New', monospace;
      font-size: 0.85em;
      text-transform: uppercase;
      letter-spacing: 3px;
      font-weight: bold;
      text-align: center;
    }

    .queue-cards-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 14px;
      width: 100%;
      box-sizing: border-box;
      max-height: calc((200px + 14px + 60px) * 2);
      overflow-y: auto;
      padding-right: 4px;
      scrollbar-width: thin;
      scrollbar-color: #660000 #1a0000;
    }

    .queue-cards-grid::-webkit-scrollbar { width: 5px; }
    .queue-cards-grid::-webkit-scrollbar-track { background: #1a0000; }
    .queue-cards-grid::-webkit-scrollbar-thumb { background: #660000; border-radius: 2px; }

    .queue-card {
      background: #150000;
      border: 1px solid #2a0000;
      border-left: 3px solid #ff333344;
      transition: border-left-color 0.2s ease, background 0.2s ease;
      overflow: hidden;
      text-align: center;
      width: 100%;
      box-sizing: border-box;
    }

    .queue-card:hover {
      border-left-color: #ff6666;
      background: #1a0000;
    }

    .card-top {
      display: flex;
      flex-direction: column;
    }

    .card-info {
      padding: 14px 14px 10px;
    }

    .card-header-row {
      display: flex;
      justify-content: center;
      align-items: baseline;
      gap: 10px;
      margin-bottom: 8px;
    }

    .order-number {
      font-family: 'Courier New', monospace;
      font-size: 0.7em;
      color: #ff333366;
      flex-shrink: 0;
      font-weight: bold;
    }

    .card-name {
      font-family: 'Courier New', monospace;
      font-size: 1em;
      color: #ffcccc;
      font-weight: bold;
    }

    .card-meta {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 6px;
      margin-bottom: 8px;
    }

    .card-label {
      font-size: 0.68em;
      padding: 2px 8px;
      color: #fff;
      letter-spacing: 1px;
      text-transform: uppercase;
      font-family: 'Courier New', monospace;
    }

    .card-due {
      font-size: 0.72em;
      color: #ff9999;
      font-family: 'Courier New', monospace;
      padding: 2px 6px;
      border: 1px dashed #ff333344;
    }

    .card-refs {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 4px;
      width: 100%;
    }

    .queue-ref-thumb {
      width: 100%;
      height: 200px;
      object-fit: cover;
      display: block;
      cursor: zoom-in;
      transition: opacity 0.2s ease, transform 0.2s ease;
      border: 1px solid #2a0000;
    }

    .queue-ref-thumb:hover { opacity: 0.85; transform: scale(1.02); }

    /* Single image fills the full card width */
    .card-refs--single {
      grid-template-columns: 1fr;
    }
    .card-refs--single .queue-ref-thumb {
      height: 260px;
    }

    .card-link-btn {
      display: inline-block;
      margin-top: 10px;
      font-family: 'Courier New', monospace;
      font-size: 0.78em;
      color: #ff9999;
      border: 1px dashed #ff333366;
      padding: 4px 10px;
      text-decoration: none;
      transition: color 0.2s, border-color 0.2s, background 0.2s;
    }
    .card-link-btn:hover {
      color: #ffcccc;
      border-color: #ff6666;
      background: #2b0000;
    }

    .card-desc {
      font-size: 0.82em;
      color: #c49090;
      line-height: 1.6;
      padding: 10px 12px;
      background: #200000;
      border-left: 2px dashed #ff333333;
      margin-top: 8px;
      font-family: 'Courier New', monospace;
      text-align: left;
    }

    .toggle-details {
      background: none;
      border: none;
      color: #ff333366;
      font-family: 'Courier New', monospace;
      font-size: 0.75em;
      cursor: pointer;
      text-decoration: underline;
      padding: 0;
      margin-top: 4px;
      transition: color 0.2s;
    }

    .toggle-details:hover { color: #ff6666; }
    .card-details.hidden { display: none; }

    .list-empty {
      font-family: 'Courier New', monospace;
      font-size: 0.8em;
      color: #ff333366;
      font-style: italic;
      padding: 24px 14px;
      text-align: center;
      background: #150000;
      border: 1px solid #2a0000;
      border-left: 3px solid #ff333344;
      grid-column: 1 / -1;
    }

    .queue-loading {
      text-align: center;
      color: #ff666655;
      font-family: 'Courier New', monospace;
      font-style: italic;
      padding: 80px 20px;
      animation: qpulse 1.5s ease-in-out infinite;
      grid-column: 1 / -1;
    }

    @keyframes qpulse {
      0%, 100% { opacity: 0.3; }
      50% { opacity: 1; }
    }

    .queue-error {
      background: #1a0000;
      border: 1px dashed #ff333344;
      color: #ffaaaa;
      font-family: 'Courier New', monospace;
      font-size: 0.88em;
      padding: 28px;
      line-height: 1.8;
      max-width: 600px;
      margin: 60px auto;
      grid-column: 1 / -1;
    }

/* ── Socials Page ───────────────────────────── */

.socials-bottom-text {
  text-align: center;
  font-family: 'Special Elite', monospace;
  font-size: 0.85em;
  color: #c49090;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: -40px 0 40px;
  padding: 0 40px;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
}

.socials-hooks-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 60px;
  padding: 10px 40px 80px;
  flex-wrap: nowrap;
  margin-top: 0;
}

.social-hook-item {
  text-decoration: none;
  display: block;
  cursor: pointer;
}

.social-hook-item.no-link {
  cursor: default;
}

/* the whole hanging unit pivots from the top center (hook tip) */
.social-hook-thumb.social-dangle {
  animation: social-dangle 1.8s cubic-bezier(0.45, 0.05, 0.55, 0.95) 1 forwards;
}

@keyframes social-dangle {
  0%   { transform: rotate(0deg); }
  20%  { transform: rotate(4deg); }
  45%  { transform: rotate(-3deg); }
  65%  { transform: rotate(2deg); }
  80%  { transform: rotate(-1deg); }
  100% { transform: rotate(0deg); }
}

/* reuse existing hook-icon and hook-hole from gallery, but sized to match social icons */
.social-hook-img {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 46px;
  height: auto;
  user-select: none;
  pointer-events: none;
  z-index: 2;
}

.social-hook-thumb .hook-hole {
  top: 38px;
}

.social-hook-thumb {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 50px;
  transform-origin: top center;
}

.social-hook-icon-wrap {
  width: 80px;
  height: 80px;
  background: #2b0000;
  border: 4px double #ff6666;
  box-shadow: 0 0 10px #660000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  box-sizing: border-box;
}

.social-hook-icon-wrap svg,
.social-hook-icon-wrap i {
  fill: #ff9999;
  color: #ff9999;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: fill 0.2s ease, color 0.2s ease;
}

.social-hook-item:hover .social-hook-icon-wrap svg,
.social-hook-item:hover .social-hook-icon-wrap i {
  fill: #ffffff;
}

.social-hook-item:hover .social-hook-icon-wrap {
  box-shadow: 0 0 18px #aa0000;
  border-color: #ff9999;
}

.social-hook-name {
  display: block;
  margin-top: 10px;
  font-family: "Barrio", system-ui;
  font-size: 1.1em;
  color: #ffcccc;
  text-align: center;
  letter-spacing: 1px;
  transition: color 0.2s ease;
}

.social-hook-item:hover .social-hook-name {
  color: #ffffff;
  text-shadow: 0 0 6px #ff4444;
}

.social-hook-handle {
  display: block;
  font-family: 'Courier New', monospace;
  font-size: 0.78em;
  color: #ff6666;
  text-align: center;
  margin-top: 3px;
  letter-spacing: 0.5px;
}

/* ── Contact Page ───────────────────────────── */
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 16px;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  background: #2b0000;
  border: 4px double #ff3333;
  font-family: 'Courier New', monospace;
  color: #ffcccc;
  text-decoration: none;
}

.contact-link {
  transition: background 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}

.contact-link:hover {
  background: #3a0000;
  transform: translateX(4px);
}

.contact-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff9999;
}

.contact-icon svg,
.contact-icon i {
  width: 100%;
  height: 100%;
  fill: #ff9999;
  color: #ff9999;
  font-size: 1.4em;
}

.contact-link:hover .contact-icon svg,
.contact-link:hover .contact-icon i {
  fill: #ffffff;
  color: #ffffff;
}

.contact-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-label {
  font-size: 0.75em;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #ff6666;
}

.contact-value {
  font-size: 1em;
  color: #ffcccc;
}

.contact-link:hover .contact-value {
  color: #ffffff;
}

.contact-subtext {
  font-size: 0.82em;
  color: #c49090;
  font-style: italic;
  line-height: 1.5;
  margin-top: 2px;
  display: block;
}

/* ── Reviews page (placeholder layout) ── */
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 10px;
}

.review-card {
  background-color: #2b0000;
  border: 1px dashed #ff4444;
  padding: 18px 16px;
  box-shadow: inset 0 0 10px #660000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 150px;
}

.review-card.review-placeholder {
  align-items: center;
  justify-content: center;
  color: rgba(255, 200, 200, 0.35);
  font-style: italic;
  text-align: center;
  font-size: 0.9em;
  border-style: dashed;
}

.review-stars {
  color: #ffaa44;
  font-size: 1em;
  letter-spacing: 2px;
}

.review-quote {
  color: #ffcccc;
  font-size: 0.95em;
  line-height: 1.5;
  flex: 1;
}

.review-author {
  color: #ff9999;
  font-size: 0.8em;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-top: 1px solid #440000;
  padding-top: 8px;
}

.review-empty-note {
  margin-top: 10px;
  color: #c49090;
  font-size: 0.9em;
}

.review-wip {
  background-color: #2b0000;
  border: 1px dashed #ff4444;
  padding: 40px 20px;
  text-align: center;
  box-shadow: inset 0 0 10px #660000;
}

.review-wip-text {
  color: #ff6666;
  font-size: 1.4em;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: 'Special Elite', monospace;
  margin: 0;
}

.review-wip .review-empty-note {
  margin-top: 10px;
}

.contact-link:hover .contact-subtext {
  color: #ffcccc;
}

    .empty-sticker {
      position: relative;
      background: #fffbe6;
      border: 2px dashed #a52a2a;
      border-radius: 12px;
      padding: 1rem 2rem;
      font-family: "Rock Salt", cursive;
      color: #a52a2a;
      font-size: 1rem;
      box-shadow: 0 4px 6px rgba(0,0,0,0.3);
      transform: rotate(-3deg);
      margin: 2rem auto;
      text-align: center;
      width: fit-content;
      grid-column: 1 / -1;
    }

/* Preload active nav icons to prevent hover delay */
nav::after {
  content: url('icons/icon1active.png') url('icons/icon2active.png') url('icons/icon3active.png') url('icons/icon4active.png') url('icons/icon5active.png');
  display: none;
}


/* ═══════════════════════════════════════════════
   MOBILE RESPONSIVE — appended, desktop untouched
   ═══════════════════════════════════════════════ */

@media (max-width: 768px) {

  /* ── Prevent horizontal overflow — contain everything, no clipping ── */
  html, body, main {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .page-layout-content {
    justify-content: flex-start !important;
    min-height: unset !important;
  }

  /* ── Fix iOS Safari background-attachment: fixed bug ── */
  main,
  .icon-nav,
  .site-header {
    background-attachment: scroll;
  }

  /* ── Remove background from main on mobile (sidebar carries it) ── */
  main {
    background-image: none;
    min-height: unset;
  }

  main::before {
    display: none;
  }

  /* ── Header title image — override absolute positioning entirely ── */
  .header-top-image {
    position: static;
    width: 80vw;
    max-width: 340px;
    min-width: 140px;
    transform: none;
    left: auto;
    top: auto;
  }

  .site-header {
    padding: 22px 16px 16px;
    min-height: unset;
  }

  /* ── Nav: wrap into 4×2 grid, no overflow ── */
  .icon-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px 4px;
    padding: 14px 8px;
    justify-items: center;
    width: 100%;
    box-sizing: border-box;
  }

  .nav-item img {
    height: 52px;
  }

  .nav-item span {
    font-size: 0.6em;
    line-height: 1.2;
  }

  /* ── Floating status badge ── */
  .floating-status {
    width: 64px;
    top: 8px;
    right: 8px;
    left: auto;
  }

  /* ── Home GIF board ── */
  /* ── Shared pattern: match about.html's well-contained layout ── */
  .about-main,
  .tos-main,
  .commission-block,
  .queue-main,
  #queue-board {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin-left: 0;
    margin-right: 0;
  }


  /* ── About / Contact / Socials ── */
  .about-main {
    padding: 20px 14px;
    margin: 10px 0;
  }

  .about-section h2 {
    font-size: 1.4em;
  }

  .about-section h2::after {
    display: none;
  }

  .about-section p {
    font-size: 1em;
  }

  /* ── TOS ── */
  .tos-main {
    margin: 16px 0;
    padding: 18px 14px;
  }

  .tos-main h2 {
    font-size: 1.6em;
  }

  .tos-section p {
    font-size: 1em;
  }

  .accordion-columns,
  .accordion-block.might-draw .accordion-columns,
  .accordion-block.vore-draw .accordion-columns {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  .accordion-columns > div {
    margin: 0;
    padding: 0;
  }

  .accordion-columns > div:not(:last-child) {
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .accordion-columns p {
    margin-top: 0;
    margin-bottom: 0;
    padding: 4px 0;
  }

  /* ── Commissions page ── */
  .commission-block {
    flex-direction: column;
    padding: 16px 12px;
    margin: 8px 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .commission-info,
  .commission-prices,
  .info-inner {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding-left: 0;
    padding-right: 0;
  }

  .commission-prices {
    padding-left: 0;
    margin-top: 10px;
  }

  .sketch-preview img {
    max-width: 100%;
    height: auto;
    max-height: 120px;
  }

  .sketch-preview {
    flex-wrap: wrap;
    gap: 8px;
  }

  .sketch-preview img {
    max-height: 130px;
  }

  .commission-prices .menu-item {
    font-size: 1em;
  }

  /* ── Queue page ── */
  .queue-main {
    padding: 0 8px;
  }

  #queue-board {
    grid-template-columns: 1fr;
    padding: 16px 8px 0;
    gap: 16px;
  }

  .queue-cards-grid {
    grid-template-columns: 1fr !important;
  }

  .queue-ref-thumb {
    height: 140px;
  }

  /* ── Gallery — remove negative margins that bleed outside viewport ── */
  /* Gallery wraps into rows and stays self-contained */
  .gallery-center-wrap {
    width: 100vw;
    max-width: 100vw;
    overflow: hidden;
    box-sizing: border-box;
    padding: 0 6px;
  }

  .gallery-main {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    min-height: unset !important;
    height: auto;
    padding: 6px;
  }

  .gallery-scroll {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: scroll;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    white-space: nowrap;
  }

  .thumb .gallery-art {
    width: 200px;
    max-width: 200px;
    height: auto;
    max-height: 200px;
  }

  .gallery-item {
    margin-left: 0 !important;
    transform: none !important;
    flex: 0 0 auto;
  }

  .gallery-scroll {
    flex-wrap: nowrap;
    gap: 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .thumb .gallery-art {
    max-height: 260px;
    max-width: 260px;
    width: 260px;
  }

  .gallery-tabs button {
    padding: 10px 18px;
    font-size: 1em;
    margin: 4px;
  }

  /* ── Socials hooks ── */
  .socials-hooks-row {
    gap: 0;
    padding: 0 8px 40px;
    flex-wrap: nowrap;
    justify-content: space-evenly;
  }

  .social-hook-icon-wrap {
    width: 60px;
    height: 60px;
    padding: 10px;
  }

  .social-hook-icon-wrap i,
  .social-hook-icon-wrap svg {
    font-size: 1.5rem;
  }

  .social-hook-name {
    font-size: 0.75em;
  }

  .social-hook-img {
    width: 32px;
  }

  .social-hook-thumb {
    padding-top: 36px;
  }

  .socials-bottom-text {
    margin-top: 0;
    padding-top: 16px;
  }

  /* ── TOS nav buttons above the box on mobile ── */
  .tos-layout {
    flex-direction: column !important;
  }

  .tos-nav {
    position: static !important;
    transform: none !important;
    width: 100% !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 8px !important;
    order: -1;
    margin-bottom: 16px;
  }

  .tos-nav a {
    width: 80px !important;
    font-size: 0.55em !important;
    padding: 8px 6px 14px !important;
  }

  /* ── Extra footer space on TOS so scroll button doesn't overlap text ── */
  .tos-footer-spacer {
    height: 140px;
  }

  /* ── Contact rows ── */
  .contact-row {
    padding: 12px 12px;
  }

  .contact-value {
    font-size: 0.88em;
    word-break: break-all;
  }
  /* ── Commissions wrapper ── */
  .commissions-wrapper {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
  }

  /* ── Home GIF board ── */
  .gif-board {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 8px;
    gap: 6px;
  }
  .gif-board img {
    height: 80px;
    width: auto;
    flex-shrink: 1 !important;
    min-width: 0;
    aspect-ratio: auto !important;
  }

}

/* Even tighter for very small phones */
@media (max-width: 400px) {
  .icon-nav {
    grid-template-columns: repeat(4, 1fr);
    gap: 4px 2px;
    padding: 10px 4px;
  }

  .nav-item img {
    height: 42px;
  }

  .nav-item span {
    font-size: 0.52em;
  }

}

/* ═══════════════════════════════════════════════
   LEFT-SIDE NAV LAYOUT
   ═══════════════════════════════════════════════ */

/* Shell: sidebar + content side by side */
.page-layout-shell {
  display: flex;
  min-height: 100vh;
  align-items: flex-start;
}

/* Fixed sidebar that never scrolls */
.sidebar-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 190px;
  height: 100vh;
  flex-shrink: 0;
  z-index: 10;
}

/* Content area fills remaining width, offset past the fixed sidebar */
.page-layout-content {
  flex: 1;
  min-width: 0;
  align-items: center;
  margin-left: 190px;
}

.page-layout-content > main {
  width: 100%;
  max-width: 960px;
}



/* Override icon-nav to be vertical when in sidebar */
.icon-nav--sidebar {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: flex-start !important;
  flex-wrap: nowrap !important;
  gap: 6px !important;
  padding: 115px 16px 20px 20px !important;
  width: 190px;
  height: 100%;
  background-image: url('icons/banner.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.icon-nav--sidebar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(26,0,0,0) 0%, rgba(26,0,0,0.6) 100%);
  z-index: 0;
  pointer-events: none;
}

.icon-nav--sidebar > * {
  position: relative;
  z-index: 1;
}

/* Logo at top of sidebar */
.sidebar-logo {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-40%);
  width: 225px;
  height: auto;
  z-index: 2;
  pointer-events: none;
}

/* Nav items go horizontal (icon left, label right) */
.icon-nav--sidebar .nav-item {
  flex-direction: row !important;
  justify-content: flex-start !important;
  text-align: left !important;
  gap: 8px !important;
  width: 100%;
  padding: 3px 4px;
}

/* 64px icons */
.icon-nav--sidebar .nav-item img {
  height: 64px !important;
  width: auto !important;
  margin-bottom: 0 !important;
  flex-shrink: 0;
}

.icon-nav--sidebar .nav-item span {
  font-size: 0.78em !important;
  line-height: 1.2 !important;
  white-space: normal !important;
}

/* ── Home fullscreen layout ── */
.home-main {
  padding: 0;
  min-height: 100vh;
  background: none;
}

.home-main::before {
  display: none;
}

.home-fullscreen {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background-color: #1a0000;
  background-image: url('icons/banner.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.home-fullscreen::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(26, 0, 0, 0.6);
  z-index: 1;
  pointer-events: none;
}

.home-fullscreen > * {
  position: relative;
  z-index: 2;
}

.home-bg {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: right center;
  pointer-events: none;
  display: block;
  z-index: 2;
}

.icon-nav--home {
  position: absolute;
  top: 50%;
  left: 40px;
  transform: translateY(-50%);
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  padding: 0 !important;
  background: transparent !important;
  background-image: none !important;
  z-index: 4;
  flex-wrap: nowrap !important;
}

.icon-nav--home::before {
  display: none;
}

/* Gradient panel on home page, same as sidebar */
.home-welcome {
  position: absolute;
  top: 50%;
  left: 460px;
  transform: translateY(-50%);
  z-index: 5;
  font-family: 'Courier New', monospace;
  color: #ffcccc;
  max-width: 260px;
  text-align: left;
}

.home-welcome-line1 {
  font-size: 2.4em;
  font-weight: 900;
  color: #ff6666;
  margin: 0 0 16px 0;
  letter-spacing: 2px;
  text-shadow: 0 0 12px rgba(200,0,0,0.6);
}

.home-welcome-line2 {
  font-size: 0.95em;
  line-height: 1.7;
  color: #e8c0c0;
  margin: 0;
  font-style: italic;
  text-shadow: 0 0 8px rgba(0,0,0,0.8);
}

.home-nav-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 340px;
  height: 100%;
  background: linear-gradient(to right, rgba(26,0,0,0) 0%, rgba(26,0,0,0.6) 100%);
  z-index: 3;
  pointer-events: none;
}

/* Position the sidebar nav over the home fullscreen image */
.home-sidebar-nav {
  position: absolute;
  top: 0;
  left: 0;
  width: auto;
  height: 100%;
  z-index: 4;
}

.icon-nav--home .nav-item {
  flex-direction: row !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  text-align: left !important;
  position: relative;
  z-index: 1;
}

.icon-nav--home .nav-item img {
  height: 64px !important;
  width: auto !important;
  margin-bottom: 0 !important;
}

.icon-nav--home .nav-item span {
  font-size: 0.78em !important;
}

/* ── Mobile: revert sidebar to top on small screens ── */
@media (max-width: 768px) {
  .page-layout-shell {
    flex-direction: column;
    min-height: unset !important;
  }

  .page-layout-content {
    justify-content: flex-start !important;
    min-height: unset !important;
  }

  .about-main {
    margin-top: 10px !important;
  }

  .gallery-center-wrap {
    padding-top: 10px !important;
  }

  .commissions-wrapper,
  .tos-layout,
  .queue-main,
  .socials-main,
  .contact-main {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  .sidebar-nav {
    position: relative;
    height: auto;
    width: 100%;
  }

  .page-layout-content {
    margin-left: 0;
  }

  .icon-nav--sidebar {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    flex-direction: unset !important;
    justify-content: unset !important;
    align-items: unset !important;
    width: 100% !important;
    height: auto !important;
    gap: 6px 4px !important;
    padding: 8px !important;
    justify-items: center;
    background-attachment: scroll !important;
  }

  .icon-nav--sidebar .sidebar-logo {
    grid-column: 1 / -1 !important;
    position: static !important;
    transform: none !important;
    width: 150px !important;
    margin: 4px auto !important;
    display: block;
  }

  .icon-nav--sidebar .nav-item {
    flex-direction: column !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 0 !important;
    width: auto;
    padding: 0;
  }

  .icon-nav--sidebar .nav-item img {
    height: 52px !important;
  }

  .icon-nav--sidebar .nav-item span {
    font-size: 0.6em !important;
  }

  /* ── Index: webp below nav ── */
  .home-sidebar-nav {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    z-index: 4;
    order: -1;
  }

  .home-fullscreen {
    display: flex !important;
    flex-direction: column !important;
  }

  .home-bg {
    position: static !important;
    width: 165% !important;
    height: auto !important;
    max-width: 165% !important;
    object-fit: contain !important;
    object-position: right top !important;
    align-self: flex-end !important;
  }

  .home-welcome {
    display: none;
  }
}

/* ── Desktop: vertical centering for gallery, queue, socials, contact ── */
@media (min-width: 769px) {
  .gallery-center-wrap {
    padding-top: 60px;
  }

  .trello-link-wrap {
    margin-top: 30px;
  }

  /* contact (max-width:600px) */
  .about-main[style*="600"] {
    margin-top: 150px;
  }

  /* socials (max-width:900px) */
  .about-main[style*="900"] {
    margin-top: 240px;
  }
}
