.bgsuggefy::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px; /* Adjust height for shadow intensity */
    background: linear-gradient(to bottom, transparent, #0F0F0F);
    /* z-index: 1; */
}

#questionnaire{
	color: white;
}

#questionnaire1{
		display: flex;
    flex-direction: column;
    align-items: center;
}

#question-container{
	  font-size:28px;
  line-height:28px;
  margin-bottom:15px;
	text-align: center;
}



.movie-box {
    position: relative;
    width: 600px;
    color: #fff; /* White text for readability */
    border-radius: 10px;
    overflow: hidden; /* Ensure background fits inside the box */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
	border: 0.0625rem solid rgba(128, 128, 128, 0.4);
    transition: opacity 100ms cubic-bezier(0.32, 0.94, 0.6, 1) 100ms, transform 533ms cubic-bezier(0.32, 0.94, 0.6, 1) 4ms;
}

.movie-background {
    position: relative;
    width: 100%;
    height: 300px; /* Adjust height as needed */
}
#background-image{
    width: 100%;
    height: 100%;
	
}
.background-image {
    object-fit: cover;
}

.movie-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(22, 22, 22), transparent);
}

.movie-details {
	color:white;
    padding: 20px;
    background-color: rgb(22, 22, 22); /* Darker color for details section */
}

.movie-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #fff !important;
}

.movie-meta {
    font-size: 14px;
    margin-bottom: 10px;
    opacity: 0.8; /* Slightly muted text */
}

.movie-description {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
    max-height: 200px;
    overflow-y: scroll;
    overflow-x: hidden;
}

.movie-description::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}
   
.movie-description::-webkit-scrollbar-track {
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}
   
.movie-description::-webkit-scrollbar-thumb {
    background-color: #E50914;
    /* outline: 1px solid slategrey; */
    border-radius: 50px;
}

.movie-buttons {
    display: flex;
    gap: 10px;
}

.trailer-btn, .get-another-suggestion-btn {
    padding: 10px 15px;
    font-size: 14px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    /* background: #ff5722; */
    color: #fff;
    transition: background 0.3s ease;
}

.trailer-btn:hover, .get-another-suggestion-btn:hover {
    background: #e64a19;
}


.amazon-button {
    display: inline-block;
    padding: 10px 15px;
    /* margin-left: 10px; */
    text-align: center;
    background-color: #ff9900;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.amazon-button .trial-text {
    display: block; /* Ensures the text appears on a new line */
    font-size: 12px; /* Smaller font size */
    opacity: 0.8; /* Slightly dimmer to differentiate */
    margin-top: -12px;
    
}

.amazon-button:hover {
    background-color: #e58f00;
}





/* Buy Me a Coffee Text */
.coffee-text {
    margin-top: 15px;
    text-align: center;
    font-size: 14px;
    font-style: italic;
}

.coffee-text a {
    color: #ffcc00; /* Coffee-themed yellow */
    text-decoration: none;
    font-weight: bold;
}

.coffee-text a:hover {
    text-decoration: underline;
}

/* LOADER */
.loadersfy {
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    display: inline-block;
    border-top: 3px solid #FFF;
    border-right: 3px solid transparent;
    box-sizing: border-box !important;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
} 


/* Trailer YTB */
#trailer-modal {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    visibility: hidden; /* Use visibility instead of display */
    opacity: 0; /* Add opacity for smooth transition */
    transition: opacity 0.3s ease-in-out; /* Optional: Smooth fade effect */
    pointer-events: none; /* Prevent interaction when hidden */
    z-index: 2;
}

#trailer-modal.show {
    visibility: visible; /* Make visible when modal is active */
    opacity: 1;
    pointer-events: all;
}


/* answer-option */
#answers-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Two equal columns */
    gap: 10px; /* Space between options */
    justify-content: center; /* Center the grid horizontally */
    max-width: 600px; /* Optional: set max-width for better control */
    margin: 30px auto; /* Center the container in the parent */
}

.answer-option {
    display: flex;
    align-items: center; /* Vertically center the input and label text */
    gap: 10px; /* Space between the input and label */
    font-family: Arial, sans-serif; /* Optional: improve font style */
}

/* Center the last item only if the total number of items is odd */
#answers-container > .answer-option:nth-last-child(1):nth-child(odd) {
    grid-column: 1 / -1; /* Make the last child span across both columns */
    justify-content: center; /* Center the last child horizontally */
}

