/*
  Theme Name: Apikyi
  Them URI: 
  Version: 1.0
  Author: Thwe Thwe Hein
  Description: Entertainment portal theme
*/

/* 1.1: Variables */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');

/* 1.1: Variables */
:root {
  --primary:#dfb132;
  --secondary: #FFFFFF;
  --primary-text: #111111;
  --secondary-text: #78828A;
  --gray: #898989;
  --stroke: #E0E0E0;
  --bg2: #F4F4F4;
  --sky: #dfb132;
  --success: #00C566;
  --alert: #E53935;
  --warning: #FACC15;
  --additional1: #6C6C6C;
  --additional2: #E3E7EC;
  --additional3: #F7F7F7;
  --additional4: #E9EBED;
  --additional5: #FF784B;
  --gray-10: #FDFDFD;
  --gray-20: #ECF1F6;
  --gray-30: #E3E9ED;
  --gray-40: #D1D8DD;
  --gray-50: #BFC6CC;
  --gray-60: #9CA4AB;
  --gray-70: #78828A;
  --gray-80: #66707A;
  --gray-90: #434E58;
  --gray-100: #171725;
}
@font-face {
      font-family: 'Outfit';
      src: url('../fonts/Outfit-Regular.ttf') format('truetype');
	  src: url('../fonts/Outfit-Medium.ttf') format('truetype');
    }

    body::-webkit-scrollbar { display: none; }
#body-container {
      margin-top: 50px;
      position: relative; /* Ensure position relative for absolute positioning of iframe */
	  width: 100%;
	  height: 720px;
    }
    iframe {
      width: 100%;
      height: 100%;
      border: none;
    }
    
    .section-container {
      height: 100vh; /* Example: Full viewport height */
      position: relative; /* Ensure the iframe is positioned relative to its parent */
  }
/* 1.2: Common CSS */
body {
  width: 100%;
  max-width: 100%;
  font-family: 'Outfit', sans-serif;
}

body.dark-mode {
  background: var(--gray-100);
}

html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
ul,
ol,
figure {
  margin: 0;
  padding: 0;
}

ul li,
ol li {
  list-style: none;
}

a,
p,
i,
h1,
h2,
h3,
h4,
h5,
h6 {
  text-decoration: none;
  -webkit-transition: all linear 0.3s;
  -moz-transition: all linear 0.3s;
  -ms-transition: all linear 0.3s;
  -o-transition: all linear 0.3s;
  transition: all linear 0.3s;
}

button {
  outline: none;
  border: 0;
  cursor: pointer;
  background: transparent;
  -webkit-transition: all linear 0.3s;
  -moz-transition: all linear 0.3s;
  -ms-transition: all linear 0.3s;
  -o-transition: all linear 0.3s;
  transition: all linear 0.3s;
}

textarea:focus,
input:focus,
button:focus {
  outline: none;
}

img {
  max-width: 100%;
  max-height: 100%;
  height: auto;
}

textarea,
select,
input {
  border: 0;
  outline: none;
}

a,
a:hover,
a:active,
a:link,
a:focus {
  text-decoration: none; 
  outline: none;
}

::-moz-selection {
  color: white;
  background: var(--primary);
}

::selection {
  color: white;
  background: var(--primary);
}

.scroll-lock {
  overflow: hidden;
}

.shrink-0 {
  flex-shrink: 0;
}

.flex-grow {
  flex-grow: 1;
}

.backface-hidden {
  backface-visibility: hidden;
}

.w-fit {
  width: fit-content;
}

/*===========================================================
02: custom scrollbar CSS
=============================================================*/
.custom-scrollbar::-webkit-scrollbar {
  width: 5px;
}

.custom-scrollbar::-moz-scrollbar {
  width: 5px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background-color: var(--gray-bg);
}

.custom-scrollbar::-moz-scrollbar-track {
  background-color: var(--gray-bg);
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: var(--primary);
}

.custom-scrollbar::-moz-scrollbar-thumb {
  background: var(--primary);
}

/* scrollbar hide */
body::-webkit-scrollbar,
.scrollbar-hidden::-webkit-scrollbar {
  display: none;
  width: 0;
  scrollbar-width: none;
}

body,
.scrollbar-hidden {
  scrollbar-width: none;
}

/*===========================================================
03: button CSS
=============================================================*/
.btn-primary {
  display: block;
  text-align: center;
  padding: 16px 0;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  background: var(--primary);
  width: 100%;
  border-radius: 8px;
}

