@import url('https://fonts.googleapis.com/css2?family=Dela+Gothic One&display=swap');

/* --- CSS Variables & Design System --- */
:root {
  --bg-sky: #13a0e9;
  /* Bright Sky Blue from the flyer */
  --accent-orange: #ff5722;
  /* Vivid Orange */
  --accent-yellow: #fed100;
  /* Bright Yellow */
  --accent-white: #ffffff;
  --accent-black: #000000;

  /* Borders & Shadows */
  --border-width: 0px;
  /* Refined 3px border */
  --border-color: transparent;
  --shadow-offset: 0px;
  /* 4px solid shadow */
  --shadow-offset-active: 0px;

  /* Fonts */
  --font-pixel-jp: 'Dela Gothic One', sans-serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", sans-serif;
  --font-pixel-jp: var(--font-sans);
  --font-pixel-en: var(--font-sans);
  --font-mono: var(--font-sans);

  --header-height: 80px;
}

/* --- Base & Reset --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-sky);
  color: #231815;
  font-family: var(--font-sans);
  overflow-x: hidden;
  max-width: 100%;
}

body {
  overflow-x: hidden;
  max-width: 100%;
  background-color: var(--bg-sky);
  line-height: 1.5;
  image-rendering: pixelated;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: var(--accent-white);
  border-left: var(--border-width) solid #231815;
}

::-webkit-scrollbar-thumb {
  background: #e8380d;
  border: 3px solid var(--accent-white);
  box-shadow: 0 0 0 3px #231815;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-yellow);
}

/* --- Utility Classes for Retro Vibe --- */

/* Checkerboard line */
.checker-line {
  height: 20px;
  background-color: #00628e;
  background-position: 0 0, 0 8px, 8px -8px, -8px 0px;
  width: 100%;
}

/* Retro Dots Row */
.dots-row {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 12px 0;
}

.dots-row span {
  width: 10px;
  height: 10px;
  background-color: #231815;
  border-radius: 50%;
}

.dots-row.red span {
  background-color: #e8380d;
  border: 2px solid #231815;
}

/* 8-bit Block Box */
.retro-box {
  background-color: var(--accent-white);
  border: var(--border-width) solid #231815;
  box-shadow: var(--shadow-offset) var(--shadow-offset) 0 #231815;
  padding: 24px;
  position: relative;
}

/* Stacked Pyramid Blocks (as seen on flyer information layout) */
.pyramid-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  gap: 16px;
}

.pyramid-block {
  border: var(--border-width) solid #231815;
  padding: 12px 24px;
  text-align: center;
  box-shadow: var(--shadow-offset) var(--shadow-offset) 0 #231815;
  font-weight: 800;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--font-pixel-jp), var(--font-pixel-jp);
}

.pyramid-block.orange {
  background-color: #e8380d;
  color: var(--accent-white);
}

.pyramid-block.yellow {
  background-color: var(--accent-yellow);
  color: #231815;
}

.pyramid-block.white {
  background-color: var(--accent-white);
  color: #231815;
}

/* Interactive retro buttons */
.retro-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-pixel-jp), var(--font-pixel-jp);
  /* font-weight: 800; */
  /* padding: 4px 24px; */
  border: var(--border-width) solid #231815;
  box-shadow: var(--shadow-offset) var(--shadow-offset) 0 #231815;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.05s ease, box-shadow 0.05s ease;
  position: relative;
  outline: none;
  font-size: 1.5rem;
  line-height: 0.78;
  /* border-bottom: 16px solid #eb6800; */
  /* border-bottom: 16px solid #eb6800; */
}

.retro-btn:active {
  transform: translate(var(--shadow-offset-active), var(--shadow-offset-active));
  box-shadow: var(--shadow-offset-active) var(--shadow-offset-active) 0 #231815;
}

