/* ==========================================================================
   Design System & Theme Variables (Dozle.jp Style)
   ========================================================================== */
:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f7f8fa;
  --bg-dark: #111111;
  --border-color: #e5e7eb;
  --border-dark: #111111;
  
  --accent-yellow: #ffd400;
  --accent-yellow-light: rgba(255, 212, 0, 0.12);
  --accent-yellow-hover: #e6be00;
  
  --spotify-green: #1db954;
  --spotify-green-hover: #1ed760;
  
  --text-main: #1f2937;
  --text-dark: #111111;
  --text-muted: #6b7280;

  
  --font-display: 'Outfit', 'Noto Sans JP', sans-serif;
  --font-body: 'Noto Sans JP', 'Outfit', sans-serif;
  
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: all 0.2s ease;
  
  --shadow-subtle: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* Offset fixed header for clean scroll targets, adjusted lower */
  font-size: 16px;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

button, input, select, textarea {
  font-family: inherit;
  outline: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-subtle);
  transition: var(--transition-smooth);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 48px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 0.25rem;
  align-items: center;
}

.nav-link {
  font-weight: 800;
  font-size: 0.78rem;
  color: var(--text-dark);
  position: relative;
  padding: 0.4rem 0.6rem;
  border-radius: 99px;
  border: 2px solid transparent;
  transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.2);
}

.nav-link::after {
  display: none;
}

.nav-link:hover, .nav-link.active {
  background-color: var(--accent-yellow);
  color: var(--text-dark);
  border-color: var(--border-dark);
  box-shadow: 2px 2px 0 var(--border-dark);
  transform: translate(-1px, -1px);
}

.nav-link:active {
  transform: translate(1px, 1px);
  box-shadow: 0px 0px 0 var(--border-dark);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-socials {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

.social-icon {
  width: 34px;
  height: 34px;
  background: var(--bg-secondary);
  border: 2px solid var(--border-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  transition: var(--transition-fast);
  box-shadow: 2px 2px 0 var(--border-dark);
}

.social-icon svg {
  display: block;
  transition: var(--transition-fast);
}

.social-icon:hover {
  transform: translate(-2px, -2px);
  background-color: var(--accent-yellow);
  box-shadow: 4px 4px 0 var(--border-dark);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle .bar {
  width: 25px;
  height: 3px;
  background-color: var(--text-dark);
  border-radius: 5px;
  transition: var(--transition-fast);
}

/* ==========================================================================
   Utility Classes & Layouts
   ========================================================================== */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem; /* Reduced from 6rem for tighter spacing */
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem; /* Reduced from 4rem for tighter spacing */
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--text-dark);
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 5px;
  background-color: var(--accent-yellow);
  border-radius: 2px;
}

.section-subtitle {
  display: block;
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 0.5rem;
}

/* Compact section headings on the homepage */
#profile .section-container,
#business .section-container,
#reviews .section-container,
#goods .section-container,
#illustrations .section-container,
#podcast .section-container,
#contact .section-container {
  padding-top: 2.25rem;
}

#profile .section-header,
#business .section-header,
#reviews .section-header,
#goods .section-header,
#illustrations .section-header,
#podcast .section-header,
#contact .section-header {
  margin-bottom: 1.4rem;
}

#profile .section-subtitle,
#business .section-subtitle,
#reviews .section-subtitle,
#goods .section-subtitle,
#illustrations .section-subtitle,
#podcast .section-subtitle,
#contact .section-subtitle {
  font-size: 0.8rem;
}

#profile .section-title,
#business .section-title,
#reviews .section-title,
#goods .section-title,
#illustrations .section-title,
#podcast .section-title,
#contact .section-title {
  font-size: 2.15rem;
}

#reviews .section-header .index-intro-text,
#goods .section-header .index-intro-text,
#illustrations .section-header .index-intro-text {
  margin-top: 0.9rem !important;
}

.placeholder-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 3rem;
  line-height: 1.8;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.placeholder-text.index-intro-text,
.goods-intro-text.index-intro-text,
.contact-intro.index-intro-text {
  font-size: 0.85rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 2rem;
  border-radius: 8px;
  font-weight: 800;
  transition: var(--transition-smooth);
  border: 2px solid var(--border-dark);
  box-shadow: 4px 4px 0 var(--border-dark);
}

.btn-submit {
  background-color: var(--accent-yellow);
  color: var(--text-dark);
  width: 100%;
  border: 3px solid var(--border-dark);
  box-shadow: 5px 5px 0 var(--border-dark);
  transition: transform 0.15s cubic-bezier(0.175, 0.885, 0.32, 1.15), box-shadow 0.15s cubic-bezier(0.175, 0.885, 0.32, 1.15);
}

