/* Non-critical styles shared by every website page; loaded without blocking render. */

nav.main a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.btn:not(.ghost):hover {
  background: var(--cta-bg-hover);
  box-shadow: 0 18px 30px -12px var(--cta-shadow), inset 0 1px 0 rgba(255, 255, 255, .4), inset 0 -2px 0 rgba(0, 0, 0, .12);
  transform: translateY(-2px);
}

.btn:not(.ghost):active {
  box-shadow: 0 6px 14px -8px var(--cta-shadow);
  transform: translateY(1px);
}

.btn.ghost:hover {
  background: var(--main-text);
  color: var(--light-text);
}

.btn:not(.ghost)::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 40%;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .45) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-18deg);
  animation: shine 3.6s ease-in-out infinite;
}

@keyframes shine {
  0%, 62% { left: -60%; }
  100% { left: 130%; }
}

.paylogos {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.paylogos span {
  padding: 3px 8px;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: var(--surface);
  font-size: 11px;
  font-weight: 700;
  color: var(--secondary-text);
}

footer.site {
  margin-top: 40px;
  background: var(--dark);
  color: #D8D5CC;
}

.fgrid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 28px;
  padding-block: 44px;
  font-size: 14px;
}

.fgrid .logo {
  font-size: 26px;
  color: var(--light-text);
}

.fgrid__about {
  max-width: 28em;
  margin-top: 10px;
}

.fgrid h4 {
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--light-text);
}

.fgrid ul {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fgrid a { text-decoration: none; }

.fgrid a:hover,
.fgrid button:hover { text-decoration: underline; }

.legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding-block: 18px 26px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 12px;
  color: #ACA89E;
}

.stickyco {
  display: flex;
  align-items: center;
  gap: 14px;
  position: fixed;
  z-index: 25;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 12px 14px calc(12px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 -10px 30px -18px rgba(0, 0, 0, .45);
  backdrop-filter: blur(8px);
  transform: translateY(110%);
  transition: transform .25s;
}

.stickyco.on { transform: none; }
.stickyco:not(.on) { visibility: hidden; }

.stickyco .i {
  flex: 1;
  min-width: 0;
}

.stickyco .i > b {
  display: block;
  overflow: hidden;
  font-size: 16px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stickyco .i small {
  font-size: 14px;
  color: var(--muted-text);
}

.stickyco .i small b { color: var(--success); }

.stickyco .scbtn {
  min-width: 150px;
  height: 58px;
  padding: 0 20px;
  border-radius: 14px;
  font-size: 19px;
}

.cookie {
  position: fixed;
  z-index: 80;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  left: 16px;
  max-width: 720px;
  margin-inline: auto;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .18);
}

.ck-in {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 18px;
}

.ck-t {
  flex: 1;
  min-width: 240px;
  font-size: 13.5px;
  color: var(--secondary-text);
}

.ck-t b {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
  color: var(--main-text);
}

.ck-opts {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 10px;
}

.ck-opts label {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ck-b {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.toast {
  position: fixed;
  z-index: 95;
  top: calc(80px + env(safe-area-inset-top, 0px));
  left: 50%;
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--main-text);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
  font-size: 14px;
  color: var(--light-text);
  transform: translateX(-50%);
}

@media (max-width: 980px) {
  body.sticky-pad { padding-bottom: calc(90px + env(safe-area-inset-bottom, 0px)); }
  body.sticky-pad .cookie { bottom: calc(98px + env(safe-area-inset-bottom, 0px)); }
}

@media (min-width: 981px) {
  .stickyco { display: none; }
}

@media (max-width: 760px) {
  .fgrid { grid-template-columns: 1fr 1fr; }
  .fgrid > div:first-child { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  .btn::after {
    display: none;
    animation: none;
  }
}
