/* Perk Nation — inKind-inspired (original) theme
   Notes:
   - Uses the same publicly-visible palette values in inKind's press kit (colors are not copyrighted).
   - Uses Rethink Sans via Google Fonts (seen on inKind site), but layout/CSS is original.
*/

:root{
  --bg: #0d0d0d;
  --ink: #faf7f7;
  --muted: rgba(250,247,247,.78);
  --muted2: rgba(250,247,247,.60);
  --line: rgba(250,247,247,.14);

  --yellow: #e6b84a;
  --coral: #C33F16;

  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --pill: 100px;

  --shadow: 0 20px 60px rgba(0,0,0,.55);
  --shadow-soft: 0 10px 40px rgba(0,0,0,.35);

  --container: 1160px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: "Rethink Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background: radial-gradient(900px 520px at 14% 8%, rgba(230,184,74,.18), transparent 55%),
              radial-gradient(900px 520px at 82% 0%, rgba(195,63,22,.14), transparent 55%),
              radial-gradient(1100px 700px at 55% 85%, rgba(230,184,74,.08), transparent 60%),
              var(--bg);
  color: var(--ink);
  line-height: 1.55;
  letter-spacing: .1px;
}

a{color:inherit; text-decoration:none}
img{max-width:100%; display:block}

.container{max-width:var(--container); margin:0 auto; padding:0 20px}

.header{
  position: sticky;
  top:0;
  z-index: 50;
  background: rgba(13,13,13,.78);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  padding: 14px 0;
  gap: 14px;
}

.brand{
  display:flex; align-items:center; gap:10px;
  font-weight: 850;
  letter-spacing: .2px;
}

.brandMark{
  width: 34px; height:34px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--yellow), #f5d27d);
  box-shadow: 0 16px 50px rgba(230,184,74,.18);
  display:grid; place-items:center;
  border: 1px solid rgba(0,0,0,.25);
}

.brandMark svg{width:24px; height:24px}

.navlinks{
  display:flex;
  align-items:center;
  gap: 8px;
  flex-wrap:nowrap;
  margin-left: auto;
}

.navlinks a{
  padding: 6px 0;
  border-radius: 0;
  color: var(--muted);
  font-weight: 700;
  border: 0;
  background: transparent;
  white-space: nowrap;
}