.btn-submit:hover {
  background-color: var(--accent-yellow);
  color: var(--text-dark);
  transform: translate(-3px, -3px);
  box-shadow: 8px 8px 0 var(--border-dark);
}

.btn-submit:active {
  transform: translate(1px, 1px);
  box-shadow: 2px 2px 0 var(--border-dark);
}

.btn-profile-more {
  background-color: var(--accent-yellow);
  color: var(--text-dark);
  border: 2.5px solid var(--border-dark);
  box-shadow: 3px 3px 0px var(--border-dark);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s ease;
}

.btn-profile-more:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0px var(--border-dark);
}

.btn-profile-more:active {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0px var(--border-dark);
}

.required {
  color: #ef4444;
  font-size: 0.75rem;
  vertical-align: middle;
}

/* ==========================================================================
   Hero Banner Section (Slideshow Banner - Unified Background)
   ========================================================================== */
.hero-banner-section {
  margin-top: 88px;
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-color);
}

.banner-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  background-color: #ffffff;
  position: relative;
}

.slider-container {
  position: relative;
  width: 100%;
  height: clamp(250px, 30vw, 360px);
  overflow: hidden;
  background-color: #ffffff;
}

.slider-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.slide-blur-bg {
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  background-size: cover;
  background-position: center;
  filter: blur(20px) brightness(1.5) opacity(0.35);
  z-index: 1;
  transform: scale(1.05);
}

.banner-img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-height: 360px;
  display: block;
}

/* Slider Controls */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 2px solid rgba(0, 0, 0, 0.15);
  border-radius: 50%;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
  opacity: 0;
  pointer-events: none;
}

.slider-container:hover .slider-btn {
  opacity: 1;
  pointer-events: auto;
}

.slider-btn:hover {
  background: var(--accent-yellow);
  color: var(--text-dark);
  border-color: var(--border-dark);
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.slider-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.prev-btn {
  left: 20px;
}

.next-btn {
  right: 20px;
}

/* Dots Indicator */
.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
  background: rgba(255, 255, 255, 0.7);
  padding: 6px 12px;
  border-radius: 99px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: all 0.25s ease;
}
.dot.active {
  background: var(--accent-yellow);
  transform: scale(1.2);
  box-shadow: 0 0 8px var(--accent-yellow);
}

/* ==========================================================================
   TWITCH STREAM Section
   ========================================================================== */
.twitch-live-section {
  background-color: #ffffff;
}

.twitch-player-wrapper {
  max-width: 640px;
  margin: 0 auto;
  background-color: #ffffff;
  border: 3px solid var(--border-dark);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 8px 8px 0 var(--border-dark);
  position: relative;
  padding-top: 30%; /* Even narrower vertical ratio */
}

.twitch-player-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ==========================================================================
   PROFILE Section
   ========================================================================== */
.profile-section {
  background-color: #ffffff;
}