/* --- Layout Structure --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

section {
  position: relative;
  padding: 6rem 0;
  border-bottom: var(--border-width) solid #231815;
}

.section-header {
  margin-bottom: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-tag {
  font-family: var(--font-pixel-en);
  font-size: 1.8rem;
  background-color: #fed400;
  color: #231815;
  border-top: 16px solid #f8b300;
  padding: 0px 0px;
  display: inline-block;
  line-height: 0.74;


}

.section-title {
  font-family: var(--font-sans);
  font-size: clamp(1.4rem, 4vw, 1.8rem);
  color: #231815;
  background-color: #e8380d;
  border: none;
  /* border-bottom: 16px solid #00628e; */
  padding: 0;
  box-shadow: none;
  display: inline-block;
  line-height: 0.74;
  transform: none;
}

.section-desc {
  font-family: var(--font-pixel-jp);
  color: var(--accent-white);
  background-color: rgba(0, 0, 0, 0.7);
  border: var(--border-width) solid #231815;
  padding: 0px 24px;
  max-width: 700px;
  margin-top: 20px;
  line-height: 1;
}

/* --- Header / Navigation --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 100;
  /* background: var(--accent-yellow); */
  border-bottom: var(--border-width) solid #231815;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.logo {
  font-family: var(--font-pixel-en);
  font-size: 1rem;
  color: #231815;
  border: none;
  /* border-bottom: 7px solid #00628e; */
  text-decoration: none;
  line-height: 0.74;
  box-shadow: none;
  background-color: #fed400;
  border-top: 7px solid #f8b300;
}

.logo:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 #231815;
}

.nav-menu {
  display: none;
  list-style: none;
  gap: 1rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .nav-menu {
    display: flex;
  }
}

.nav-link {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  /* font-weight: 500; */
  color: #231815;
  background-color: #fed400;
  border: none;
  /* padding: 6px 10px; */
  text-decoration: none;
  box-shadow: none;
  transition: all 0.05s ease;
  white-space: nowrap;
  border-top: 7px solid #ffffff;
  line-height: 0.74;
  display: inline-block;
}

.nav-link:hover {
  background-color: #e8380d;
  color: var(--accent-white);
}

.nav-link:active {
  transform: translate(1px, 1px);
  box-shadow: 2px 2px 0 #231815;
}

.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 24px;
  background: none;
  border: none;
  padding: 4px;
  box-shadow: none;
  cursor: pointer;
  z-index: 110;
}

.mobile-menu-btn span {
  width: 100%;
  height: 3px;
  background-color: #231815;
  display: block;
}

@media (min-width: 1024px) {
  .mobile-menu-btn {
    display: none;
  }
}

/* Mobile Nav Overlay */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--bg-sky);
  z-index: 95;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
  transform: translateY(-100%);
  transition: transform 0.3s steps(4);
  border-bottom: var(--border-width) solid #231815;
}

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

.mobile-nav .nav-link {
  font-size: 1.1rem;
  text-align: center;
  padding: 0px;
}

/* --- Hero Section --- */
.hero {
  padding-top: calc(var(--header-height) + 2rem);
  padding-bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-flyer-frame {
  max-width: 480px;
  width: 100%;
  margin: 0 auto 2rem;
  border: var(--border-width) solid #231815;
  box-shadow: var(--shadow-offset) var(--shadow-offset) 0 #231815;
  background-color: var(--accent-white);
  padding: 2px;
}

.hero-flyer-img {
  width: 100%;
  height: auto;
  display: block;
  image-rendering: auto;
}

.hero-title-pixel {
  text-align: center;
  font-family: var(--font-pixel-jp);
  font-size: clamp(2rem, 7vw, 4.5rem);
  line-height: 1.1;
  color: var(--accent-yellow);
  text-shadow:
    -4px -4px 0 #000,
    4px -4px 0 #000,
    -4px 4px 0 #000,
    4px 4px 0 #000,
    8px 8px 0 #e8380d,
    12px 12px 0 #000;
  margin-bottom: 2rem;
  padding: 0 10px;
}

.hero-meta-pyramid {
  width: 100%;
  max-width: 500px;
  margin-top: 1.5rem;
}

/* --- Information Section --- */
#info {
  background-color: var(--bg-sky);
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .info-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
  }
}

.info-lead-box {
  background-color: var(--accent-white);
  border: var(--border-width) solid #231815;
  box-shadow: var(--shadow-offset) var(--shadow-offset) 0 #231815;
  padding: 32px;
  font-family: var(--font-pixel-jp);
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  line-height: 1.6;
}

