/* ================= BASE ================= */
.cinema-page {
  position: relative;
  color: #fff;
	border-radius:20px;
  background: #f4433630;
  overflow: hidden;
}

.cinema-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(30px) brightness(.3);
  z-index: 0;
}

.cinema-hero {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 20px;
  padding: 20px;
}

.hero-poster img {
  width: 100%;
  border-radius: 5px;
 
}

.poster-rating {
  margin-top: 12px;
  text-align: center;
  background: rgba(0,0,0,.6);
  padding: 6px;
  border-radius: 8px;
}

/* ================= PREVIEW / PLAYER ================= */
.hero-preview {
  position: relative;
  border-radius: 5px;
  overflow: hidden;
  min-height: 350px;
  background: #000;
}



.preview-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,.75), transparent);
}

.preview-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.15);
  font-size: 36px;
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: .3s;
}
/* ================= PLAYER TOP BAR ================= */
.preview-top-controls {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,.85),
    rgba(0,0,0,.45),
    transparent
  );
  padding: 1px 1px;
  box-sizing: border-box;
}

.pmovie__player-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tabs-block__select {
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}

.tabs-block__select::-webkit-scrollbar {
  display: none;
}

.tablinks {
  padding: 7px 16px;
  border-radius: 14px;
  background: rgba(255,255,255,.14);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: .25s;
  backdrop-filter: blur(6px);
}

.tablinks:hover,
.tablinks.active {
  background: #F44336;
  box-shadow: 0 4px 14px rgb(244 67 54 / 55%);
}

.pmovie__complaint {
  margin-left: auto;
  font-size: 13px;
}

.pmovie__complaint a {
  color: #ffb3b3;
  text-decoration: none;
}