.profile-section .section-container {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.profile-section .section-header {
  margin-bottom: 1.75rem;
}

.profile-section .profile-content {
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  max-width: 880px;
  gap: 3.25rem;
}

.profile-section .profile-image-wrapper {
  max-width: 300px;
}

.profile-section .profile-info {
  height: auto;
}

.profile-section .profile-name {
  margin-bottom: 0.75rem;
}

.profile-section .profile-text {
  margin-bottom: 1rem !important;
}

.profile-section .profile-btn-wrapper {
  margin-top: 0.25rem;
}

.profile-content {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
}

.profile-detail-card {
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  max-width: 1120px;
  gap: 3.5rem;
}

.profile-info {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.profile-btn-wrapper {
  margin-top: 2rem;
}

@media (min-width: 1025px) {
  .profile-btn-wrapper {
    margin-top: auto;
  }
}

.profile-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 340px;
  justify-self: center;
  background-color: #ffffff;
  border: 2px solid var(--border-dark);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 6px 6px 0 var(--border-dark);
}

.profile-image {
  width: 100%;
  height: auto;
  display: block;
}

.profile-name {
  font-size: 1.8rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.profile-text {
  font-size: 1rem;
  color: var(--text-main);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.profile-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
  background-color: #ffffff;
  border: 2px solid var(--border-dark);
  border-radius: 12px;
  overflow: hidden;
}

.profile-table tr {
  border-bottom: 1px solid var(--border-color);
}

.profile-table tr:last-child {
  border-bottom: none;
}

.profile-table th, .profile-table td {
  padding: 1rem 1.5rem;
  text-align: left;
}

.profile-table th {
  font-weight: 800;
  color: var(--text-dark);
  background-color: var(--bg-secondary);
  width: 30%;
  border-right: 1px solid var(--border-color);
}

.profile-table td {
  color: var(--text-main);
}

/* ==========================================================================
   ACHIEVEMENTS Section
   ========================================================================== */
.achievements-section {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.achievement-card {
  background-color: #ffffff;
  border: 2px solid var(--border-dark);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 4px 4px 0 var(--border-dark);
  transition: var(--transition-smooth);
}

.achievement-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 8px 8px 0 var(--border-dark);
}

.achievement-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.achievement-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.achievement-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ==========================================================================
   PODCAST Section (Dual Spotify Episodes)
   ========================================================================== */
.podcast-section {
  background-color: #ffffff;
}
.podcast-show-card {
  max-width: 800px;
  margin: 0 auto 3rem auto;
  background-color: #ffffff;
  border: 2px solid var(--border-dark);
  border-radius: 20px;
  padding: 1.8rem;
  box-shadow: 6px 6px 0 var(--border-dark);
}

.episode-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.8rem;
  font-weight: 800;
  color: #ffffff;
  background-color: var(--spotify-green);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  border: 1px solid var(--border-dark);
  letter-spacing: 0.5px;
}

.spotify-iframe-wrapper {
  width: 100%;
}

.podcast-action-footer {
  text-align: center;
}

.btn-spotify-link {
  background-color: var(--spotify-green);
  color: #ffffff;
  border: 2px solid var(--border-dark);
  box-shadow: 4px 4px 0 var(--border-dark);
}

.btn-spotify-link:hover {
  background-color: var(--spotify-green-hover);
  color: #ffffff;
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--border-dark);
}

/* ==========================================================================
   GOODS Section (Suzuri Shop Items)
   ========================================================================== */
.goods-section {
  background-color: #ffffff;
}

.goods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.goods-card {
  background-color: var(--bg-secondary);
  border: 2px solid var(--border-dark);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 5px 5px 0 var(--border-dark);
}

