/* let the page keep vertical scroll while Swiper handles horizontal drags */
.swiper,
.swiper-container { /* depending on your markup */
  touch-action: pan-y;
}

.footer-nav {
  position: fixed;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 500px;
  padding: 10px;
  z-index: 1000;
}
header {
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 500px;
    z-index: 1000;
        max-height: 80px;
}

.footer-container, .app-header {
  display: flex;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
      max-height: 80px;
}

.footer-item, .header-item {
    flex: 1;
    text-align: center;
    color: #fff;
    font-size: 12px;
    position: relative;
    display: flex;
    flex-direction: column;
	width:40px;
}

.icon-wrapper {
  position: relative;
  display: inline-block;
}

.notify-bubble {
    position: absolute;
    top: 0px;
    right: 0px;
    width: 7px;
    height: 7px;
    background-color: var(--brand-color);
    border-radius: 50%;
    display: none;
}

.footer-item svg, .header-item svg {
  width: 33px;
  height: 33px;
  color: #fff; 
}
.footer-item .icon-wrapper, .header-item .icon-wrapper {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
  margin: 0 auto;
}

.footer-item:hover .icon-wrapper, .header-item:hover .icon-wrapper  {
  background: var(--brand-color);
  backdrop-filter: blur(6px);
  padding: 9px;
}
.footer-item:hover span, .header-item:hover span {
  color: var(--brand-color);
}

.footer-item svg path,
.footer-item svg rect,
.footer-item svg circle,
.footer-item svg polygon, .header-item svg path,
.header-item svg rect,
.header-item svg circle,
.header-item svg polygon{
	stroke: #fff !important; 
}

.search-overlay {
  position: fixed;
  inset: 0;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;

  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.search-content {
    position: relative;
    width: 100%;
    max-width: 100%;
    padding: 10%;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    height: 100%;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    justify-content: center;
}
.search-content input {
  width: 100%;
  padding: 16px 18px;
  font-size: 18px;
  border: none;
  border-radius: 14px;
  outline: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: inset 0 0 4px rgba(255, 255, 255, 0.2);
}

.search-content input::placeholder {
  color: #ddd;
}

.close-search {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}

.search-overlay .search-form-wrapper {
    width: 40%;
    margin: 0 20%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
	min-width: 360px;
}

.search-overlay .search-form  {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}
.search-overlay .search-form .search-wrap {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

.search-overlay .search-form button {
    text-align: center;
    line-height: inherit;
    display: flex;
    margin: 0;
    font-size: 16px;
    height: 40px;
    padding: 9px 0;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: var(--brand-color);
    border-radius: 13px;
    color: white;
    border: navajowhite;
    width: 100%;
}

.search-overlay .search-form input[type="text"] {
    width: 100%;
    padding: 20px 0 20px 32px;
    margin-bottom: 0;
    border: 1px solid var(--app-bg-border);
    border-radius: 13px;
    height: 40px;
    background-color: var(--app-bg-dark);
    color: var(--main-color) !important;
}

.search-overlay .search-form button::after {
    content: "Go";
    display: inline-block;
    padding: 0 8px;
    color: #fff;
    font-size: 14px;
}

.header-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
  font-size: 12px;
  text-align: center;
  position: relative;

}

.header-item .icon-wrapper {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.header-item:hover .icon-wrapper {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
}

.app-logo {
  flex: 1;
  text-align: center;
}

.app-logo img {
    vertical-align: middle;
    width: 70px;
}


.comment-form-comment textarea{
    background: var(--app-bg-border) !important;
	color: var(--main-color) !important;
}

.header-app-logo img {
	    width: 100%;
    max-width: 80px;
}
.header-app-logo span {
	display: none;
}

.cast-profile-meta {
	display: flex;
	flex-direction: column;
	
}






@media only screen and (max-width: 720px) {
	.footer-item .icon-wrapper, .header-item .icon-wrapper {
  width: 20px;
  height: 20px;
}
	
	.footer-item {
    font-size: 10px;
}
	
	.footer-container span  {
    margin: 4px 0 0 0;
}
	.header-app-logo img {
    width: 100%;
    max-width: 50px;
}
	
.cast-list .menu_block img {
    min-height: 140px;
    max-height: 240px;
}	
	
	.cast-list .content_blocks_all_header a {
    min-height: 20px !important;
    height: 230px;
}
	.cast-list .content_blocks_all_header {
    max-height: 240px;
}
	
.cast-list .item {
    width: 150px !important;
    height: auto !important;
}
	
	    .menu_block {
margin: 2% !important;
	}
	
		   .cast-list .menu_block {
margin: 0 !important;
	}
  
	.bgdarkalt .cast-list .item {
        width: 150px !important;
    }
	
	.cast-list .menu_block img {
    min-height: 230px !important;
}
	
.cast-list h2 {
    font-size: 1rem !important;
    width: 100%;
    text-align: center;
}
	
	  .content_blocks {
        font-size: 14px;
    }
	.cast-list h2 {
    font-size: 1.2rem !important;
}
	
	
	
	
	
	
	
	
	
}

/* ============================
   Liquid Glass 2.0 — Brand-tuned
   ============================ */

/* 1) Brand + global knobs (edit just these!) */
:root{
  /* Brand color (HSL is easiest to tweak) */
  --brand-h: 210;   /* e.g. 210 = blue, 270 = purple, 140 = green */
  --brand-s: 100%;
  --brand-l: 56%;   /* raise for lighter; lower for deeper */

  /* Glass feel */
  --glass-radius: 18px;      /* <- tweak: 14, 18, 22, 28 */
  --glass-blur: 22px;        /* <- tweak: 16–30 for more/less jelly */
  --glass-sat: 175%;
  --glass-contrast: 112%;

  /* Depth + borders */
  --glass-shadow: 0 14px 60px rgba(0,0,0,.35);
  --glass-border-1: rgba(255,255,255,.55);
  --glass-border-2: rgba(255,255,255,.12);

  /* Base glass fill (light mode) */
  --glass-bg-1: rgba(255,255,255,.12);
  --glass-bg-2: rgba(255,255,255,.06);

  /* Brand-tinted accents (auto from brand) */
  --brand: hsl(var(--brand-h) var(--brand-s) var(--brand-l));
  --brand-weak: hsl(var(--brand-h) calc(var(--brand-s) - 20%) calc(var(--brand-l) + 10%));
  --brand-strong: hsl(var(--brand-h) var(--brand-s) calc(var(--brand-l) - 8%));

  /* Sheen + texture */
  --glass-specular: rgba(255,255,255,.66);
  --glass-noise-opacity: .06;

  /* Layout */
  --pad-y: 10px;
  --pad-x: 14px;
  --max-h: 80px;
}

@media (prefers-color-scheme: dark){
  :root{
    --glass-bg-1: rgba(20,20,28,.20);
    --glass-bg-2: rgba(255,255,255,.07);
    --glass-border-1: rgba(255,255,255,.32);
    --glass-border-2: rgba(255,255,255,.10);
    --glass-shadow: 0 18px 70px rgba(0,0,0,.55);
    --glass-specular: rgba(255,255,255,.52);
    --glass-noise-opacity: .085;
    --brand-l: 62%; /* brighten brand slightly in dark mode */
  }
}

/* Optional: three size presets you can add as utility classes */
.glass--compact { --glass-radius: 14px; --pad-y: 8px;  --pad-x: 12px; --max-h: 64px; }
.glass--comfy   { --glass-radius: 22px; --pad-y: 12px; --pad-x: 16px; --max-h: 88px; }
.glass--spacious{ --glass-radius: 28px; --pad-y: 14px; --pad-x: 20px; --max-h: 96px; }

/* Make the gloss angle animatable */
@property --gloss-angle{
  syntax: "<angle>";
  initial-value: 38deg;
  inherits: true;
}

/* 2) Liquid Glass container (header + footer) */
.footer-container,
.app-header{
  position: sticky;
  inset-block-start: auto; /* both can be sticky without fighting */
  inset-block-end: auto;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  padding: var(--pad-y) var(--pad-x);
  max-height: var(--max-h);
  border-radius: var(--glass-radius);

  /* Brand-tinted gradient fill + gradient border */
  border: 1px solid transparent;
  background:
    linear-gradient(135deg,
      color-mix(in oklab, var(--brand-weak) 12%, transparent),
      var(--glass-bg-1) 40%,
      var(--glass-bg-2) 100%
    ) padding-box,
    linear-gradient(135deg,
      color-mix(in oklab, var(--brand) 45%, transparent),
      var(--glass-border-2)
    ) border-box;

  /* Depth + liquid */
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat)) contrast(var(--glass-contrast));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat)) contrast(var(--glass-contrast));

  /* Interaction polish */
  isolation: isolate;
  transition: box-shadow .35s ease, transform .35s ease, --gloss-angle 1.2s ease;
  will-change: backdrop-filter, transform;
}

