/*
Theme Name: NtcJP
Description: NtcJP Customer Service page. WhatsApp and Telegram contacts are managed under "NtcJP Contacts" in the admin menu.
Version: 1.1.0
Text Domain: ntcjp
*/

:root{
  /* black & gold palette, taken from the NtcJP logo */
  --black-950:#040404;
  --black-900:#0a0907;
  --black-800:#12100c;
  --panel:#100e0a;
  --panel-2:#17140e;
  --row:#0e0c09;
  --row-alt:#0a0907;
  --line:rgba(226,184,90,0.30);
  --line-soft:rgba(226,184,90,0.12);
  --gold:#d9ac48;
  --gold-light:#f7dc8e;
  --gold-pale:#fff1c4;
  --gold-deep:#a5741c;
  --gold-dark:#6e4a10;
  --silver:#e4e7ec;
  --silver-dim:#9aa0aa;
  --ink:#f6efdc;
  --ink-dim:#c9bb98;
  --ink-mute:#8a7d60;
  --green:#25d366;
  --radius-lg:20px;
  --radius-md:14px;
  --radius-sm:10px;
  --shadow-deep: 0 30px 80px -20px rgba(0,0,0,0.85);
  --gold-grad: linear-gradient(180deg, var(--gold-pale) 0%, var(--gold-light) 28%, var(--gold) 55%, var(--gold-deep) 100%);
  --gold-grad-h: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 45%, var(--gold-deep) 100%);
}

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

html{scroll-behavior:smooth; overflow-x:hidden; width:100%;}

body{
  width:100%;
  overflow-x:hidden;
  font-family:'Manrope', sans-serif;
  background:var(--black-950);
  color:var(--ink);
  min-height:100vh;
  position:relative;
  -webkit-font-smoothing:antialiased;
}