.goods-img-wrapper {
  width: 100%;
  height: 280px;
  overflow: hidden;
  background-color: #ffffff;
  border-bottom: 2px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.goods-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.goods-card:hover .goods-img {
  transform: scale(1.05);
}

.goods-body {
  padding: 1.5rem;
}

.goods-name {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 0.3rem;
  height: 2.8em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.goods-price {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.goods-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  height: 4.8em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
}

.btn-goods-buy {
  background-color: var(--accent-yellow);
  color: var(--text-dark);
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
  width: 100%;
  border: 3px solid var(--border-dark);
  box-shadow: 4px 4px 0 var(--border-dark);
  transition: transform 0.15s cubic-bezier(0.175, 0.885, 0.32, 1.15), box-shadow 0.15s cubic-bezier(0.175, 0.885, 0.32, 1.15);
}

.btn-goods-buy:hover {
  background-color: var(--accent-yellow);
  color: var(--text-dark);
  transform: translate(-3px, -3px);
  box-shadow: 7px 7px 0 var(--border-dark);
}

.btn-goods-buy:active {
  transform: translate(1px, 1px);
  box-shadow: 2px 2px 0 var(--border-dark);
}

.goods-action-footer {
  text-align: center;
  margin-top: 3.5rem;
}

.btn-suzuri-shop {
  background-color: var(--accent-yellow);
  color: var(--text-dark);
  border: 3px solid var(--border-dark);
  box-shadow: 5px 5px 0 var(--border-dark);
  font-weight: 900;
  transition: transform 0.15s cubic-bezier(0.175, 0.885, 0.32, 1.15), box-shadow 0.15s cubic-bezier(0.175, 0.885, 0.32, 1.15);
}

.btn-suzuri-shop:hover {
  background-color: var(--accent-yellow);
  color: var(--text-dark);
  transform: translate(-3px, -3px);
  box-shadow: 8px 8px 0 var(--border-dark);
}

.btn-suzuri-shop:active {
  transform: translate(1px, 1px);
  box-shadow: 2px 2px 0 var(--border-dark);
}

/* ==========================================================================
   GAME REVIEWS Section
   ========================================================================== */
.reviews-section {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.reviews-placeholder-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.review-placeholder-card {
  display: flex;
  gap: 1.5rem;
  background-color: var(--bg-secondary);
  border: 2px solid var(--border-dark);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 4px 4px 0 var(--border-dark);
}

.review-game-img-dummy {
  width: 60px;
  height: 60px;
  background-color: #ffffff;
  border: 2px solid var(--border-dark);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
}

.review-game-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.review-game-memo {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   ILLUSTRATIONS & GALLERY Section
   ========================================================================== */
.illustrations-section {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.illustrations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  width: 100%;
}

@media (max-width: 1024px) {
  .illustrations-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .illustrations-grid {
    grid-template-columns: 1fr;
  }
}

.preview-card {
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  border: 3px solid var(--border-dark);
  border-radius: 10px;
  box-shadow: 5px 5px 0px var(--border-dark);
  overflow: hidden;
  cursor: pointer;
}

.preview-img-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  border-bottom: none; /* Removed bottom border since card titles are removed */
}

.preview-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.preview-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 0.3rem 0.8rem;
  font-size: 0.75rem;
  font-weight: 800;
  border-radius: 99px;
  border: 2px solid var(--border-dark);
  box-shadow: 2px 2px 0px var(--border-dark);
  color: var(--text-dark);
}

.badge-illust {
  background-color: #ffbde2; /* Pastel Pop Pink */
}

.badge-video {
  background-color: #a6e3e9; /* Pastel Pop Cyan */
}

.preview-info {
  padding: 1.2rem;
  text-align: center;
}

.preview-info h3 {
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--text-dark);
  margin: 0;
}

.gallery-action-footer {
  text-align: center;
  margin-top: 3.5rem;
  width: 100%;
}

.btn-gallery-more {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 900;
  text-decoration: none;
  background-color: var(--accent-yellow);
  color: var(--text-dark);
  border: 3px solid var(--border-dark);
  padding: 0.8rem 2rem;
  border-radius: 8px;
  box-shadow: 5px 5px 0px var(--border-dark);
  cursor: pointer;
  transition: transform 0.15s cubic-bezier(0.175, 0.885, 0.32, 1.15), box-shadow 0.15s cubic-bezier(0.175, 0.885, 0.32, 1.15);
}

.btn-gallery-more:hover {
  transform: translate(-3px, -3px);
  box-shadow: 8px 8px 0px var(--border-dark);
}

.btn-gallery-more:active {
  transform: translate(1px, 1px);
  box-shadow: 2px 2px 0px var(--border-dark);
}

/* ==========================================================================
   Gallery Subpage Layout & Lightbox
   ========================================================================== */
.subpage-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #f6f3e7;
  background-image: radial-gradient(#d3ceb7 12%, transparent 12%);
  background-size: 16px 16px;
  color: var(--text-dark);
}

.gallery-page-container {
  padding-top: 120px; /* Aligned with game review site padding */
  padding-bottom: 60px;
  flex: 1;
}

.gallery-page-container .section-container {
  padding-top: 1.5rem;
  padding-bottom: 3rem;
}

.gallery-page-container .section-header {
  margin-bottom: 2rem;
}

/* Breadcrumb Styling */
.breadcrumb {
  align-self: flex-start;
  display: flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--text-muted);
}

.breadcrumb-item {
  color: var(--text-dark);
  text-decoration: none;
  transition: var(--transition-fast);
}

.breadcrumb-item:hover {
  color: var(--accent-yellow-hover);
  text-decoration: underline;
}

.breadcrumb-separator {
  color: var(--text-muted);
  margin: 0 8px;
}

.breadcrumb-item.current {
  color: var(--text-muted);
  font-weight: 500;
}

/* Filter Controls */
.gallery-filter-area {
  margin-top: 1.5rem;
  margin-bottom: 2rem;
  text-align: center;
  width: 100%;
}

.filter-tabs {
  display: inline-flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  justify-content: center;
}

.filter-btn {
  background-color: #ffffff;
  border: 2.5px solid var(--border-dark);
  border-radius: 99px;
  padding: 0.5rem 1.8rem;
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 3px 3px 0px var(--border-dark);
  cursor: pointer;
  transition: all 0.15s cubic-bezier(0.175, 0.885, 0.32, 1.15);
}

.filter-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0px var(--border-dark);
}

.filter-btn.active {
  background-color: var(--accent-yellow);
  transform: translate(1px, 1px);
  box-shadow: 0.5px 0.5px 0px var(--border-dark);
}

/* Gallery Grid & Cards */
.gallery-grid {
  column-count: 4; /* Masonry multi-column layout to display different aspect ratios fully without cropping */
  column-gap: 2px; /* Seamless connection: almost no gap */
  width: 100%;
}

