/* ============================================================
 * MELIVILLOSA — styles.css
 * Aesthetic: pixel-art × pastel pink × sticker icons
 * Matches reference image: brown storyboard, pink hero, magenta illustrations
 * ============================================================ */

/* ============================================================
   0. BASE RESET
   ============================================================ */
[hidden] { display: none !important; }

/* ============================================================
   1. DESIGN TOKENS
   ============================================================ */
:root {
  /* Pinks */
  --pink-bg-top:    #FFEEDF;          /* cream top */
  --pink-bg-mid:    #FFD9E5;          /* mid */
  --pink-bg-bot:    #FFB6CC;          /* bottom */
  --pink-lightest:  #FFF0F7;
  --pink-light:     #FDE8F0;
  --pink-mid:       #F5A8C8;
  --pink-hot:       #E8559A;
  --pink-magenta:   #C73A7E;
  --pink-dark:      #B8306A;
  --pink-deeper:    #8A1F4E;

  /* Browns for storyboard window */
  --brown:          #8B5A3C;
  --brown-mid:      #A66D4A;
  --brown-light:    #C4875A;
  --brown-cream:    #F5E0CC;

  /* Title accent (orange shadow) */
  --title-orange:   #E89B3D;
  --title-shadow:   #B8651E;

  /* Sticker colors */
  --sticker-yellow: #FFE066;
  --sticker-blue:   #A8D8E8;
  --sticker-red:    #F08C8C;
  --sticker-green:  #A8E6CF;
  --sticker-purple: #B388EB;

  --text-dark:      #3D2817;
  --text-mid:       #7A4060;
  --text-light:     #B888A0;
  --shadow:         rgba(180, 40, 100, 0.22);
  --shadow-dark:    rgba(61, 40, 23, 0.3);

  /* Fonts */
  --font-pixel:     'Press Start 2P', monospace;
  --font-body:      'Nunito', sans-serif;

  /* Radii */
  --radius-sm:      6px;
  --radius-md:      10px;
  --radius-lg:      14px;
  --container:      1100px;
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  min-height: 100vh;
  color: var(--text-dark);
  overflow-x: hidden;
  line-height: 1.5;
  /* Vertical gradient like the reference image */
  background: linear-gradient(to bottom, var(--pink-bg-top) 0%, var(--pink-bg-mid) 40%, var(--pink-bg-bot) 100%);
  background-attachment: fixed;
  /* Grid pattern overlay */
  position: relative;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg,  transparent, transparent 29px, rgba(232,85,154,0.08) 30px),
    repeating-linear-gradient(90deg, transparent, transparent 29px, rgba(232,85,154,0.08) 30px);
  pointer-events: none;
  z-index: 0;
}
body > * { position: relative; z-index: 1; }

img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: none; background: none; }
a { color: inherit; text-decoration: none; }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--pink-light); }
::-webkit-scrollbar-thumb { background: var(--pink-hot); border-radius: 4px; }

/* ============================================================
   3. MINI TOPBAR (only language + hamburger)
   ============================================================ */
.mini-topbar {
  position: absolute;
  top: 14px; right: 14px;
  left: 14px;
  z-index: 100;
  display: flex;
  justify-content: flex-end;
}
.mini-topbar-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* Account buttons (login / register) */
.account-actions {
  display: flex;
  gap: 8px;
}
.account-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}
.account-greeting {
  font-family: var(--font-pixel);
  font-size: 6.5px;
  color: var(--pink-dark);
  white-space: nowrap;
}
.account-btn {
  font-family: var(--font-pixel);
  font-size: 6.5px;
  padding: 9px 12px;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.12s;
  border: 1.5px solid var(--pink-hot);
  line-height: 1;
  cursor: pointer;
}
.login-btn {
  background: white;
  color: var(--pink-hot);
  box-shadow: 2px 2px 0 var(--shadow);
}
.login-btn:hover {
  background: var(--pink-light);
  transform: translateY(-1px);
}
.register-btn {
  background: var(--pink-hot);
  color: white;
  box-shadow: 2px 2px 0 var(--shadow);
}
.register-btn:hover {
  background: var(--pink-dark);
  transform: translateY(-1px);
}
.logout-btn {
  background: white;
  color: var(--pink-dark);
}
.logout-btn:hover { background: var(--pink-light); }

/* Drawer account links (mobile) */
.drawer-account {
  background: var(--pink-light) !important;
  color: var(--pink-hot) !important;
  font-weight: bold;
}

@media (max-width: 600px) {
  .account-actions .login-btn span,
  .account-actions { gap: 6px; }
  .account-btn { font-size: 5.5px; padding: 8px 9px; }
}

.lang-toggle {
  display: flex;
  border: 1.5px solid var(--pink-hot);
  border-radius: 8px;
  overflow: hidden;
  background: white;
  box-shadow: 2px 2px 0 var(--shadow);
}
.lang-btn {
  font-family: var(--font-pixel);
  font-size: 7px;
  padding: 8px 11px;
  background: white;
  color: var(--pink-dark);
  transition: background 0.12s, color 0.12s;
  line-height: 1;
}
.lang-btn.active { background: var(--pink-hot); color: white; }
.lang-btn:hover:not(.active) { background: var(--pink-light); }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 36px;
  height: 36px;
  background: white;
  border: 1.5px solid var(--pink-hot);
  border-radius: 7px;
  padding: 8px 7px;
  box-shadow: 2px 2px 0 var(--shadow);
}
.hamburger span {
  display: block;
  height: 2.5px;
  width: 100%;
  background: var(--pink-hot);
  border-radius: 1px;
  transition: transform 0.25s, opacity 0.2s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-drawer {
  display: none;
  position: absolute;
  top: 50px; right: 0;
  flex-direction: column;
  background: white;
  border: 2px solid var(--pink-hot);
  border-radius: 10px;
  box-shadow: 4px 4px 0 var(--shadow);
  min-width: 200px;
  overflow: hidden;
}
.mobile-drawer.open { display: flex; }
.mobile-drawer a {
  font-family: var(--font-pixel);
  font-size: 8px;
  color: var(--pink-dark);
  padding: 12px 16px;
  border-bottom: 1px dashed var(--pink-mid);
  transition: background 0.1s;
}
.mobile-drawer a:hover { background: var(--pink-light); color: var(--pink-hot); }
.mobile-drawer a:last-child { border-bottom: none; }

/* ============================================================
   4. HERO
   ============================================================ */
#hero {
  padding: 70px 20px 50px;
  position: relative;
}
.hero-wrap {
  max-width: var(--container);
  margin: 0 auto;
}