.btn-primary:disabled {
  color: var(--gray-60);
  background: var(--gray-20);
}

.btn-primary-outline {
  width: 100%;
  text-align: center;
  padding: 16px 24px;
  border: 1px solid var(--primary);
  color: var(--primary);
  font-size: 16px;
  font-weight: 500;
  border-radius: 32px;
}
.btn-primary-outline-square {
  width: 100%;
  text-align: center;
  padding: 12px 20px;
  border: 1px solid var(--primary);
  color: var(--primary);
  font-size: 14px;
  font-weight: 500;
  border-radius: 4px;
}
.btn-primary-outline:disabled {
  border-color: var(--gray-60);
}

/*===========================================================
04: padding CSS
=============================================================*/
.pt-04 {
  padding-top: 4px;
}

.pb-8 {
  padding-bottom: 8px;
}

.pt-8 {
  padding-top: 8px;
}

.pt-12 {
  padding-top: 12px;
}

.pt-16 {
  padding-top: 16px;
}

.pt-30 {
  padding-top: 30px;
}

.pt-32 {
  padding-top: 32px;
}

.pb-30 {
  padding-bottom: 30px;
}

.pb-20 {
  padding-bottom: 20px;
}

.pb-12 {
  padding-bottom: 12px;
}

.pb-16 {
  padding-bottom: 16px;
}

.pb-32 {
  padding-bottom: 32px;
}

.py-12 {
  padding-top: 12px;
  padding-bottom: 12px;
}

.py-16 {
  padding-top: 16px;
  padding-bottom: 16px;
}

.py-32 {
  padding-top: 32px;
  padding-bottom: 32px;
}

.py-36 {
  padding-top: 36px;
  padding-bottom: 36px;
}

.pb-36 {
  padding-bottom: 36px;
}

.px-16 {
  padding-left: 16px;
  padding-right: 16px;
}

.py-24 {
  padding-top: 24px;
  padding-bottom: 24px;
}

.p-24 {
  padding: 24px;
}

.p-16 {
  padding: 16px;
}

.pt-24 {
  padding-top: 24px;
}

.pb-24 {
  padding-bottom: 24px;
}
.pr-24 {
  padding-right: 24px;
}
.pl-16 {
  padding-left: 16px;
}

/*===========================================================
05: margin CSS
=============================================================*/
.mb-04 {
  margin-bottom: 4px;
}

.mt-24 {
  margin-top: 24px;
}

.mx-24 {
  margin-left: 24px;
  margin-right: 24px;
}

.mt-32 {
  margin-top: 32px;
}

.mb-16 {
  margin-bottom: 16px;
}
.ml-16 {
  margin-left: 16px;
}
.mb-32 {
  margin-bottom: 32px;
}

.mt-16 {
  margin-top: 16px;
}

.mt-04 {
  margin-top: 4px;
}

.mb-8 {
  margin-bottom: 8px;
}
.mt-20 {
	margin-top: 20px;
}
.mt-50 {
	margin-top: 50px;
}
.mt-70 {
  margin-top: 70px;
}
.mt-80 {
  margin-top: 80px;
}
.mt-100 {
  margin-top: 100px;
}
.mt-130 {
  margin-top: 130px;
}
.mt-150 {
  margin-top: 150px;
}
.mt-24 {
  margin-top: 24px;
}
.mb-24 {
  margin-bottom: 24px;
}
.mb-70 {
  margin-bottom: 70px;
}
.mb-header{
  margin-bottom: 140px;
}

/*===========================================================
06: font-size CSS
=============================================================*/

.fs-12 {
  font-size: 12px;
}

.fs-13 {
  font-size: 13px;
}

.fs-14 {
  font-size: 14px;
}

.fs-15 {
  font-size: 15px;
}

.fs-16 {
  font-size: 16px;
}

.fs-18 {
  font-size: 18px;
}

.fs-20 {
  font-size: 20px;
}

.fs-22 {
  font-size: 22px;
}

.fs-24 {
  font-size: 24px;
}

.fs-26 {
  font-size: 26px;
}

.fs-28 {
  font-size: 28px;
}

.fs-30 {
  font-size: 30px;
}

.fs-32 {
  font-size: 32px;
}

.fs-34 {
  font-size: 34px;
}

.fs-36 {
  font-size: 36px;
}

.fs-38 {
  font-size: 38px;
}

.fs-40 {
  font-size: 40px;
}

/*===========================================================
07: font-weight CSS
=============================================================*/
.fw-200 {
  font-weight: 200;
}