@media (max-width: 1024px) {
  .gallery-grid {
    column-count: 3;
  }
}

@media (max-width: 767px) {
  .gallery-grid {
    column-count: 2;
  }
}

.gallery-card {
  display: block; /* Works with column layout flow */
  width: 100%;
  break-inside: avoid; /* Prevents card from breaking across columns */
  margin-bottom: 2px; /* Seamless connection vertical gap */
  background-color: transparent; /* No frame background */
  border: none;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: transform 0.2s ease;
}

.gallery-card:hover {
  transform: scale(1.02); /* Subtle hover zoom */
  z-index: 10;
}

.card-image-box {
  position: relative;
  width: 100%;
  height: auto; /* Scales naturally with image aspect ratio */
  overflow: hidden;
  background-color: transparent;
  border: none;
}

.card-image-box img {
  width: 100%;
  height: auto; /* Scales naturally to show full illustration */
  display: block;
  transition: transform 0.3s ease;
}

.gallery-card.video .card-image-box {
  aspect-ratio: 16/9; /* Standard video aspect ratio so it doesn't collapse */
}

/* Hover overlay style */
.card-hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(17, 17, 17, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 8;
  padding: 1rem;
  box-sizing: border-box;
}

.gallery-card:hover .card-hover-overlay {
  opacity: 1;
}

.card-hover-title {
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 800;
  text-align: center;
  line-height: 1.4;
  font-family: var(--font-display);
}

/* Video specific overlays */
.video-thumbnail-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.video-play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.2s ease;
  z-index: 6;
}

.gallery-card:hover .video-play-overlay,
.preview-card:hover .video-play-overlay {
  background-color: rgba(0, 0, 0, 0.05);
}

.play-icon {
  width: 48px;
  height: 48px;
  background-color: var(--accent-yellow);
  color: var(--text-dark);
  border: 2px solid var(--border-dark);
  border-radius: 50%;
  box-shadow: 2px 2px 0px var(--border-dark);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.1rem;
  padding-left: 3px;
  transition: transform 0.15s ease;
}

.gallery-card:hover .play-icon {
  transform: scale(1.08);
}

.card-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 0.25rem 0.7rem;
  font-size: 0.7rem;
  font-weight: 800;
  border-radius: 99px;
  border: 1.5px solid var(--border-dark);
  box-shadow: 1.5px 1.5px 0px var(--border-dark);
  color: var(--text-dark);
  z-index: 12; /* Stays above overlay */
}

/* Deprecated grid content boxes */
.card-content-box {
  display: none;
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(17, 17, 17, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 3rem;
  color: #ffffff;
  cursor: pointer;
  background: transparent;
  border: none;
  outline: none;
  line-height: 1;
  transition: transform 0.2s ease, color 0.2s ease;
  z-index: 2100;
}

.lightbox-close:hover {
  color: var(--accent-yellow);
  transform: scale(1.1);
}

.lightbox-container {
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  border: 4px solid var(--border-dark);
  border-radius: 12px;
  box-shadow: 8px 8px 0px rgba(0, 0, 0, 0.5);
  max-width: 900px;
  width: 90%;
  max-height: 85%;
  overflow: hidden;
  animation: lightboxPop 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.15) forwards;
}

@keyframes lightboxPop {
  from {
    transform: scale(0.95);
  }
  to {
    transform: scale(1);
  }
}

.lightbox-media-box {
  width: 100%;
  background-color: #0b0b0b;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.lightbox-media-box.video-mode {
  aspect-ratio: 16/9;
}

.lightbox-media-box.image-mode {
  height: 60vh;
  max-height: 60vh;
}

.lightbox-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.lightbox-iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.lightbox-info-box {
  padding: 1.5rem;
  border-top: 3px solid var(--border-dark);
  background-color: #ffffff;
}

.lightbox-title {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--text-dark);
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.lightbox-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 576px) {
  .lightbox-info-box {
    padding: 1rem;
  }
  .lightbox-title {
    font-size: 1.1rem;
  }
  .lightbox-desc {
    font-size: 0.8rem;
  }
}

/* ==========================================================================
   BUSINESS Section
   ========================================================================== */
.business-section {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.business-content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem;
}

.business-card {
  background-color: var(--bg-secondary);
  border: 2px solid var(--border-dark);
  border-radius: 16px;
  padding: 1.75rem 2rem;
  box-shadow: 5px 5px 0 var(--border-dark);
}

.business-card-title {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
  position: relative;
  display: inline-block;
}

.business-card-title::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--accent-yellow);
}

