* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    overflow-x: hidden;
    overflow-y: hidden;
    background: #000;
    position: relative;
}

/* Hero Background (gradient placeholder — swap for a photo/video via static/images or static/videos) */
.hero-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 20%, #14313f 0%, #071018 55%, #030608 100%);
    z-index: 0;
}

.hero-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
    pointer-events: none;
}

/* Floating Navigation Bar */
.navbar {
    position: fixed;
    top: 1.5rem;
    left: 2rem;
    right: 2rem;
    padding: 1.5rem 2rem;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    z-index: 100;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.navbar-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #fff;
    text-transform: uppercase;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.get-started-btn,
.login-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.get-started-btn {
    background: rgba(255, 255, 255, 0.96);
    color: #000;
    border: 1px solid rgba(255, 255, 255, 0.96);
}

.get-started-btn:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.15);
}

.login-btn {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.login-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
    transform: none;
    box-shadow: none;
}

/* Center Overlay Container */
.overlay-container {
    position: fixed;
    top: 46%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 50;
    text-align: center;
    width: min(1100px, 92vw);
    pointer-events: none;
}

.overlay-text {
    font-size: clamp(2.2rem, 3.2vw, 4rem);
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.04em;
    line-height: 1.08;
    text-transform: uppercase;
    text-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    animation: fadeInUp 1s ease-out;
    white-space: normal;
    max-width: 1000px;
    margin: 0 auto;
}

.hero-subtext {
    max-width: 760px;
    margin: 0.9rem auto 0;
    font-size: clamp(1rem, 1vw, 1.2rem);
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 400;
    letter-spacing: 0.01em;
    text-transform: none;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.story-section {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 3.2rem;
    z-index: 10;
    padding: 0 2.2rem;
    background: transparent;
}

.story-inner {
    max-width: 100%;
    width: calc(100% - 4.4rem);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.story-item {
    background: rgba(10, 14, 20, 0.56);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    padding: 1.2rem 1.4rem 1rem;
    backdrop-filter: blur(8px);
    min-height: 168px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.story-item h2 {
    font-size: clamp(1.05rem, 1.4vw, 1.7rem);
    line-height: 1.2;
    color: #dfeaf8;
    font-weight: 700;
    margin-bottom: 0.7rem;
    letter-spacing: -0.04em;
}

.story-item p {
    font-size: clamp(0.76rem, 0.9vw, 1rem);
    line-height: 1.5;
    color: rgba(245, 247, 250, 0.9);
}

@media (max-width: 900px) {
    body {
        overflow-y: auto;
    }

    .navbar {
        left: 1rem;
        right: 1rem;
        padding: 1rem 1.25rem;
    }

    .overlay-container {
        top: 32%;
    }

    .story-section {
        position: relative;
        bottom: auto;
        margin-top: 55vh;
        padding: 2rem 1.25rem 3rem;
    }

    .story-inner {
        grid-template-columns: 1fr;
        width: 100%;
    }
}
