* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html,
body {
    height: 100%;
    font-family: "Montserrat", sans-serif;
    line-height: 1.4
}

/* ─── Background video ─── */
#bg-video {
    position: fixed;
   top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2
}

.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    backdrop-filter: blur(2px);
    z-index: -1;
    pointer-events: none
}

/* ─── Login (top-right) ─── */
.login {
    position: fixed;
    top: 1.5rem;
    right: 2rem;
    z-index: 5
}

/* ─── Primary CTA style (lilac gradient pill) ─── */
.cta {
    background: linear-gradient(135deg, #dcd0ff 0%, #5b21b6 100%);
    border: none;
    border-radius: 48px;
    padding: 1rem 3rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    cursor: pointer;
    transition: transform .25s, box-shadow .25s, background .25s;
}

.cta:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .4);
    background: linear-gradient(135deg, #c7b8ff 0%, #4c1d95 100%);
}

@media(max-width:480px) {
    .cta {
        font-size: 1rem;
        padding: .8rem 2rem
    }
}


/* ─── Hero section ─── */
.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
    gap: 2.5rem;
    padding: 0 1rem;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 4px 12px rgba(0, 0, 0, .2);
    background: linear-gradient(135deg, #dcd0ff 0%, #5b21b6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}




.avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  border: 3px solid #5b21b6;
}



.profile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.profile-menu li {
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  border-bottom: 1px solid #5811e6;
}

.profile-menu li:hover {
  background-color: #f0f0ff;
}

.hidden {
  display: none;
}


/* ─── Modal ─── */
.modal {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, .6);
    backdrop-filter: blur(2px);
    z-index: 50
}

.modal.hidden {
    display: none
}

.modal-content {
    position: relative;
    background: rgba(235, 221, 255, 0.97);
    padding: 2rem 2.5rem;
    border-radius: 20px;
    width: min(90%, 420px);
    text-align: center;
    box-shadow: 0 8px 28px rgba(0, 0, 0, .35)
}

.modal-logo {
    width: 72px;
    height: 72px;
    margin-bottom: 1rem
}

.modal-close {
    position: absolute;
    top: .6rem;
    right: .9rem;
    background: none;
    border: none;
    font-size: 1.9rem;
    line-height: 1;
    color: #5b21b6;
    cursor: pointer
}

/* Social buttons */
.social-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.25rem
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    font-size: 1.05rem;
    font-weight: 600;
    border: none;
    border-radius: 48px;
    padding: .9rem 1rem;
    cursor: pointer;
    transition: transform .25s, box-shadow .25s;
    width: 100%
}

.social-btn:hover {
    transform: scale(1.04);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .25)
}

.social-btn.google {
    background: #ffffff;
    color: #111;
    border: 2px solid #cbd5e1
}

.social-btn.facebook {
    background: #1877F2;
    color: #fff
}

.hidden {
    display: none !important
}

/* ─── Minor extras ─── */
.modal-title {
    color: #5b21b6;
    margin-bottom: .5rem
}

.modal-terms {
    font-size: .85rem;
    margin-top: 1rem;
    color: #64748b
}

body {
 /* background: url('backgroun.jpeg') center center / cover no-repeat;*/
  background-attachment: fixed;
}

/* Контейнерът с аватара */
.profile-header {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

/* Аватар */
.avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  border: 2px solid #fff;
}

/* Меню */
.profile-menu {
  position: absolute;
  top: 70px;         /* под аватара */
  right: 0;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  border-radius: 12px;
  overflow: hidden;
  min-width: 180px;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

/* Скрито меню */
.profile-menu.hidden {
  opacity: 0;
  visibility: hidden;
}

/* Списък */
.profile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Елементите */
.profile-menu li {
  padding: 0.75rem 1rem;
  cursor: pointer;
  border-bottom: 1px solid #eee;
  font-size: 1rem;
  color: #4c1d95;   /* тъмно лилаво */
}

.profile-menu li:last-child {
  border-bottom: none;
}

.profile-menu li:hover {
  background: #f0f0ff;
}
