/* url(themes.css) */
:root {
  --radius: 18px;
  --card-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
  --card-bg: #ffffff;
  --main-color: #111111;
  --overlay-opacity: 0.4;
  --card-blur: 0px;
  --card-opacity: 0;
  --card-saturation: 1.1;
}

/* الحالة الطبيعية: فيه بلور */
.poster-card.has-blur {
  backdrop-filter: blur(var(--card-blur)) saturate(var(--card-saturation, 1));
}

/* لما البلور = صفر → نشيل أي فلتر */
.poster-card.no-blur {
  backdrop-filter: none !important;
}

.highlight-text {
  color: var(--highlight-color);
}

.theme-web {
  --main-bg: #ffffff;           /* خلفية بيضاء صريحة */
  --main-color: #111111;        /* نص داكن واضح */
  --subtext-color: #555555;     /* نص ثانوي */

  --highlight-color: #000000;   /* لون تركيز – بسيط وواضح */

  --button-bg: #f1f1f1;         /* زر رمادي فاتح */
  --button-bg-hover: #e5e5e5;   /* hover ناعم */
  --button-text: #111111;       /* نص الزر */
  --button-shadow: 0 2px 4px rgba(0,0,0,0.06);

  --card-bg: #ffffff;           /* كروت بيضاء */
  --card-shadow: 0 2px 6px rgba(0,0,0,0.05); /* ظل خفيف محترم */

  --border-color: #e5e5e5;      /* حدود ناعمة */
  --bio-color: #ffffff;         /* خلفية البايو */

  --radius: 16px;
}

.theme-neoBlue {
  /* --main-bg: linear-gradient(135deg, #090922, #0b0f27, #111133); */
  --main-bg: #0d1030;

  --main-color: #e8faff;
  --button-bg: linear-gradient(to right, #1f2650, #2a2ab3);
  --button-text: #ffffff;
  --button-shadow: 0px .5px 0px 0px #11e446;
  --highlight-color: #4df0ff;
  --card-bg: #ffffff15;
  --card-shadow: 0 8px 24px rgba(0, 200, 255, 0.12);
  --radius: 20px;
}

.theme-newDark {
  --main-bg: #24262A;          /* الخلفية العامة */
  --main-color: #ffffff;       /* نص قوي */
  --subtext-color: #b9bbbe;    /* نص ثانوي */

  --button-bg: #3a3c43;        /* زر محايد */
  --button-bg-hover: #4f5158;
  --button-text: #ffffff;

  --highlight-color: #ffffff;  /* لو عايز تميّز نص يبقى أبيض مش برتقالي */

  --card-bg: #2f3136;          /* البوكسات */
  --card-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);

  --radius: 20px;
}

