@import url('https://fonts.googleapis.com/css2?family=BBH+Bartle&family=BBH+Bogle&display=swap');

/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "BBH Bogle", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #000;
    background-color: #f3f3f3;
    overflow-x: hidden;
}

/* Centered Layout Wrapper */
.lp-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 3rem 1.25rem 1.5rem;
    background-color: #f3f3f3;
}

/* Unified Floating Card */
.lp-container {
    width: 100%;
    max-width: 410px;
    /* Sleek card width */
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 48px rgba(24, 76, 65, 0.06), 0 4px 12px rgba(0, 0, 0, 0.01);
    border: 1px solid rgba(24, 76, 65, 0.05);
    display: flex;
    flex-direction: column;
}

/* Video Container */
.lp-video-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    /* Native 3:4 aspect ratio to display the full cover without cropping the top */
    overflow: hidden;
    background: #e5e5e5;
}

.lp-video-wrap video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Fade - standard transparent to card background (#ffffff) gradient at the bottom of the video */
.lp-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 68%;
    /* Increased from 50% to 68% to cover the new higher text area */
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.3) 30%,
            rgba(255, 255, 255, 0.85) 65%,
            #ffffff 100%);
    z-index: 2;
    pointer-events: none;
}

/* Content Container wrapper pulled up using negative margin to overlay the video bottom */
.lp-content-wrap {
    margin-top: -9rem;
    /* Increased from -5rem to -9rem to pull the text, fade, and buttons higher */
    position: relative;
    z-index: 10;
    padding: 0 1.5rem 1.75rem;
}

.lp-header {
    margin-bottom: 1.25rem;
    text-align: center;
}

.lp-title {
    font-size: 2rem;
    font-weight: 700;
    color: #184c41;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 0 0 6px;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.4);
}

.lp-meta {
    font-size: 0.85rem;
    color: #527971;
    letter-spacing: 0.12em;
    margin: 0;
    text-transform: uppercase;
    font-weight: 500;
}

/* Unified Platform List Card (No Gaps) */
.lp-platforms {
    display: flex;
    flex-direction: column;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(24, 76, 65, 0.08);
}

.lp-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: #ffffff;
    /* Matches the card background/fade end-color for a smooth look */
    text-decoration: none;
    border-bottom: 1px solid rgba(24, 76, 65, 0.06);
    transition: background-color 0.2s ease;
}

.lp-btn:last-child {
    border-bottom: none;
}

.lp-btn:hover {
    background: #fafbfa;
}

.lp-btn-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.lp-btn-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.lp-btn-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a1a1a;
    text-align: left;
}

.lp-btn-sub {
    font-size: 0.73rem;
    color: #888;
    margin-top: 1px;
    text-align: left;
}

.lp-btn-play {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #184c41;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Footer */
footer {
    text-align: center;
    padding: 1.5rem 1rem;
    font-size: 0.75rem;
    color: #aaa;
    letter-spacing: 0.05em;
    margin-top: 0.5rem;
}

/* Mobile Adjustments */
@media (max-width: 480px) {
    .lp-wrap {
        padding: 1.5rem 1rem 1rem;
    }

    .lp-title {
        font-size: 1.6rem;
    }

    .lp-content-wrap {
        padding: 0 1.25rem 1.5rem;
    }
}