/* =========================================================
   DIMEWATCH PREVIEW
   ========================================================= */


/* ========= Background ========= */

body {
    margin: 0;
    padding: 0;
    background: #0d2910;
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    color: #222;
}


/* ========= Main Preview Container ========= */

#preview {
    max-width: 1000px;
    margin: 2rem auto;
    background: #fff;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
    box-sizing: border-box;
}

#preview::after {
    content: "";
    display: block;
    clear: both;
}


/* =========================================================
   1. PREVIEW HEADER
   ========================================================= */

.preview-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.previewtitle {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    color: #0d2910;
    text-align: center;
    font-family: 'Merriweather', 'Georgia', serif;
}

.previewtitlesubtxt {
    max-width: 750px;
    margin: 0.75rem auto 1.5rem;
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.5;
    color: #145a32;
    text-align: center;
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
}


/* =========================================================
   HERO IMAGE
   ========================================================= */

.previewimgfive {
    display: block;
    margin: 1.5rem auto;
    height: 300px;
    width: 700px;
    max-width: 100%;
    object-fit: cover;
    border-radius: 12px;
}


/* =========================================================
   2. FREE CONTENT
   ========================================================= */

.preview-content {
    max-width: 850px;
    margin: 0 auto;
}

.previewtxt {
    display: block;
    max-width: 850px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.8;
    text-align: left;
}

.previewtxt h3,
.preview-content h3 {
    color: #145a32;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-family: 'Merriweather', 'Georgia', serif;
}

.previewtxt p,
.preview-content p {
    margin: 0 0 1.4rem;
}

hr {
    border: 0;
    border-top: 1px solid #d9dfda;
    margin: 2rem 0;
}


/* =========================================================
   INLINE CONTENT LINKS
   ========================================================= */

.previewtxt a {
    background: #81c784;
    color: #0d2910;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    text-decoration: none;
}

#linkinspan {
    padding: 0.2rem 0.4rem;
    border-radius: 0;
    text-decoration: none;
    background-color: #fff;
}


/* =========================================================
   CONTENT IMAGES
   ========================================================= */

.previewimgone {
    display: block;
    float: left;
    margin: 10px 20px 10px 0;
    clear: both;
    height: 200px;
    width: 150px;
    max-width: 40%;
    object-fit: cover;
    border-radius: 8px;
}

.previewimgtwo {
    display: block;
    float: right;
    margin: 10px 0 10px 20px;
    clear: both;
    height: 200px;
    width: 150px;
    max-width: 40%;
    object-fit: cover;
    border-radius: 8px;
}

.previewimgthree {
    display: block;
    float: left;
    margin: 10px 20px 10px 0;
    clear: both;
    height: 300px;
    width: 200px;
    max-width: 40%;
    object-fit: cover;
    border-radius: 8px;
}

.previewimgfour {
    display: block;
    float: right;
    margin: 10px 0 10px 20px;
    clear: both;
    height: 300px;
    width: 200px;
    max-width: 40%;
    object-fit: cover;
    border-radius: 8px;
}


/* =========================================================
   3. CURIOSITY GAP / PSYCHOLOGICAL HOOK
   ========================================================= */

.preview-hook {
    max-width: 800px;
    margin: 3rem auto 0;
    text-align: center;
}

.preview-hook h3 {
    margin: 1.5rem 0 0.75rem;
    color: #0d2910;
    font-family: 'Merriweather', 'Georgia', serif;
    font-size: 1.5rem;
    line-height: 1.4;
}

.preview-hook p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.7;
}


/* =========================================================
   4. THE OFFER
   ========================================================= */

.preview-offer {
    max-width: 700px;
    margin: 2.5rem auto 0;
    padding: 1.75rem 2rem;
    background: #f1f7f2;
    border-left: 5px solid #81c784;
    border-radius: 10px;
    text-align: center;
}

