:root {
    --color-primary: #2c3e50;
    --color-secondary: #8b7355;
    --color-accent: #d4af37;
    --color-bg: #f5f1ed;
    --color-surface: #ffffff;
    --color-text: #2c3e50;
    --color-text-secondary: #7f8c8d;
    --radius-base: 12px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f5f1ed 0%, #ebe5dd 100%);
    color: var(--color-text);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 900px;
    margin: 0 auto;
}

.header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px 0;
    border-bottom: 3px solid var(--color-accent);
}

.header h1 {
    font-size: 2.5em;
    color: var(--color-primary);
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.header p {
    color: var(--color-text-secondary);
    font-size: 1.1em;
}

.page-panel {
    background: var(--color-surface);
    border-radius: var(--radius-base);
    padding: 32px 40px;
    box-shadow: var(--shadow-md);

    align-items: flex-start;
}

.back-link {
    display: inline-block;
    margin-bottom: 20px;
    padding: 10px 22px;
    background: var(--color-secondary);
    color: #ffffff;
    text-decoration: none;
    border-radius: var(--radius-base);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.back-link:hover {
    background: var(--color-primary);
    box-shadow: var(--shadow-md);
}

.page-title {
    color: var(--color-primary);
    margin-bottom: 20px;
    font-size: 1.8em;
    border-bottom: 3px solid var(--color-accent);
    padding-bottom: 12px;
}

.page-content {
    background: linear-gradient(135deg, #f0ebe6, #faf8f5);
    padding: 20px;
    border-radius: var(--radius-base);
    border-left: 4px solid var(--color-accent);
    line-height: 1.8;
    font-size: 1em;

    width: 100%;
}

.page-note {
    margin-top: 12px;
    color: var(--color-text-secondary);
}

@media (max-width: 768px) {
    .header h1 {
        font-size: 1.8em;
    }

    .page-panel {
        padding: 20px;
    }
}


.instruction-list {
    list-style: none;
    margin: 18px 0 22px;
}

.instruction-list li {
    padding: 10px 0 10px 28px;
    position: relative;
    color: var(--color-text);
    line-height: 1.6;
    font-size: 1em;
}

.instruction-list li:before {
    content: "\2726";
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-size: 1.1em;
}

.prayer-placeholder {
    background: linear-gradient(135deg, #f0ebe6, #faf8f5);
    padding: 16px;
    border-radius: var(--radius-base);
    border-left: 4px solid var(--color-accent);
    line-height: 1.7;
}

.section-title {
    color: var(--color-secondary);
    margin: 10px 0 8px;
    font-size: 1.1em;
}

.source-links {
    list-style: none;
    margin: 16px 0 0;
}

.source-links li {
    padding: 8px 0 8px 22px;
    position: relative;
    line-height: 1.5;
}

.source-links li:before {
    content: "\2726";
    position: absolute;
    left: 0;
    color: var(--color-accent);
}

.source-links a {
    color: var(--color-accent);
    text-decoration: none;
}

.source-links a:hover {
    text-decoration: underline;
}

.action-link {
    align-self: flex-start;
    margin-top: 12px;
}

.page-panel {
    display: flex;
    flex-direction: column;
}

.prayer-page .page-content {
    text-align: center;
}

.prayer-page .section-title {
    text-align: center;
}

.prayer-page .prayer-placeholder {
    border-left: none;
    margin: 0 auto;
    text-align: center;
    max-width: 680px;
}

.prayer-page .source-links {
    margin: 12px auto 0;
    max-width: 680px;
    text-align: center;
}

.prayer-page .source-links li {
    padding-left: 0;
}

.prayer-page .source-links li:before {
    content: none;
}