/* Header catches light from top-left, footer from bottom-right */
.app-header{ --gloss-angle: 30deg; }
.footer-container{ --gloss-angle: 150deg; }

/* 3) Specular sweep */
.footer-container::before,
.app-header::before{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    conic-gradient(from var(--gloss-angle) at 10% 10%,
      rgba(255,255,255,.48),
      rgba(255,255,255,.18) 14%,
      rgba(255,255,255,0) 28%,
      rgba(255,255,255,.12) 56%,
      rgba(255,255,255,0) 76%);
  mix-blend-mode: screen;
  opacity: .66;
  filter: blur(9px);
}

/* 4) Inner rim highlight with brand tint */
.footer-container::after,
.app-header::after{
  content: "";
  position: absolute;
  inset: 1px 1px auto 1px;
  height: 42%;
  border-radius: calc(var(--glass-radius) - 1px) calc(var(--glass-radius) - 1px) 60% 60% / 30% 30% 60% 60%;
  background:
    linear-gradient(to bottom,
      color-mix(in oklab, var(--brand) 18%, var(--glass-specular)),
      rgba(255,255,255,0)
    );
  opacity: .38;
  filter: blur(10px);
  pointer-events: none;
}

/* 5) Micro-noise layer (DOM child for portability) */
.footer-container > .noise,
.app-header > .noise{
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,\
  <svg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'>\
  <filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter>\
  <rect width='120' height='120' filter='url(%23n)' opacity='0.9'/></svg>");
  opacity: var(--glass-noise-opacity);
  mix-blend-mode: soft-light;
}

/* 6) Hover/active */
.footer-container:hover,
.app-header:hover{
  transform: translateY(-1px);
  --gloss-angle: 52deg;
  box-shadow: 0 20px 80px rgba(0,0,0,.38),
              0 0 0 1px color-mix(in oklab, var(--brand-strong) 40%, transparent);
}
.footer-container:active,
.app-header:active{
  transform: translateY(0);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  .footer-container:hover,
  .app-header:hover{ transform: none; }
}

/* Backdrop-filter fallback */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))){
  .footer-container,
  .app-header{
    background:
      linear-gradient(135deg,
        color-mix(in oklab, var(--brand-weak) 16%, rgba(255,255,255,.16)),
        rgba(255,255,255,.08)
      );
  }
}