.theme-dark {
  /* --main-bg: linear-gradient(135deg, #0f1724, #1a2a3a, #243447); */
  --main-bg: #17212b;
  --main-color: #eee;
  --button-bg: linear-gradient(to right, #1a2a3a, #0f1723);
  --button-text: #fff;
  --highlight-color: #11e446;
  --card-bg: #1e293b;
  --card-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  --radius: 16px;
}

.theme-blue {
  /* --main-bg: linear-gradient(135deg, #e0f7fa, #80deea); */
  --main-bg: #cfeff5;
  --main-color: #003366;
  --button-bg: linear-gradient(to right, #00c6ff, #0072ff);
  --button-text: #222;
  --highlight-color: #154edc;
  --card-bg: #ffffffcc;
  --card-shadow: 0 6px 18px rgba(0, 70, 140, 0.12);
  --radius: 18px;
}

.theme-purple {
  /* --main-bg: linear-gradient(135deg, #a18cd1, #fbc2eb); */
  --main-bg: #d8c8f0;
  --main-color: #2a2a2a;
  --button-bg: linear-gradient(to right, #a18cd1, #fbc2eb);
  --button-text: #222;
  --highlight-color: #9333ea;
  --card-bg: #ffffffbb;
  --card-shadow: 0 6px 20px rgba(100, 50, 180, 0.15);
  --radius: 18px;
}

.theme-gold {
  /* --main-bg: linear-gradient(135deg, #f4e7c3, #e9d7a0, #d8c287); */
  --main-bg: #ead9a6;
  --main-color: #4e3900;
  --button-bg: linear-gradient(to bottom, #e9d7a0, #d8c287, #c2a76f);
  --button-text: #333;
  --highlight-color: #b45309;
  --card-bg: #fff7e0;
  --card-shadow: 0 6px 20px rgba(160, 120, 40, 0.15);
  --radius: 18px;
}

.theme-primary {
  /* --main-bg: linear-gradient(to bottom, #7b1fa2, #9a21cd); */
  --main-bg: #6a1b9a;
  --main-color: #fff;
  --button-bg: linear-gradient(to bottom, #9a21cd, #4a148c);
  --button-text: #fff;
  --highlight-color: #19cd22;
  --card-bg: #ffffff10;
  --card-shadow: 0 6px 25px rgba(0, 0, 0, 0.35);
  --radius: 20px;
}

.theme-purpleshade900 {
  /* --main-bg: linear-gradient(to bottom, #4a148c, #7e57c2, #000000); */
  --main-bg: #6338af;
  --main-color: #ffffff;
  --button-bg: linear-gradient(to bottom, #4a148c, #7e57c2);
  --button-text: #ffffff;
  --highlight-color: #11e446;
  --card-bg: #ffffff10;
  --card-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
  --radius: 20px;
}

/* أزرار مستقلة حسب الثيم */
.theme-neoBlue-btn {
  background: linear-gradient(to bottom, #090922, #0b0f27, #111133);
  border: 1px solid rgba(0, 208, 255, 0.3);
}
.theme-web-btn {
  background: linear-gradient(to bottom, #fafafa, #e5e5e5, #000000);
  border: 1px solid #ccc;
}

.theme-newDark-btn {
  background: linear-gradient(to bottom, #3a3c43, #2f3136, #24262A);
}
/* .theme-newDark-btn {
  background: linear-gradient(to bottom, #2f3136, #26282c);
} */

.theme-dark-btn {
  background: linear-gradient(to bottom, #1a2a3a, #0f1723, #0f1723);
}

/* .theme-dark-btn {
  background: linear-gradient(to bottom, #434343, #000000, #000000);
} */

.theme-blue-btn {
  background: linear-gradient(to bottom, #00c6ff, #0072ff, #000000);
}

.theme-purple-btn {
  background: linear-gradient(to bottom, #a18cd1, #fbc2eb, #000000);
}

.theme-gold-btn {
  background: linear-gradient(to bottom, #f8b500, #fceabb, #000000);
}

.theme-primary-btn {
  background: linear-gradient(to bottom, #9a21cd, rgb(123, 31, 162), #000000);
}

.theme-purpleshade900-btn {
  background: linear-gradient(to bottom, #4a148c, #7e57c2, #000000);
}

body,
p,
h1,
h2,
h3,
h4,
h5,
h6,
span,
a,
li,
label,
strong,
em {
  color: var(--main-color);
}

.text-theme {
  color: var(--main-color);
  text-decoration: none;
}
h1,
h2,
h3,
strong {
  color: var(--highlight-color);
}

.span {
  font-weight: bold;
  /* color: rgb(15, 232, 91); */
  /* color: var(--main-color); */
  text-align: center;
}

.span-right {
  background: linear-gradient(
    15deg,
    rgb(222, 90, 69, 1) 0%,
    rgb(255, 118, 96, 1) 33.3333%,
    rgb(249, 214, 137, 1) 66.6667%,
    rgb(255, 242, 172, 1) 100%
  );
  font-weight: bold;
  background-clip: text;
  color: var(--highlight-color);
  text-align: right;
}

/* ============ قائمة الثيمات العائمة ============ */
/* #theme-container {
    position: fixed;
    top: 0px;
    left: 100px;
    z-index: 99999;
  }
  
  #toggle-theme-picker {
    width: 44px;
    height: 44px;
    font-size: 40px;
    border: none;
    border-radius: 50%;
    cursor: move;
    background: transparent;
    touch-action: none;
    user-select: none;
  }
  
  .floating-theme-picker {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-55%);
    padding: 0;
    border-radius: 0;
    background: none !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 9999;
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  
  .floating-theme-picker.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
  }
  
  .theme-option {
    width: 32px;
    height: 32px;
    font-size: 20px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    margin: 10px 0px;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .theme-option.show {
    opacity: 1;
    transform: translateY(0);
  }
  
  .theme-option:hover {
    transform: scale(1.2);
  }
  
  @media (max-width: 600px) {
    #theme-container {
      top: 0px;
      left: 60px;
      touch-action: none;
      user-select: none;
    }
  
    .floating-theme-picker {
      flex-direction: column;
      top: 50px;
      left: 50%;
      transform: translateX(-50%);
    }
  
    .theme-option {
      width: 30px;
      height: 30px;
      font-size: 18px;
      margin-bottom: 10px;
    }
  
    #toggle-theme-picker {
      width: 40px;
      height: 40px;
      font-size: 40px;
    }
  } */