.info-lead-box span {
  display: block;
  margin-top: 12px;
  color: #e8380d;
  font-weight: 800;
}

.info-body-box {
  background-color: var(--accent-yellow);
  border: var(--border-width) solid #231815;
  box-shadow: var(--shadow-offset) var(--shadow-offset) 0 #231815;
  padding: 24px;
  margin-top: 2rem;
  font-family: var(--font-pixel-jp);
  font-size: 1rem;
  line-height: 1.7;
}

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

.info-details-card {
  border: var(--border-width) solid #231815;
  background-color: #ffd104;
  padding: 0px;
  /* padding-top: 3px; */
  display: flex;
  flex-direction: column;
  /* gap: 2px; */
  box-shadow: var(--shadow-offset) var(--shadow-offset) 0 #231815;
  width: 100%;
  max-width: 600px;
}

.info-details-title {
  font-family: var(--font-pixel-jp);
  font-size: 1.6rem;
  text-align: center;
  background-color: var(--accent-yellow);
  border: var(--border-width) solid #231815;
  padding: 8px;
  color: #231815;
  box-shadow: 4px 4px 0 #231815;
  margin-bottom: 8px;
}

.info-info-row {
  display: flex;
  justify-content: space-between;
  border-bottom: 17px solid #15a1e9;
  border-top: 17px solid #f7b200;
  padding-left: 5px;
  padding-top: 0px;
  padding-right: 6px;
  align-items: center;
  font-family: var(--font-pixel-jp);
  font-weight: 400;
  line-height: 0.95;
  position: relative;
}



*/ .info-info-label {
  color: #555555;
  font-size: 1rem;
}

.info-info-val {
  text-align: right;
  font-size: 1rem;
  color: #231815;
  position: relative;
  /* padding-right: 45px; */
}

.info-info-val.highlight {
  color: #231815;
  padding-right: 45px;
}

.u30-badge {
  background: #e8380d;
  color: var(--accent-white);
  font-size: 0.75rem;
  padding: 0px 6px;
  /* 左右の余白を少し調整 */
  margin-left: 6px;

  /* 💡 高さを文字ピッタリにして余計なハミ出しを無くす */
  display: inline-block;
  line-height: 1;

  /* 💡 絶対配置にして、列の高さ計算から「完全に除外」する */
  position: absolute;
  right: 0;
  /* 右端に固定 */
  top: 50%;
  /* 上下中央に配置するためのセット */
  transform: translateY(-50%);
  /* 上下中央に配置するためのセット */
}

/* --- Lineup Section --- */
/* --- Lineup Restructure (Staggered rows, side-by-side blocks) --- */
.artist-container-blocks {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
  /* Prevent horizontal overflows */
}

@media (min-width: 768px) {
  .artist-container-blocks {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.stage-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}


.stage-block-title {
  font-family: var(--font-sans);
  font-size: 1.7rem;
  font-weight: 400;
  background-color: #e8380d;
  color: #231815;
  border: none;
  padding: 0px 3px;
  box-shadow: none;
  margin-bottom: 2rem;
  display: inline-flex;
  align-items: center;
  line-height: 0.76;
  border-top: 17px solid #ec6800;
  /* border-bottom: 10px solid #01628e; */
}

.stage-block-title-2 {
  font-family: var(--font-sans);
  font-size: 1.7rem;
  font-weight: 400;
  background-color: #f28f00;
  color: #231815;
  border: none;
  padding: 0px 3px;
  box-shadow: none;
  margin-bottom: 2rem;
  display: inline-flex;
  align-items: center;
  line-height: 0.76;
  border-top: 17px solid #f8b300;
  /* border-bottom: 10px solid #01628e; */
}


.artist-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  width: 100%;
  padding: 0 8px;
  /* Safe padding for shifts on mobile */
  box-sizing: border-box;
}