/* Title — pixel style with orange shadow */
.hero-title-block {
  text-align: center;
  margin-bottom: 20px;
}
.site-title {
  font-family: var(--font-pixel);
  font-size: clamp(34px, 6.5vw, 64px);
  color: var(--pink-hot);
  text-shadow:
    3px 3px 0 var(--title-orange),
    5px 5px 0 var(--title-shadow),
    8px 8px 0 rgba(184, 101, 30, 0.18);
  letter-spacing: 3px;
  font-weight: normal;
  line-height: 1.5;
  animation: titleBounce 0.55s cubic-bezier(.36,.07,.19,.97) both;
}
@keyframes titleBounce {
  0%   { transform: translateY(-20px) scale(0.95); opacity: 0; }
  60%  { transform: translateY(4px) scale(1.02); }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}
.site-subtitle {
  font-family: var(--font-pixel);
  font-size: clamp(10px, 1.6vw, 14px);
  color: var(--text-dark);
  margin-top: 14px;
  letter-spacing: 2px;
}

/* Hero row: 3 columns */
.hero-row {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  gap: 18px;
  align-items: start;
  margin: 32px 0;
}

/* ============================================================
   5. WINDOWS — three different styles
   ============================================================ */

/* STORYBOARDS GIF */
.hero-window-img {
  width: 100%;
  display: block;
  border-radius: 8px;
  transform: rotate(-1deg);
  transition: transform 0.2s, box-shadow 0.2s;
}
.window-link:hover .hero-window-img {
  transform: rotate(-1deg) translateY(-5px) scale(1.02);
  box-shadow: 7px 8px 0 rgba(142, 68, 173, 0.5);
}
.hero-window-img--right { transform: rotate(1.5deg); }
.window-link:hover .hero-window-img--right {
  transform: rotate(1.5deg) translateY(-5px) scale(1.02);
}

/* BROWN WINDOW (Storyboards) */
.window-brown {
  background: #8E44AD;
  border: 3px solid var(--pink-hot);
  border-radius: 8px;
  box-shadow: 5px 5px 0 rgba(142, 68, 173, 0.4);
  overflow: hidden;
  transform: rotate(-1deg);
  transition: transform 0.2s;
}
.window-brown:hover { transform: rotate(-1deg) translateY(-3px); }
.win-bar-brown {
  background: var(--pink-hot);
  padding: 5px 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.win-bar-title-brown {
  font-family: var(--font-pixel);
  font-size: 6px;
  color: white;
  letter-spacing: 0.5px;
}
.win-body-brown {
  background: #8E44AD;
  padding: 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.brown-label {
  display: inline-block;
  font-family: var(--font-pixel);
  font-size: 11px;
  color: white;
  background: var(--pink-hot);
  padding: 8px 14px;
  border-radius: 6px;
  margin-bottom: 12px;
  font-weight: normal;
  box-shadow: 2px 2px 0 rgba(0,0,0,0.15);
}
.sb-frames {
  display: flex;
  gap: 4px;
  justify-content: center;
}
.sb-frame {
  width: 52px;
  height: 44px;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid var(--pink-hot);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-size: 18px;
  color: white;
  transition: background 0.15s, transform 0.15s;
}
.sb-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sb-frame:hover { background: rgba(255,255,255,0.25); transform: scale(1.05); }

/* PINK WINDOW (Character) */
.window-pink {
  background: white;
  border: 3px solid var(--pink-hot);
  border-radius: 8px;
  box-shadow: 6px 6px 0 var(--shadow);
  overflow: visible;
  position: relative;
}
.win-bar-pink {
  background: var(--pink-hot);
  padding: 5px 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 18px;
  border-radius: 5px 5px 0 0;
}
.win-body-pink {
  background: white;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 16px;
  overflow: hidden;
}
.character-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--pink-mid);
}
.character-placeholder i { font-size: 90px; }
.character-placeholder span {
  font-family: var(--font-pixel);
  font-size: 6px;
  text-align: center;
  letter-spacing: 1px;
}
.character-img {
  max-width: 110%;
  max-height: 320px;
  object-fit: contain;
  position: relative;
  z-index: 2;
  /* Character extends slightly beyond top — like the reference */
  margin-top: -40px;
  margin-bottom: -16px;
}

