.store-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 18px;
  color: #fff8e9;
  overflow-y: auto;
}

.store-gate[hidden] { display: none; }

.store-gate-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 12%, rgba(255, 191, 73, .2), transparent 32%),
    radial-gradient(circle at 85% 82%, rgba(190, 31, 43, .34), transparent 38%),
    linear-gradient(145deg, rgba(38, 5, 9, .98), rgba(103, 14, 22, .97));
  backdrop-filter: blur(14px);
}

.store-gate-backdrop::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(244, 194, 93, .33);
  pointer-events: none;
}

.store-gate-panel {
  position: relative;
  width: min(940px, 100%);
  min-height: min(680px, calc(100vh - 36px));
  display: grid;
  place-items: center;
  padding: clamp(28px, 6vw, 72px);
  border: 1px solid rgba(247, 204, 112, .5);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.07), transparent 50%),
    url("photos/obusuma-new/table-spread.jpg") center / cover;
  box-shadow: 0 30px 100px rgba(0,0,0,.58);
  overflow: hidden;
}

.store-gate-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(27,3,6,.97), rgba(70,8,13,.88) 52%, rgba(37,4,7,.8));
}

.gate-step {
  position: relative;
  z-index: 1;
  width: 100%;
  text-align: center;
  animation: gate-in .55s ease both;
}

.gate-step[hidden] { display: none; }
.gate-kicker { margin: 0 0 18px; color: #f0c66d; font-weight: 800; letter-spacing: .2em; font-size: 12px; }
.gate-star { color: #f3c86d; font-size: 46px; line-height: 1; text-shadow: 0 0 28px rgba(243,200,109,.55); }
.welcome-step h1 { margin: 14px 0 8px; font: 700 clamp(40px, 8vw, 82px)/.95 "Playfair Display", serif; letter-spacing: -.035em; }
.welcome-step h1 em { display: block; color: #f1c66d; font-style: normal; font-size: 1.2em; }
.gate-ja { margin: 22px 0 8px; font-size: clamp(17px, 2.8vw, 24px); font-weight: 700; }
.gate-ne { margin: 0 0 30px; color: #eadbc5; font-size: clamp(15px, 2.2vw, 19px); }

.gate-continue {
  border: 0;
  border-radius: 999px;
  padding: 15px 27px;
  color: #3a090d;
  background: linear-gradient(135deg, #ffe29a, #dca43e);
  box-shadow: 0 13px 36px rgba(220,164,62,.3);
  font-weight: 900;
  font-size: 17px;
  cursor: pointer;
}
.gate-continue span { margin-left: 10px; font-size: 11px; letter-spacing: .13em; }

.store-step h2 { margin: 0 0 7px; font-size: clamp(25px, 4vw, 42px); }
.gate-store-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 30px; }
.gate-store {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 26px;
  border: 1px solid rgba(255,225,161,.43);
  border-radius: 22px;
  color: #fff;
  text-decoration: none;
  text-align: left;
  background: linear-gradient(180deg, rgba(34,3,6,.1), rgba(34,3,6,.94)), url("photos/obusuma-new/tandoori-16x9.webp") center / cover;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.gate-store.komejima { background-image: linear-gradient(180deg, rgba(34,3,6,.08), rgba(34,3,6,.94)), url("photos/komejima-spice-shop-sign.jpg"); }
.gate-store:hover, .gate-store:focus-visible { transform: translateY(-5px); border-color: #f5cb75; box-shadow: 0 18px 42px rgba(0,0,0,.38); }
.gate-store small { color: #f1ca78; font-weight: 800; letter-spacing: .1em; }
.gate-store strong { margin-top: 10px; font-size: clamp(27px, 4vw, 39px); }
.gate-store span { font-weight: 800; letter-spacing: .18em; }
.gate-store b { margin-top: 17px; padding-top: 14px; width: 100%; border-top: 1px solid rgba(255,255,255,.24); color: #ffe29a; }
.gate-home { margin-top: 22px; border: 0; background: transparent; color: #e9ddc7; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
body.gate-open { overflow: hidden; }

@keyframes gate-in { from { opacity: 0; transform: translateY(12px) scale(.985); } to { opacity: 1; transform: none; } }

@media (max-width: 680px) {
  .store-gate { padding: 8px; }
  .store-gate-panel { min-height: calc(100vh - 16px); padding: 30px 17px; border-radius: 20px; }
  .gate-store-grid { grid-template-columns: 1fr; gap: 12px; }
  .gate-store { min-height: 185px; padding: 20px; }
  .welcome-step h1 { font-size: clamp(42px, 14vw, 66px); }
}

@media (prefers-reduced-motion: reduce) {
  .gate-step { animation: none; }
  .gate-store { transition: none; }
}

.area-welcome {
  margin: clamp(18px, 4vw, 42px) auto;
  width: min(1180px, calc(100% - 32px));
  padding: clamp(27px, 5vw, 54px);
  border-radius: 28px;
  color: #fff8e9;
  text-align: center;
  background: radial-gradient(circle at 18% 0, rgba(243,198,109,.2), transparent 38%), linear-gradient(135deg, #451016, #77151d);
  box-shadow: 0 18px 55px rgba(50, 8, 12, .2);
}
.area-welcome > p { margin: 0 0 10px; color: #f2c871; font-size: 12px; font-weight: 900; letter-spacing: .18em; }
.area-welcome h2 { margin: 0; font-size: clamp(25px, 4vw, 43px); }
.area-welcome div { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin: 23px 0 15px; }
.area-welcome div span { padding: 8px 14px; border: 1px solid rgba(255,225,168,.45); border-radius: 999px; font-weight: 800; }
.area-welcome small { display: block; color: #eadbc5; font-size: 14px; }
.area-welcome button { margin-top: 22px; border: 0; border-radius: 999px; padding: 13px 23px; color: #471016; background: #f3c86d; font-weight: 900; cursor: pointer; }
