body{
  background: #0c021f;
  color: #fff;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  margin:0;
}

.legal{
  padding: 120px 24px 100px;
}

.legal__wrap{
  max-width: 900px;
  margin: 0 auto;
}

.legal__title{
  font-size: 42px;
  margin-bottom: 10px;
  font-weight: 800;
}

.legal__updated{
  font-size: 14px;
  opacity: .7;
  margin-bottom: 50px;
}

h2{
  margin-top: 40px;
  font-size: 22px;
}

h3{
  margin-top: 24px;
  font-size: 18px;
}

p{
  line-height: 1.7;
  opacity: .9;
}

a{
  color: #bfa6ff;
  font-weight: 600;
}

.legal__btn{
  margin: 20px 0 30px;
  padding: 12px 22px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  background: #7c3fff;
  color: #fff;
}

.legal__btn:hover{
  background: #8e55ff;
}


/* ===== Banner ===== */
.cookie-banner{
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1100px, calc(100% - 32px));
  background: rgba(20, 10, 80, 0.95);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  border-radius: 18px;
  padding: 22px 26px;
  z-index: 10000;
  box-shadow: 0 20px 60px rgba(0,0,0,0.45);
  display: none;
}

.cookie-banner.is-open{
  display: block;
}

.cookie-banner__inner{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.cookie-banner__title{
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 800;
}

.cookie-banner__text p{
  margin: 0;
  font-size: 14px;
  opacity: 0.9;
  line-height: 1.5;
}

.cookie-banner a{
  color: #ffffff;
  font-weight: 700;
  text-decoration: underline;
}

.cookie-banner__actions{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ===== Buttons ===== */
.cookie-btn{
  padding: 10px 18px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  transition: 0.25s ease;
}

.cookie-btn--primary{
  background: #7c3fff;
  color: #fff;
}

.cookie-btn--primary:hover{
  background: #8e55ff;
}

.cookie-btn--secondary{
  background: rgba(255,255,255,0.12);
  color: #fff;
}

.cookie-btn--secondary:hover{
  background: rgba(255,255,255,0.20);
}

.cookie-btn--ghost{
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
}

.cookie-btn--ghost:hover{
  background: rgba(255,255,255,0.1);
}

/* ===== Modal ===== */
.cookie-modal-backdrop{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(3px);
  z-index: 10001;
  display: none;
}

.cookie-modal{
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(620px, calc(100% - 32px));
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 25px 80px rgba(0,0,0,0.45);
  z-index: 10002;
  display: none;
  overflow: hidden;
  color: #1a1242;
}

.cookie-modal__header{
  padding: 24px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.cookie-modal__header h3{
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 900;
}

.cookie-modal__header p{
  margin: 0;
  font-size: 14px;
  opacity: 0.7;
}

.cookie-modal__close{
  border: none;
  background: rgba(0,0,0,0.06);
  border-radius: 12px;
  width: 38px;
  height: 38px;
  font-size: 20px;
  cursor: pointer;
}

.cookie-modal__body{
  padding: 18px 24px;
}

.cookie-option{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  gap: 20px;
}

.cookie-option:last-child{
  border-bottom: none;
}

.cookie-option h4{
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 900;
}

.cookie-option p{
  margin: 0;
  font-size: 13px;
  opacity: 0.7;
}

.cookie-option__right{
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ===== Switch ===== */
.cookie-switch{
  position: relative;
  width: 48px;
  height: 28px;
}

.cookie-switch input{
  display: none;
}

.cookie-slider{
  position: absolute;
  inset: 0;
  background: #ddd;
  border-radius: 999px;
  cursor: pointer;
  transition: .2s;
}

.cookie-slider:before{
  content:"";
  position:absolute;
  width: 22px;
  height: 22px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: .2s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.cookie-switch input:checked + .cookie-slider{
  background: #7c3fff;
}

.cookie-switch input:checked + .cookie-slider:before{
  transform: translateX(20px);
}

.cookie-badge{
  font-size: 12px;
  font-weight: 700;
  background: rgba(124,63,255,0.15);
  color: #7c3fff;
  padding: 6px 10px;
  border-radius: 999px;
}

/* ===== Footer ===== */
.cookie-modal__footer{
  padding: 20px 24px;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  background: #f7f7fb;
  flex-wrap: wrap;
}

/* ===== Responsive ===== */
@media (max-width: 768px){
  .cookie-banner{
    bottom: 0;
    border-radius: 0;
    width: 100%;
  }

  .cookie-modal{
    width: calc(100% - 20px);
  }
}

/*=====button back====*/


.legal__back {
  position: absolute;
  top: 24px;      /* 👈 απόσταση από πάνω */
  left: 24px;     /* 👈 απόσταση από αριστερά */
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;    /* άσπρο */
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.legal__back:hover {
  transform: scale(1.05);
  opacity: 0.85;
}



