/* MAGENTA WINDOW (Illustrations) */
.window-magenta {
  background: white;
  border: 3px solid var(--pink-magenta);
  border-radius: 6px;
  box-shadow: 4px 4px 0 rgba(199,58,126,0.3);
  overflow: hidden;
  transform: rotate(1.5deg);
  transition: transform 0.2s;
}
.window-magenta:hover { transform: rotate(1.5deg) translateY(-3px); }
.win-bar-magenta {
  background: var(--pink-magenta);
  padding: 4px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.win-bar-title-magenta {
  font-family: var(--font-pixel);
  font-size: 5.5px;
  color: white;
  letter-spacing: 0.5px;
}
.win-menu-magenta {
  background: white;
  padding: 3px 8px;
  font-family: var(--font-pixel);
  font-size: 5px;
  color: var(--pink-magenta);
  border-bottom: 1px solid #f0c0d0;
  letter-spacing: 1px;
}
.win-body-magenta {
  background: #f9e8f0;
  padding: 0;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  position: relative;
  overflow: hidden;
}
.magenta-toolbar-left {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 8px 5px;
  background: rgba(255,255,255,0.85);
  border-right: 1px solid #f0c0d0;
  font-size: 8px;
  color: var(--pink-magenta);
  align-items: center;
}
.magenta-canvas {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.latest-img {
  width: 100%;
  flex: 1;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.magenta-toolbar {
  display: flex;
  gap: 6px;
  background: rgba(255,255,255,0.8);
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid var(--pink-magenta);
  font-size: 9px;
  color: var(--pink-magenta);
}

/* Mini window dots */
.win-dots-mini {
  display: flex;
  gap: 3px;
  align-items: center;
}
.win-dots-mini span {
  display: inline-block;
  font-family: monospace;
  font-size: 9px;
  color: rgba(255,255,255,0.9);
  line-height: 1;
}
.win-dots-mini span::before { content: '— □'; letter-spacing: 2px; }
.win-dots-mini span.x::before { content: '×'; font-size: 13px; }

/* ============================================================
   6. STICKER NAV (6 colored icons)
   ============================================================ */
.sticker-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin: 40px 0 22px;
  flex-wrap: wrap;
}
.sticker {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: transform 0.18s;
}
.sticker:hover { transform: translateY(-6px) rotate(-2deg); }
.sticker.active { transform: translateY(-3px) scale(1.05); }
.sticker-icon {
  width: 78px;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(2px 3px 0 rgba(61,40,23,0.18));
  transition: filter 0.15s;
}
.sticker:hover .sticker-icon { filter: drop-shadow(3px 5px 0 rgba(61,40,23,0.25)); }
.sticker-icon svg {
  width: 100%;
  height: 100%;
}
.sticker-png {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.sticker-label {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  color: var(--pink-magenta);
  text-shadow: 1.5px 1.5px 0 white, 2.5px 2.5px 0 rgba(199,58,126,0.25);
  letter-spacing: 0.5px;
}

/* ============================================================
   7. SOCIAL ICONS ROW (bottom)
   ============================================================ */
.social-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.soc {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--pink-magenta);
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  border: 2px solid rgba(199, 58, 126, 0.25);
  transition: all 0.15s;
  /* Fallback text si Font Awesome no carga */
  text-decoration: none;
}
.soc:hover {
  transform: translateY(-4px) scale(1.1);
  color: white;
  background: var(--pink-hot);
  border-color: var(--pink-dark);
  box-shadow: 2px 4px 0 rgba(184, 48, 106, 0.25);
}
/* Visible label on hover (accessibility) */
.soc::after {
  content: attr(aria-label);
  position: absolute;
  bottom: -22px;
  font-family: var(--font-pixel);
  font-size: 6px;
  color: var(--pink-dark);
  opacity: 0;
  transition: opacity 0.15s;
  pointer-events: none;
  white-space: nowrap;
}
.soc { position: relative; }
.soc:hover::after { opacity: 1; }

/* ============================================================
   8. PAGE SECTIONS (open on sticker click)
   ============================================================ */
.page-section {
  display: none;
  max-width: var(--container);
  margin: 24px auto 0;
  padding: 0 20px 40px;
  animation: sectionFadeIn 0.25s ease both;
}
@keyframes sectionFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.page-section.visible { display: block; }

.section-window {
  background: rgba(255,245,250,0.97);
  border: 2.5px solid var(--pink-hot);
  border-radius: var(--radius-lg);
  box-shadow: 6px 6px 0 var(--shadow);
  overflow: hidden;
}
.section-win-bar {
  background: var(--pink-hot);
  padding: 7px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.section-win-title {
  font-family: var(--font-pixel);
  font-size: 8px;
  color: white;
  letter-spacing: 0.5px;
}
.x-btn {
  font-family: monospace;
  font-size: 14px;
  color: white;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.15);
  border-radius: 3px;
  transition: background 0.1s;
  line-height: 1;
}
.x-btn:hover { background: rgba(0,0,0,0.3); }

.section-body { padding: 28px; }

.section-heading {
  font-family: var(--font-pixel);
  font-size: 14px;
  color: var(--pink-hot);
  text-shadow: 2px 2px 0 var(--pink-dark);
  margin-bottom: 12px;
  font-weight: normal;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-heading::after {
  content: '';
  flex: 1;
  height: 2px;
  background: linear-gradient(to right, var(--pink-mid), transparent);
}
.section-intro {
  font-size: 14px;
  color: var(--text-mid);
  margin-bottom: 24px;
  line-height: 1.7;
}
.subheading {
  font-family: var(--font-pixel);
  font-size: 9px;
  color: var(--pink-dark);
  margin: 28px 0 14px;
  font-weight: normal;
}

/* ============================================================
   9. SHOP
   ============================================================ */
.cart-summary {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--pink-hot);
  color: white;
  padding: 10px 16px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  box-shadow: 4px 4px 0 var(--shadow);
  z-index: 200;
  animation: cartPop 0.25s ease both;
}
@keyframes cartPop {
  from { transform: scale(0.6); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.cart-summary i { font-size: 18px; }
.cart-count {
  font-family: var(--font-pixel);
  font-size: 11px;
  background: white;
  color: var(--pink-hot);
  padding: 4px 8px;
  border-radius: 50%;
  min-width: 26px;
  text-align: center;
}
.cart-checkout-btn {
  font-family: var(--font-pixel);
  font-size: 7px;
  background: white;
  color: var(--pink-hot);
  padding: 8px 12px;
  border-radius: 20px;
  transition: background 0.12s, color 0.12s;
}
.cart-checkout-btn:hover { background: var(--pink-dark); color: white; }

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}
.shop-card {
  background: white;
  border: 2px solid var(--pink-mid);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.shop-card:hover {
  transform: translateY(-4px);
  border-color: var(--pink-hot);
  box-shadow: 4px 6px 0 var(--shadow);
}
.shop-img-wrap {
  position: relative;
  height: 170px;
  overflow: hidden;
  border-bottom: 1.5px solid var(--pink-mid);
}
.shop-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.shop-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  color: var(--pink-mid);
}
.shop-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-family: var(--font-pixel);
  font-size: 6px;
  padding: 4px 8px;
  border-radius: 5px;
  letter-spacing: 0.5px;
}
.shop-badge.digital { background: var(--sticker-blue); color: #1a4a5e; border: 1px solid #6ab; }
.shop-badge.physical { background: var(--sticker-yellow); color: #7A5500; border: 1px solid #c4a000; }
.shop-badge.bundle { background: var(--sticker-purple); color: white; border: 1px solid #8050cf; }

.shop-info {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.shop-name {
  font-family: var(--font-pixel);
  font-size: 8px;
  color: var(--pink-dark);
  line-height: 1.7;
  font-weight: normal;
}
.shop-desc {
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.6;
  flex: 1;
}
.shop-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 4px;
}
.shop-price {
  font-family: var(--font-pixel);
  font-size: 10px;
  color: var(--pink-hot);
}
.shop-currency {
  font-family: var(--font-pixel);
  font-size: 8px;
  margin-left: 3px;
  color: var(--pink-dark);
  vertical-align: middle;
}
.add-cart-btn {
  font-family: var(--font-pixel);
  font-size: 6.5px;
  padding: 8px 11px;
  background: var(--pink-hot);
  color: white;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: background 0.12s, transform 0.1s;
}
.add-cart-btn:hover { background: var(--pink-dark); transform: scale(0.96); }
.add-cart-btn.added {
  background: #7DD68A;
  pointer-events: none;
}

.shop-alt {
  margin-top: 28px;
  text-align: center;
  font-size: 13px;
  color: var(--text-mid);
}
.shop-alt a {
  color: var(--pink-hot);
  font-weight: 700;
  margin-left: 6px;
}
.shop-alt a:hover { text-decoration: underline; }

/* ============================================================
   10. TOOLS / COMMISSIONS
   ============================================================ */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: white;
  border: 1.5px solid var(--pink-mid);
  border-radius: 30px;
  padding: 10px 18px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.status-dot.open {
  background: #7DD68A;
  box-shadow: 0 0 6px rgba(125,214,138,0.7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 6px rgba(125,214,138,0.7); }
  50%       { box-shadow: 0 0 14px rgba(125,214,138,1); }
}
.status-text {
  font-family: var(--font-pixel);
  font-size: 8px;
  color: var(--text-dark);
}
.status-meta {
  font-size: 11px;
  color: var(--text-light);
  margin-left: 4px;
}

.comm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}
.comm-card {
  border-radius: 14px;
  padding: 22px;
  background: white;
  border: 2px solid var(--pink-mid);
  transition: transform 0.15s, box-shadow 0.15s;
  position: relative;
}
.comm-card.featured {
  border-color: var(--pink-hot);
  background: linear-gradient(160deg, var(--pink-lightest), white);
  border-width: 2.5px;
}
.comm-card:hover {
  transform: translateY(-3px);
  box-shadow: 4px 6px 0 var(--shadow);
}
.comm-tier {
  font-family: var(--font-pixel);
  font-size: 9px;
  color: var(--pink-hot);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.comm-price-big {
  font-family: var(--font-pixel);
  font-size: 20px;
  color: var(--pink-hot);
  margin-bottom: 18px;
}
.comm-price-big span {
  font-size: 9px;
  margin-left: 6px;
  color: var(--pink-dark);
}
.comm-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.comm-features li {
  font-size: 13px;
  color: var(--text-mid);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.comm-features li::before {
  content: '▸';
  color: var(--pink-hot);
  flex-shrink: 0;
  margin-top: 2px;
}
.comm-actions { display: flex; flex-direction: column; gap: 8px; }
.comm-cta-primary {
  font-family: var(--font-pixel);
  font-size: 7px;
  padding: 12px;
  background: #635BFF;
  color: white;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.12s, transform 0.1s;
}
.comm-cta-primary:hover { background: #4A45D6; transform: scale(0.98); }
.comm-cta-secondary {
  font-family: var(--font-pixel);
  font-size: 6.5px;
  padding: 10px;
  background: white;
  color: var(--pink-hot);
  border: 1.5px solid var(--pink-hot);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background 0.12s, color 0.12s;
}
.comm-cta-secondary:hover { background: var(--pink-light); }

.comm-card.coming-soon {
  background: rgba(255,255,255,0.5);
  border-style: dashed;
  border-color: var(--text-light);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 200px;
}
.comm-card.coming-soon .comm-tier {
  color: var(--text-light);
  justify-content: center;
}
.coming-soon-tag {
  position: absolute;
  top: -10px;
  right: 14px;
  background: var(--sticker-yellow);
  color: #7A5500;
  font-family: var(--font-pixel);
  font-size: 6px;
  padding: 5px 9px;
  border-radius: 6px;
  border: 1.5px solid #c4a000;
  transform: rotate(3deg);
}
.coming-soon-msg {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 8px;
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--pink-mid);
  padding: 14px 0;
}
.faq-item summary {
  font-weight: 700;
  font-size: 13px;
  color: var(--text-dark);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '▾';
  color: var(--pink-hot);
  transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-item p {
  font-size: 12px;
  color: var(--text-mid);
  line-height: 1.7;
  padding-top: 8px;
}

/* ============================================================
   11. EVENTS
   ============================================================ */
.event-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.event-tab {
  font-family: var(--font-pixel);
  font-size: 7px;
  padding: 8px 13px;
  background: white;
  color: var(--pink-dark);
  border: 1.5px solid var(--pink-mid);
  border-radius: 6px;
  transition: all 0.12s;
}
.event-tab:hover { background: var(--pink-light); }
.event-tab.active {
  background: var(--pink-hot);
  color: white;
  border-color: var(--pink-dark);
}

.events-list { display: flex; flex-direction: column; gap: 12px; }
.event-card {
  display: flex;
  gap: 16px;
  align-items: center;
  background: white;
  border: 2px solid var(--pink-mid);
  border-radius: 10px;
  padding: 14px 16px;
  transition: transform 0.12s, box-shadow 0.12s;
}
.event-card:hover {
  transform: translateX(4px);
  box-shadow: 3px 4px 0 var(--shadow);
}
.event-date {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  background: var(--pink-hot);
  color: white;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-pixel);
}
.event-date.past { background: var(--text-light); }
.event-date .month { font-size: 5.5px; margin-bottom: 4px; opacity: 0.85; }
.event-date .day { font-size: 16px; line-height: 1; }
.event-info { flex: 1; }
.event-name {
  font-family: var(--font-pixel);
  font-size: 9px;
  color: var(--pink-dark);
  margin-bottom: 6px;
  font-weight: normal;
  line-height: 1.7;
}
.event-details {
  font-size: 12px;
  color: var(--text-mid);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.dot-sep { color: var(--text-light); }
.event-tag {
  flex-shrink: 0;
  font-family: var(--font-pixel);
  font-size: 6px;
  padding: 5px 8px;
  border-radius: 5px;
  letter-spacing: 0.5px;
}
.event-tag.upcoming { background: var(--pink-light); color: var(--pink-hot); border: 1px solid var(--pink-mid); }
.event-tag.past { background: #E8F5E8; color: #3a7d44; border: 1px solid #b8dabd; }

.events-note {
  margin-top: 20px;
  font-size: 13px;
  color: var(--text-light);
  text-align: center;
}

/* ============================================================
   12. COMICS
   ============================================================ */
.comics-soon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
  gap: 12px;
}
.comics-soon-icon {
  font-size: 3rem;
  color: var(--pink-hot);
  opacity: 0.4;
  margin-bottom: 8px;
}
.comics-soon-title {
  font-family: var(--font-pixel);
  font-size: 1.2rem;
  color: var(--pink-hot);
  margin: 0;
}
.comics-soon-sub {
  font-size: 0.9rem;
  color: var(--text-dark);
  opacity: 0.7;
  max-width: 340px;
  margin: 0;
}
.comics-soon-dots {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}
.comics-soon-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pink-hot);
  opacity: 0.3;
  animation: comics-pulse 1.4s ease-in-out infinite;
}
.comics-soon-dots span:nth-child(2) { animation-delay: 0.2s; }
.comics-soon-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes comics-pulse {
  0%, 80%, 100% { opacity: 0.3; transform: scale(1); }
  40% { opacity: 1; transform: scale(1.3); }
}

.comics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}
.comic-card {
  background: white;
  border: 2px solid var(--pink-mid);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.15s, box-shadow 0.15s;
}
.comic-card:hover {
  transform: translateY(-4px) rotate(0.4deg);
  box-shadow: 4px 6px 0 var(--shadow);
}
.comic-cover {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  color: var(--pink-mid);
  border-bottom: 1.5px solid var(--pink-mid);
  position: relative;
}
.comic-cover img { width: 100%; height: 100%; object-fit: cover; }
.comic-status {
  position: absolute;
  top: 10px; right: 10px;
  font-family: var(--font-pixel);
  font-size: 5.5px;
  padding: 4px 7px;
  border-radius: 5px;
}
.comic-status.ongoing { background: #4EC9C9; color: white; }
.comic-status.complete { background: #A8E6CF; color: #1a5c3a; }
.comic-status.hiatus { background: var(--sticker-yellow); color: #7A5500; }

.comic-info { padding: 14px; }
.comic-title {
  font-family: var(--font-pixel);
  font-size: 9px;
  color: var(--pink-dark);
  margin-bottom: 7px;
  font-weight: normal;
  line-height: 1.7;
}
.comic-desc {
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 10px;
}
.comic-meta {
  display: flex;
  gap: 10px;
  font-size: 11px;
  color: var(--text-mid);
  margin-bottom: 12px;
}
.comic-meta i { color: var(--pink-hot); margin-right: 4px; }
.comic-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-pixel);
  font-size: 6.5px;
  padding: 8px 13px;
  color: var(--pink-hot);
  border: 1.5px solid var(--pink-hot);
  border-radius: 6px;
  transition: background 0.12s, color 0.12s;
}
.comic-btn:hover { background: var(--pink-hot); color: white; }

/* ============================================================
   13. EDITORIAL (Portfolio masonry)
   ============================================================ */
.filter-bar {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.filter-btn {
  font-family: var(--font-pixel);
  font-size: 6.5px;
  padding: 8px 13px;
  border: 1.5px solid var(--pink-mid);
  background: white;
  color: var(--pink-dark);
  border-radius: 6px;
  transition: all 0.12s;
}
.filter-btn:hover { background: var(--pink-light); }
.filter-btn.active {
  background: var(--pink-hot);
  color: white;
  border-color: var(--pink-dark);
}

.masonry-grid {
  columns: 3;
  column-gap: 14px;
}
@media (max-width: 900px) { .masonry-grid { columns: 2; } }
@media (max-width: 500px) { .masonry-grid { columns: 1; } }

.port-item {
  break-inside: avoid;
  margin-bottom: 14px;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid var(--pink-mid);
  background: var(--pink-lightest);
  transition: all 0.15s;
}
.port-item:hover {
  border-color: var(--pink-hot);
  box-shadow: 4px 6px 0 var(--shadow);
  transform: translateY(-3px);
}
.port-item img { width: 100%; display: block; object-fit: cover; }
.port-placeholder {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: var(--pink-mid);
  min-height: 160px;
}
.port-item.tall .port-placeholder { min-height: 260px; }

.port-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(184,48,106,0.85) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.2s;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px;
}
.port-item:hover .port-overlay { opacity: 1; }
.port-overlay-title {
  font-family: var(--font-pixel);
  font-size: 7px;
  color: white;
  line-height: 1.8;
  margin-bottom: 5px;
  font-weight: normal;
}
.port-overlay-tag {
  font-size: 10px;
  font-weight: 700;
  background: rgba(255,255,255,0.25);
  color: white;
  padding: 2px 8px;
  border-radius: 20px;
  display: inline-block;
  width: fit-content;
}

/* ============================================================
   14. RESUME
   ============================================================ */
.resume-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  align-items: start;
}
.resume-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.resume-avatar {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFE8F5, #E8D0FF);
  border: 3px solid var(--pink-hot);
  box-shadow: 4px 4px 0 var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 68px;
  color: var(--pink-hot);
  overflow: hidden;
}
.resume-avatar img { width: 100%; height: 100%; object-fit: cover; }
.resume-name {
  font-family: var(--font-pixel);
  font-size: 8px;
  color: var(--pink-dark);
  line-height: 2;
}
.resume-loc {
  font-size: 12px;
  color: var(--text-mid);
}
.resume-loc i { color: var(--pink-hot); margin-right: 4px; }
.resume-socials { display: flex; gap: 8px; }
.resume-soc {
  width: 38px;
  height: 38px;
  border: 1.5px solid var(--pink-mid);
  border-radius: 8px;
  background: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: var(--pink-hot);
  transition: background 0.12s, color 0.12s, transform 0.12s;
}
.resume-soc:hover {
  background: var(--pink-hot);
  color: white;
  transform: translateY(-2px);
}
.resume-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-pixel);
  font-size: 7px;
  padding: 12px 16px;
  background: var(--pink-hot);
  color: white;
  border-radius: 8px;
  transition: background 0.12s, transform 0.1s;
  margin-top: 4px;
}
.resume-download-btn:hover { background: var(--pink-dark); transform: scale(0.97); }

.resume-greeting {
  font-family: var(--font-pixel);
  font-size: 13px;
  color: var(--pink-hot);
  margin-bottom: 14px;
}
.resume-bio {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 22px;
}
.resume-subhead {
  font-family: var(--font-pixel);
  font-size: 8.5px;
  color: var(--pink-dark);
  margin: 20px 0 12px;
  font-weight: normal;
}
.skill-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.skill-tag {
  font-family: var(--font-pixel);
  font-size: 6px;
  padding: 7px 11px;
  background: white;
  border: 1.5px solid var(--pink-mid);
  border-radius: 6px;
  color: var(--pink-dark);
  transition: all 0.1s;
}
.skill-tag:hover {
  background: var(--pink-hot);
  color: white;
  border-color: var(--pink-dark);
}

/* Contact form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 8px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-field { display: flex; flex-direction: column; gap: 4px; }
.form-field label {
  font-family: var(--font-pixel);
  font-size: 7px;
  color: var(--pink-dark);
}
.form-field input,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-dark);
  padding: 10px 12px;
  border: 1.5px solid var(--pink-mid);
  border-radius: var(--radius-sm);
  background: white;
  transition: border-color 0.15s, box-shadow 0.15s;
  resize: vertical;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--pink-hot);
  box-shadow: 0 0 0 3px rgba(232,85,154,0.18);
}
.form-field input.invalid,
.form-field textarea.invalid {
  border-color: #ff6b6b;
  background: #fff5f5;
}
.form-field input.valid,
.form-field textarea.valid { border-color: #7DD68A; }
.form-error {
  font-size: 11px;
  color: #d63333;
  min-height: 14px;
}
.form-submit {
  font-family: var(--font-pixel);
  font-size: 7.5px;
  padding: 13px 22px;
  background: var(--pink-hot);
  color: white;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.12s, transform 0.1s;
  align-self: flex-start;
}
.form-submit:hover { background: var(--pink-dark); transform: scale(0.98); }
.form-success {
  font-family: var(--font-pixel);
  font-size: 7px;
  color: #2a8a3a;
  line-height: 1.8;
}

/* ============================================================
   15. MODALS (Cart + Lightbox)
   ============================================================ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(25,5,18,0.85);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.modal-overlay.open {
  display: flex;
  animation: fadeIn 0.2s ease both;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal-box {
  position: relative;
  max-width: 600px;
  width: 100%;
  max-height: 92vh;
  background: white;
  border-radius: var(--radius-lg);
  border: 2.5px solid var(--pink-hot);
  box-shadow: 0 0 60px rgba(232,85,154,0.4);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modalPop 0.2s ease both;
}
.lightbox-box { max-width: 860px; }
@keyframes modalPop {
  from { transform: scale(0.94); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.modal-bar {
  background: var(--pink-hot);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.modal-title {
  font-family: var(--font-pixel);
  font-size: 8px;
  color: white;
  display: flex;
  align-items: center;
  gap: 8px;
}
.modal-close {
  width: 24px;
  height: 24px;
  background: #ff6b6b;
  border-radius: 4px;
  color: white;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.12s;
}
.modal-close:hover { background: #e85555; }

.modal-body { padding: 20px; overflow-y: auto; }

/* Cart modal */
.cart-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
  max-height: 320px;
  overflow-y: auto;
}
.cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  background: var(--pink-lightest);
  border: 1.5px solid var(--pink-mid);
  border-radius: 8px;
}
.cart-item-name {
  flex: 1;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
}
.cart-item-price {
  font-family: var(--font-pixel);
  font-size: 8px;
  color: var(--pink-hot);
}
.cart-qty-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}
.qty-btn {
  width: 22px;
  height: 22px;
  background: var(--pink-hot);
  color: white;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.qty-btn:hover { background: var(--pink-dark); }
.qty-value {
  font-family: var(--font-pixel);
  font-size: 8px;
  min-width: 16px;
  text-align: center;
  color: var(--text-dark);
}
.cart-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-light);
  font-family: var(--font-pixel);
  font-size: 8px;
  line-height: 2;
}
.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-top: 2px dashed var(--pink-mid);
  font-family: var(--font-pixel);
  font-size: 9px;
  color: var(--pink-dark);
  margin-bottom: 14px;
}
.cart-total-amount {
  font-size: 13px;
  color: var(--pink-hot);
}
.checkout-note {
  text-align: center;
  font-size: 11px;
  color: var(--text-light);
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.checkout-note i { color: #7DD68A; }

/* Lightbox */
.lightbox-img-wrap {
  flex: 1;
  overflow: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--pink-lightest);
  padding: 16px;
  min-height: 240px;
}
.lightbox-img-wrap img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 6px;
}
.lightbox-placeholder { font-size: 80px; padding: 40px; color: var(--pink-mid); }
.lightbox-footer {
  padding: 12px 18px;
  border-top: 1.5px solid var(--pink-mid);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  gap: 12px;
}
.lightbox-info-title {
  font-family: var(--font-pixel);
  font-size: 7.5px;
  color: var(--pink-dark);
}
.lightbox-nav { display: flex; gap: 6px; }
.lb-nav-btn {
  font-family: var(--font-pixel);
  font-size: 10px;
  padding: 6px 10px;
  background: white;
  border: 1.5px solid var(--pink-hot);
  color: var(--pink-hot);
  border-radius: var(--radius-sm);
  transition: background 0.12s, color 0.12s;
}
.lb-nav-btn:hover { background: var(--pink-hot); color: white; }