.preview-offer h3 {
    margin: 0 0 0.75rem;
    color: #0d2910;
    font-family: 'Merriweather', 'Georgia', serif;
    font-size: 1.4rem;
}

.preview-offer p {
    margin: 0;
    color: #333;
    line-height: 1.6;
}


/* =========================================================
   5. ACTION BUTTONS
   ========================================================= */

.preview-actions {
    text-align: center;
    margin: 1.5rem auto 0;
}

#onboard {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0;
}

#onboard a {
    display: inline-block;
    min-width: 120px;
    padding: 0.7rem 1.25rem;
    background: #81c784;
    color: #0d2910;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition:
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

#onboard a:hover {
    background: #66bb6a;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(13, 41, 16, 0.18);
}

#onboard a:focus-visible {
    outline: 3px solid #0d2910;
    outline-offset: 3px;
}


/* =========================================================
   TOP NAVIGATION
   ========================================================= */

#navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    background: #0f172a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    top: 0;
    z-index: 50;
}

#navigation > div {
    display: flex;
}

#navigation a {
    display: inline-block;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #e5e7eb;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.2s ease, color 0.2s ease;
}

#navigation a:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

#boxlogout a {
    color: #fca5a5;
}

#boxlogout a:hover {
    background: rgba(248, 113, 113, 0.15);
    color: #fff;
}


/* =========================================================
   VIDEO
   ========================================================= */

.previewvideo {
    width: 100%;
    text-align: center;
    margin: 2.5rem 0;
}

.previewvideo video {
    width: 100%;
    max-width: 720px;
    max-height: 500px;
    border-radius: 18px;
    border: 4px solid #81c784;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    object-fit: cover;
}

.previewvideo video:hover {
    border-color: #0d2910;
    box-shadow: 0 0 25px rgba(129, 199, 132, 0.65);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 768px) {

    #preview {
        margin: 1rem;
        padding: 1.75rem;
        border-radius: 0.75rem;
    }

    .previewtitle {
        font-size: 2rem;
    }

    .previewtitlesubtxt {
        font-size: 1.1rem;
    }

    .previewtxt {
        font-size: 1rem;
        line-height: 1.75;
    }

    .preview-hook {
        margin-top: 2.5rem;
    }

    .preview-offer {
        padding: 1.5rem;
    }

    #navigation {
        flex-wrap: wrap;
        gap: 10px;
        padding: 12px;
    }

    #navigation a {
        padding: 8px 14px;
        font-size: 13px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 480px) {

    body {
        background: #fff;
    }

    #preview {
        margin: 0;
        padding: 1.25rem;
        border-radius: 0;
        box-shadow: none;
    }

    .previewtitle {
        font-size: 1.75rem;
    }

    .previewtitlesubtxt {
        font-size: 1rem;
        margin-bottom: 1.25rem;
    }

    .previewimgfive {
        height: auto;
        max-height: 260px;
        width: 100%;
    }

    .previewtxt {
        font-size: 1rem;
        line-height: 1.7;
        text-align: left;
    }

    .previewimgone,
    .previewimgtwo,
    .previewimgthree,
    .previewimgfour {
        float: none;
        clear: both;
        width: 100%;
        max-width: 100%;
        height: auto;
        max-height: 350px;
        margin: 1rem auto;
    }

    .preview-hook h3 {
        font-size: 1.3rem;
    }

    .preview-hook p {
        font-size: 1rem;
    }

    .preview-offer {
        padding: 1.25rem;
        margin-top: 2rem;
    }

    #onboard {
        flex-direction: column;
        gap: 10px;
    }

    #onboard a {
        width: 100%;
        box-sizing: border-box;
        padding: 0.8rem 1rem;
    }

    #navigation {
        justify-content: space-between;
        padding: 10px 12px;
    }

    #navigation > div {
        flex: 1 1 48%;
        justify-content: center;
    }

    #navigation a {
        width: 100%;
        text-align: center;
        font-size: 13px;
        padding: 9px 0;
    }
}
