/* Footer styles for Magyar Klubestek */

.mk-footer {
  border-top: 1px solid var(--color-border-subtle);
  background: radial-gradient(circle at top left, rgba(201, 162, 90, 0.12), transparent 55%),
              var(--color-bg-elevated);
  padding-top: var(--space-24);
}

.mk-footer__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
}

.mk-footer__brand {
  display: flex;
  align-items: center;
  gap: var(--space-12);
}

.mk-footer__brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 0, rgba(248, 227, 183, 0.45), transparent 55%),
              linear-gradient(145deg, #c9a25a, #735121);
  color: #120d05;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.16em;
}

.mk-footer__brand-text {
  display: flex;
  flex-direction: column;
}

.mk-footer__brand-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mk-footer__brand-subtitle {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.mk-footer__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-24);
  padding-bottom: var(--space-24);
}

.mk-footer__section {
  min-width: 0;
}

.mk-footer__heading {
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: var(--space-8);
}

.mk-footer__links {
  list-style: none;
  padding: 0;
}

.mk-footer__links li + li {
  margin-top: 0.4rem;
}

.mk-footer__links a {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  position: relative;
}

.mk-footer__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.15rem;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(201, 162, 90, 0.8), rgba(201, 162, 90, 0));
  transition: width var(--transition-normal);
}

.mk-footer__links a:hover,
.mk-footer__links a:focus-visible {
  color: #f8e3b7;
}

.mk-footer__links a:hover::after,
.mk-footer__links a:focus-visible::after {
  width: 100%;
}

.mk-footer__bottom {
  border-top: 1px solid var(--color-border-subtle);
  padding-top: var(--space-12);
  padding-bottom: var(--space-16);
}

.mk-footer__bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.mk-footer__copy {
  margin: 0;
}

.mk-footer__age {
  margin: 0;
  color: var(--color-text);
}

@media (min-width: 768px) {
  .mk-footer__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .mk-footer__brand {
    flex: 1;
    max-width: 320px;
  }

  .mk-footer__grid {
    flex: 1.7;
    padding-bottom: var(--space-32);
  }

  .mk-footer__bottom-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (max-width: 767px) {
  .mk-footer__grid {
    grid-template-columns: 1fr;
  }
}

/* Cookie banner */

.mk-cookie {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 60;
  padding: var(--space-8) var(--space-16) calc(env(safe-area-inset-bottom, 0) + var(--space-8));
  background: linear-gradient(to top, rgba(0, 0, 0, 0.96), rgba(0, 0, 0, 0.92));
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform var(--transition-normal), opacity var(--transition-normal);
}

.mk-cookie--visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mk-cookie__inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-12);
}

.mk-cookie__text {
  flex: 1;
}

.mk-cookie__title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.mk-cookie__description {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin: 0 0 0.2rem 0;
}

.mk-cookie__link {
  font-size: 0.8rem;
}

.mk-cookie__actions {
  display: flex;
  flex-shrink: 0;
  gap: var(--space-8);
}

.mk-cookie__button {
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.mk-cookie__button--primary {
  background: linear-gradient(135deg, rgba(201, 162, 90, 0.95), rgba(115, 81, 33, 0.95));
  color: #1b1407;
}

.mk-cookie__button--secondary {
  background: rgba(12, 12, 18, 0.9);
  color: var(--color-text);
}

.mk-cookie__button:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

@media (max-width: 767px) {
  .mk-cookie__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .mk-cookie__actions {
    width: 100%;
    justify-content: flex-end;
    flex-wrap: wrap;
  }

  .mk-cookie__button {
    flex: 1 1 auto;
    text-align: center;
  }
}
