/* ================================================================
   COOKIE-CONSENT.CSS · TRYHARDGG SOLUTIONS LIMITED
   ================================================================ */

.ap-cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 8888;
  background: var(--ap-dark-2);
  border-top: 2px solid var(--ap-orange);
  padding: var(--sp-3) var(--sp-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  box-shadow: 0 -4px 24px rgba(0,0,0,.25);
  transform: translateY(0);
  transition: transform .35s ease;
  width: 100%;
}
.ap-cookie-bar[hidden] {
  display: none;
}
.ap-cookie-bar--hidden {
  transform: translateY(110%);
}

.ap-cookie-bar__text {
  flex: 1;
  pointer-events: none;
}
.ap-cookie-bar__text p {
  font-size: .86rem;
  color: rgba(255,251,240,.75);
  line-height: 1.55;
  margin: 0;
  pointer-events: none;
}
.ap-cookie-bar__text a {
  color: var(--ap-yellow);
  text-decoration: underline;
  text-underline-offset: 3px;
  pointer-events: auto;
}

.ap-cookie-bar__btns {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  flex-shrink: 0;
  position: relative;
  z-index: 10;
  pointer-events: auto;
}

.ap-cookie-bar__btn {
  padding: 8px 18px;
  border-radius: var(--r-sm);
  font-size: .83rem;
  font-weight: 700;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background var(--tr), color var(--tr), border-color var(--tr);
  white-space: nowrap;
  pointer-events: auto;
  position: relative;
  z-index: 1;
}
.ap-cookie-bar__btn--accept {
  background: var(--ap-orange);
  color: var(--ap-white);
  border-color: var(--ap-orange);
}
.ap-cookie-bar__btn--accept:hover {
  background: var(--ap-orange-dark);
  border-color: var(--ap-orange-dark);
}
.ap-cookie-bar__btn--decline {
  background: transparent;
  color: rgba(255,251,240,.6);
  border-color: rgba(255,251,240,.25);
}
.ap-cookie-bar__btn--decline:hover {
  border-color: rgba(255,251,240,.5);
  color: rgba(255,251,240,.9);
}
.ap-cookie-bar__btn--customize {
  background: transparent;
  color: var(--ap-yellow);
  border-color: rgba(245,184,0,.3);
}
.ap-cookie-bar__btn--customize:hover {
  border-color: var(--ap-yellow);
  background: rgba(245,184,0,.08);
}

/* Modal */
.ap-cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-3);
}
.ap-cookie-modal[hidden] { display: none; }
.ap-cookie-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26,15,3,.75);
  backdrop-filter: blur(4px);
}
.ap-cookie-modal__panel {
  position: relative;
  z-index: 1;
  background: var(--ap-dark-2);
  border: 1px solid var(--ap-orange);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  max-width: 520px;
  width: 100%;
  box-shadow: 0 16px 60px rgba(0,0,0,.4);
}
.ap-cookie-modal__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ap-cream);
  margin-bottom: var(--sp-3);
}
.ap-cookie-modal__body {
  font-size: .88rem;
  color: rgba(255,251,240,.65);
  line-height: 1.65;
  margin-bottom: var(--sp-4);
}
.ap-cookie-modal__option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(232,105,12,.12);
  font-size: .88rem;
  color: rgba(255,251,240,.75);
}
.ap-cookie-modal__option:last-child { border-bottom: none; }
.ap-cookie-modal__option--disabled { opacity: .5; }
.ap-cookie-modal__always-on { color: rgba(255,251,240,.4); font-size: .82rem; }
.ap-cookie-modal__label { flex: 1; }
.ap-cookie-modal__label strong { display: block; color: var(--ap-cream); margin-bottom: 2px; }
.ap-cookie-modal__btns {
  display: flex;
  gap: var(--sp-2);
  justify-content: flex-end;
  margin-top: var(--sp-4);
}

@media (max-width: 640px) {
  .ap-cookie-bar {
    flex-direction: column;
    align-items: flex-start;
    padding: var(--sp-3);
  }
  .ap-cookie-bar__btns {
    width: 100%;
    flex-wrap: wrap;
  }
  .ap-cookie-bar__btn { flex: 1; text-align: center; }
}