.fw-300 {
  font-weight: 300;
}

.fw-400 {
  font-weight: 400;
}

.fw-500 {
  font-weight: 500;
}

.fw-600 {
  font-weight: 600;
}

.fw-700 {
  font-weight: 700;
}

.fw-800 {
  font-weight: 800;
}

/*===========================================================
08: radius CSS
=============================================================*/
.rounded-full {
  border-radius: 50%;
}

.radius-4 {
  border-radius: 4px;
}

.radius-6 {
  border-radius: 6px;
}

.radius-8 {
  border-radius: 8px;
}

.radius-10 {
  border-radius: 10px;
}

.radius-12 {
  border-radius: 12px;
}

.radius-14 {
  border-radius: 14px;
}

.radius-16 {
  border-radius: 16px;
}

.radius-18 {
  border-radius: 18px;
}

.radius-20 {
  border-radius: 20px;
}

.radius-22 {
  border-radius: 22px;
}

.radius-24 {
  border-radius: 24px;
}

.radius-26 {
  border-radius: 26px;
}

.radius-28 {
  border-radius: 28px;
}

.radius-30 {
  border-radius: 30px;
}

/*===========================================================
09: gap CSS
=============================================================*/
.gap-04 {
  gap: 4px;
}

.gap-6 {
  gap: 6px;
}

.gap-8 {
  gap: 8px;
}

.gap-10 {
  gap: 10px;
}

.gap-12 {
  gap: 12px;
}

.gap-14 {
  gap: 14px;
}

.gap-16 {
  gap: 16px;
}

.gap-18 {
  gap: 18px;
}

.gap-20 {
  gap: 20px;
}

.gap-22 {
  gap: 22px;
}

.gap-24 {
  gap: 24px;
}

/*===========================================================
15: search CSS
=============================================================*/
.search label,
.search .form-inner,
.search .message-search,
.search .help-search {
  background: var(--gray-20);
  padding: 0 16px;
}

.search .form-inner input,
.search label input {
  padding: 0;
}

.search .filter {
  padding-left: 8px;
  border-left: 1px solid var(--additional2);
}



/*===========================================================
18: Nav items CSS
=============================================================*/
.nav {
  background:white;
  position: fixed;
  width: 100%;
  height: 80px;
  top: 0;
  left: 0;
  margin-top: 0px;
  display: flex;
  justify-content: space-between;
  -webkit-align-items: center;
  align-items: center;
  z-index: 109;
  box-shadow: 0px 0px 10px 0px #5E5E5E;	
}
.nav .all-cards {
  overflow-x: auto;
}

.nav .item {
  width: 60px;
  border: 1px solid #E0E0E0;
  border-radius:  8px;
  height: 60px;
  padding: 0px 12px 0px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 400;
  color: var(--primary-text);
  line-height: 8px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.item:hover {
  border: 1px solid #dfb132 !important;
  color: #dfb132;
}

.item.active {
  border: 1px solid #dfb132 !important;
  color: #dfb132;
}
.item:active {
  border: 1px solid #ed1c24 !important;
  color:#dfb132;
  box-shadow: 2px 2px 7px #dfb132;
  transform: scale(0.95);
}
.nav .image {
  width: 29px;
  height: 29px;
  vertical-align: top;
  position: absolute;
  bottom: 12%;
}
#refreshButton {
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

#refreshButton:active {
  transform: scale(1.2);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

#refreshButton:focus {
  outline: none;
}

/*===========================================================
01: home CSS
=============================================================*/
.home {
  padding: 0px;
  margin-bottom: 20px;
  margin-top: 0px;
}

.home .title {
  padding: 12px 0px;
}

.home .title h2 {
  font-weight: 600;
  font-size: 18px;
  color: white;
}

.home .title a {
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
}

/*===========================================================
18: Hero CSS
=============================================================*/
.hero {
  overflow-x: auto;
  width: 100%;
  height: auto;
  display: block;
  
}

.hero .image {
  max-width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
}


/*===========================================================
24: menu CSS
=============================================================*/
/* menu css */
.wrapper .menu {
  background: #f9f9f9;
  position: fixed;
  width: 100%;
  height: 55px;
  top: 0;
  left: 0;
  padding: 0 16px;
  display: flex;
  justify-content: space-between;
  -webkit-align-items: center;
  align-items: center;
  z-index: 110;

}

.wrapper .m-menu__checkbox {
  display: none;
}