/* ============================================================
   16. FOOTER
   ============================================================ */
footer {
  max-width: var(--container);
  margin: 0 auto;
  padding: 32px 20px 24px;
  text-align: center;
  font-family: var(--font-pixel);
  font-size: 7px;
  color: var(--text-mid);
  line-height: 2.5;
}


/* ============================================================
   CLICKABLE WINDOWS (hero links)
   ============================================================ */
.window-link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.window-link .window-brown,
.window-link .window-magenta {
  transition: transform 0.2s, box-shadow 0.2s;
}
.window-link:hover .window-brown {
  transform: rotate(-1deg) translateY(-5px) scale(1.02);
  box-shadow: 7px 8px 0 rgba(142, 68, 173, 0.5);
}
.window-link:hover .window-magenta {
  transform: rotate(1.5deg) translateY(-5px) scale(1.02);
  box-shadow: 6px 8px 0 rgba(199, 58, 126, 0.4);
}

.window-cta {
  font-family: var(--font-pixel);
  font-size: 6px;
  color: var(--brown);
  margin-top: 10px;
  letter-spacing: 1px;
  transition: color 0.15s;
}
.win-body-brown .window-cta { color: white; }
.window-cta.magenta-cta {
  color: var(--pink-magenta);
  font-size: 5.5px;
  text-align: center;
  padding: 4px 0;
  background: rgba(255,255,255,0.75);
  margin: 0;
}
.window-link:hover .window-cta { color: var(--pink-hot); }