@media (min-width: 1024px) {
  .artist-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

.artist-card,
.feature-card {
  position: relative;
  background-color: var(--accent-white);
  border: none;
  box-shadow: none;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  padding: 0;
  outline: none;
  text-align: left;
  /* transition: transform 0.1s ease; */
  width: 100%;
  aspect-ratio: 1 / 1.25;
}


.artist-card:hover,
.feature-card:hover {
  transform: scale(1.02) rotate(0deg) !important;
  box-shadow: none;
  z-index: 5;
}

.artist-card:active,
.feature-card:active {
  transform: scale(0.98) !important;
  box-shadow: none;
}

.artist-img-wrapper {
  position: relative;
  flex-grow: 1;
  width: 100%;
  overflow: hidden;
  background-color: var(--accent-yellow);
}

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

.artist-name-band {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border-top: none;
  padding: 0px 4px;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.2rem;
  line-height: 0.75;
  text-align: center;
  white-space: nowrap;
  text-overflow: ellipsis;
  box-sizing: border-box;
  border-top: 15px solid;
  border-bottom: 5px solid var(--bg-sky);
}

.artist-name-band.row-yellow {
  background-color: #f28f00;
  color: #231815;
  border-top-color: #ec6800;
}

.artist-name-band.row-orange2 {
  background-color: #f28f00;
  color: #231815;
  border-top-color: #f8b300;
}

.artist-name-band.row-orange {
  background-color: #e8380d;
  color: #231815;
  border-top-color: #ec6800;
}

.artist-name-band.row-yellow2 {
  background-color: #fed400;
  color: #231815;
  border-top-color: #f8b300;
}

.artist-name-band.row-yellow3 {
  background-color: #fed400;
  color: #231815;
  border-top-color: #ffffff;
}

.artist-name-band.row-white {
  background-color: var(--accent-white);
  color: #231815;
  border-top-color: #ec6800;
}

/* --- Features Restructure --- */
.features-blocks-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
}

.feature-block-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.feature-group-title {
  font-family: var(--font-sans);
  font-size: 1.3rem;
  font-weight: 400;
  background-color: #f28f00;
  color: #231815;
  border: none;
  padding: 0px 3px;
  box-shadow: none;
  margin-bottom: 2rem;
  display: inline-flex;
  align-items: center;
  line-height: 0.86;
  /* border-top: 17px solid #f8b300; */
  border-bottom: 15px solid #01628e;
}

.cooperation-art-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
}

@media (min-width: 768px) {
  .cooperation-art-group {
    gap: 4rem;
  }
}

.features-grid-3 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  width: 100%;
  box-sizing: border-box;
  padding: 0 8px;
}

