/* ========================================
   FINAL.CSS - Final "You're all set!" Page
   ======================================== */

/* Page 5 Initial State */
#page5 {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

/* Final Page Container */
.final-page {
    background: linear-gradient(180deg, #87CEEB 0%, #2D2D2D 70%);
    position: relative;
    overflow: hidden;
}

/* Background Image Container */
.final-background {
    position: relative;
    width: 100%;
}

/* Desktop Background */
.final-bg-desktop {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Mobile Background */
.final-bg-mobile {
    display: none;
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Content Overlay Container */
.final-content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
}

/* Text Content on Green Mountain */
.final-text-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    margin-top: 0;
    flex: 1;
    pointer-events: auto;
    margin: 190px 40px 10px 40px;
}

.final-title {
    font-family: 'DynaPuff', sans-serif;
    font-weight: 700;
    font-size: 28px;
    color: #377325;
    margin-bottom: 20px;
    line-height: 1.2;
}

.final-description {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #1E1E1E;
    margin-bottom: 10px;
    max-width: 350px;
    line-height: 1.5;
}

/* Take FLU Charge Button */
.take-flu-charge-btn {
    background: #4A7A45;
    color: white;
    border: none;
    padding: 14px 40px;
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin-bottom: 10px;
}

.take-flu-charge-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: #5A8A55;
}

.flu-text-yellow {
    color: #FFF71C;
}

.flu-text-animated::after {
  content: 'FLU';
  color: #FFF71C;
  display: inline-block;
  font-weight: bold;
  animation: fluToFull 2s ease-in-out infinite;
}

@keyframes fluToFull {
  0%, 45% {
    content: 'FLU';
  }
  50%, 95% {
    content: 'FULL';
  }
}

.final-cta-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #1E1E1E;
    max-width: 330px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.final-link-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #377325;
    max-width: 250px;
    line-height: 1.6;
}

.final-link-text a {
    color: rgba(45, 45, 45, 0.8);
    text-decoration: underline;
    cursor: pointer;
}

.final-link-text a:hover {
    color: #2D2D2D;
}

/* Bottom Share Button in Black Area */
.final-bottom-share {
    padding-bottom: 60px;
    pointer-events: auto;
}

.final-share-btn {
    background: transparent;
    border: 2px solid white;
    border-radius: 8px;
    color: white;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 16px;
    padding: 12px 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.final-share-btn:hover {
    background: white;
    color: #2D2D2D;
}

.final-share-btn i {
    font-size: 16px;
}

/* ========================================
   MOBILE RESPONSIVE STYLES
   ======================================== */

@media (max-width: 768px) {
    /* Hide desktop header */
    .final-page .desktop-only {
        display: none !important;
    }

    /* Show mobile background, hide desktop */
    .final-bg-desktop {
        display: none;
    }

    .final-bg-mobile {
        display: block;
        width: 100%;
        height: 100vh;
        min-height: 100vh;
        object-fit: cover;
    }

        /* Ensure page fills viewport */
    .final-page {
        min-height: 100vh;
        overflow: hidden;
    }

    .final-background {
        min-height: 100vh;
    }

    /* Adjust text content positioning */
    .final-text-content {
        margin-top: 0;
        padding: 0 25px;
        flex: 1;
    }

    .final-title {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .final-description {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .take-flu-charge-btn {
        font-size: 22px;
        padding: 12px 35px;
        margin-bottom: 20px;
    }

    .final-cta-text {
        font-size: 15px;
        margin-bottom: 18px;
    }

    .final-link-text {
        font-size: 16px;
    }

    .final-bottom-share {
        padding-bottom: 40px;
    }

    .final-share-btn {
        font-size: 14px;
        padding: 12px 30px;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .final-text-content {
        margin-top: 0;
        padding: 0 20px;
        flex: 1;
        padding: 0 12px;
        margin: 150px 10px 10px 10px;
    }

    .final-title {
        font-size: 28px;
    }

    .final-description {
        font-size: 15px;
    }

    .take-flu-charge-btn {
        font-size: 16px;
        padding: 10px 30px;
    }

    .final-cta-text {
        font-size: 14px;
    }

    .final-link-text {
        font-size: 16px;
    }
}

@media (max-width: 360px) {
    .final-text-content {
        padding: 0 12px;
        margin: 150px 10px 10px 10px;
    }
}