/* ============================================================
   STORYBOARDS SECTION
   ============================================================ */
.sb-projects {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.sb-project {
  background: white;
  border: 2px solid var(--pink-mid);
  border-radius: var(--radius-lg);
  padding: 22px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.sb-project:hover {
  border-color: var(--pink-hot);
  box-shadow: 4px 6px 0 var(--shadow);
}
.sb-project-header {
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1.5px dashed var(--pink-mid);
}
.sb-project-title {
  font-family: var(--font-pixel);
  font-size: 11px;
  color: var(--pink-hot);
  margin-bottom: 10px;
  font-weight: normal;
  line-height: 1.7;
}
.sb-project-meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 11px;
  color: var(--text-mid);
}
.sb-meta-item i {
  color: var(--pink-hot);
  margin-right: 4px;
}
.sb-project-desc {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 18px;
}

.sb-frames-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}
.sb-board-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--brown-cream);
  border: 2px solid var(--brown);
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}
.sb-board-frame:hover {
  transform: scale(1.04);
  box-shadow: 3px 3px 0 rgba(139, 90, 60, 0.4);
  z-index: 2;
}
.sb-board-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sb-board-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--brown);
}
.sb-frame-num {
  position: absolute;
  bottom: 4px;
  right: 6px;
  font-family: var(--font-pixel);
  font-size: 7px;
  color: white;
  background: var(--brown);
  padding: 3px 5px;
  border-radius: 3px;
}

