@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

/* =========================================================
   NARI — Global styles.css (shared sitewide)
   IMPORTANT: file location stays assets/css/styles.css
   ========================================================= */

:root{
  --text: #0f172a;
  --line: rgba(15,23,42,.12);
}

html, body{
  height: 100%;
}

body{
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: #07121f url("../img/nari_page_bg.png") repeat;
  background-size: 520px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  overflow-x: hidden;
}

/* ===== Stage container (the “phone” frame) ===== */
.stage{
  width: min(430px, 100%);
  height: min(1024px, 100dvh);
  border-radius: 34px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 70px rgba(0,0,0,.35);
  background: #111;
}

/* ===== Top circles row ===== */
.top-row{
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;

  /* With flag hidden, there are 2 visible items:
     burger (left) + logo (right) */
  justify-content: space-between;

  padding: max(14px, env(safe-area-inset-top)) 18px 12px;
}

/* =========================================================
   FLAG REMOVED SITEWIDE (as requested)
   ========================================================= */
#flagBtn{ display: none !important; }

.circle-btn{
  width: 62px;
  height: 62px;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(15,23,42,.18);
  box-shadow: 0 8px 20px rgba(0,0,0,.10);
  display: grid;
  place-items: center;
  cursor: pointer;
  overflow: hidden;
  padding: 0;
}

.circle-btn img,
.circle-btn svg{
  width: 100%;
  height: 100%;
  display: block;
}

/* Logo circle usually looks best slightly inset */
.logo-circle img{
  width: 78%;
  height: 78%;
  object-fit: contain;
}

/* Burger icon */
.burger-lines{
  width: 26px;
  height: 18px;
  display: grid;
  gap: 5px;
}
.burger-lines span{
  display: block;
  height: 2px;
  border-radius: 2px;
  background: rgba(15,23,42,.85);
}

/* ===== Footer row (copyright + icons) ===== */
.footer-row{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 18px max(10px, env(safe-area-inset-bottom));
  color: rgba(255,255,255,.92);
}

.footer-copy{
  font-size: 14px;
  opacity: .95;
  white-space: nowrap;
}

.footer-icons{
  display: flex;
  gap: 10px;
}

.icon-btn{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(15,23,42,.18);
  box-shadow: 0 8px 20px rgba(0,0,0,.10);
  display: grid;
  place-items: center;
  cursor: pointer;
  overflow: hidden;
  padding: 0;
}

.icon-btn img{
  width: 64%;
  height: 64%;
  object-fit: contain;
  display: block;
}

/* =========================================================
   NARI: Menu drawer (shared / internal pages)
   (kept as-is, including reduced footprint)
   ========================================================= */
#menuDim{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.28);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  z-index: 80;
}

#menu{
  position: fixed;
  top: 0;
  left: 0;
  height: 100dvh;
  width: min(292px, 80vw);
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  transform: translateX(-105%);
  transition: transform .22s ease;
  z-index: 90;
  padding: calc(16px + env(safe-area-inset-top)) 16px 16px;
  box-shadow: 0 12px 40px rgba(0,0,0,.18);
}

#menu.open{ transform: translateX(0); }

#menuDim.open{
  opacity: 1;
  pointer-events: auto;
}

#menu a{
  display: block;
  text-decoration: none;
  color: #0f172a;
  font-weight: 700;
  padding: 12px 10px;
  border-radius: 12px;
}

#menu a:hover{ background: rgba(15,23,42,.06); }

#menu .menu-section-title{
  margin: 10px 10px 6px;
  font-size: 12px;
  opacity: .65;
  letter-spacing: .08em;
  text-transform: uppercase;
}
