/*  GLOBAL RESET */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Helvetica,'Roboto', Arial, sans-serif;
}

body {
    background: #000;
}

/*  HERO  */
.hero {
    position: relative;
    height: 120vh;
    width: 100%;
    background-image: url(https://raw.githubusercontent.com/thatanjan/netflix-clone-yt/youtube/media//banner.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

/* Curved dark base */
.hero::after {
    content: "";
    position: absolute;
    bottom: -70px;
    left: 50%;
    transform: translateX(-50%);
    width: 140%;
    height: 140px;
    background: #000000;
    border-radius: 0 0 100% 100%;
    z-index: 3;
    box-shadow: 0 0 60px rgba(0, 200, 255, 0.3), 0 0 120px rgba(255, 255, 255, 0.15);
}

/* Gradient curved line */
.hero::before {
    content: "";
    position: absolute;
    bottom: -70px;
    left: 50%;
    transform: translateX(-50%);
    width: 140%;
    height: 140px;
    border-radius: 0 0 100% 100%;
    z-index: 4;
    background: linear-gradient(90deg, #ff4fa3 0%, #ff4fa3 20%, #e50914 50%, #ff4fa3 80%, #ff4fa3 100%);
    background-size: 100% 4px;
    background-repeat: no-repeat;
    background-position: bottom;
    box-shadow: 0 0 25px rgba(229, 9, 20, 0.8), 0 0 50px rgba(255, 79, 163, 0.6);
}

/* Overlay */
.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

/* HEADER  */
header {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    color: red;
    font-size: larger;
    margin-left: 70px;
}

.btnheader {
    margin-right: 65px;
    border-radius: 7px;
    height: 40px;
    width: 100px;
    background-color: red;
    color: white;
    cursor: pointer;
    font-size: large;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}


/*  CENTER CONTENT  */
.centermaterial {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    color: white;
}

.starts {
    padding-top: 30px;
}

#textreadytowatch {
    font-size: medium;
    padding-top: 30px;
}

input {
    height: 60px;
    width: 57%;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 11px;
    font-size: 1rem;
    padding-left: 10px;
    color: white;
    border: 1px solid #555;
    margin-top: 30px;
}

.btngetstarted {
    color: white;
    background: red;
    border-radius: 11px;
    height: 60px;
    width: 40%;
    font-weight: bold;
    font-size: medium;
    border: none;
    margin-top: 30px;
    cursor: pointer;
}

/*  REASON CONTAINER  */
.reasoncontainer {
    position: relative;
    padding: 80px;
    background: #000;
    box-shadow: 0 -60px 60px rgba(0, 200, 255, 0.2), 0 -100px 120px rgba(255, 255, 255, 0.1);
    z-index: 2;
}
/* sliders */
.trending-section {
    padding: 40px;
    position: relative;
}

.trending-section h3 {
    color: white;
    margin-bottom: 20px;
}

.slider-wrapper {
    position: relative;
    overflow: hidden;
}

.card-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 0;
}

.card-slider::-webkit-scrollbar {
    display: none;
}

.card-slider img {
    min-width: 200px;          /* IMPORTANT */
    height: 280px;
    border-radius: 10px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.card-slider img:hover {
    transform: scale(1.08);
}

/* Scroll Buttons */
.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(70, 62, 62, 0.6);
    border: none;
    color: white;
    font-size: 35px;
    width: 50px;
    height: 100px;
    cursor: pointer;
    z-index: 10;
}

.scroll-btn.left {
    left: 0;
}

.scroll-btn.right {
    right: 0;
}

.scroll-btn:hover {
    background: rgba(0,0,0,0.9);
}



.moretojoin {
    font-weight: bold;
    color: white;
    margin-left: 20px;
    margin-right: 50px;
    padding: 10px 0;
    font-size: xx-large;
}

/*  CARDS  */
.containcards {
    display: flex;
    justify-content: space-between;
}

.enjoy,
.containerdownloadyourshow,
.Watcheverywhere,
.create {
    position: relative;
    color: white;
    height: 250px;
    width: 23%;
    padding: 15px;
    border-radius: 10px;
    background-image: linear-gradient(#1d214f, #2e0c3d);
}

#watch,
.save,
.stream,
.send {
    padding-top: 20px;
}

/*  IMAGES  */
.led,
.downloadimg,
.telescopeimg,
.tongueimg {
    position: absolute;
    bottom: 0;
    right: 10px;
    width: 60px;
}

/*  FAQ  */
.frequenlty {
    font-weight: bold;
    color: white;
    margin-left: 90px;
    padding-top: 40px;
   
}

.one,
.two,
.three,
.four,
.five,
.six {
    background: #343636;
    color: white;
    margin: 20px 90px;
    border-radius: 5px;
    padding: 10px;
}

/* Summary (single clean rule) */
summary {
    padding-left: 30px;
    height: 70px;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
      padding-top: 20px;
}

summary::-webkit-details-marker {
    display: none;
}

/* Icon (single reusable class) */
/* ADD THESE LINES: */
.one,
.two,
.three,
.four,
.five,
.six {
    position: relative; /* Add this */
    background: #343636;
    color: white;
    margin: 20px 90px;
    border-radius: 5px;
    padding: 0; /* Change this from 10px to 0 */
}

/* Add this new class for all FAQ icons */
.faq-icon {
    font-size: 2.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
}

details[open] .faq-icon {
    transform: translateY(-50%) rotate(45deg);
}

details[open] .icon {
    transform: rotate(45deg);
}

details p {
    padding: 15px 20px 0;
  
}

/*  FOOTER  */
.readytowatch {
    color: white;
    padding-left: 38%;
    padding-top: 25px;
    font-size: medium;
}

.inputfooter {
    margin-top: 20px;
    margin-left: 22%;
    border-radius: 5px;
    width: 45%;
}

.btnfooter {
    margin-left: 1%;
    border-radius: 5px;
    height: 60px;
    width: 200px;
    background-color: red;
    color: white;
    border: none;
    cursor: pointer;
    font-size: larger;
}
/* links */
.question{
    color: gray;
    font-size: large;
}
.links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    font-size: large;
    margin-top: 90px;
}

.links a {
    display: block;
    color: gray;
    font-size: large;
}
/* language */
.language {
    width: 160px;
    margin-top: 30px;
    height: 30px;
}

.language details {
    position: relative;
}

.language summary {
    list-style: none;
    cursor: pointer;
    background: black;
    color: white;
    padding: 10px;
    border: 1px solid rgb(255, 238, 238);
    border-style:double;
    border-radius: 4px;
    font-size: 0.95rem;
}

.language summary::-webkit-details-marker {
    display: none;
}

.language summary::after {
    content: "▾";
    float: right;
}

.language details[open] summary::after {
    content: "▴";
}

.lang-options {
    position: absolute;
    top: 45px;
    left: 0;
    width: 100%;
    background: black;
    border: 1px solid gray;
    border-radius: 4px;
}

.lang-options a {
    display: block;
    padding: 10px;
    color: white;
    text-decoration: none;
}

.lang-options a:hover {
    background: #333;
}
/* netflixpakitan */
.netflixpak{
    color: gray;
    font-size: larger;
    margin-top: 80px;
}
.lastline{
    color: gray;
    padding-top: 50px;
}

#learnmore{
    color:rgb(61, 61, 197);
}