.sb-watch-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-pixel);
  font-size: 7px;
  padding: 10px 14px;
  background: var(--brown);
  color: var(--brown-cream);
  border-radius: 6px;
  transition: background 0.15s, transform 0.1s;
}
.sb-watch-btn:hover {
  background: var(--text-dark);
  transform: scale(0.98);
}

.sb-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 6px;
}
.sb-tags-row--tools {
  align-items: center;
  margin-top: 4px;
}
.sb-tools-icon {
  font-size: 0.7rem;
  color: var(--pink-hot);
  margin-right: 2px;
}
.sb-skill-tag {
  font-size: 0.7rem;
  font-family: var(--font-pixel);
  background: var(--pink-light);
  color: var(--pink-hot);
  border: 1px solid var(--pink-hot);
  border-radius: 4px;
  padding: 2px 8px;
}
.sb-tool-tag {
  font-size: 0.68rem;
  background: transparent;
  color: var(--text-dark);
  border: 1px solid var(--text-dark);
  border-radius: 4px;
  padding: 2px 7px;
  opacity: 0.7;
}

/* ============================================================
   ILLUSTRATIONS SECTION (separate masonry)
   ============================================================ */
#illustrations-grid {
  columns: 3;
  column-gap: 14px;
}
@media (max-width: 900px) { #illustrations-grid { columns: 2; } }
@media (max-width: 500px) { #illustrations-grid { columns: 1; } }

.ill-item {
  break-inside: avoid;
  margin-bottom: 14px;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid var(--pink-magenta);
  background: var(--pink-lightest);
  transition: all 0.15s;
}
.ill-item:hover {
  border-color: var(--pink-hot);
  box-shadow: 4px 6px 0 rgba(199, 58, 126, 0.3);
  transform: translateY(-3px);
}
.ill-item img { width: 100%; display: block; object-fit: cover; }
.ill-placeholder {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: var(--pink-magenta);
  min-height: 160px;
}
.ill-item.tall .ill-placeholder { min-height: 260px; }

.ill-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(199, 58, 126, 0.88) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.2s;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px;
}
.ill-item:hover .ill-overlay { opacity: 1; }
.ill-overlay-title {
  font-family: var(--font-pixel);
  font-size: 7px;
  color: white;
  line-height: 1.8;
  margin-bottom: 5px;
  font-weight: normal;
}
.ill-overlay-tag {
  font-size: 10px;
  font-weight: 700;
  background: rgba(255,255,255,0.25);
  color: white;
  padding: 2px 8px;
  border-radius: 20px;
  display: inline-block;
  width: fit-content;
}


/* ============================================================
   CONTACT SECTION (dedicated)
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 28px;
  align-items: start;
}
.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-channel {
  display: flex;
  align-items: center;
  gap: 14px;
  background: white;
  border: 2px solid var(--pink-mid);
  border-radius: var(--radius-lg);
  padding: 14px;
  transition: transform 0.12s, border-color 0.12s, box-shadow 0.12s;
}
.contact-channel:hover {
  transform: translateX(4px);
  border-color: var(--pink-hot);
  box-shadow: 4px 4px 0 var(--shadow);
}
.contact-channel-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--text-dark);
  flex-shrink: 0;
  border: 2px solid var(--text-dark);
}
.contact-channel-label {
  font-family: var(--font-pixel);
  font-size: 7px;
  color: var(--pink-dark);
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}
.contact-channel-value {
  font-size: 13px;
  color: var(--text-mid);
  font-weight: 600;
  word-break: break-word;
}
.contact-response-time {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-light);
  background: var(--pink-lightest);
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px dashed var(--pink-mid);
  margin-top: 4px;
}
.contact-response-time i { color: var(--pink-hot); }

/* Select styling to match form */
.form-field select {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-dark);
  padding: 10px 12px;
  border: 1.5px solid var(--pink-mid);
  border-radius: var(--radius-sm);
  background: white;
  transition: border-color 0.15s, box-shadow 0.15s;
  cursor: pointer;
}
.form-field select:focus {
  outline: none;
  border-color: var(--pink-hot);
  box-shadow: 0 0 0 3px rgba(232,85,154,0.18);
}