.wrapper label.m-menu__toggle {
  cursor: pointer;
}
.wrapper .menu .title{
  font-weight: 600;
  font-size: 16px;
  flex-grow: 1;
  text-align: center;
}
/*===========================================================
02: all-place CSS
=============================================================*/
.all-pack .tab-list {
  overflow-x: auto;
}
.all-pack .pack-card {
  border: 1px solid var(--stroke);
  background-color: var(--secondary);
  animation: autoBounce 1.5s ease-in-out infinite;
  transition: box-shadow 0.3s ease;
  /* Existing styles... */
  animation: autoBounce 1.5s ease-in-out infinite;
  box-shadow: 0 0 10px #dfb132;
  cursor: pointer;
}
/* Keyframes for smooth bounce loop */
@keyframes autoBounce {
  0%, 100% {
    transform: translateY(0);
  }
  30% {
    transform: translateY(-10px);
  }
  50% {
    transform: translateY(0);
  }
  70% {
    transform: translateY(-5px);
  }
}
/* Attractive shadow on click */
.all-pack .pack-card:active {
  box-shadow: 0 0 25px #dfb132;
  transform: scale(0.97);
}

.all-pack .title {
  font-size: 14px;
  color: var(--primary-text);
  font-weight: 300;
  margin: 0px;
  padding: 0px;
}
.pack-card .icon-area {
  background-color: var(--bg2);
  width: 30%;
  height: 100%;
  text-align: center;
  border-bottom-left-radius: 12px;
  border-top-left-radius: 12px;
}
.pack-card p {
  font-size: 14px;
  color: var(--primary-text);
  margin: 0px;
}
.pack-card img {
  width: 30px;
  height: 30px;
}
.pack-card .icon {
	width: 16px;
	height: 16px;
}
.pack-card .pack-detail {
  width: 70%;
  padding: 12px;
}
.pack-card span {
  font-size: 12px;
  color: var(--primary-text);
}
.all-pack .tab-list button {
  display: inline-block;
  padding: 4px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--primary-text);
  border: 1px solid var(--additional2);
  border-radius: 0px;
  white-space: nowrap;
}

.all-pack .tab-list .active button {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.recommended .grid,
.all-pack .grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  row-gap: 16px;
  column-gap: 16px;
  margin-top: 15px;
}

.all-pack button {
  display: inline-block;
  padding: 4px 12px;
  color: var(--secondary);
  font-size: 14px;
  font-weight: 600;
  border-radius: 20px;
  border: 1px solid var(--primary);
  text-align: center;
}
.all-pack .rating {
  color: white;
  background: var(--primary);
}
.all-pack .left-box {
  justify-content: center; /* Horizontally center */
  align-items: center;     /* Vertically center */
  padding: 20px 6px 10px 6px;
  display: block;
  margin: 0 auto;
}

/*===========================================================
 Movies Card CSS
=============================================================*/
.movie .all-cards {
  overflow-x: auto;
}


.movie .image {
  width: 200px;
  height: auto;
}

.movie .item .rating {
  padding: 5px 12px;
  background: var(--primary-text);
  border-radius: 30px;
  margin: -15px auto 0 auto;
  position: relative;
  z-index: 10;
}

.movie .item .rating span {
  font-size: 12px;
  font-weight: 600;
  color: white;
}

.movie p {
  font-size: 14px;
  font-weight: 400;
  color: white;
}

.movie .item .content h5 {
  font-size: 12px;
  font-weight: 600;
  color: var(--secondary-text);
  padding-top: 8px;
  padding-bottom: 16px;
}

.movie .item .content .location {
  font-size: 12px;
  font-weight: 500;
  color: var(--gray-90);
}
.h-movie .all-cards {
  overflow-x: auto;
}