@media (min-width: 768px) {
  .features-grid-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

.features-grid-1 {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .tshirts-box {
    grid-template-columns: 1.1fr 0.9fr;
    padding: 40px;
    padding-top: 0px;
  }
}

.tshirt-gallery {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  position: relative;
}

.tshirt-main-frame {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1 / 1;
  background-color: var(--accent-white);
  box-shadow: 6px 6px 0 #00628e;
  overflow: hidden;
  position: relative;
}

.tshirt-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.tshirt-img.active {
  display: block;
}

.tshirt-switcher {
  display: flex;
  gap: 50px;
  padding-bottom: 20px;
}

.tshirt-switch-btn {
  font-family: var(--font-pixel-jp);
  font-size: 1.2rem;
  border: var(--border-width) solid #231815;
  padding: 0px 16px;
  cursor: pointer;
  line-height: 0.74;
  font-weight: 500;
  color: #231815;
  border-top: 10px solid #f8b300;
}

.tshirt-switch-btn.active {
  background-color: #f28f00;
}

.tshirt-info-card {
  background-color: var(--accent-white);
  border: var(--border-width) solid #231815;
  padding: 24px;
  box-shadow: 6px 6px 0 #00628e;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tshirt-header {
  border-bottom: var(--border-width) solid #231815;
  padding-bottom: 12px;
}

.tshirt-title {
  font-family: var(--font-pixel-jp);
  font-size: 1.6rem;
  color: #231815;
}

.tshirt-price {
  font-family: var(--font-pixel-en);
  font-size: 1.2rem;
  color: #e8380d;
  margin-top: 4px;
  font-weight: 900;
}

.tshirt-specs-list {
  list-style: none;
  font-family: var(--font-pixel-jp);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tshirt-spec-item {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed #cccccc;
  padding-bottom: 6px;
}

.tshirt-spec-label {
  font-weight: 800;
  color: #555555;
}

.tshirt-spec-value {
  font-weight: 900;
}

.tshirt-deadline {
  background-color: #e8380d;
  /* color: var(--accent-white); */
  border: var(--border-width) solid #231815;
  padding: 0px;
  text-align: center;
  font-family: var(--font-pixel-jp);
  font-weight: 500;
  /* box-shadow: 4px 4px 0 #231815; */
  /* transform: rotate(-1deg); */
  line-height: 1.05;
}

/* --- Timetable Section --- */
.timetable-box {
  background-color: var(--accent-white);
  border: var(--border-width) solid #231815;
  box-shadow: var(--shadow-offset) var(--shadow-offset) 0 #231815;
  padding: 32px 16px;
}

@media (min-width: 768px) {
  .timetable-box {
    padding: 40px;
  }
}

.timetable-notice {
  text-align: center;
  margin-bottom: 2.5rem;
}

.notice-badge {
  font-family: var(--font-pixel-en);
  font-size: 0.9rem;
  background-color: #e8380d;
  color: var(--accent-white);
  border: var(--border-width) solid #231815;
  padding: 8px 24px;
  display: inline-block;
  box-shadow: 4px 4px 0 #231815;
  margin-bottom: 16px;
  animation: pulse 1.5s steps(2) infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05) rotate(1deg);
  }

  100% {
    transform: scale(1);
  }
}

.notice-text {
  font-family: var(--font-pixel-jp);
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.notice-subtext {
  font-family: var(--font-pixel-jp);
  font-size: 0.85rem;
  color: #666666;
}

.timetable-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .timetable-cols {
    grid-template-columns: repeat(2, 1fr);
  }
}

.timetable-col {
  border: var(--border-width) solid #231815;
  background-color: var(--accent-white);
  box-shadow: 6px 6px 0 #231815;
}

.timetable-col-title {
  font-family: var(--font-pixel-jp);
  font-size: 1.3rem;
  background-color: var(--accent-yellow);
  color: #231815;
  border-bottom: var(--border-width) solid #231815;
  padding: 12px;
  text-align: center;
}

.timetable-col-title span {
  font-family: var(--font-pixel-en);
  font-size: 0.75rem;
  display: block;
  margin-top: 4px;
  color: #e8380d;
}

