/* ========================================
   GLOBAL
======================================== */
* {
    --theGreenColor: #09855b;
    --TextColor: #171a1f;
    --Pink: #F2E0E7;
    --DarkBlue: #5C8BC0;
    --LightBlue: #e0edfc;
    --boxBackground: #afe4f163;
    --Shadow: rgba(0, 0, 0, 0.15);
    --clickAbleLink: #ff2c2c;
    --ratingYellow: #FF9100;
}

body {
    margin: 0;
    font-family: "Inter", system-ui, sans-serif;
    /* Figma gradient background */
    background: radial-gradient(
        circle at 20% 20%,
        rgb(196, 255, 250) 0%,
        rgba(255, 237, 188, 1) 30%,
        rgba(236, 217, 255, 1) 55%,
        rgba(202, 224, 255, 1) 80%
    );
    background-attachment: fixed;
}

/* Center page content (matches Dashboard Width) */
.content-area.no-sidepanel {
    margin-left: 0 !important;
    padding-top: 120px;          /* spacing below navbar */
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;         /* center all sections horizontally */
    color: var(--TextColor);
}



/* ========================================
   HERO
======================================== */
.hero-section {
    text-align: center;
    padding: 0 20px;
    margin-bottom: 100px;
}

.hero-section h1 {
    font-size: 48px;
    font-weight: 800;
    color: var(--TextColor);                /* FIXED: White like Figma */
    margin-bottom: 18px;
}

.hero-subtext {
    max-width: 720px;
    margin: 0 auto;
    font-size: 18px;
    color:black; /* FIXED readability */
    line-height: 1.55;
    margin-bottom: 40px;
}

/* BUTTONS */
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-bottom: 55px;
}


/* HERO STATS */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 130px;      /* FIXED: Figma spacing */
    margin-top: 20px;
}

.stat-box h2 {
    font-size: 34px;
    color: var(--clickAbleLink);
    margin-bottom: 8px;
}

.stat-box p {
    font-size: 15px;
    color: var(--clickAbleLink);
}


/* ========================================
   EVERYTHING YOU NEED
======================================== */
.features-section {
    max-width: 1000px;
    margin: 0 auto;
    margin-top: 60px;       /* FIXED spacing from stats */
    text-align: center;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--TextColor);
    margin-bottom: 8px;
}

.section-subtext {
    font-size: 16px;
    color: black;
    margin-bottom: 45px;
}

/* Feature cards grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 760px;
    margin: 0 auto;
}

.feature-card {
    background: var(--DarkBlue);
    padding: 26px;
    border-radius: 32px;
    color: white;
    transition: 0.25s;
}

.feature-card:hover {
    transform: translateY(-4px);
}


.feature-card h3 {
    font-size: 17px;
    margin-bottom: 6px;
}

.feature-card p {
    font-size: 14px;
    font-weight: 600;
    color: var(--Pink);
}


/* ========================================
   FEATURED MOVIES
======================================== */
.featured-movies-section {
    max-width: 1000px;
    margin: 140px auto 80px auto; /* FIXED spacing */
}

.featured-title-row {
    /* display: flex; */
    /* justify-content: space-between; */
    align-items: center;
    text-align: center;
}

.featured-title-row h2 {
    font-size: 30px;
    font-weight: 700;
    color: var(--TextColor);
}


/* Grid */
.featured-grid {
    margin-top: 32px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
}

.featured-card {
    background: var(--LightBlue);
    padding: 14px;
    border-radius: 16px;
    transition: 0.25s;
}

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

.featured-poster img {
    width: 100%;
    aspect-ratio: 1/1;
    background: #fff;
    border-radius: 12px;
}

.featured-info {
    margin-top: 10px;
}

.featured-info h3 {
    margin: 0;
    margin-bottom: 2px;
    font-size: 15px;
    color: var(--TextColor);
}

.featured-info p {
    font-size: 13px;
    color: black;
}

.rating {
    color: var(--ratingYellow);
    font-size: 13px;
}


/* ========================================
   CTA SECTION
======================================== */
.cta-section {
    margin: 140px auto 120px auto; /* FIXED spacing */
    padding: 50px 40px;
    background: var(--clickAbleLink);
    border-radius: 60px;
    text-align: center;
    max-width: 1080px;
}

.cta-section h2 {
    font-size: 30px;
    margin-bottom: 10px;
    color: #fff;
}

.cta-section p {
    color: white;
    max-width: 720px;
    margin: 0 auto 26px auto;
}

.btn-white {
    padding: 12px 26px;
    background: #fff;
    color: #000;
    border: 1px solid var(--clickAbleLink);
    font-weight: 600;
    border-radius: 24px;
    cursor: pointer;
    transition: 0.20s;
}

.btn-white:hover {
    background-color: var(--clickAbleLink);
    border: 3px solid white;
    transform: scale(1.06);
    color: white;

}
/* ===== UNIFIED PAGE WIDTH + TRUE CENTERING ===== */

/* All main sections share the same centered max-width */
.hero-section,
.features-section,
.featured-movies-section,
.cta-section {
    width: 100%;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

/* Features grid stays narrower inside its section but still centered */
.features-grid {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}