.business-card-desc {
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.6;
}

/* ==========================================================================
   CONTACT Section
   ========================================================================== */
.btn-contact-page {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 900;
  text-decoration: none;
  background-color: var(--accent-yellow);
  color: var(--text-dark);
  border: 3px solid var(--border-dark);
  padding: 0.8rem 2.5rem;
  border-radius: 8px;
  box-shadow: 5px 5px 0px var(--border-dark);
  cursor: pointer;
  transition: transform 0.15s cubic-bezier(0.175, 0.885, 0.32, 1.15), box-shadow 0.15s cubic-bezier(0.175, 0.885, 0.32, 1.15);
}

.btn-contact-page:hover {
  transform: translate(-3px, -3px);
  box-shadow: 8px 8px 0px var(--border-dark);
}

.btn-contact-page:active {
  transform: translate(1px, 1px);
  box-shadow: 2px 2px 0px var(--border-dark);
}

.contact-section {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
}

.contact-form-wrapper {
  max-width: 680px;
  margin: 0 auto;
}

.contact-intro {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.contact-form {
  background-color: #ffffff;
  border: 2px solid var(--border-dark);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 6px 6px 0 var(--border-dark);
}

.form-group {
  margin-bottom: 1.8rem;
}

.form-group label {
  display: block;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
}

.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 1rem;
  border-radius: 8px;
  background-color: #ffffff;
  border: 2px solid var(--border-dark);
  color: var(--text-dark);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--accent-yellow-hover);
  box-shadow: 0 0 0 4px rgba(255, 212, 0, 0.25);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background-color: #ffffff;
  color: var(--text-main);
  padding: 3rem 2rem 2rem 2rem;
  border-top: 4px solid var(--accent-yellow);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
}

.footer-banner-link {
  display: block;
}

.footer-banner-image {
  display: block;
  width: 240px;
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

.index-footer-right {
  align-self: flex-end;
}

.footer-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.footer-social-links {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.footer-social-links a {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
}

.copyright {
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.6;
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--border-dark);
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  box-shadow: 3px 3px 0 var(--border-dark);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
  z-index: 99;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  background-color: var(--accent-yellow);
  transform: translateY(-3px);
  box-shadow: 5px 5px 0 var(--border-dark);
}

/* Toast Notification */
.toast-notification {
  position: fixed;
  bottom: 2.5rem;
  left: 50%;
  transform: translate(-50%, 40px);
  background: #ffffff;
  border: 2px solid var(--border-dark);
  box-shadow: 4px 4px 0 var(--border-dark);
  padding: 0.8rem 2rem;
  border-radius: 8px;
  color: var(--text-dark);
  font-weight: 800;
  font-size: 0.9rem;
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
  pointer-events: none;
  z-index: 3000;
}

.toast-notification.show {
  transform: translate(-50%, 0);
  opacity: 1;
}

/* ==========================================================================
   Responsive Media Queries
   ========================================================================== */
@media (max-width: 1140px) {
  .profile-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .profile-section .profile-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .profile-image-wrapper {
    max-width: 320px;
    margin: 0 auto;
    justify-self: center;
  }
  
  .business-content-grid {
    grid-template-columns: 1fr;
  }
  

  /* Switch mobile navbar at 1024px to horizontal scroll instead of hamburger toggle */
  .nav-container {
    flex-direction: column !important;
    align-items: center !important;
    padding: 0.6rem 1rem !important;
    gap: 0.6rem !important;
  }

  .nav-links {
    display: flex !important;
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    flex-direction: row !important;
    padding: 0 4px !important;
    width: 100% !important;
    justify-content: flex-start !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 0.4rem !important;
    border-bottom: none !important;
    z-index: 1 !important;
    scrollbar-width: none !important; /* Hide scrollbar for Firefox */
  }

  .nav-links::-webkit-scrollbar {
    display: none !important; /* Hide scrollbar for Chrome/Safari */
  }

  .nav-link {
    padding: 0.3rem 0.8rem !important;
    font-size: 0.8rem !important;
    flex-shrink: 0 !important;
  }

  .menu-toggle {
    display: none !important;
  }

  .nav-socials {
    display: none !important;
  }
  
  .mobile-socials {
    display: none !important;
  }

  .hero-banner-section {
    margin-top: 112px !important;
  }

  .gallery-page-container {
    padding-top: 140px !important;
  }
}

@media (max-width: 768px) {
  .banner-wrapper {
    height: 320px;
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
  }
  
  .goods-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .banner-wrapper {
    height: 240px;
  }
  
  .profile-table th {
    width: 40%;
  }
}

/* Custom social links inside mobile menu drawer */
.mobile-socials {
  display: none;
}

/* Hamburger transition to X when active */
.menu-toggle.active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Goods Section Description */
.goods-intro-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-top: 1.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.suzuri-text-link {
  color: var(--text-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: var(--transition-fast);
}

.suzuri-text-link:hover {
  color: var(--accent-yellow-hover);
}

/* 画像のドラッグやiOSの長押しメニューを禁止し、保存しにくくする */
img {
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  user-select: none;
  -webkit-user-select: none;
}

/* Responsiveness for mobile socials handled in max-width 1024px query */


/* ==========================================================================
   Music Card & Audio Lightbox Styling
   ========================================================================== */
.music-card-bg {
  background: linear-gradient(135deg, var(--accent-yellow), #ff9900) !important;
  display: flex !important;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  color: var(--text-dark);
  text-align: center;
  padding: 1.5rem;
  box-sizing: border-box;
}

.music-card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  position: relative;
}

.music-icon-disc {
  font-size: 3.5rem;
  margin-bottom: 0.5rem;
  animation: spinDisc 6s linear infinite;
  display: inline-block;
  filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.15));
}