.mock-timeline {
  display: flex;
  flex-direction: column;
  padding: 16px;
  gap: 16px;
  background-image: repeating-linear-gradient(0deg, #f0f0f0, #f0f0f0 2px, transparent 2px, transparent 20px);
}

.mock-slot {
  display: flex;
  border: 3px solid #231815;
  background-color: var(--accent-white);
  box-shadow: 3px 3px 0 #231815;
  min-height: 60px;
}

.mock-time {
  width: 80px;
  background-color: #231815;
  color: var(--accent-yellow);
  font-family: var(--font-pixel-en);
  font-size: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

.mock-slot-content {
  flex-grow: 1;
  padding: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #fafafa;
}

.mock-slot-title {
  width: 60%;
  height: 12px;
  background-color: #dddddd;
  margin-bottom: 6px;
}

.mock-slot-desc {
  width: 40%;
  height: 8px;
  background-color: #eeeeee;
}

/* --- Venue Section --- */
.venue-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 1024px) {
  .venue-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

.venue-info {
  background-color: var(--accent-white);
  border: var(--border-width) solid #231815;
  padding: 32px;
  box-shadow: var(--shadow-offset) var(--shadow-offset) 0 #231815;
}

.venue-name-jp {
  font-family: var(--font-pixel-jp);
  font-size: 1.8rem;
  margin-bottom: 4px;
  /* color: #e8380d; */
  background-color: #fed400;
  line-height: 0.95;
  display: inline-block;
  border-top: 7px solid #f8b300;
}


.venue-name-en {
  font-family: var(--font-pixel-en);
  font-size: 0.75rem;
  margin-bottom: 20px;
  color: #666666;
}

.venue-address {
  font-family: var(--font-pixel-jp);
  font-size: 0.95rem;
  line-height: 1.6;
  border-top: var(--border-width) solid #231815;
  padding-top: 16px;
  margin-bottom: 20px;
}

.venue-address span {
  font-family: var(--font-pixel-en);
  font-size: 0.65rem;
  color: var(--accent-white);
  background-color: #231815;
  padding: 2px 6px;
  display: inline-block;
  margin-bottom: 8px;
}

.venue-access-list {
  list-style: none;
  font-family: var(--font-pixel-jp);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.venue-access-item {
  position: relative;
  padding-left: 20px;
  line-height: 1.5;
}

.venue-access-item::before {
  content: '▶';
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 0.75rem;
  color: #e8380d;
}

.venue-access-title {
  font-weight: 800;
  display: block;
  font-size: 0.85rem;
  color: #333333;
}

.venue-map-wrapper {
  border: var(--border-width) solid #231815;
  box-shadow: var(--shadow-offset) var(--shadow-offset) 0 #231815;
  background-color: var(--accent-white);
  height: 380px;
  overflow: hidden;
  position: relative;
}

.venue-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* --- Archive Section --- */
.archive-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 768px) {
  .archive-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.archive-card {
  background-color: var(--accent-white);
  border: none;
  box-shadow: none;
  padding: 8px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform 0.05s ease;
}

.archive-card:active {
  transform: scale(0.98);
}

.archive-img-wrapper {
  aspect-ratio: 1 / 1.4;
  border: none;
  overflow: hidden;
  background-color: var(--accent-yellow);
}

.archive-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: auto;
}

.archive-info {
  margin-top: 8px;
  text-align: center;
}

.archive-title {
  font-family: var(--font-pixel-jp);
  font-size: 0.95rem;
  color: #231815;
}

.archive-meta {
  font-family: var(--font-pixel-en);
  font-size: 0.9rem;
  color: #e8380d;
  /* margin-top: 4px; */
}

/* --- Contact & Ticket Section --- */
.contact {
  background-color: #e8380d;
}

.contact-box {
  background-color: var(--accent-white);
  border: var(--border-width) solid #00628e;
  padding: 32px 16px;
  box-shadow: 8px 8px 0 #00628e;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .contact-box {
    padding: 48px 32px;
  }
}

.contact-title {
  font-family: var(--font-pixel-jp);
  font-size: 1.8rem;
  color: #231815;
  margin-bottom: 16px;
}

.contact-text {
  font-family: var(--font-pixel-jp);
  font-size: 0.95rem;
  line-height: 1.7;
  color: #333333;
  margin-bottom: 24px;
}

.contact-btn {
  background-color: var(--accent-yellow);
  color: #231815;
  font-size: 1rem;
  margin-bottom: 16px;
  width: 100%;
  max-width: 400px;
}

.contact-btn:hover {
  background-color: #e8380d;
  color: var(--accent-white);
}

.contact-email {
  display: block;
  font-family: var(--font-pixel-en);
  font-size: 0.8rem;
  color: #231815;
  text-decoration: underline;
}

/* --- Sticky Bottom CTA Bar --- */
.sticky-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--accent-yellow);
  border-top: var(--border-width) solid #231815;
  z-index: 90;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 1.5rem;
  transform: translateY(100%);
  transition: transform 0.25s steps(4);
}

.sticky-cta-bar.visible {
  transform: translateY(0);
}

.sticky-cta-info {
  display: flex;
  flex-direction: column;
}

.sticky-cta-title {
  font-family: var(--font-pixel-jp);
  font-size: 1.1rem;
  color: #231815;
}

.sticky-cta-date {
  font-family: var(--font-pixel-jp);
  font-size: 0.8rem;
  color: #333333;
}

.sticky-cta-btn {
  background-color: #e8380d;
  color: var(--accent-white);
  font-size: 0.75rem;
  padding: 0px 16px;
  line-height: 0.77;
  border-top: 10px solid #ec6800;
  /* border: var(--border-width) solid #231815; */
  /* box-shadow: 3px 3px 0 #231815; */
  text-decoration: none;
  font-family: var(--font-pixel-en);
  /* transition: transform 0.05s ease, box-shadow 0.05s ease; */
}