@media (max-width: 760px) {
  .contact-layout { grid-template-columns: 1fr; }
}


/* ============================================================
   RESUME — Timeline, projects, education
   ============================================================ */
.resume-tagline {
  font-size: 13px;
  color: var(--pink-magenta);
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: 0.3px;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 28px;
  margin-bottom: 24px;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 6px;
  width: 2px;
  background: linear-gradient(to bottom, var(--pink-hot), var(--pink-mid) 80%, transparent);
  border-radius: 1px;
}
.timeline-item {
  position: relative;
  margin-bottom: 18px;
  transition: transform 0.15s;
}
.timeline-item:hover { transform: translateX(3px); }
.timeline-dot {
  position: absolute;
  left: -28px;
  top: 6px;
  width: 14px;
  height: 14px;
  background: white;
  border: 2.5px solid var(--pink-hot);
  border-radius: 50%;
  z-index: 1;
}
.timeline-item.current .timeline-dot {
  background: var(--pink-hot);
  box-shadow: 0 0 8px rgba(232,85,154,0.6);
  animation: pulse 2s infinite;
}
.timeline-content {
  background: white;
  border: 1.5px solid var(--pink-mid);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.timeline-item:hover .timeline-content {
  border-color: var(--pink-hot);
  box-shadow: 3px 4px 0 var(--shadow);
}
.timeline-item.current .timeline-content {
  background: linear-gradient(135deg, var(--pink-lightest), white);
  border-color: var(--pink-hot);
}
.timeline-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.timeline-role {
  font-family: var(--font-pixel);
  font-size: 8.5px;
  color: var(--pink-dark);
  margin: 0;
  font-weight: normal;
  line-height: 1.7;
  flex: 1;
  min-width: 0;
}
.timeline-badge {
  font-family: var(--font-pixel);
  font-size: 5.5px;
  padding: 4px 7px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}
.timeline-badge.current {
  background: var(--pink-hot);
  color: white;
}
.timeline-company {
  font-size: 12px;
  color: var(--text-mid);
  font-weight: 600;
  margin: 4px 0 2px;
}
.timeline-period {
  font-size: 11px;
  color: var(--text-light);
  margin-bottom: 6px;
}
.timeline-desc {
  font-size: 12px;
  color: var(--text-mid);
  line-height: 1.6;
  margin-top: 6px;
}

/* Featured projects pills */
.projects-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.project-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  border: 1.5px solid var(--pink-mid);
  border-radius: 20px;
  padding: 8px 14px;
  font-size: 12px;
  color: var(--text-dark);
  font-weight: 600;
  transition: all 0.15s;
  cursor: default;
}
.project-pill:hover {
  background: var(--pink-lightest);
  border-color: var(--pink-hot);
  transform: translateY(-2px);
  box-shadow: 2px 3px 0 var(--shadow);
}
.project-pill small {
  font-size: 10px;
  font-weight: 400;
  color: var(--text-light);
  margin-left: 2px;
}
.project-icon {
  font-size: 16px;
  line-height: 1;
}