@keyframes spinDisc {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.music-card-title-label {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 900;
  margin-bottom: 0.3rem;
  word-break: break-all;
  color: var(--text-dark);
}

.music-card-desc-label {
  font-size: 0.8rem;
  color: #111111;
  font-weight: 600;
  opacity: 0.8;
}

/* Audio Player Container in Lightbox */
.audio-player-container {
  width: 100%;
  padding: 2rem 2.5rem;
  box-sizing: border-box;
  background-color: var(--bg-secondary);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  color: var(--text-dark);
}
.audio-disc-animation {
  font-size: 4.5rem;
  animation: spinDisc 4s linear infinite;
  animation-play-state: paused;
  filter: drop-shadow(2px 4px 8px rgba(0, 0, 0, 0.2));
}

.audio-disc-animation.playing {
  animation-play-state: running;
}

.audio-info-title {
  font-size: 1.4rem;
  font-weight: 900;
  font-family: var(--font-display);
  color: var(--text-dark);
  margin-top: 0.5rem;
}

.audio-info-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.custom-audio-controls {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.custom-audio-controls audio {
  width: 100%;
  border-radius: 8px;
  outline: none;
}

/* Lyrics Box in Lightbox */
.lightbox-lyrics-box {
  width: 100%;
  background-color: #ffffff;
  border-top: 3px solid var(--border-dark);
  padding: 1.8rem;
  box-sizing: border-box;
  max-height: 250px;
  overflow-y: auto;
}

.lyrics-title {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 0.8rem;
  border-bottom: 3px solid var(--accent-yellow);
  display: inline-block;
  padding-bottom: 2px;
}

.lyrics-content {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.8;
  margin: 0;
  white-space: pre-wrap;
  word-wrap: break-word;
  text-align: center;
}

/* Side-by-side layout for audio/lyrics inside Lightbox */
.lightbox-container.audio-layout {
  flex-direction: row;
  max-width: 900px;
  width: 90%;
  align-items: stretch;
}

.lightbox-container.audio-layout .lightbox-media-box {
  width: 50%;
  flex-shrink: 0;
  background-color: var(--bg-secondary);
}

.lightbox-container.audio-layout .lightbox-lyrics-box {
  width: 50%;
  border-top: none;
  border-left: 3px solid var(--border-dark);
  max-height: none;
  height: auto;
  display: flex;
  flex-direction: column;
  padding: 1.8rem;
  box-sizing: border-box;
  background-color: #ffffff;
}

/* Responsive styling for mobile */
@media (max-width: 768px) {
  .lightbox-container.audio-layout {
    flex-direction: column;
    max-height: 85%;
  }
  
  .lightbox-container.audio-layout .lightbox-media-box {
    width: 100%;
  }
  
  .lightbox-container.audio-layout .lightbox-lyrics-box {
    width: 100%;
    border-left: none;
    border-top: 3px solid var(--border-dark);
    max-height: 250px;
  }
}

/* ==========================================================================
   PROFILE ADDITIONS (Values & History)
   ========================================================================== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.value-card {
  background-color: #ffffff;
  border: 3px solid var(--border-dark);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 6px 6px 0 var(--border-dark);
  text-align: center;
}

.value-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.value-title {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 0.8rem;
}

.value-desc {
  font-size: 0.9rem;
  color: var(--text-main);
  line-height: 1.6;
}

/* History Timeline styles */
.history-list {
  background-color: #ffffff;
  border: 3px solid var(--border-dark);
  border-radius: 16px;
  padding: 1.5rem 2.5rem;
  box-shadow: 6px 6px 0 var(--border-dark);
  max-width: 550px;
  margin: 0 auto;
}

.history-item {
  display: flex;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px dashed var(--border-color);
}

.history-item:last-child {
  border-bottom: none;
}

.history-date {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--text-dark);
  width: 100px;
  flex-shrink: 0;
}

.history-event {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
}

.history-badge {
  display: inline-flex;
  align-items: center;
  margin-left: 0.45rem;
  padding: 0.1rem 0.4rem;
  border: 1px solid #d8bd88;
  border-radius: 999px;
  background: #fff8e8;
  color: #8a7040;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  vertical-align: middle;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .values-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .history-list {
    padding: 1rem 1.5rem;
  }
  .history-item {
    padding: 0.5rem 0;
  }
  .history-date {
    width: 80px;
    font-size: 0.85rem;
  }
  .history-event {
    font-size: 0.9rem;
  }
}

