@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Prompt:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900&display=swap');

* {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    background-color: #090809;
    color: white;
    margin: 0;
    padding: 0;
}

.container {
    margin: 80px auto 0;
    padding: 20px;
    text-align: center;
}

.hero-section {
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    padding: 20px;
    position: relative;
    background: linear-gradient(to bottom, #1a1a1a, #090809);
    overflow: hidden;
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.1) brightness(0.7);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(9, 8, 9, 0.28) 0%, rgba(9, 8, 9, 0.62) 55%, #090809 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-section::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 50px;
    background: linear-gradient(180deg, rgba(9, 8, 9, 0) 0%, #090809 85%);
    z-index: 1;
    pointer-events: none;
}

section {
    padding: 40px 20px;
    margin: 0 auto;
    text-align: center;
}

section h2 {
    margin-bottom: 20px;
    font-size: 2rem;
    position: relative;
    display: inline-block;
}

section p {
    margin-bottom: 20px;
    font-size: 1rem;
}

.hero-content {
    padding: 20px;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

p {
    font-size: 1rem;
    margin-bottom: 20px;
}

footer {
    padding: 10px 0;
    text-align: center;
}

footer p {
    font-size: 0.9rem;
}

a {
    text-decoration: none;
    color: white;
}

#button-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.button-box {
    background-color: rgb(24, 24, 24);
    border: 1px solid rgba(44, 44, 44, 255);
    border-radius: 5px;
    padding: 10px;
    width: 200px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: 0.2s;
    font-size: 12px;
    text-align: center;
    overflow: hidden;
}

.button-box:hover {
    transform: scale(1.05);
    cursor: pointer;
    box-shadow: 0 0 12px rgba(209, 209, 209, 0.1);
}

.button-box p {
    margin: 5px 0;
    font-size: 20px;
    word-wrap: break-word;
    overflow: hidden;
    text-overflow: ellipsis;
}

#about, #purchase, #features {
    margin-bottom: 20px;
    border-radius: 8px;
    padding: 40px;
}

.movies-grid {
    display: flex;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    padding: 20px;
    justify-content: center;
}

.movie-card {
    font-size: 16px;
    color: white;
    border: none;
    border-radius: 5px;
    transition: 0.2s;
    display: inline-block;
    width: 250px;
    user-select: none;
}

.movie-card img {
    width: 100%;
    height: auto;
    border-radius: 2px;
    object-fit: cover;
}

.background-marquee {
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    display: flex;
}

.background-marquee .movies-grid {
    display: inline-flex;
    animation: scroll 40s linear infinite;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.family-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5em;
    justify-content: center;
    margin-top: 1em;
}

.family-card {
    background-color: rgb(22, 22, 22);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 1.5em;
    width: 250px;
    max-width: 250px;
    transition: transform 0.3s;
    user-select: none;
}

.family-card:hover {
    transform: translateY(-5px);
}

.family-card h1 {
    font-size: 2em;
    margin-bottom: 0.5em;
}

.family-card p {
    font-size: 1em;
}


#testimonials .family-card {
    margin: 0.5em;
    background-color: #131314;
    border: 1px solid #23232a;
    box-shadow: 0 2px 12px rgba(0,0,0,0.18);
    border-radius: 10px;
    padding: 2em 1.5em;
    max-width: 340px;
    min-width: 220px;
    flex: 1 1 220px;
    transition: transform 0.2s, box-shadow 0.2s;
}

#testimonials .family-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 6px 24px rgba(0,0,0,0.22);
}

/* FAQ Section Enhancements */
#faq details {
    background: #18181b;
    border-radius: 8px;
    border: 1px solid #23232a;
    box-shadow: 0 2px 12px rgba(0,0,0,0.13);
    margin-bottom: 1.2em;
    padding: 1.2em 1.5em;
    transition: box-shadow 0.2s, border 0.2s;
}
#faq details[open] {
    box-shadow: 0 4px 18px rgba(0,0,0,0.18);
    border-color: #35353a;
}
#faq summary {
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    outline: none;
    color: #e0e0e0;
}
#faq details p {
    margin: 1em 0 0 0;
    color: #bdbdbd;
}

/* How It Works Cards */
#howitworks .family-card {
    background: #18181b;
    border: 1px solid #23232a;
    box-shadow: 0 2px 12px rgba(0,0,0,0.13);
    border-radius: 10px;
    padding: 2em 1.5em;
    margin: 0.5em;
    max-width: 320px;
    min-width: 200px;
    flex: 1 1 200px;
    transition: transform 0.2s, box-shadow 0.2s;
}
#howitworks .family-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 6px 24px rgba(0,0,0,0.18);
}

/* Responsive tweaks for cards in howitworks/testimonials */
@media (max-width: 900px) {
    #howitworks .family-card,
    #testimonials .family-card {
        max-width: 95vw;
        min-width: 160px;
        padding: 1.2em 0.7em;
    }
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
  }

  ::-webkit-scrollbar {
    width: 10px;
    background-color: #090809;
}

::-webkit-scrollbar-thumb {
    background-color: #333;
    border-radius: 5px;
    border: 2px solid #090809;
}

::-webkit-scrollbar-thumb:hover {
    background-color: gray;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    background: rgba(18, 18, 20, 0.92);
    box-shadow: 0 2px 16px rgba(0,0,0,0.18);
    z-index: 1000;
    transition: top 0.4s, opacity 0.4s, height 0.3s;
    opacity: 1;
    padding: 0;
    /* Remove max-width and margin constraints */
}

.site-header.hidden {
    opacity: 0;
    pointer-events: none;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* Remove max-width and margin for full width */
    width: 100%;
    padding: 12px 5vw;
    box-sizing: border-box;
}

.site-title {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-bottom 0.2s;
}

.site-title:hover {
    color: #cccccc;
    border-bottom: 2px solid #cccccc;
}

/* Hamburger styles */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    width: 36px;
    height: 36px;
    cursor: pointer;
    z-index: 1100;
    margin-left: 1em;
}
.hamburger span {
    height: 4px;
    width: 28px;
    background: #fff;
    margin: 4px 0;
    border-radius: 2px;
    transition: 0.3s;
    display: block;
}

/* Hamburger open animation */
.hamburger.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
    opacity: 0;
}
.hamburger.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile nav styles */
.site-nav {
    display: flex;
    gap: 32px;
    transition: max-height 0.3s, opacity 0.3s;
}

@media (max-width: 700px) {
    .header-content {
        flex-direction: row;
        align-items: center;
        padding: 10px 3vw;
    }
    .site-title {
        font-size: 1.5rem;
    }
    .hamburger {
        display: flex;
    }
    .site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100vw;
        background: rgba(18, 18, 20, 0.98);
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        border-bottom-left-radius: 0.5em;
        border-bottom-right-radius: 0.5em;
        box-shadow: 0 6px 24px rgba(0,0,0,0.18);
        z-index: 1001;
        padding: 0;
        margin: 0;
    }
    .site-nav.open {
        max-height: 300px;
        opacity: 1;
        padding: 10px 0 10px 0;
    }
    .nav-link {
        width: 100%;
        padding: 14px 24px;
        font-size: 1.1rem;
        border-bottom: 1px solid #23232a;
        text-align: left;
    }
    .nav-link:last-child {
        border-bottom: none;
    }
}

.nav-link {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    padding: 6px 0;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-bottom 0.2s;
}

.nav-link:hover {
    color: #cfcfcf;
    border-bottom: 2px solid #cccccc;
}