/* Education */
.education-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.edu-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: white;
  border: 1.5px solid var(--pink-mid);
  border-radius: var(--radius-md);
  padding: 14px;
  transition: border-color 0.15s, transform 0.15s;
}
.edu-item:hover {
  border-color: var(--pink-hot);
  transform: translateX(3px);
}
.edu-icon {
  font-size: 32px;
  line-height: 1;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--pink-lightest);
  border-radius: 8px;
}
.edu-degree {
  font-family: var(--font-pixel);
  font-size: 9px;
  color: var(--pink-dark);
  margin: 0 0 4px;
  font-weight: normal;
  line-height: 1.7;
}
.edu-school {
  font-size: 13px;
  color: var(--text-mid);
  font-weight: 600;
  margin: 2px 0;
}
.edu-period {
  font-size: 11px;
  color: var(--text-light);
}
.edu-detail {
  font-size: 12px;
  color: var(--text-mid);
  margin-top: 4px;
  line-height: 1.6;
}

/* Featured skill tags */
.skill-tag.featured {
  background: var(--pink-hot);
  color: white;
  border-color: var(--pink-dark);
  box-shadow: 2px 2px 0 var(--shadow);
}
.skill-tag.featured:hover {
  background: var(--pink-dark);
  transform: translateY(-2px);
  box-shadow: 2px 4px 0 var(--shadow);
}

/* Commission tier badge (specialty) */
.comm-tier-badge {
  position: absolute;
  top: -10px;
  right: 14px;
  background: linear-gradient(135deg, var(--pink-hot), var(--pink-magenta));
  color: white;
  font-family: var(--font-pixel);
  font-size: 6px;
  padding: 5px 10px;
  border-radius: 6px;
  letter-spacing: 0.5px;
  box-shadow: 2px 2px 0 var(--shadow);
  transform: rotate(2deg);
}

/* Subheading in resume */
.resume-subhead {
  margin-top: 28px !important;
  padding-top: 8px;
  border-top: 1px dashed var(--pink-mid);
}
.resume-subhead:first-of-type {
  border-top: none;
  padding-top: 0;
  margin-top: 24px !important;
}


/* ============================================================
   HERO CHARACTER IMAGE (replaces CSS window when image provided)
   ============================================================ */
.character-hero-img {
  width: 100%;
  max-width: 360px;
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(5px 5px 0 rgba(180, 40, 100, 0.15));
  animation: heroFloat 4s ease-in-out infinite;
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
.hero-character {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================
   17. RESPONSIVE
   ============================================================ */
@media (max-width: 920px) {
  .hero-row { grid-template-columns: 1fr; gap: 16px; }
  .hero-storyboards, .hero-illustrations {
    max-width: 360px;
    margin: 0 auto;
    width: 100%;
  }
  .window-brown, .window-magenta { transform: none; }
  .window-brown:hover, .window-magenta:hover { transform: translateY(-3px); }
  .sticker-nav { gap: 16px; }
  .sticker-icon { width: 64px; height: 64px; }
  .sticker-label { font-size: 16px; }
}

@media (max-width: 700px) {
  .hamburger { display: flex; }
  .resume-layout { grid-template-columns: 1fr; }
  .resume-side { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .form-row { grid-template-columns: 1fr; }
  .section-body { padding: 20px; }
  .shop-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
}

@media (max-width: 480px) {
  #hero { padding: 60px 14px 30px; }
  .site-title { font-size: 32px; letter-spacing: 1px; }
  .sticker-nav { gap: 12px; }
  .sticker-icon { width: 56px; height: 56px; }
  .sticker-label { font-size: 13px; }
  .social-row { gap: 10px; }
  .soc { font-size: 16px; }
  .cart-summary { bottom: 14px; right: 14px; padding: 8px 12px; }
  .cart-summary i { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   SOLD OUT / LOW STOCK BADGES
   ============================================================ */
.shop-card.sold-out { opacity: 0.7; filter: grayscale(0.3); }
.shop-card.sold-out:hover { transform: none; }

.sold-out-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-12deg);
  background: rgba(192, 32, 32, 0.92);
  color: white;
  font-family: var(--font-pixel);
  font-size: 11px;
  padding: 10px 22px;
  border-radius: 6px;
  border: 2.5px solid white;
  letter-spacing: 2px;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.25);
  pointer-events: none;
  z-index: 5;
}

.low-stock-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: #FFE066;
  color: #7A5500;
  font-family: var(--font-pixel);
  font-size: 6.5px;
  padding: 5px 8px;
  border-radius: 6px;
  border: 1.5px solid #c4a000;
  letter-spacing: 0.5px;
  animation: lowStockBlink 1.5s infinite;
}
@keyframes lowStockBlink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.7; }
}

.add-cart-btn.disabled,
.add-cart-btn[disabled] {
  background: #B0A0A8 !important;
  color: rgba(255,255,255,0.85) !important;
  cursor: not-allowed !important;
  pointer-events: none;
}
.add-cart-btn.disabled:hover {
  background: #B0A0A8 !important;
  transform: none !important;
}
