body, html {
  margin: 0;
  padding: 0;
}

/* Overriding styling on the navbar */
.cinesense-navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.0);
    z-index: 10;
}

/* Hero Section */
.hero {
    position: relative;
    display: block;
    margin: 0;
    padding: 0;
}

.hero img {
    display: block;
    width: 100%;
    height: auto;
}

.hero-text-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    background-color: rgba(0, 0, 0, 0.4);
    padding: 30px 35px;
    border-radius: 16px;
    box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.4);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px); /* for Safari */
}

.hero-text-box h1 {
    color: white;
    font-family: 'Inter-ExtraBold';
    font-size: 64px;
    line-height: 86.4px;
    margin: 0;
}

/* Star Section */
.star-section {
    width: 100%;
    height: 320px;
    background-color: #1A1A1A;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.star-item {
    display: flex;
    flex-direction: column;
    align-items: center; /* centers the text under the star */
}

.star-section .star {
    display: inline-block;
    position: relative;
    width: 200px;  /* approximate width from left-most to right-most star points */
    height: 200px; /* approximate height from top-most to bottom-most star points */
    background-color: whitesmoke;
    background-image: url("/static/movies/images/PeakyBlinders1.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    clip-path: polygon(
        50% 0%,       /* top */
        68% 29%,      /* right top */
        98% 35%,      /* far right */
        78% 58%,      /* right bottom */
        79% 91%,      /* bottom right */
        49% 76%,      /* bottom tip */
        21% 91%,      /* bottom left */
        23% 58%,      /* left bottom */
        2% 35%,       /* far left */
        32% 29%       /* left top */
    );
    -webkit-clip-path: polygon(
        50% 0%,
        68% 29%,
        98% 35%,
        78% 58%,
        79% 91%,
        49% 76%,
        21% 91%,
        23% 58%,
        2% 35%,
        32% 29%
    );
}

.star-item .star.star-1 {
    background-image: url("/static/movies/images/PeakyBlinders1.jpg");
    background-position: 40% 0%;
    background-size: 160%;   
}
.star-item .star.star-2 {
    background-image: url("/static/movies/images/Witcher1.jpg");
}
.star-item .star.star-3 {
    background-image: url("/static/movies/images/Vikings1.jpg");
    background-position: 50% 0%; 
}
.star-item .star.star-4 {
    background-image: url("/static/movies/images/AOT1.webp");
    background-position: 0% 0%; 
}
.star-item .star.star-5 {
    background-image: url("/static/movies/images/Horror1.webp");
}

.star::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.25); /* white with 30% opacity */
    clip-path: inherit;               /* same star shape */
    -webkit-clip-path: inherit;       /* for Safari/Chrome */
}

.star-section > .star-item > h2 {
    font-family: 'Inter-ExtraBold';
    font-size: 28px;
    line-height: 37.8px;
    color: white;
    margin-bottom: 0;
}

/* Home Page Section to explore chat */
.home-page-chat-explore-section {
    width: 100%;
    height: 550px;
    background-color: #333;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 84px;
}

/* Right Flex */
.home-page-chat-explore-section .right-flex h1, .home-page-ai-recommendations-section .left-flex h1 {
    font-family: 'Inter-ExtraBold';
    font-size: 64px;
    line-height: 64px;
    text-align: center;
    color: white;
}

/* Left Flex */
.home-page-chat-explore-section .left-flex {
    position: relative; /* ensures overlay is positioned relative to this div */
    width: 500px;
    height: 400px;

    /* Delete later */
    /* border-style: solid;
    border-width: 2px;
    border-color: white; */
}

/* Left Flex Image */
.home-page-chat-explore-section .left-flex img {
    position: absolute;
    bottom: 0;
    right: 0;

    width: 447px;
    height: 274px;

    z-index: 5;
}

/* Left Flex Chat Visual */
.home-page-chat-explore-section .left-flex .chat-visual {
    position: absolute;
    top: 0;
    left: 0;

    width: 287px;
    height: 223px;

    /* Delete Later */
    /* border-style: solid;
    border-width: 2px;
    border-color: red; */

    z-index: 6;

    display: flex;
    flex-direction: column;
}

.chat-bubble-reciever {
    display: flex;
    align-items: flex-end;
}

.left-flex .reciever-rectangle {
    width: 133.13px;
    height: 46px;
    background-color: rgba(255, 255, 255, 1);
    border-radius: 6px 6px 6px 0;
}

.chat-bubble-reciever .reciever-chat-bubble-cloud {
	width: 0;
	height: 0;
	border-left: 12.91px solid transparent;
	border-right: 13.59px solid rgba(255, 255, 255, 1);
	border-top: 12.91px solid transparent;
}

.chat-bubble-sender {
    display: flex;
    align-items: flex-end;
    align-self: flex-end;
}

.chat-visual .chat-bubble-sender .sender-rectangle {
    width: 133.13px;
    height: 46px;
    background-color: #00C8FF;
    border-radius: 6px 6px 0 6px;
}

.chat-bubble-sender .sender-chat-bubble-cloud {
    width: 0;
	height: 0;
	border-left: 13.59px solid #00C8FF;
	border-right: 12.91px solid transparent;
	border-top: 12.91px solid transparent;
}

.chat-visual .chat-bubble-sender-1 {
    margin-top: 17px;
    margin-right: 25px;
}

.chat-visual .chat-bubble-sender-2 {
    margin-top: 4px;
}

.chat-visual .chat-input-rectangle {
    margin-top: 17px;
    display: flex;
    justify-content: flex-end; /* move to right */
    align-items: center;       /* center vertically */
    padding-right: 7px; 
    height: 47px;
    width: 287px;
    background-color: #FFF;
    border-radius: 43px;
}
.chat-visual .chat-input-rectangle .chat-input-send-btn {
    height: 38px;
    width: 38px;
    background-color: #0088CC;
    border-radius: 50%;
}

.chat-visual .chat-input-rectangle .chat-input-send-btn .send-btn {
    height: 38px;
    width: 38px;
    background-color: white;
    -webkit-mask: url('/static/icons/send.svg') no-repeat;
    mask: url('/static/icons/send.svg') no-repeat;
    mask-position: 65% 50%;
}

/* AI Recommendations Section */
.home-page-ai-recommendations-section {
    width: 100%;
    height: 550px;
    background-color: #101D25;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 65px;
}

.home-page-ai-recommendations-section .right-flex img {
    width: 411px;
    height: 411px;
}