/* Sub grid for Info and Favorite Games */
.profile-sub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .profile-sub-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.sub-info-card {
  background: #ffffff;
  padding: 2rem;
  border: 3px solid var(--border-dark);
  border-radius: 12px;
  box-shadow: 6px 6px 0 var(--border-dark);
  display: flex;
  flex-direction: column;
}

.sub-card-title {
  font-size: 1.8rem;
  font-weight: 900;
  margin-bottom: 1.2rem;
  border-bottom: 2px solid var(--border-dark);
  padding-bottom: 0.5rem;
  color: var(--text-dark);
  text-align: center;
}

/* Favorite Games Cards */
.fav-games-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  flex-grow: 1;
}

.fav-game-card {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  background-color: var(--bg-secondary);
  border: 2.5px solid var(--border-dark);
  border-radius: 12px;
  padding: 0.8rem;
  box-shadow: 4px 4px 0 var(--border-dark);
  flex: 1;
  align-items: center;
}

.fav-game-link {
  width: 120px;
  height: 68px;
  display: block;
  border: 2px solid var(--border-dark);
  border-radius: 6px;
  flex-shrink: 0;
  overflow: hidden;
}

.fav-game-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fav-game-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.fav-game-title {
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 0.2rem;
  margin-top: 0;
}

.fav-game-desc {
  font-size: 0.75rem;
  color: var(--text-main);
  line-height: 1.4;
  margin: 0;
}

@media (max-width: 480px) {
  .fav-game-card {
    flex-direction: column;
    align-items: stretch;
    gap: 0.8rem;
  }
  .fav-game-link {
    width: 100%;
    height: auto;
    aspect-ratio: 460 / 215;
  }
}

/* History Subtitle */
.history-subtitle {
  font-size: 0.85rem;
  color: var(--text-main);
  text-align: center;
  margin-top: -0.8rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

/* INFO List Refresh (Simple flat layout) */
.info-details-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex-grow: 1;
  justify-content: space-around;
}

.info-detail-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0.6rem 0;
  border-bottom: 1.5px dashed var(--border-color);
}

.info-detail-row:last-child {
  border-bottom: none;
}

.info-detail-label {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text-dark);
  width: 140px;
  flex-shrink: 0;
}

.info-detail-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  text-align: left;
}

@media (max-width: 480px) {
  .info-detail-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
  }
  .info-detail-label {
    width: auto;
  }
  .info-detail-value {
    text-align: left;
    margin-left: 0;
    font-size: 0.9rem;
  }
}

/* Clearer background contrast on the homepage. */
.homepage .reviews-section,
.homepage .business-section {
  background-color: #eceef1;
  border-top-color: #c7cbd1;
  border-bottom-color: #c7cbd1;
}
.homepage .illustrations-section,
.homepage .contact-section {
  background-color: #eceef1;
  border-top-color: #c7cbd1;
  border-bottom-color: #c7cbd1;
}
.homepage .slide-blur-bg {
  filter: blur(12px) brightness(1.15) opacity(0.5);
}




/* Separate the adjacent business and contact sections. */
.homepage .contact-section {
  background-color: #fff;
}

/* Equal spacing around the homepage profile description. */
.homepage .profile-section .profile-info {
  gap: 1.75rem;
}
.homepage .profile-section .profile-name,
.homepage .profile-section .profile-text,
.homepage .profile-section .profile-btn-wrapper {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