@media (max-width: 576px) {
  .sticky-cta-bar {
    padding: 8px 12px;
    gap: 8px;
  }

  .sticky-cta-title {
    font-size: 0.95rem;
  }

  .sticky-cta-date {
    font-size: 0.7rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
  }

  .sticky-cta-btn {
    font-size: 0.7rem;
    padding: 6px 12px;
    white-space: nowrap;
  }
}

/* --- Modal Dialog (Artist Biography Console) --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-container {
  background-color: var(--accent-white);
  border: var(--border-width) solid #231815;
  width: 100%;
  max-width: 600px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 24px;
  position: relative;
  box-shadow: 10px 10px 0 #231815;
}

.modal-close-btn {
  position: absolute;
  right: 16px;
  top: 16px;
  width: 32px;
  height: 32px;
  font-family: var(--font-pixel-en);
  font-size: 1.8rem;
  background-color: #e8380d;
  color: var(--accent-white);
  border: var(--border-width) solid #00628e;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0px 5px 0 #00628e;
}

.modal-close-btn:active {
  transform: translate(2px, 2px);
  box-shadow: 0 0 0 #00628e;
}

.modal-header-tag {
  font-family: var(--font-pixel-en);
  font-size: 1rem;
  border: var(--border-width) solid #231815;
  padding: 0px 8px;
  line-height: 0.85;
  display: inline-block;
  margin-bottom: 8px;
  background-color: #fed400;
  color: #231815;
  border-top: 16px solid #f8b300;
}

.modal-title {
  display: block;
  font-size: 1.6rem;
  color: #231815;
  margin-bottom: 16px;
  border-bottom: var(--border-width) solid #231815;
  padding-bottom: 8px;
  padding-left: 8px;
  padding-right: 48px;
  font-weight: 700;
}

.modal-img-wrapper {
  width: 100%;
  max-height: 60vh;
  border: var(--border-width) solid #231815;
  overflow: hidden;
  margin-bottom: 16px;
  /* background-color: var(--accent-yellow); */
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 10px;
}

.modal-img {
  max-width: 100%;
  max-height: 60vh;
  object-fit: contain;
  /* Do not crop, keep original aspect ratio */
}

.modal-body {
  font-family: var(--font-pixel-jp);
  font-size: 0.95rem;
  line-height: 1.7;
  color: #222222;
  white-space: pre-line;
  margin-bottom: 24px;
}

#modal-links-section {
  border-top: var(--border-width) dashed #231815;
  padding-top: 16px;
}

.modal-links-title {
  font-family: var(--font-pixel-en);
  font-size: 0.75rem;
  margin-bottom: 12px;
  color: #e8380d;
}

.modal-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.modal-link-item {
  font-family: var(--font-pixel-jp);
  font-size: 0.85rem;
  color: #231815;
  background-color: var(--accent-yellow);
  border: none;
  padding: 6px 12px;
  text-decoration: none;
  box-shadow: none;
  display: inline-block;
  width: fit-content;
}

.modal-link-item:active {
  transform: scale(0.98);
}

/* --- Lightbox Modal (Archive Flyer Console) --- */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 200;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox-overlay.active {
  display: flex;
}

.lightbox-close {
  position: absolute;
  right: 24px;
  top: 24px;
  width: 40px;
  height: 40px;
  font-family: var(--font-pixel-en);
  font-size: 1.5rem;
  background-color: #e8380d;
  color: var(--accent-white);
  border: var(--border-width) solid #231815;
  cursor: pointer;
  z-index: 210;
  box-shadow: 4px 4px 0 #231815;
}

.lightbox-close:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 #231815;
}

.lightbox-title {
  font-family: var(--font-pixel-jp);
  font-size: 1.8rem;
  color: var(--accent-yellow);
  margin-bottom: 24px;
  text-shadow: 2px 2px 0 #000;
  text-align: center;
}