#answers-container.single-answer {
    grid-template-columns: 1fr !important; /* Change to 1 column when there's only one answer */
}


.answer-option {
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background-color: #0000007d;
    color: white;
}

.answer-option:hover {
    background-color: #e5091499;
    color: white;
  cursor: pointer;
}

#text-answer {
    width: 500px;
    height: 100px;
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    background: none repeat scroll 0 0 rgb(0 0 0 / 31%);
    border-color: -moz-use-text-color #FFFFFF #FFFFFF -moz-use-text-color;
    border-image: none;
    border-radius: 6px 6px 6px 6px;
    border-style: none solid solid none;
    border-width: medium 1px 1px medium;
    box-shadow: 0 1px 2px rgb(255 255 255 / 45%) inset;
    /* color: #ffffff; */
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 1em;
    line-height: 1.4em;
    padding: 5px 8px;
    transition: background-color 0.2s ease 0s;
  }
  
  
#text-answer:focus {
      background: none repeat scroll 0 0 #FFFFFF;
      outline-width: 0;
  }


.option-input {
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  -o-appearance: none;
  appearance: none;
  position: relative;
  right: 0;
  bottom: 0;
  left: 0;
  height: 15px;
  width: 15px;
  transition: all 0.15s ease-out 0s;
  background: #cbd1d8;
  border: none;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  margin-right: 0.5rem;
  outline: none;
  position: relative;
  z-index: 1000;
}
.option-input:hover {
  background: #9faab7;
}
.option-input:checked {
  background: #40e0d0;
}
.option-input:checked::before {
  width: 15px;
  height: 15px;
  display:flex;
  content: '\f00c';
  font-size: 10px;
  font-weight:bold;
  position: absolute;
  align-items:center;
  justify-content:center;
  font-family:'Font Awesome 5 Free';
}

.option-input.radio {
  border-radius: 50%;
}
.option-input.checkbox{
  border-radius: 20%;
}
.option-input.radio::after {
  border-radius: 50%;
}



@media screen and (max-width: 480px) {
    #movie-container {
        display: block;
        width: 100%;
    }

    .poster {
        width: 50%;
        display: flex;
        margin: 10px auto;
    }

    .trailer-btn, .get-another-suggestion-btn{
        margin: 5px auto !important;
    }
    
	
	.movie-box {
		width: auto;
	}

    .movie-background {
    height: 200px; /* Adjust height as needed */
	}
    
    .movie-description {
        max-height: 100px;
    }
    
    .amazon-button {
        line-height: 1em;
        font-size: 12px;
    }
    
    .amazon-button .trial-text {
        font-size: 10px;
        margin-top: 0px;
    }
    
    .trailer-btn, .get-another-suggestion-btn {
   		font-size: 12px;
	}

    /* TRENDING  */
	#movie-list {
        --flex-wrap: none;
    }

}

@media screen and (max-width: 767px) {
     /* TRENDING  */
	#movie-list {
        --flex-wrap: none;
    }
}





/* TRENDING MOVIES SERIES */

#main-header{
    color: lawngreen;
    display: block;
    margin-top: 50px;
    margin-left: 50px;
}

#movie-slider{
    position: relative;
}

#movie-list{
    margin: 10px 0 30px;
    display: flex;
    overflow-y: hidden;
    overflow-x: scroll;
}

#movie-list::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}
   
#movie-list::-webkit-scrollbar-track {
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}
   
#movie-list::-webkit-scrollbar-thumb {
    background-color: #E50914;
    /* outline: 1px solid slategrey; */
    border-radius: 50px;
}

#movie-card{
/*     background-color: white; */
    border-radius: 10px;
    width: 182px;
    box-shadow: 0px 5px 10px rgb(17, 17, 17);
    cursor: pointer;
    margin: 20px 15px;
    position: relative;
    transition: all 1s;
}

#movie-card  img {
    width: 200px;
    max-width: none;

}

#movie-card:hover{
    box-shadow: 0px 10px 20px #000000;
    transform:  scale(1.08);
    
}

#movie-poster{
    border-radius: 10px 10px 0px 0px;
}



/*wpforms option bg*/
.contactus option {
    background-color: black !important;
}