/* ================= TABLET ================= */
@media (max-width: 1024px) {
  .preview-top-controls {
    padding: 10px 14px;
  }
.hero-poster {
  display: flex;
  justify-content: center; /* ჰორიზონტალურად */
  align-items: center;     /* ვერტიკალურად */
}

.hero-poster img {
  width: 272px;
  border-radius: 5px;
}
  .tablinks {
    padding: 6px 14px;
    font-size: 12px;
  }
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {
  .preview-top-controls {
    padding: 8px 10px;
  }

  .pmovie__player-controls {
    gap: 8px;
  }

  .tablinks {
    padding: 6px 12px;
    font-size: 11px;
    border-radius: 12px;
  }

  .pmovie__complaint {
    font-size: 11px;
  }
}

/* ================= SMALL MOBILE ================= */
@media (max-width: 480px) {
  .preview-top-controls {
    padding: 6px 8px;
  }

  .tablinks {
    padding: 6px 10px;
    font-size: 10px;
  }

  .pmovie__complaint {
    display: none; /* პატარა ეკრანზე სისუფთავისთვის */
  }
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {
  .preview-top-controls {
    padding: 1px 10px;
  }

  .tablinks {
    padding: 5px 10px;
    font-size: 12px;
  }
}

.preview-play:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

/* PLAYER */
.preview-player {
  display: none;
  width: 100%;
  height: 100%;
  background: #000;
}

.preview-player iframe {
  width: 100%;
  height: 100%;
    min-height: 480px;
}

/* ================= INFO ================= */
.cinema-info {
  padding: 21px 20px;
}

.cinema-title {
  font-size: 27px;
  font-weight: 800;
}

.cinema-original {
  color: #F44336;
  margin-bottom: 20px;
}

.cinema-meta {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.cinema-desc {
  padding: 24px 10px 40px;
  color: #ddd;
  line-height: 1.7;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {
  .cinema-hero {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px;
  }


  .hero-preview {
    width: 100%;
    min-height: unset;
    height: 480px;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
  }

  .preview-content,
  .preview-player {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .preview-player iframe {
    width: 100%;
    height: 100%;
    border-radius: 16px;
  }

  .preview-play {
    width: 168px;
    height: 68px;
    font-size: 26px;
  }
}


.page__comments {
	margin-top: 40px;
}

.page__comments-header {
	align-items: center;
	margin-bottom: 15px;
}

.page__comments-title {
	font-size: 18px;
	font-weight: 700;
	color: #e5e5e5;
}

.comment-link {
	padding: 8px 14px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	color: #ff3b3b;
	border: 1px solid rgba(255,59,59,.4);
	cursor: pointer;
	transition: all .25s ease;
}

.comment-link:hover {
	background: rgba(255,59,59,.12);
	color: #ffffff;
	border-color: #ff3b3b;
}

.page__comments-list--empty::before {
	content: "კომენტარები ჯერ არ არის";
	display: block;
	padding: 25px;
	text-align: center;
	color: #888;
	font-size: 14px;
}    
/* ================= EXTRA SMALL PHONES ================= */
@media (max-width: 480px) {

  .hero-preview {
    aspect-ratio: 9 / 9;
    border-radius: 14px;
  }

  .preview-play {
    width: 58px;
    height: 58px;
    font-size: 22px;
  }
}

@font-face {
    font-family: 'Camber';
    src: url('../webfonts/bpg-arial-webfont.eot'); /* IE9 Compat Modes */
    src: url('../webfonts/bpg-arial-webfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../webfonts/Camber-Sb.woff2') format('woff2'), /* Super Modern Browsers */
         url('../webfonts/Camber-Sb.woff') format('woff'), /* Pretty Modern Browsers */
         url('../webfonts/bpg-arial-webfont.ttf') format('truetype'), /* Safari, Android, iOS */
         url('../webfonts/bpg-arial-webfont.svg#bpg_arialregular') format('svg'); /* Legacy iOS */
}

/* BODY BACKGROUND ANIMATED PURPLE WAVE */
body {
  --bg: #050505;
  background: radial-gradient(circle at 30% 30%, #f443367d, transparent 40%),
              radial-gradient(circle at 70% 70%, rgb(244 67 54 / 70%), transparent 40%),
              var(--bg);
  background-size: 400% 400%;
  animation: moveGlow 18s ease-in-out infinite alternate;
  color: #fff;
  overflow-x: hidden;
  position: relative;
}

/* მოძრაობის ეფექტი */
@keyframes moveGlow {
  0% {
    background-position: 30% 30%, 70% 70%, 0 0;
  }
  50% {
    background-position: 60% 40%, 40% 80%, 100% 100%;
  }
  100% {
    background-position: 80% 20%, 20% 60%, 0 100%;
  }
}
.item-poster__img {


  transition: all 0.3s ease;
  box-shadow: 0 0 0 rgba(255, 255, 255, 0);
}

.item-poster__img:hover {
  border-color: #fff;
  box-shadow: 0 0 10px rgb(255 255 255 / 86%); /* იასამნისფერი glow */
  transform: scale(1.03);
}

/* დამატებით შეგიძლია დაადო სუსტი ბრწყინვალე ორნამენტები ზევით */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgb(244 67 54 / 0%), transparent 80%),
              radial-gradient(circle at 10% 90%, rgb(244 67 54 / 17%), transparent 90%);
  animation: floatLight 25s linear infinite alternate;
  z-index: -1;
  pointer-events: none;
}

/* ეს ქმნის ნაზ მოძრაობას განათებების */
@keyframes floatLight {
  0% {
    transform: translateY(0px) scale(1);
  }
  50% {
    transform: translateY(-20px) scale(1.05);
  }
  100% {
    transform: translateY(10px) scale(1);
  }
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #F44336, #F44336, #353535);
    border-radius: 3px;
    box-shadow: 0 0 10px #F44336;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #9a61ff, #673AB7, #353535);
    box-shadow: 0 0 12px #9C27B0;
}

::-webkit-scrollbar-track {
    background: #000000;
    border-radius: 10px;
}
/* 
Datalife Engine template, design by Bogdan Zelinskij, 
name: Cinemax, creation date: 29 may 2022, version dle: 14 and higher
*/

:root {
  
  /* ფონი */
  --bg: #000000;
  --bg-brighter: #111111;
  --bg-tx: #ffffff; /* ტექსტები */
  --tt: #ffffff;
  --tts: #bbbbbb;
  --tt-brighter: #ffffff;
  --tt-fader: #777777;
  --tt-fader-gray: #999999;

  /* საზღვრები */
  --bdc: #ffffff30;
  --bdc-lighter: rgb(255 255 255 / 0%);

  /* გრადიენტები */
  --gradient-top: linear-gradient(to top, rgba(0, 0, 0, 0.05), transparent);

  /* აქცენტები (სტაფილოსფერი) */
  --accent: #F44336;
  --accent2: #ff8b83;
  --accent-text: #ffffff;

  /* ღილაკები */
  --btn-bg: #F44336;
  --btn-bg-hover: #ff8076;
  --btn-tt: #ffffff;

  /* UI ფერები */
  --ui-bg: #f5f5f5;
  --ui-bg-darker: #eeeeee;
  --ui-bg-darkest: #e0e0e0;
  --ui-bg-accent: #ffefe0;
  --ui-text-color-on-accent: #ffffff;
  --ui-bdc: #cccccc;

 /* სხვა პარამეტრები */ --indent-negative: -120px; --indent: 120px; --max-width: 1466px; --bg-2: #1e1e1e; --bg-d: #151515; --bg-3: #ffffff; --bg-ser: #ffffff; --bg-ser2: #2a2a2a;

  --bg-bg: url(../images/logo1.png) 38px 13px / 35px no-repeat;
  --bg-sh1: url(../images/logo.png) 6px center / 20px auto no-repeat;
  --bg-s: rgba(255, 255, 255, 0.74);
  --bg-bgr: url(../images/logo.png) 6px center / 20px auto no-repeat;
}
@media screen and (max-width: 1220px) {
	:root {
		--indent-negative: -20px;
		--indent: 20px;
	}

}

/* RESET, BASIC UI SETTINGS
----------------------------------------------- */
* {background: transparent; margin: 0; padding: 0; outline: none; border: 0; box-sizing: border-box;}
ol, ul {list-style: none;}
table {border-collapse: collapse; border-spacing: 0;}
img, table, iframe, video, frame, embed, object {max-width: 100%;}
body {font: 16px 'Circe', sans-serif; line-height: normal; padding: 0; margin: 0;       
	color: var(--tt); background: var(--bg); 
	min-height: 100%; width: 100%; font-weight: 300; overflow-x: hidden; letter-spacing: 0.02em;}
a {color: var(--tt); text-decoration: none;}
a:hover, a:focus {color: var(--accent); text-decoration: none;}
h1, h2, h3, h4, h5 {font-weight: 700; font-size: 24px;}
::selection {background: #ff0000; color: #fff;}
b, strong, .bolder {font-weight: 400;}

button, select, textarea, input[type="text"], input[type="password"], input[type="button"], input[type="submit"] 
	{appearance: none; -webkit-appearance: none; font-size: 16px; font-family: inherit;}
button, .btn, input[type="button"], input[type="reset"], input[type="submit"], .form__btn, 
.qq-upload-button, .pm__links a, .usp__btn a {display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-align: center;
    padding: 0 20px;
    height: 40px;
    font-size: 16px;
    font-weight: 400;
    white-space: nowrap;
    background-color: var(--accent);
    color: var(--bg-tx);
    border-radius: 9px;
    box-shadow: none;}
button:hover, .btn:hover, input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover, 
.form__btn:hover, .qq-upload-button:hover, .pm__links a:hover, .usp__btn a:hover 
{     background: #a12727;}
button:active, input[type="button"]:active, input[type="submit"]:active {box-shadow: inset 0 1px 4px 0 rgba(0,0,0,0.1);}
.page_hh {font-size: 13px; font-weight: 500;}
.color-btn, [class*=fr], [class*=plyr], [class*=owl-], [id*=mceu] {padding: 0; margin: 0; 
	line-height: normal; border: 0; box-shadow: none; background: none; border-radius: 0;}

input[type="text"], input[type="password"] {height: 40px; line-height: 40px; border-radius: 4px; padding: 0 15px;}
select {height: 40px; padding: 0 15px; display: block;}
select:not([multiple]) {background-image: url(../dleimages/chevron.svg); padding-right: 30px;
	background-repeat: no-repeat; background-position: right 15px top 50%; background-size: .6em auto;}
select option {padding: 6px 10px;}
select[multiple] {padding: 0 5px;}
textarea {padding: 15px; overflow: auto; vertical-align: top; resize: vertical;}
input[type="text"], input[type="password"], select, textarea {width: 100%; background-color: var(--bg); color: var(--tt); 
border: 1px double var(--bg-d);	}
input[type="text"]:focus, input[type="password"]:focus, textarea:focus 
	{box-shadow: inset 0 0 0 1px var(--accent), inset 1px 2px 5px rgba(0,0,0,0.1);}
input::placeholder, textarea::placeholder {color: var(--tt); opacity: 0.4; font-size: 15px;} 
input:focus::placeholder, textarea:focus::placeholder {color: transparent}

/* SNIPPETS
----------------------------------------------- */
.img-box, .img-wide, .img-responsive, .img-fit-cover {overflow: hidden; position: relative;}
.img-responsive {padding-top: 60%;}
.img-responsive--portrait {padding-top: 150%;}
.img-box > img, .img-responsive > img {width: 100%; min-height: 100%; display: block;}
.img-responsive > img {position: absolute; left: 0; top: 0;}
.img-wide img, .img-wide > a {width: 100%; display: block;}
.img-fit-cover img {width: 100%; height: 100%; object-fit: cover;    border-radius: 12px;}
.clr {clear: both;}
.clearfix::after {content: ""; display: table; clear: both;}
.ws-nowrap {white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block;}
.line-clamp {display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;}
.vw100 {margin:0 calc((100% - 100vw)/2); padding:0 calc((100vw - 100%)/2);}
.img-mask::before {content: ''; position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; height: 60%; 
	background: linear-gradient(to top, #000 0%, transparent 100%); opacity: 0.8;}
.d-flex, .fx-row, #dle-content {display: flex; flex-wrap: wrap; flex-direction: row;}
.fd-column, .fx-col {flex-direction: column; flex-wrap: nowrap;} 
.jc-space-between, .fx-row {justify-content: space-between;}
.jc-flex-start, .fx-start, #dle-content {justify-content: flex-start;}
.jc-center, .fx-center {justify-content: center;}
.jc-flex-end {justify-content: flex-end;}
.ai-flex-start {align-items: flex-start;}
.ai-center, .fx-middle {align-items: center;}
.ai-flex-end {align-items: flex-end;}
.order-first {order: -1;}
.order-last {order: 10;}
.flex-grow-1, .fx-1, .stretch-free-width {flex: 1 1 0; max-width: 100%; min-width: 50px;}
.btn-icon, .centered-content {display: inline-flex; justify-content: center; align-items: center;}
.icon-at-left [class*="fa-"], .icon-left .icon {margin-right: 0.5em;}
.icon-at-right [class*="fa-"], .icon-right .icon {margin-left: 0.5em;}
.hidden, #dofullsearch, .form__header .form__btn, .comment-item__main .quote + br, .d-none {display: none;}
.anim, button, .btn, a, a img, .btn-accent, .header__btn-search {transition: all 0.2s linear;}

#dle-content, .grid-items {display: grid; grid-template-columns: repeat(auto-fill,minmax(180px,1fr)); grid-gap: 30px 30px;}
.grid-items > *:not(.grid-item), #dle-content > *:not(.grid-item) {grid-column: 1 / -1;}

@font-face {font-family: 'Circe'; src: url('../webfonts/Circe-300.woff2') format('woff2');
	font-weight: 300; font-style: normal; font-display: swap;}
@font-face {font-family: 'Circe'; src: url('../webfonts/Circe-400.woff2') format('woff2');
	font-weight: 400; font-style: normal; font-display: swap;}
@font-face {font-family: 'Circe'; src: url('../webfonts/Circe-900.woff2') format('woff2');
	font-weight: 900; font-style: normal; font-display: swap;}

.header__btn-menu, .header__login-pm, .item-slide__text, .item-poster__meta, .filter-block__cell-caption, 
.pmovie__list, .pmovie__text,  .pmovie__devices, .pmovie__caption, .site-desc {color: var(--tts);}
.pmovie__list a {color: var(--accent);
    padding: 0 4px;
	font-size: 15px;
    line-height: 28px;}
.logo, .item-slide__title {font-weight: 900;}
.pmovie__header-main h1 {font-weight: 500;}
.site-desc, .item-slide__text, .pmovie__text, .pmovie__caption {color: var(--tt-fader-gray);}

.item-slide__img:hover .item__play-btn {opacity: 0 !important;}
.item:hover .item__play-btn, .item:hover .item-poster__desc-btn {opacity: 1;}
.item-poster__desc-btn:hover {color: var(--accent); border-color: var(--accent); transform: scale(1.3,1.3);}

.theme-toggle {display: inline-flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background-color: var(--bg-2);
    height: 36px;
    border-radius: 12px;
    padding: 5px 0;
    margin-right: 0px;}
.theme-toggle li {cursor: pointer; width: 26px; height: 26px; line-height: 28px; 
	border-radius: 9px; text-align: center; color: var(--tt-fader); margin: 0 5px;} 
.theme-toggle:hover li {color: #fff;}
.lt-is-active .theme-toggle li:first-child, body:not(.lt-is-active) .theme-toggle li:last-child 
{background-color:var(--accent); color: var(--accent-text);}
.lt-is-active {
    --bsh-poster: 0 3px 10px 0px rgba(0,0,0,0.10);
	--bg: #1f1f1f; --bg-brighter: #383838;
	--tt: #eee; --tts: #e5e5e5; --tt-brighter: #fff; --tt-fader: #ff7171; --tt-fader-gray: #b9b8b8;
	--bdc: rgba(255,255,255,0.13); --bdc-lighter: rgba(255,255,255,0.6);
	--gradient: radial-gradient(circle closest-side at center, #37394e 0%, transparent 100%);
	--gradient-top: linear-gradient(to top, #181d2d 0%, transparent 100%);
	--accent: #ff5757; --accent2: #fff; --accent-text: #000;
	--btn-bg: #4d4f69; --btn-bg-hover: #6f7191; --btn-tt: #eee;
	--ui-bg: #1f1f1f; --ui-bg-darker: #404040; --ui-bg-darkest: #0a0c13;
	--ui-bg-accent: #0a0c13; --ui-text-color-on-accent: #fff; --ui-bdc: #0a0c13;
    --ui-green: #65c03e;
    --indent-negative: -120px;
	--indent: 120px;
	--max-width: 1366px;
	--bg-2: rgb(56 56 56);
	--bg-d:#585858;
	--bg-3:#161616; --bg-ser:#111111; --bg-ser2: #161616;
	--bg-bg: url(../images/logod.svg) 42px 9px / 35px no-repeat;
	--bg-sh1: url(../images/logod.svg) 6px center / 20px auto no-repeat;
	--bg-s:rgb(0 0 0 / 74%);
     --bg-bgr:url(../images/logod.svg) 6px center / 20px auto no-repeat;
}

@media screen and (min-width: 1220px) {
	
	.lt-is-active .pmovie .pmovie__list {--tt-fader: #d2e1eb;}
	.lt-is-active .pmovie .pmovie__header-main h1 {white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}
	.lt-is-active .pmovie .pmovie__list {min-height: 142px;}
	.lt-is-active .pmovie .pmovie__header {min-height: 69px;}
	.lt-is-active .infull .blurred-bg, .lt-is-active .wrapper.infull::after {height: 415px;}
	.lt-is-active .pmovie .pmovie__text {margin-top: 50px;}
}
@media screen and (max-width: 1220px) {
		.lt-is-active  {
    --indent-negative: -20px;
    --indent: 20px;
}
	.lt-is-active .infull .blurred-bg, .lt-is-active .wrapper.infull::after {display: none !important;}

}
@media screen and (max-width: 950px) {
	.lt-is-active .blurred-bg, .lt-is-active .wrapper.add-bg::after {height: 430px;}
}
@media screen and (max-width: 470px) {
	.lt-is-active .blurred-bg, .lt-is-active .wrapper.add-bg::after {height: 410px;}
	.lt-is-active .infull .blurred-bg, .lt-is-active .wrapper.infull::after {display: block !important;}
	
}
  #vip-popunder {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 0, 25, 0.88);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    display: none;
  }

  .vip-content {
    background: linear-gradient(145deg, rgba(90, 60, 255, 0.15), rgba(40, 20, 80, 0.55));
    color: #fff;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    max-width: 420px;
    width: 90%;
    position: relative;
    box-shadow: 0 0 35px rgba(160, 90, 255, 0.25);
    border: 1px solid rgba(160, 90, 255, 0.4);
    animation: fadeIn 0.45s ease;
  }

  .vip-content h2 {
    background: linear-gradient(90deg, #b073ff, #c7a0ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 15px;
    text-transform: uppercase;
  }

  .vip-content p {
    font-size: 17px;
    color: #dcdcdc;
    line-height: 1.6;
    margin-bottom: 30px;
    font-family: 'Poppins', sans-serif;
  }

  .vip-content p b {
    color: #bb86ff;
  }

  .vip-content a.button {
    display: inline-block;
    background: linear-gradient(135deg, #8b52ff, #b07cff);
    color: #fff;
    padding: 13px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(150, 90, 255, 0.4);
  }

  .vip-content a.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(180, 120, 255, 0.7);
  }

  .close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 26px;
    cursor: pointer;
    color: #aaa;
    transition: color 0.2s;
  }

  .close-btn:hover {
    color: #fff;
  }

  @keyframes fadeIn {
    from { opacity: 0; transform: scale(0.93); }
    to { opacity: 1; transform: scale(1); }
  }
  #popup {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(10, 0, 20, 0.88);
    backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
  }

  .popup-content {
    background: linear-gradient(145deg, rgba(90, 60, 255, 0.15), rgba(40, 20, 80, 0.6));
    border: 1px solid rgba(160, 90, 255, 0.4);
    box-shadow: 0 0 35px rgba(120, 60, 255, 0.25);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    color: #fff;
    width: min(420px, 90%);
    position: relative;
    animation: fadeIn 0.4s ease-in-out;
  }

  .popup-content .logo {
    width: 110px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(150, 80, 255, 0.5));
  }

  .popup-content p {
    font-size: 17px;
    line-height: 1.6;
    color: #ddd;
    margin-bottom: 28px;
    font-family: 'Poppins', sans-serif;
  }

  .popup-buttons {
    display: flex;
    justify-content: center;
  }

  .fb-button {
    background: linear-gradient(135deg, #7e3cff, #a56bff);
    color: #fff;
    padding: 12px 22px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 0 12px rgba(160, 90, 255, 0.4);
  }

  .fb-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(180, 110, 255, 0.6);
  }

  .fb-button img {
    width: 22px;
    height: 22px;
    filter: brightness(1.1);
  }

  .close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 28px;
    color: #bbb;
    cursor: pointer;
    transition: color 0.2s ease;
  }

  .close-btn:hover {
    color: #fff;
  }

  @keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
  }