.navlinks a:hover{
  color: var(--ink);
  border-color: transparent;
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.navcta{
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap: nowrap;
}

.header .navcta .btn{
  border: 0;
  background: transparent;
  color: var(--muted);
  border-radius: 0;
  padding: 6px 0;
  font-weight: 700;
  transform: none;
}

.header .navcta .btn:hover{
  color: var(--ink);
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 4px;
  transform: none;
}

.header .navcta .btn.primary,
.header .navcta .btn.ghost{
  border: 0;
  background: transparent;
  color: var(--muted);
}

.header .navcta .btn.primary:hover,
.header .navcta .btn.ghost:hover{
  color: var(--ink);
  background: transparent;
  filter: none;
}

.themeSwitchRow{
  display:flex;
  justify-content:flex-end;
  padding: 0 0 12px;
}

.themeSwitch{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  user-select:none;
}

.themeSwitchInput{
  position:absolute;
  width:1px;
  height:1px;
  opacity:0;
  pointer-events:none;
}

.themeSwitchTrack{
  width:46px;
  height:26px;
  border-radius:999px;
  border:1px solid var(--line);
  background: rgba(250,247,247,.12);
  position:relative;
  transition: background .2s ease, border-color .2s ease;
}

.themeSwitchTrack::after{
  content:"";
  position:absolute;
  top:3px;
  left:3px;
  width:18px;
  height:18px;
  border-radius:999px;
  background: var(--ink);
  transition: transform .2s ease;
}

.themeSwitchInput:checked + .themeSwitchTrack{
  background: rgba(230,184,74,.26);
  border-color: rgba(230,184,74,.72);
}

.themeSwitchInput:checked + .themeSwitchTrack::after{
  transform: translateX(20px);
}

.themeSwitchInput:focus-visible + .themeSwitchTrack{
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 11px 16px;
  border-radius: var(--pill);
  font-weight: 800;
  border: 1px solid rgba(250,247,247,.20);
  background: rgba(250,247,247,.02);
  color: var(--ink);
  cursor:pointer;
  transition: transform .14s ease, background .14s ease, border-color .14s ease, filter .14s ease;
}

.btn:hover{background: rgba(250,247,247,.05); transform: translateY(-1px)}
.btn.primary{
  background: var(--yellow);
  border-color: transparent;
  color: #0d0d0d;
}
.btn.primary:hover{filter: brightness(1.03)}
.btn.ghost{background: transparent}
.btn.small{padding: 9px 12px; font-weight: 800}

.menuBtn{
  display:none;
  border-radius: 0;
  width: auto;
  height: auto;
  padding: 0 4px;
  font-size: 24px;
  line-height: 1;
}

@media (max-width: 980px){
  .navlinks{display:none}
  .menuBtn{display:inline-flex}
  .themeSwitchRow{padding: 0 0 10px}
}

.mobileMenu{
  display:none;
  padding: 10px 0 14px;
}
.mobileMenu a{
  display:block;
  padding: 8px 0;
  border-radius: 0;
  font-weight: 700;
  color: var(--muted);
  border: 0;
  margin: 8px 0;
  background: transparent;
}
.mobileMenu a:hover{
  color: var(--ink);
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.show{display:block}

.badge{
  display:inline-flex; align-items:center; gap:8px;
  padding: 8px 12px;
  border-radius: var(--pill);
  border: 1px solid rgba(250,247,247,.14);
  background: rgba(250,247,247,.03);
  color: var(--muted);
  font-weight: 800;
  font-size: 13px;
}

.hero{padding: 62px 0 26px}
.grid2{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 22px;
  align-items:start;
}
@media (max-width: 980px){.grid2{grid-template-columns:1fr}}

.h1{
  font-size: 52px;
  line-height: 1.03;
  letter-spacing: -1px;
  margin: 14px 0 14px;
  font-weight: 900;
}
@media (max-width: 540px){.h1{font-size: 40px}}

.p{
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 18px;
  max-width: 70ch;
}

.section{padding: 34px 0}
.h2{
  font-size: 30px;
  letter-spacing: -.6px;
  margin: 0 0 12px;
  font-weight: 900;
}
.h3{font-size: 18px; margin: 0 0 8px; font-weight: 900}

.card{
  border-radius: var(--radius-xl);
  background: rgba(250,247,247,.03);
  border: 1px solid rgba(250,247,247,.12);
  box-shadow: var(--shadow-soft);
}
.card.pad{padding: 18px}

.hr{height:1px; background: rgba(250,247,247,.12); margin: 18px 0}

.kpis{display:flex; flex-wrap:wrap; gap:10px; margin-top: 14px}
.kpi{
  padding: 12px 12px;
  border-radius: 20px;
  border: 1px solid rgba(250,247,247,.12);
  background: rgba(0,0,0,.20);
  min-width: 190px;
}
.kpi .t{color: var(--muted2); font-size: 13px; font-weight: 800}
.kpi .v{font-size: 18px; font-weight: 900; margin-top: 4px}

.three{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 900px){.three{grid-template-columns:1fr}}

.split{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 900px){.split{grid-template-columns:1fr}}

.icon{
  width: 42px; height:42px;
  border-radius: 14px;
  display:grid; place-items:center;
  background: rgba(250,247,247,.04);
  border: 1px solid rgba(250,247,247,.12);
  font-size: 20px;
}

.table{
  width:100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow:hidden;
  border-radius: 22px;
  border: 1px solid rgba(250,247,247,.12);
  background: rgba(0,0,0,.22);
}
.table th, .table td{
  padding: 12px 12px;
  border-bottom: 1px solid rgba(250,247,247,.08);
  vertical-align: top;
}
.table th{
  text-align:left;
  font-weight: 900;
  color: rgba(250,247,247,.85);
  background: rgba(250,247,247,.03);
}
.table tr:last-child td{border-bottom:none}

label{display:block; margin: 10px 0 6px; font-weight: 850}
.input, select.input, textarea.input{
  width: 100%;
  padding: 12px 12px;
  border-radius: 18px;
  border: 1px solid rgba(250,247,247,.16);
  background: rgba(0,0,0,.26);
  color: var(--ink);
  outline:none;
}
.input:focus{
  border-color: rgba(230,184,74,.65);
  box-shadow: 0 0 0 4px rgba(230,184,74,.18);
}

.notice{
  padding: 12px 12px;
  border-radius: 20px;
  border: 1px dashed rgba(250,247,247,.18);
  background: rgba(250,247,247,.03);
  color: var(--muted);
}

.authSplit{
  align-items: start;
}

.authForm{
  display: grid;
  gap: 8px;
}

.roleToggle{
  display: inline-flex;
  border: 1px solid rgba(250,247,247,.16);
  border-radius: 12px;
  overflow: hidden;
  margin: 6px 0 12px;
}

.roleToggleBtn{
  border: 0;
  border-right: 1px solid rgba(250,247,247,.14);
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 800;
  padding: 10px 16px;
  cursor: pointer;
}

.roleToggleBtn:last-child{
  border-right: 0;
}

.roleToggleBtn.is-active{
  color: var(--ink);
  background: rgba(250,247,247,.06);
}

.authActions{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.notice[hidden]{
  display: none;
}

.footer{
  padding: 34px 0;
  border-top: 1px solid rgba(250,247,247,.12);
  color: var(--muted);
  font-size: 14px;
}

.footer > .container > div:first-child{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:nowrap !important;
}

.footerGrid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px 20px;
}
@media (max-width: 760px){
  .footer > .container > div:first-child{flex-wrap:wrap !important}
  .footerGrid{grid-template-columns:1fr 1fr}
}
@media (max-width: 520px){.footerGrid{grid-template-columns:1fr}}

.small{font-size: 13px; color: var(--muted2)}

.pill{
  display:inline-flex; align-items:center; gap:8px;
  padding: 8px 12px;
  border-radius: var(--pill);
  background: rgba(250,247,247,.03);
  border: 1px solid rgba(250,247,247,.12);
  color: var(--muted);
  font-weight: 800;
  font-size: 13px;
}

/* Cookie banner */
.cookie{
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 100;
  background: rgba(13,13,13,.92);
  border: 1px solid rgba(250,247,247,.16);
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.cookieInner{
  max-width: var(--container);
  margin: 0 auto;
  padding: 12px 14px;
  display:flex;
  gap: 10px;
  align-items:center;
  justify-content: space-between;
  flex-wrap:wrap;
}
.cookieText{color: var(--muted); font-weight: 750}
.cookieActions{display:flex; gap:10px; flex-wrap:wrap}

/* Modal / popup */
.modalOverlay{
  position: fixed;
  inset:0;
  background: rgba(0,0,0,.65);
  display:none;
  z-index: 120;
  padding: 16px;
}
.modal{
  max-width: 540px;
  margin: 6vh auto 0;
  background: rgba(13,13,13,.96);
  border: 1px solid rgba(250,247,247,.16);
  border-radius: 26px;
  box-shadow: var(--shadow);
  padding: 18px;
}
.modalHeader{display:flex; align-items:center; justify-content:space-between; gap:12px}
.modalTitle{font-weight: 950; font-size: 22px; letter-spacing:-.4px}
.modalClose{border:none; background:transparent; color:var(--ink); font-size: 20px; cursor:pointer}
.modalShow{display:block}

/* Accordion */
.accordion{display:grid; gap:10px}
.accItem{
  border-radius: 22px;
  border: 1px solid rgba(250,247,247,.12);
  background: rgba(250,247,247,.03);
  overflow:hidden;
}
.accBtn{
  width: 100%;
  text-align:left;
  padding: 14px 14px;
  background: transparent;
  border:none;
  cursor:pointer;
  color: var(--ink);
  font-weight: 900;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
}
.accBtn span{color: var(--muted2); font-weight: 900}
.accPanel{
  padding: 0 14px 14px;
  color: var(--muted);
  display:none;
}
.accOpen .accPanel{display:block}

/* Luxury dining homepage additions */
.heroLuxury{
  padding-top: 74px;
  padding-bottom: 32px;
}
.luxTitle{
  max-width: 14ch;
  text-wrap: balance;
}
.heroActions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom: 14px;
}
.heroShell{
  position: relative;
  min-height: 520px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(250,247,247,.16);
  box-shadow: var(--shadow);
}
.heroImage{
  width:100%;
  height:100%;
  min-height: 520px;
  object-fit: cover;
}
.heroOverlay{
  position:absolute;
  left:16px;
  right:16px;
  bottom:16px;
  padding: 14px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(13,13,13,.42), rgba(13,13,13,.88));
  border: 1px solid rgba(250,247,247,.18);
  display:grid;
  gap:8px;
}
.photoRail{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:16px;
  margin-top: 16px;
}
.photoTile{
  margin:0;
  border-radius: 24px;
  overflow:hidden;
  border: 1px solid rgba(250,247,247,.14);
  background: rgba(250,247,247,.03);
  box-shadow: var(--shadow-soft);
}
.photoTile img{
  width:100%;
  height: 260px;
  object-fit: cover;
}
.photoTile figcaption{
  padding: 12px 14px;
  font-size: 14px;
  color: var(--muted);
  font-weight: 700;
}
.reviewGrid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:18px;
  margin-top: 18px;
}
.reviewCard{
  border-radius: 24px;
  overflow:hidden;
  border: 1px solid rgba(250,247,247,.14);
  background: rgba(250,247,247,.03);
  box-shadow: var(--shadow-soft);
}
.reviewCard img{
  width:100%;
  height: 230px;
  object-fit: cover;
}
.reviewContent{
  padding: 16px;
}
.reviewMeta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom: 10px;
}
.rating{
  font-size: 13px;
  font-weight: 900;
  color: #0d0d0d;
  background: linear-gradient(145deg, var(--yellow), #f2d991);
  border-radius: var(--pill);
  padding: 6px 10px;
}
.reviewLead{
  color: var(--muted);
  margin: 10px 0 12px;
}
.reviewFacts{
  margin:0;
  padding-left: 18px;
  color: var(--muted);
  display:grid;
  gap:6px;
}
.reviewFacts strong{color: var(--ink)}
.reviewLinks{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top: 14px;
}
.sourcesNote{
  margin-top: 18px;
  padding: 14px;
  border-radius: 18px;
  border: 1px dashed rgba(250,247,247,.22);
  background: rgba(250,247,247,.03);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

@media (max-width: 980px){
  .heroShell,
  .heroImage{min-height: 420px}
  .reviewGrid{grid-template-columns: 1fr}
  .photoRail{grid-template-columns: 1fr}
  .photoTile img{height: 240px}
}