/* ---------- decorative background ---------- */
.bg-photo{
  position:fixed;
  inset:0;
  z-index:0;
  pointer-events:none;
  background:
    radial-gradient(ellipse 60% 45% at 50% 0%, rgba(217,172,72,0.16), transparent 70%),
    radial-gradient(ellipse 40% 35% at 0% 100%, rgba(217,172,72,0.07), transparent 70%),
    radial-gradient(ellipse 40% 35% at 100% 100%, rgba(217,172,72,0.07), transparent 70%),
    linear-gradient(180deg, #0b0a08 0%, var(--black-950) 55%, #000 100%);
}
/* faint gold ring echoing the logo emblem */
.bg-photo::before{
  content:"";
  position:absolute;
  left:50%; top:-28vmax;
  width:76vmax; height:76vmax;
  transform:translateX(-50%);
  border-radius:50%;
  border:1px solid rgba(217,172,72,0.10);
  box-shadow:0 0 0 18px rgba(217,172,72,0.025), 0 0 120px rgba(217,172,72,0.05) inset;
}

.noise{
  position:fixed; inset:0; z-index:0; pointer-events:none; opacity:.05; mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap{
  position:relative;
  z-index:1;
  max-width:1040px;
  margin:0 auto;
  padding:48px 20px 40px;
  overflow-x:hidden;
}

/* ---------- header ---------- */
header{
  text-align:center;
  margin-bottom:46px;
}
.logo-mark{
  width:min(230px, 56vw);
  height:auto;
  aspect-ratio:1/1;
  object-fit:cover;
  border-radius:50%;
  display:inline-block;
  box-shadow:0 0 0 1px rgba(217,172,72,0.25), 0 18px 60px -10px rgba(217,172,72,0.35);
  animation: riseIn .7s cubic-bezier(.2,.9,.25,1) both, glow 4s 1s ease-in-out infinite;
}
@keyframes glow{
  0%,100%{ box-shadow:0 0 0 1px rgba(217,172,72,0.25), 0 18px 60px -10px rgba(217,172,72,0.30); }
  50%{ box-shadow:0 0 0 1px rgba(217,172,72,0.40), 0 18px 70px -6px rgba(217,172,72,0.50); }
}
h1.tagline{
  font-family:'Cinzel', serif;
  font-weight:700;
  font-size:clamp(24px, 5vw, 42px);
  letter-spacing:0.14em;
  margin-top:24px;
  background:var(--gold-grad);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  filter:drop-shadow(0 2px 10px rgba(217,172,72,0.25));
  animation: riseIn .7s .08s cubic-bezier(.2,.9,.25,1) both;
}
.sub-row{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  margin-top:14px;
  animation: riseIn .7s .16s cubic-bezier(.2,.9,.25,1) both;
}
/* line — diamond — line, like under the logo text */
.sub-row .bar{
  position:relative;
  width:70px; height:1px;
  flex:0 0 auto;
  background:linear-gradient(90deg, transparent, var(--gold));
}
.sub-row .bar.right{ background:linear-gradient(90deg, var(--gold), transparent); }
.sub-row .bar::after{
  content:"";
  position:absolute;
  top:50%; right:-4px;
  width:6px; height:6px;
  background:var(--gold-light);
  transform:translateY(-50%) rotate(45deg);
  box-shadow:0 0 8px rgba(247,220,142,0.7);
}
.sub-row .bar.right::after{ right:auto; left:-4px; }
.sub-row p{
  font-family:'Cinzel', serif;
  font-weight:600;
  letter-spacing:0.28em;
  font-size:12.5px;
  color:var(--ink-dim);
  text-transform:uppercase;
  white-space:nowrap;
  min-width:0;
}
@media (max-width:480px){
  .sub-row{ gap:8px; }
  .sub-row .bar{ width:24px; }
  .sub-row p{ font-size:9.5px; letter-spacing:0.16em; }
}

@keyframes riseIn{
  from{ opacity:0; transform:translateY(14px); }
  to{ opacity:1; transform:translateY(0); }
}

/* ---------- channel cards ---------- */
.channel{
  background:linear-gradient(180deg, var(--panel-2) 0%, var(--panel) 100%);
  border-radius:var(--radius-lg);
  margin-bottom:26px;
  overflow:hidden;
  box-shadow:var(--shadow-deep);
  position:relative;
  animation: riseIn .7s cubic-bezier(.2,.9,.25,1) both;
}
.channel::before{
  content:"";
  position:absolute; inset:0;
  border-radius:inherit;
  padding:1px;
  background:linear-gradient(135deg, var(--gold-light), rgba(217,172,72,0.25) 25%, rgba(217,172,72,0.08) 50%, rgba(217,172,72,0.25) 75%, var(--gold));
  -webkit-mask:linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite:xor;
  mask-composite:exclude;
  pointer-events:none;
  z-index:2;
}
.channel:nth-of-type(2){ animation-delay:.08s; }

.channel-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:22px 26px;
  flex-wrap:wrap;
  background:radial-gradient(ellipse 70% 120% at 0% 0%, rgba(217,172,72,0.10), transparent 60%);
}
.channel-id{
  display:flex;
  align-items:center;
  gap:16px;
}
.brand-icon{
  width:56px; height:56px;
  border-radius:56px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
  background:radial-gradient(circle at 50% 40%, #1c1810, #070605 75%);
  box-shadow:0 0 0 2px var(--gold), 0 0 0 4px rgba(217,172,72,0.18), 0 10px 24px -6px rgba(217,172,72,0.35);
}
.brand-icon svg{ width:28px; height:28px; }
.brand-icon svg path{ fill:var(--gold-light); }

.channel-id h2{
  font-family:'Cinzel', serif;
  font-size:21px;
  font-weight:700;
  letter-spacing:0.08em;
  line-height:1.3;
  background:var(--gold-grad);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.channel-id .ch-sub{
  font-size:11.5px;
  font-weight:700;
  letter-spacing:0.18em;
  color:var(--silver-dim);
  text-transform:uppercase;
}

.support-pill{
  display:flex;
  align-items:center;
  gap:10px;
  padding:9px 18px 9px 12px;
  border:1px solid var(--line);
  border-radius:999px;
  background:rgba(217,172,72,0.06);
}
.support-pill svg{ width:22px; height:22px; color:var(--gold-light); flex-shrink:0; }
.support-pill .num{
  font-family:'Cinzel', serif;
  font-weight:700;
  font-size:15px;
  line-height:1.1;
  color:var(--gold-light);
}
.support-pill .lbl{
  font-size:10px;
  letter-spacing:0.1em;
  color:var(--ink-mute);
  text-transform:uppercase;
}

/* table */
.ch-table{ width:100%; border-collapse:collapse; }
.ch-table thead tr{
  background:linear-gradient(90deg, rgba(217,172,72,0.16), rgba(217,172,72,0.04));
}
.ch-table thead th{
  text-align:left;
  font-size:11.5px;
  letter-spacing:0.14em;
  color:var(--gold-light);
  text-transform:uppercase;
  font-weight:700;
  padding:14px 26px;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.ch-table thead th:first-child{ width:64px; }
.ch-table tbody td{
  padding:18px 26px;
  font-size:15px;
  border-bottom:1px solid rgba(217,172,72,0.07);
  vertical-align:middle;
}
.ch-table tbody tr:last-child td{ border-bottom:none; }
.ch-table tbody tr{ transition: background .2s ease; }
.ch-table tbody tr:nth-child(odd){ background:var(--row); }
.ch-table tbody tr:nth-child(even){ background:var(--row-alt); }
.ch-table tbody tr:hover{ background:rgba(217,172,72,0.07); }

.row-no{ color:var(--gold); font-family:'Cinzel', serif; font-weight:700; }
.row-contact{ display:flex; align-items:center; gap:10px; font-family:'JetBrains Mono', monospace; font-weight:500; letter-spacing:0.02em; color:var(--silver); }
.row-contact .mini-icon{ width:24px; height:24px; border-radius:7px; display:flex; align-items:center; justify-content:center; flex-shrink:0; background:var(--gold-grad-h); }
.row-contact .mini-icon svg{ width:14px; height:14px; }
.row-contact .mini-icon svg path{ fill:#1a1206; }
.row-name{ color:var(--ink-dim); font-weight:600; }
.row-hours{ display:flex; align-items:center; gap:9px; font-family:'JetBrains Mono', monospace; font-size:13.5px; color:var(--ink-dim); }
.dot{ width:8px; height:8px; border-radius:50%; background:var(--green); box-shadow:0 0 0 0 rgba(37,211,102,.6); animation:pulse 1.8s infinite; flex-shrink:0; }
@keyframes pulse{
  0%{ box-shadow:0 0 0 0 rgba(37,211,102,.55); }
  70%{ box-shadow:0 0 0 8px rgba(37,211,102,0); }
  100%{ box-shadow:0 0 0 0 rgba(37,211,102,0); }
}

.btn-click{
  position:relative;
  overflow:hidden;
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 18px;
  border-radius:40px;
  background:var(--gold-grad);
  color:#1a1206;
  text-decoration:none;
  font-weight:800;
  font-size:13.5px;
  letter-spacing:0.04em;
  white-space:nowrap;
  box-shadow:0 10px 22px -8px rgba(217,172,72,0.55), inset 0 1px 0 rgba(255,255,255,0.5);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
/* sheen sweep */
.btn-click::after{
  content:"";
  position:absolute; top:0; bottom:0; left:-60%;
  width:40%;
  background:linear-gradient(100deg, transparent, rgba(255,255,255,0.55), transparent);
  transform:skewX(-20deg);
  transition:left .5s ease;
}
.btn-click:hover::after{ left:120%; }
.btn-click svg{ width:15px; height:15px; transition:transform .18s ease; }
.btn-click svg path{ fill:#1a1206; }
.btn-click svg path[fill="none"], .btn-click svg[fill="none"] path{ fill:none; stroke:#1a1206; }
.btn-click:hover{ transform:translateY(-2px); box-shadow:0 14px 28px -8px rgba(217,172,72,0.75), inset 0 1px 0 rgba(255,255,255,0.5); filter:brightness(1.06); }
.btn-click:hover svg:last-child{ transform:translateX(3px); }
.btn-click:active{ transform:translateY(0); }

.table-scroll{ overflow-x:auto; }

/* ---------- features ---------- */
.features{
  display:grid;
  grid-template-columns:repeat(5, 1fr);
  gap:16px;
  margin:44px 0 30px;
  animation: riseIn .7s .1s cubic-bezier(.2,.9,.25,1) both;
}
.feature{
  text-align:center;
  padding:22px 10px;
  border-radius:var(--radius-md);
  border:1px solid var(--line-soft);
  background:linear-gradient(180deg, rgba(217,172,72,0.05), rgba(217,172,72,0.01));
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}
.feature:hover{
  transform:translateY(-4px);
  border-color:var(--line);
  background:linear-gradient(180deg, rgba(217,172,72,0.10), rgba(217,172,72,0.02));
}
.feature .ico{
  margin:0 auto 12px;
  border-radius:16px;
  display:flex; align-items:center; justify-content:center;
  transition: transform .22s ease;
}
.feature:hover .ico{ transform:scale(1.06); }
.feature .ico img{
  height:60px;
  object-fit:contain;
  /* recolour the original orange icons to gold */
  filter: grayscale(1) sepia(1) saturate(2.6) hue-rotate(2deg) brightness(1.05) drop-shadow(0 4px 10px rgba(217,172,72,0.30));
}
.feature h3{
  font-family:'Cinzel', serif;
  font-size:13px;
  letter-spacing:0.05em;
  font-weight:700;
  margin-bottom:4px;
  color:var(--gold-light);
}
.feature p{
  font-size:11.5px;
  color:var(--ink-mute);
  letter-spacing:0.02em;
}

footer{
  text-align:center;
  padding-top:16px;
}
footer .foot-bar{
  width:120px; height:1px;
  margin:0 auto 16px;
  background:linear-gradient(90deg, transparent, var(--gold), transparent);
}
footer .brand{
  font-family:'Cinzel', serif;
  font-weight:700;
  font-size:20px;
  letter-spacing:0.04em;
  color:var(--gold-light);
}
footer .brand span{ color:var(--silver); }
footer .copyright{
  margin-top:6px;
  font-size:11px;
  color:var(--ink-mute);
  letter-spacing:0.04em;
}

/* ---------- responsive ---------- */
@media (max-width:900px){
  .features{ grid-template-columns:repeat(3, 1fr); }
}
@media (max-width:760px){
  .features{ grid-template-columns:repeat(2, 1fr); }
  .channel-head{ padding:20px; }
  .ch-table thead th, .ch-table tbody td{ padding:14px 16px; }
  .support-pill{ order:3; width:100%; justify-content:center; }
}
@media (max-width:520px){
  .ch-table thead th:nth-child(3), .ch-table tbody td:nth-child(3){ display:none; } /* hide Name col on tiny screens */
  .row-hours{ font-size:12px; }
  .btn-click span.txt{ display:none; }
  .btn-click{ padding:10px 12px; }
}
