:root {
    --bg-cream: #FDFBF7;
    --text-main: #2C3E2D;
    --header-green: #1A361E; /* Dark Forest Green */
    --accent-gold: #D4AF37;
    --accent-gold-hover: #F3E5AB;
    --border-color: #E2DFD2;
    --sidebar-bg: #FFFFFF;
    --verse-hover: #F4F1E1;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-cream);
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}


.app-header {
    background-color: var(--header-green);
    color: var(--bg-cream);
    padding: 2.5rem 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 10;
    display: flex;
    justify-content: center;
}

.header-container {
    max-width: 1000px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.header-text-container {
    display: flex;
    flex-direction: column;
}

.header-logo {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 0.2rem;
    letter-spacing: -1px;
}

.header-logo .highlight-gold {
    color: #F8B459;
}

.header-logo .highlight-white {
    color: #FFFFFF;
}

.app-header .subtitle {
    font-size: 1.05rem;
    opacity: 0.9;
    color: #E2DFD2;
    margin-bottom: 0;
    line-height: 1.4;
}

.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-header {
    display: inline-flex;
    align-items: center;
    border: 1px solid #FFFFFF;
    color: #FFFFFF;
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    border-radius: 24px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background-color 0.2s, color 0.2s;
}

.btn-header:hover {
    background-color: #FFFFFF;
    color: var(--header-green);
}

.hero-banner {
    background-color: #FEE7C3; /* Warm yellow/beige bg exactly like reference */
    padding: 2rem 2rem 0 2rem; /* Removed bottom padding since daily-block-container handles it */
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Removed border-bottom so it flows cleanly into daily-block-container */
}

.hero-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    width: 100%;
    gap: 2rem;
}

.hero-text {
    flex: 1;
    color: #5d5d5d;
    font-size: 1.05rem;
    line-height: 1.6;
}

.hero-search {
    display: flex;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-radius: 4px;
    overflow: hidden;
}

.hero-search input {
    padding: 1rem;
    border: none;
    width: 300px;
    font-size: 1rem;
    font-family: inherit;
    outline: none;
}