.lightbox-container {
  display: flex;
  gap: 24px;
  max-width: 90%;
  max-height: 75vh;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  overflow-y: auto;
}

.lightbox-frame {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 100%;
}

.lightbox-img-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--accent-white);
  padding: 12px;
  max-width: 550px;
  border: none;
  box-shadow: none;
  cursor: pointer;
}

.lightbox-img {
  max-width: 100%;
  height: auto;
  max-height: 72vh;
  display: block;
}

.lightbox-img-label {
  margin-top: 12px;
  font-family: var(--font-pixel-en);
  font-size: 0.75rem;
  background-color: var(--accent-yellow);
  color: var(--accent-black);
  border: none;
  padding: 4px 8px;
}

.lightbox-switcher {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.lightbox-switch-btn {
  background-color: var(--accent-white);
  color: var(--accent-black);
  font-family: var(--font-pixel-jp);
  font-size: 0.9rem;
  font-weight: 800;
  padding: 6px 16px;
  cursor: pointer;
  border: none;
  box-shadow: none;
  transition: background-color 0.15s ease;
}

.lightbox-switch-btn.active {
  background-color: var(--accent-orange);
  color: var(--accent-white);
}

/* --- Organizer Messages Button & Modal Styling --- */
.hero-organizer-btn-wrapper {
  margin-top: 1.5rem;
  text-align: center;
}

#organizer-msg-btn {
  background-color: #fed400;
  color: #231815;
  font-size: 1.5rem;
  font-weight: 400;
  font-family: var(--font-pixel-jp), var(--font-pixel-jp);
  padding: 0px 24px;
  cursor: pointer;
  border: none;
  border-top: 17px solid #f8b300;
  line-height: 0.76;
}

.organizer-modal-container {
  max-width: 650px;
}

.organizer-messages-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 24px;
  padding-bottom: 12px;
}

.organizer-card-msg {
  background-color: var(--accent-white);
  border: none;
  border-top: 10px solid #231815;
  /* border-bottom: 10px solid #231815; */
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s ease;
}

.organizer-card-msg:hover {
  transform: translateY(-2px);
}

.organizer-card-msg:nth-child(1) {
  border-color: var(--bg-sky);
}

.organizer-card-msg:nth-child(2) {
  border-color: #f28f00;
}

.organizer-card-msg:nth-child(3) {
  border-color: #fed400;
}

.organizer-meta-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 4px;
  border-bottom: 2px solid #231815;
  padding-bottom: 8px;
}

.organizer-name {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: bold;
  color: #231815;
}

.organizer-role {
  font-family: var(--font-pixel-en);
  font-size: 0.85rem;
  color: #555555;
  font-weight: bold;
}

.organizer-body-text {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.7;
  color: #231815;
}

.organizer-body-text a {
  color: #00628e;
  text-decoration: underline;
  font-weight: bold;
}

.organizer-body-text a:hover {
  color: var(--accent-orange);
  background-color: var(--accent-yellow);
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
  .hero-title-pixel {
    font-size: 2rem;
  }

  .lightbox-overlay {
    padding: 1rem;
  }

  .lightbox-title {
    font-size: 1.4rem;
    margin-bottom: 16px;
  }

  .lightbox-container {
    flex-direction: column;
    max-height: 85vh;
  }

  .lightbox-img-box {
    max-width: 95vw;
    padding: 8px;
  }

  .lightbox-img {
    max-height: 70vh;
  }

  /* Artist Modal mobile adjustments */
  .modal-overlay {
    padding: 1rem;
  }

  .modal-container {
    padding: 16px;
  }

  .modal-close-btn {
    right: 12px;
    top: 12px;
    width: 28px;
    height: 28px;
    font-size: 1.4rem;
  }

  .modal-title {
    font-size: 1.3rem;
    padding-right: 36px;
    padding-bottom: 6px;
    margin-bottom: 12px;
  }

  .organizer-card-msg {
    padding: 16px;
    margin-bottom: 16px;
  }

  .organizer-messages-list {
    gap: 20px;
    margin-top: 16px;
  }

  .organizer-name {
    font-size: 1.1rem;
  }
}