:root {
  --bg-cream: #f2eee8;
  --text-dark: #1f1d1d;
  --text-white: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.82);
  --accent-gold: #e2a03f;
  --font-display: 'Manrope', sans-serif;
  --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --nav-height: 74px;
  --transition-smooth: all 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  width: 100%;
  font-family: var(--font-sans);
  background-color: var(--bg-cream);
  color: var(--text-dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.navbar {
  height: var(--nav-height);
  background-color: var(--bg-cream);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  padding: 3em 1.5rem;
}

.navbar-logo-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.navbar-logo-wrapper:hover {
  transform: scale(1.02);
}

.navbar-logo {
  width: 130px;
  height: auto;
  display: block;
  object-fit: contain;
}

.gateway-container {
  display: flex;
  width: 100%;
  height: calc(100vh - var(--nav-height));
  height: calc(100dvh - var(--nav-height));
  overflow: hidden;
  position: relative;
}

.gateway-panel {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  cursor: default;
  transition: flex 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (hover: hover) and (min-width: 860px) {
  .gateway-panel:hover {
    flex: 1.14;
  }
  .gateway-container:has(.gateway-panel:hover) .gateway-panel:not(:hover) {
    flex: 0.86;
  }
  .gateway-container:has(.gateway-panel:hover) .gateway-panel:not(:hover) .panel-bg {
    filter: brightness(0.85);
  }
}

.panel-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
  will-change: transform;
}

.panel-left .panel-bg {
  background-image: url('ramen-station-1.jpg');
}

.panel-right .panel-bg {
  background-image: url('ramen-statio-2.jpg');
}

.gateway-panel:hover .panel-bg {
  transform: scale(1.06);
}

.panel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 15, 18, 0.42) 0%,
    rgba(10, 10, 12, 0.55) 50%,
    rgba(5, 5, 8, 0.72) 100%
  );
  transition: background 0.5s ease;
  z-index: 1;
}

.gateway-panel:hover .panel-overlay {
  background: linear-gradient(
    180deg,
    rgba(15, 15, 18, 0.32) 0%,
    rgba(10, 10, 12, 0.48) 50%,
    rgba(5, 5, 8, 0.65) 100%
  );
}

.panel-left::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0.05) 100%
  );
  z-index: 2;
}

.panel-content {
  position: relative;
  z-index: 3;
  color: var(--text-white);
  max-width: 480px;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  transform: translateY(0);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.gateway-panel:hover .panel-content {
  transform: translateY(-4px);
}

.badge-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-gold);
  background: rgba(0, 0, 0, 0.4);
  padding: 6px 14px;
  border-radius: 9999px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(226, 160, 63, 0.3);
  margin-bottom: 0.25rem;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background-color: var(--accent-gold);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-gold);
}

.panel-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.6);
  white-space: nowrap;
}

.panel-description {
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 380px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  margin-bottom: 0.5rem;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 14px 34px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  border-radius: 9999px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition-smooth);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.cta-button svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2.2;
  transition: transform 0.35s ease;
}

.cta-button:hover,
.gateway-panel:hover .cta-button {
  background: #ffffff;
  color: #121212;
  border-color: #ffffff;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.cta-button:hover svg,
.gateway-panel:hover .cta-button svg {
  transform: translateX(4px);
}

.cta-button:focus-visible {
  outline: 3px solid var(--accent-gold);
  outline-offset: 3px;
}

@media (max-width: 860px) {
  .gateway-container {
    flex-direction: column;
    height: auto;
    min-height: calc(100vh - var(--nav-height));
    min-height: calc(100dvh - var(--nav-height));
  }

  .gateway-panel {
    min-height: 50vh;
    min-height: calc(50dvh - (var(--nav-height) / 2));
    padding: 3.5rem 1.5rem;
  }

  .panel-left::after {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.05) 0%,
      rgba(255, 255, 255, 0.3) 50%,
      rgba(255, 255, 255, 0.05) 100%
    );
  }

  .panel-content {
    padding: 1.5rem;
    gap: 0.85rem;
  }

  .cta-button {
    padding: 12px 28px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  :root {
    --nav-height: 66px;
  }
  
  .navbar-logo {
    width: 115px;
  }

  .gateway-panel {
    padding: 3rem 1rem;
  }
}