.hero-search button {
    background-color: #E74C3C; /* Orange/Red button */
    color: white;
    border: none;
    padding: 0 1.5rem;
    cursor: pointer;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-search button:hover {
    background-color: #C0392B;
}

.hero-search button svg {
    width: 20px;
    height: 20px;
}

.daily-block-container {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #FEE7C3; /* Matches the hero banner seamlessly */
    padding: 1rem 2rem 2rem 2rem; /* Added top padding back for breathing room */
    display: flex;
    justify-content: center;
    border-bottom: 1px solid var(--border-color); /* Moved border from hero-banner to here */
}

.daily-block {
    background-color: #214F44; /* Dark teal green like ref image */
    border-radius: 12px;
    padding: 1.5rem 2rem;
    width: 100%;
    max-width: 1000px;
    color: white;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.daily-block h3 {
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    text-align: left; /* Restored left alignment to match image */
}

.daily-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.daily-btn {
    background-color: white;
    color: #2C3E2D;
    border: none;
    padding: 0.8rem 1rem;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.daily-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.daily-btn .arrow {
    color: #555;
    font-weight: bold;
}

/* Resources Section */
.resources-section {
    background-color: var(--bg-cream); /* Same default cream bg */
    padding: 3rem 2rem;
    display: flex;
    justify-content: center;
    border-bottom: 1px solid var(--border-color);
}

.resources-container {
    width: 100%;
    max-width: 1200px;
}

.resources-container h2 {
    color: var(--text-main);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.resource-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.resource-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.resource-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    background-color: #EEE;
}

.resource-title {
    padding: 1rem;
    font-size: 1rem;
    font-weight: 700;
    color: #444;
}

/* Trending Section */
.trending-container {
    background-color: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border: 1px solid var(--border-color);
}

.trending-header {
    color: #333;
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.trending-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    row-gap: 2rem;
}

.trending-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: transform 0.2s;
}

.trending-item:hover {
    transform: translateX(5px);
}

.trending-img {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
    background-color: #EEE;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    flex-shrink: 0;
}

.trending-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #333;
    line-height: 1.3;
}

/* Populares Section */
.populares-container {
    background-color: #325E55;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.populares-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.populares-container .populares-header {
    color: #FFFFFF !important;
    font-size: 1.6rem;
    font-weight: 800;
}

.btn-populares-ver-mais {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid #FFFFFF;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.btn-populares-ver-mais:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.populares-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.populares-card {
    background-color: #FFFFFF;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.populares-title {
    color: #444;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: underline;
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.populares-title:hover {
    color: var(--accent-gold);
}

.populares-desc {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

.app-container {
    display: flex;
    flex: 1;
    max-width: 1200px;
    margin: 2rem auto;
    width: 100%;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.04);
    overflow: hidden;
}

.sidebar {
    width: 300px;
    background-color: var(--sidebar-bg);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.search-box {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.search-box input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    outline: none;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.2s;
}

.search-box input:focus {
    border-color: var(--accent-gold);
}

.book-list {
    max-height: 800px;
    overflow-y: auto;
    padding: 0.5rem 0;
}

.book-item {
    padding: 0.8rem 1.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
}

.book-item:hover, .book-item.active {
    background-color: var(--accent-gold-hover);
    color: var(--header-green);
    border-left: 4px solid var(--accent-gold);
}

.reader {
    flex: 1;
    display: flex;
    flex-direction: column;
    background-color: var(--bg-cream);
}

.reader-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--sidebar-bg);
}

.reader-header h2 {
    font-family: 'Playfair Display', serif;
    color: var(--header-green);
    font-size: 1.8rem;
}

.chapter-selector select {
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    outline: none;
    cursor: pointer;
}

.verses-container {
    padding: 2rem;
    line-height: 1.8;
    font-size: 1.1rem;
    max-height: 800px;
    overflow-y: auto;
}

.verse {
    display: flex;
    margin-bottom: 0.8rem;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.verse:hover {
    background-color: var(--verse-hover);
}

.verse-num {
    font-weight: bold;
    color: var(--accent-gold);
    margin-right: 1rem;
    min-width: 25px;
    text-align: right;
    user-select: none;
}

.welcome-message {
    text-align: center;
    color: var(--text-main);
    margin-top: 5rem;
    font-size: 1.2rem;
    opacity: 0.7;
}

/* =======================================
   RODAPÉ (SITE FOOTER)
   ======================================= */
.site-footer {
    background-color: var(--header-green);
    color: #F8F9FA;
    padding: 3rem 1rem 1.5rem 1rem;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.footer-brand {
    flex: 1;
    min-width: 300px;
}

.footer-logo {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 0.2rem;
    color: #F8B459;
    letter-spacing: -1px;
}

.footer-logo .logo-text {
    color: #F8B459;
}

.footer-logo .logo-sub {
    color: #FFF;
    font-weight: 500;
}

.footer-desc {
    color: #CCC;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    max-width: 300px;
}

.footer-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-doar {
    background-color: transparent;
    border: 1px solid #FFF;
    color: #FFF;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s;
}

.btn-doar:hover {
    background-color: #FFF;
    color: #262626;
}

.btn-loja-footer {
    background-color: transparent;
    border: 1px solid #FFF;
    color: #FFF;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s;
    display: flex;
    align-items: center;
}

.btn-loja-footer:hover {
    background-color: #FFF;
    color: #262626;
}

.footer-links-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    flex: 2;
    justify-content: flex-end;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-col a {
    color: #CCC;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
    font-weight: 500;
}

.footer-col a:hover {
    color: #FFF;
}

.footer-divider {
    height: 1px;
    background-color: #3A3A3A;
    margin: 1.5rem 0;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.footer-copy {
    color: #999;
    font-size: 0.85rem;
}

.footer-social {
    display: flex;
    gap: 0.8rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: #FFF;
    color: #262626;
    border-radius: 50%;
    text-decoration: none;
    transition: transform 0.2s;
}

.social-icon svg {
    width: 18px;
    height: 18px;
}

.social-icon:hover {
    transform: translateY(-2px);
    background-color: #F8B459;
}

@media (max-width: 900px) {
    .footer-top {
        flex-direction: column;
        gap: 2rem;
    }
    .footer-brand {
        min-width: unset;
    }
    .footer-links-grid {
        justify-content: flex-start;
        width: 100%;
        margin-top: 1rem;
        flex: unset;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-gold);
}

/* Fast responsive media queries */
@media (max-width: 900px) {
    .resources-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-top {
        flex-direction: column;
        text-align: center;
    }
    .app-container {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
        height: auto;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
    .reader {
        height: auto;
    }
}

/* Daily View / Search Results Styling */
.daily-view {
    max-width: 800px;
    margin: 0 auto;
}

.daily-view img {
    width: 100%;
    max-height: 350px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.daily-view h2 {
    color: var(--header-green);
    margin-bottom: 0.5rem;
}

.daily-view .date-meta {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.daily-view .content {
    line-height: 1.8;
    font-size: 1.15rem;
}

.daily-view a {
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: bold;
}

.daily-view a:hover {
    text-decoration: underline;
}

.search-result-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.search-result-item .ref {
    font-weight: bold;
    color: var(--header-green);
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.search-result-item .text {
    line-height: 1.6;
}

/* Share & Copy Buttons */
.action-buttons-container {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--sidebar-bg);
    border: 1px solid var(--border-color);
    padding: 0.6rem 1rem;
    border-radius: 6px;
    color: var(--header-green);
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.action-btn:hover {
    background-color: var(--accent-gold-hover);
    border-color: var(--accent-gold);
}

.action-btn svg {
    width: 16px;
    height: 16px;
}

/* Verse Actions Popup */
.verse {
    position: relative;
    cursor: pointer;
}

/* Share Modal */
.share-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s;
}

.share-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.share-modal {
    background: white;
    width: 90%;
    max-width: 400px;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    transform: translateY(20px);
    transition: transform 0.2s;
}

.share-modal-overlay.show .share-modal {
    transform: translateY(0);
}

.share-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.share-modal-header h3 {
    font-size: 1.4rem;
    color: #111;
    font-weight: 700;
}

.share-modal-header .close-btn {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #555;
    padding: 0;
    line-height: 1;
}

.copy-link-box {
    display: flex;
    align-items: center;
    border: 1px solid #CCC;
    border-radius: 20px;
    padding: 0.3rem;
    margin-bottom: 1.5rem;
}

.copy-link-btn {
    background: #444;
    color: white;
    border: none;
    padding: 0.6rem 1rem;
    border-radius: 18px;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s;
}

.copy-link-btn:hover {
    background: #222;
}

.copy-link-text {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 0.8rem;
    color: #888;
    font-size: 0.9rem;
}

.share-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.share-opt {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    color: #222;
    text-decoration: none;
    font-size: 1.05rem;
    padding: 0.8rem;
    border-radius: 8px;
    transition: background 0.2s;
    font-weight: 500;
}

.share-opt:hover {
    background: #F4F1E1;
}

.share-opt svg {
    width: 20px;
    height: 20px;
}

/* Style for the new Pill Share Button */
.pill-share-btn {
    background-color: #EFEFEF;
    color: var(--header-green);
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 24px;
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: background-color 0.2s;
    font-family: inherit;
}

.pill-share-btn:hover {
    background-color: #E0E0E0;
}

.pill-share-btn svg {
    width: 18px;
    height: 18px;
    stroke: var(--header-green);
}

/* =======================================
   BANNERS PROMOCIONAIS
   ======================================= */
.banners-section {
    max-width: 1200px;
    margin: 3rem auto 4rem auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 0 1rem;
}

.promo-banner {
    border-radius: 12px;
    overflow: hidden;
    padding: 1.5rem 2rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    min-height: 240px;
    gap: 1.5rem;
}

.promo-content {
    flex: 1;
}

.promo-btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s, background-color 0.2s;
    border: none;
    cursor: pointer;
    margin-top: 1.5rem;
}

.promo-btn:hover {
    transform: translateY(-2px);
}

/* Banner 1: Loja */
.banner-loja {
    background: linear-gradient(120deg, #D4EFDF 0%, #A9DFBF 100%);
    position: relative;
}

.promo-badge {
    display: inline-block;
    color: #1A5276;
    font-weight: 800;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.banner-loja h3 {
    font-size: 1.6rem;
    line-height: 1.3;
    color: #145A32;
    font-family: 'Playfair Display', serif;
}

.orange-btn {
    background-color: #E67E22;
    color: white;
}
.orange-btn:hover {
    background-color: #D35400;
}

/* Banner 2: Oferta */
.banner-oferta {
    background-color: #F8F5E6;
    border: 1px solid #EAECEE;
}

.banner-oferta h3 {
    font-size: 1.5rem;
    color: #2C3E50;
    margin-bottom: 0.5rem;
}

.banner-oferta p {
    color: #5D6D7E;
    font-size: 0.95rem;
    line-height: 1.5;
}

.green-btn {
    background-color: #27AE60;
    color: white;
}
.green-btn:hover {
    background-color: #1E8449;
}

.placeholder-img {
    background-color: rgba(255,255,255,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    height: 120px;
    width: 160px;
    font-weight: bold;
    color: #2E86C1;
    font-size: 1.1rem;
    padding: 1rem;
    text-align: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Banner 3: Aproxime-se */
.banner-aproxime {
    background-color: #1C332A;
    color: white;
    flex-direction: column;
    align-items: flex-start;
    padding: 2.5rem;
}

.banner-aproxime h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: white;
}

.aproxime-list {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.aprox-divider {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.2);
    margin: 1.5rem 0;
}

.aproxime-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.aproxime-text {
    flex: 1;
}

.aproxime-text strong {
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.3rem;
}

.aproxime-text p {
    font-size: 0.85rem;
    opacity: 0.8;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.aprox-txt-link {
    color: white;
    text-decoration: underline;
    font-size: 0.85rem;
    font-weight: 600;
}
.aprox-txt-link:hover {
    opacity: 0.8;
}

.aprox-outline-btn {
    border: 1px solid rgba(255,255,255,0.6);
    background: transparent;
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.2s;
    min-width: max-content;
}

.aprox-outline-btn:hover {
    background: rgba(255,255,255,0.1);
    border-color: white;
}

/* Banner 4: Pedidos de Oração */
.banner-oracao {
    background-color: #FCF7F0;
    border: 1px solid #F0E8DD;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    gap: 1.5rem;
}

.oracao-content {
    flex: 1;
    z-index: 2;
}

.oracao-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #4A4A4A;
    margin-bottom: 0.8rem;
    font-family: 'Inter', sans-serif;
}

.oracao-text {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    max-width: 400px;
}

.oracao-actions {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    max-width: 350px;
}

.btn-oracao-primary {
    background-color: #E85D2A;
    color: white;
    font-weight: 700;
    text-decoration: none;
    padding: 0.8rem 1rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: background 0.2s;
}

.btn-oracao-primary:hover {
    background-color: #D64E1D;
    color: white;
}

.btn-oracao-outline {
    background-color: white;
    color: #333;
    border: 1px solid #E85D2A;
    font-weight: 600;
    text-decoration: none;
    padding: 0.7rem 1rem;
    border-radius: 6px;
    text-align: center;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.btn-oracao-outline:hover {
    background-color: #FFF3F0;
}

.oracao-image-container {
    flex-shrink: 0;
    z-index: 1;
}

.oracao-placeholder-img {
    font-size: 6rem;
    opacity: 0.8;
    background: transparent;
    text-align: center;
}

/* =======================================
   ÚLTIMAS ATUALIZAÇÕES
   ======================================= */
.updates-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.btn-ver-mais {
    background: white;
    border: 1px solid #CCC;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    color: #555;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-ver-mais:hover {
    background: #F8F9FA;
    border-color: #AAA;
    color: #333;
}

.updates-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.update-card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    border: 1px solid transparent;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.update-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.08);
    border-color: #E2DFD2;
}

.update-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.6rem;
    line-height: 1.3;
    text-decoration: underline;
    text-decoration-color: #CCC;
    text-underline-offset: 3px;
}

.update-card:hover .update-title {
    color: var(--primary-green);
    text-decoration-color: var(--primary-green);
}

.update-snippet {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* Responsivo para Banners e Últimas Atualizações */
@media (max-width: 900px) {
    .banners-section, .updates-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 768px) {
    .promo-banner {
        flex-direction: column;
        text-align: center;
    }
    .promo-content {
        max-width: 100%;
        margin-bottom: 1.5rem;
    }
    .aproxime-item {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        gap: 1rem;
    }
    .aprox-outline-btn {
        width: 100%;
        justify-content: center;
    }
}

/* =======================================
   PRAYER REQUEST SYSTEM
   ======================================= */
.prayer-form {
    max-width: 600px;
    margin: 0 auto;
}
.prayer-form-group {
    margin-bottom: 1.5rem;
}
.prayer-form-group label {
    display: block;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.4rem;
    font-size: 0.95rem;
}
.prayer-form-group input,
.prayer-form-group select,
.prayer-form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    background: #FFFFFF;
    transition: border-color 0.2s;
}
.prayer-form-group input:focus,
.prayer-form-group select:focus,
.prayer-form-group textarea:focus {
    border-color: var(--accent-gold);
}
.prayer-form-group textarea {
    min-height: 100px;
    resize: vertical;
}
.prayer-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.prayer-preview-box {
    background: #FAF8F4;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.2rem;
    min-height: 80px;
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    font-style: italic;
}
.prayer-checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}
.prayer-checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.3rem;
}
.prayer-checkbox-group label {
    font-weight: 400;
    font-size: 0.85rem;
    color: #666;
}
.btn-prayer-submit {
    display: block;
    width: 100%;
    padding: 0.9rem;
    background: var(--accent-gold);
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s;
    font-family: inherit;
}
.btn-prayer-submit:hover {
    background: #C09B30;
}
/* Prayer Wall */
.prayer-wall-header {
    background: #FEF3E0;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}
.prayer-wall-header h2 {
    font-size: 1.8rem;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}
.prayer-wall-header p {
    color: #777;
    font-size: 1rem;
}
.btn-prayer-cta {
    display: inline-flex;
    align-items: center;
    background: var(--accent-gold);
    color: #FFFFFF;
    padding: 0.9rem 2rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    margin-top: 1.2rem;
    transition: background 0.2s, transform 0.2s;
    cursor: pointer;
    border: none;
    font-family: inherit;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}
.btn-prayer-cta:hover {
    background: #C09B30;
    transform: translateY(-1px);
}
.prayer-card {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}
.prayer-card-text {
    font-size: 1.1rem;
    color: var(--text-main);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-weight: 500;
}
.prayer-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.btn-orar {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border: 1px solid var(--border-color);
    background: #FFFFFF;
    color: var(--text-main);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}
.btn-orar:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}
.btn-orar.prayed {
    border-color: var(--accent-gold);
    background: #FFF8E7;
    color: var(--accent-gold);
}
.prayer-card-meta {
    font-size: 0.85rem;
    color: #999;
}
.prayer-count-info {
    font-size: 0.85rem;
    color: #999;
    margin-left: 0.5rem;
}

/* =======================================
   FLOATING SCROLL-TO-TOP BUTTON
   ======================================= */
#scrollTopBtn {
    display: none;
    position: fixed;
    bottom: 24px;
    right: 20px;
    z-index: 9999;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: var(--header-green);
    color: #fff;
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s, transform 0.3s;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}
#scrollTopBtn.visible {
    display: flex;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
#scrollTopBtn:active {
    transform: scale(0.9);
}
@media (min-width: 769px) {
    #scrollTopBtn { display: none !important; }
}

/* =======================================
   COMPREHENSIVE RESPONSIVE CSS FIXES
   ======================================= */
@media (max-width: 768px) {
    /* Header */
    .app-header {
        padding: 1rem 0.8rem;
    }
    .header-container {
        flex-direction: column;
        gap: 0.6rem;
        text-align: center;
    }
    .header-logo {
        font-size: 1.6rem;
    }
    .app-header .subtitle {
        font-size: 0.8rem;
        line-height: 1.3;
    }
    .header-actions {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }

    /* Hero Banner */
    .hero-banner {
        padding: 1rem 0.8rem 0 0.8rem;
    }
    .hero-text {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    .hero-search {
        flex-direction: column;
        width: 100%;
        max-width: 100%;
    }
    .hero-search input {
        width: 100%;
        padding: 0.7rem;
        font-size: 0.9rem;
        border-radius: 4px 4px 0 0;
    }
    .hero-search button {
        width: 100%;
        padding: 0.7rem;
        border-radius: 0 0 4px 4px;
    }

    /* Daily Block (sticky nav) */
    .daily-block-container {
        padding: 0.5rem 0.8rem 0.8rem 0.8rem;
    }
    .daily-block {
        padding: 0.8rem;
        border-radius: 8px;
    }
    .daily-block h3 {
        font-size: 0.9rem;
        margin-bottom: 0.6rem;
    }
    .daily-buttons {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }
    .daily-btn {
        padding: 0.5rem 0.6rem;
        font-size: 0.75rem;
    }

    /* Resources Grid (Amazonia Medicinal / Recursos) */
    .resources-section {
        padding: 1.5rem 0.8rem;
    }
    .resources-container h2 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    .resources-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.8rem;
    }
    .resource-img {
        height: 100px;
    }
    .resource-title {
        padding: 0.6rem;
        font-size: 0.8rem;
    }

    /* Trending Section */
    .trending-container {
        padding: 1rem 0.8rem;
    }
    .trending-header {
        font-size: 1.2rem;
    }
    .trending-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        row-gap: 1rem;
    }
    .trending-img {
        width: 55px;
        height: 55px;
        border-radius: 8px;
    }
    .trending-title {
        font-size: 0.85rem;
    }

    /* Populares Section */
    .populares-container {
        padding: 1rem 0.8rem;
        border-radius: 8px;
    }
    .populares-header-row {
        flex-direction: column;
        gap: 0.6rem;
        align-items: flex-start;
    }
    .populares-container .populares-header {
        font-size: 1.2rem;
    }
    .populares-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    .populares-card {
        padding: 1rem;
    }
    .populares-title {
        font-size: 0.9rem;
    }
    .populares-desc {
        font-size: 0.8rem;
    }

    /* Banners Section */
    .banners-section {
        margin: 1.5rem auto 2rem auto;
        padding: 0 0.8rem;
        gap: 1rem;
    }
    .promo-banner {
        padding: 1rem 1.2rem;
        min-height: auto;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    .banner-loja h3,
    .banner-oferta h3 {
        font-size: 1.1rem;
    }
    .banner-aproxime {
        padding: 1.5rem;
    }
    .banner-aproxime h3 {
        font-size: 1.1rem;
    }
    .aproxime-item {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        gap: 0.6rem;
    }
    .aprox-outline-btn {
        width: 100%;
        text-align: center;
    }
    .banner-oracao {
        flex-direction: column;
        text-align: center;
        padding: 1.2rem;
        gap: 1rem;
    }
    .oracao-title {
        font-size: 1.2rem;
    }
    .oracao-actions {
        margin: 0 auto;
        max-width: 100%;
    }

    /* Updates Grid */
    .updates-header-row {
        flex-direction: column;
        gap: 0.6rem;
        align-items: flex-start;
    }
    .updates-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    .update-card {
        padding: 1rem;
    }
    .update-title {
        font-size: 0.95rem;
    }
    .update-snippet {
        font-size: 0.8rem;
    }

    /* Prayer Request Section */
    .prayer-form-row {
        grid-template-columns: 1fr;
    }
    .prayer-wall-header {
        padding: 1.2rem;
    }
    .prayer-wall-header h2 {
        font-size: 1.3rem;
    }
    .prayer-wall-header p {
        font-size: 0.85rem;
    }

    /* Bible Reader */
    .app-container {
        margin: 1rem auto;
        border-radius: 8px;
    }
    .sidebar {
        height: auto;
        min-height: auto;
        max-height: 250px;
    }
    .book-item {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    .reader-header {
        padding: 1rem;
        flex-direction: column;
        gap: 0.6rem;
        text-align: center;
    }
    .reader-header h2 {
        font-size: 1.3rem;
    }
    .verses-container {
        padding: 0.8rem;
        font-size: 0.95rem;
        max-height: 500px;
    }

    /* Daily View (Articles) */
    .daily-view {
        padding: 0 !important;
    }
    .daily-view img {
        max-height: 200px;
        border-radius: 6px;
    }
    .daily-view h2 {
        font-size: 1.2rem;
    }
    .daily-view .content {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    /* Footer */
    .site-footer {
        padding: 2rem 0.8rem 1rem 0.8rem;
        font-size: 0.8rem;
    }
    .footer-logo {
        font-size: 2rem;
    }
    .footer-desc {
        font-size: 0.8rem;
    }
    .footer-copy {
        font-size: 0.75rem;
    }
}

@media (max-width: 400px) {
    .header-logo {
        font-size: 1.4rem;
    }
    .app-header .subtitle {
        font-size: 0.7rem;
    }
    .daily-buttons {
        grid-template-columns: 1fr;
        gap: 0.4rem;
    }
    .daily-btn {
        font-size: 0.75rem;
        padding: 0.5rem;
    }
    .resources-grid {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }
    .resource-img {
        height: 120px;
    }
}