.h-movie {
  border: 0px;
  border-radius: 8px;
}
.h-movie .frame .image {
  width: 165px;
  height: auto;
}
.view-count {
  position: absolute;
  top: 73%;
  right: 30%;
  transform: translate(-50%,-50%);
  
  text-align: left;
  font-size: 13px;
  font-weight: bold;
  color: black;
  background-color: rgba(253, 253, 253, 0.7);
  padding: 4px;
}
.view-count1{
  width: 100px;
  position: absolute;
  top: 79%;
  left: 50%;
  transform: translate(-50%,-50%);
  
  text-align: center;
  font-size: 13px;
  font-weight: bold;
  color: white;
  background-color: rgba(255, 255, 255, 0.1);

  padding: 4px;
}
.count2{
  width: 100px;
  position: absolute;
  top: 89%;
  left: 50%;
  transform: translate(-50%,-50%);
  
  text-align: center;
  font-size: 13px;
  font-weight: bold;
  color: white;
  background-color: rgba(255, 255, 255, 0.1);

  padding: 4px;
}
.view-count-info {
  position: absolute;
  top: 92%;
  left: 12%;
  transform: translate(-40%,-40%);
  
  text-align: center;
  font-size: 13px;
  font-weight: bold;
  color: white;
  background-color: rgb(88, 77, 77);
  padding: 4px;
  border-radius: 5px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

.hot-badge{
  position: absolute;
  top: -4px;
  left: -16px;
  padding: 3px 14px;
  font-size: 20px;
  font-weight: bold;
  animation:bounce 1.6s ease-in-out infinite;

}
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

.tagline {
  font-size: 15px;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  color: white;
  margin-top: 10px;
  animation: glow 1s ease-in-out infinite alternate;
}

.carousel {
  position:relative;
  width: 400px;
  max-width: 1000px;
  height: 250px;
  margin: 0 auto;
  overflow: hidden;
  /*border-radius: 9px;*/
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}
.slides {
  display: flex;
  width: 100%; /* 100% * number of slides */
  transition: transform 0.5s ease-in-out;
}

.slide {
  position: relative;
  width: 100%;
  flex: 0 0 100%;
}
.slide img {
  
  display: block;
}

input[type="radio"] {
  display: none;
}

#slide1:checked ~ .slides {
  transform: translateX(0%);
}

#slide2:checked ~ .slides {
  transform: translateX(-100%);
}

#slide3:checked ~ .slides {
  transform: translateX(-200%);
}

#slide1:checked ~ .nav label[for="slide1"],
#slide2:checked ~ .nav label[for="slide2"],
#slide3:checked ~ .nav label[for="slide3"] {
  background: #333;
}

.slider_nav {
  position:relative;
  bottom: 20px; /* space from bottom */
  left: 50%;
  transform: translateX(-50%);
  display: inline-block;
  gap: 20px;
  text-align: center;
  z-index: 10; /* ensures it appears above image */
}

  .slider_nav label {
    width: 5px;
    height: 5px;
    background-color: #ffffffaa;
    border-radius: 30px;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
  }

.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: linear-gradient(135deg,#df3277, #dfb132);
  color: white;
  padding: 5px 10px;
  font-size: 13px;
  font-weight: bold;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  z-index: 1;
  animation: heartbeat 1.3s ease-in-out infinite;
}
@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}
   .store-buttons {
      display: flex;
      gap: 15px;
      margin-bottom: 30px;
      margin: top 20px;
    }
 
    .store-buttons img {
      width: 160px;
      margin: top 50px;
      cursor: pointer;
    }

/* Bounce animation keyframes */
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  border: none;
  color: #fff;
  font-size: 24px;
  padding: 10px;
  cursor: pointer;
  border-radius: 50%;
}

.arrow.left {
  left: 10px;
  top:20%;
}

.arrow.right {
  right: 10px;
  top:20%;
}

/* Featured Section */
.featured {
  padding: 30px 20px;
}

.featured h2 {
  font-size: 20px;
  margin-bottom: 20px;
}

.movies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 15px;
}

.movie-card {
  background: #1b2a41;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.2s ease;
}

.movie-card img {
  width: 100%;
  display: block;
}

.movie-card:hover {
  transform: scale(1.05);
}

/* Fullscreen horror night */
.halloween-night {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at top, #1d0b1d 0%, #000 100%);
  overflow: hidden;
  z-index: -1;
}

/* Pumpkins 🎃 */
.pumpkin {
  position: absolute;
  width: 60px;
  height: 60px;
  background: url("assets/images/love\ logo.png") no-repeat center/contain;
  opacity: 0.85;
  animation: pumpkinFloat 6s ease-in-out infinite;
  filter: drop-shadow(0 0 10px #f7f7f8);
}

.pumpkin:nth-child(3n+1) { left: 10%; bottom: 20%; animation-delay: 0s; }
.pumpkin:nth-child(3n+2) { left: 40%; bottom: 30%; animation-delay: 2s; }
.pumpkin:nth-child(3n) { left: 75%; bottom: 25%; animation-delay: 4s; }



/* Animations */
@keyframes pumpkinFloat {
  0%, 100% {
    transform: translateY(0) scale(1);
    
  }
  50% {
    transform: translateY(-15px) scale(1.1);
    
  }
}

@keyframes glowPulse {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.3); }
}
