:root {
    --primary-color: #3a6ea5;
    --secondary-color: #e6b325;
    --accent-color: #9c7c5c;
    --light-color: #f8f5f1;
    --dark-color: #2c3e50;
    --success-color: #2e8b57;
    --error-color: #dc3545;
    --text-color: #333333;
    --header-height: 75px;
    --footer-height: 70px;
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--light-color);
    color: var(--text-color);
    line-height: 1.5;
    padding-bottom: var(--footer-height);
}

.app-container {
    max-width: 450px;
    margin: 0 auto;
    min-height: 100vh;
    background-color: white;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow-x: hidden;
}



/* Main Content */
.main-content {
    padding: 12px;
    padding-bottom: 80px;
}

.header-sticky.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.page-with-fixed-header {
    padding-top: var(--header-height);
}


/* Cards */
.card-custom {
    background-color: white;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    border: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card-custom::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--secondary-color), var(--accent-color));
}

.card-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.section-title {
    font-family: 'Merriweather', serif;
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(58, 110, 165, 0.1), rgba(230, 179, 37, 0.1));
    color: var(--primary-color);
    font-size: 1rem;
    box-shadow: 0 2px 5px rgba(58, 110, 165, 0.1);
}

/* QR Code Section */
.qr-container {
    text-align: center;
    padding: 10px;
    background: linear-gradient(135deg, rgba(248, 245, 241, 0.8), rgba(255, 255, 255, 0.9));
    border-radius: 12px;
    margin-bottom: 12px;
    border: 1px solid rgba(230, 179, 37, 0.2);
}

.qr-placeholder {
    width: 150px;
    height: 150px;
    margin: 0 auto 10px;
    background: linear-gradient(135deg, #ffffff, #f5f5f5);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(58, 110, 165, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.qr-icon {
    font-size: 40px;
    background: linear-gradient(135deg, var(--primary-color), #4a7bb5);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 8px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.qr-placeholder span {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.85rem;
    z-index: 1;
    letter-spacing: 0.3px;
}

.qr-instructions {
    color: var(--text-color);
    font-size: 0.65rem;
    margin-top: 8px;
    line-height: 1.4;
    opacity: 0.8;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
}

/* Devotional Section */
.verse-of-the-day {
    background: linear-gradient(135deg, rgba(230, 179, 37, 0.08), rgba(156, 124, 92, 0.08));
    border-left: 4px solid var(--secondary-color);
    padding: 12px;
    margin: 12px 0;
    font-family: 'Merriweather', serif;
    font-style: italic;
    color: var(--dark-color);
    border-radius: 0 8px 8px 0;
    position: relative;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.verse-icon {
    position: absolute;
    top: -8px;
    left: -8px;
    background-color: var(--secondary-color);
    color: white;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    box-shadow: 0 2px 5px rgba(230, 179, 37, 0.3);
}

.verse-text {
    font-size: 0.85rem;
    line-height: 1.4;
}

.verse-reference {
    text-align: right;
    margin-top: 8px;
    font-weight: 600;
    color: var(--primary-color);
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    font-size: 0.75rem;
}

.devotional-text {
    margin-top: 12px;
    color: var(--text-color);
    line-height: 1.5;
    font-size: 0.85rem;
    max-height: 80px;
    overflow: hidden;
    position: relative;
}

.devotional-text::after {
    content: "...";
    position: absolute;
    bottom: 0;
    right: 0;
    background: linear-gradient(to right, transparent, white);
    padding-left: 20px;
}

.prayer-box {
    background: linear-gradient(135deg, rgba(58, 110, 165, 0.05), rgba(156, 124, 92, 0.05));
    padding: 12px;
    border-radius: 12px;
    margin-top: 12px;
    font-size: 0.8rem;
    color: var(--text-color);
    border-left: 3px solid var(--accent-color);
    position: relative;
    overflow: hidden;
}

.prayer-box::before {
    content: "🙏";
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 1.5rem;
    opacity: 0.1;
}

.prayer-title {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
}

.prayer-icon {
    color: var(--accent-color);
    font-size: 1rem;
}

.prayer-text {
    line-height: 1.4;
    max-height: 60px;
    overflow: hidden;
}

/* Daily Counter */
.daily-counter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
    font-size: 0.8rem;
}

.counter-value {
    background: linear-gradient(135deg, var(--secondary-color), #f0c040);
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 2px 5px rgba(230, 179, 37, 0.3);
}

/* Progress Circle */
.progress-circle {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    position: relative;
}

.progress-circle svg {
    width: 80px;
    height: 80px;
    transform: rotate(-90deg);
}

.progress-circle-bg {
    fill: none;
    stroke: rgba(58, 110, 165, 0.1);
    stroke-width: 6;
}

.progress-circle-fill {
    fill: none;
    stroke: var(--success-color);
    stroke-width: 6;
    stroke-linecap: round;
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: progress-animation 1.5s ease-out forwards;
}

.progress-circle-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

@keyframes progress-animation {
    to {
        stroke-dashoffset: 30;
    }
}

/* Layout em grid */
.two-column-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 12px;
}

.grid-item {
    background: white;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(58, 110, 165, 0.1);
}

/* Stats compactas */
.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
}

.stat-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(58, 110, 165, 0.1), rgba(230, 179, 37, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 480px) {
    .app-container {
        max-width: 100%;
        border-radius: 0;
    }

    .header {
        border-radius: 0;
        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 20px;
    }

    .fixed-footer {
        border-radius: 0;
    }
}



