/*
Theme Name: Morning Bible Sip
Theme URI: https://morningbiblesip.com
Author: MBS Creative Team
Author URI: https://morningbiblesip.com
Description: The "Ministry Pro" edition of Morning Bible Sip. A premium, high-performance platform featuring spiritual journey tracking, membership tiers, sermon archives, and automated mailer integration.
Version: 2.2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: morning-bible-sip
Tags: custom-colors, custom-menu, featured-images, flexible-header, full-width-template, styling, translation-ready, e-commerce, elementor-ready, ministry-pro, dual-dashboard
*/

/* -------------------------------------
 * Elite UI Architecture (v2.0)
 * ------------------------------------- */

:root {
	--glass-bg: rgba(255, 255, 255, 0.7);
	--glass-border: rgba(255, 255, 255, 0.4);
	--glass-blur: 15px;
	--elite-shadow: 0 20px 40px rgba(62, 54, 46, 0.08);
}

body.dark-mode {
	--glass-bg: rgba(30, 26, 23, 0.8);
	--glass-border: rgba(255, 255, 255, 0.05);
	--elite-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Glassmorphism 2.0 Core */
.glass-elite {
	background: var(--glass-bg);
	backdrop-filter: blur(var(--glass-blur));
	-webkit-backdrop-filter: blur(var(--glass-blur));
	border: 1px solid var(--glass-border);
	box-shadow: 0 8px 32px rgba(31, 38, 135, 0.05);
	border-radius: 16px;
	transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.glass-elite:hover {
	border-color: rgba(212, 175, 55, 0.4);
	box-shadow: 0 12px 40px rgba(212, 175, 55, 0.1);
	transform: translateY(-5px);
}

/* Scroll Reveal Engine */
.reveal-on-scroll {
	opacity: 0;
	transform: translateY(30px);
	transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal-on-scroll.revealed {
	opacity: 1;
	transform: translateY(0);
}

/* Micro-interactions */
.btn-magnetic {
	position: relative;
	overflow: hidden;
	z-index: 1;
}

.btn-magnetic::after {
	content: '';
	position: absolute;
	top: 50%; left: 50%;
	width: 300%; height: 300%;
	background: rgba(255,255,255,0.1);
	transform: translate(-50%, -50%) scale(0);
	border-radius: 50%;
	transition: transform 0.6s;
	z-index: -1;
}

.btn-magnetic:hover::after {
	transform: translate(-50%, -50%) scale(1);
}

/* Impact Toast */
.mbs-impact-toast {
	position: fixed;
	bottom: 30px;
	left: 30px;
	background: var(--color-accent-gold);
	color: #FFF;
	padding: 1rem 1.5rem;
	border-radius: 50px;
	display: flex;
	align-items: center;
	gap: 10px;
	box-shadow: 0 10px 20px rgba(212,175,55,0.3);
	z-index: 10000;
	transform: translateX(-150%);
	transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.mbs-impact-toast.visible {
	transform: translateX(0);
}

/* AI Interface Styles */
.ai-mood-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	gap: 1rem;
	margin-bottom: 2rem;
}

.ai-mood-btn {
	background: var(--color-bg-secondary);
	border: 1px solid var(--color-border);
	padding: 1rem;
	border-radius: 12px;
	cursor: pointer;
	text-align: center;
	transition: all 0.3s;
}

.ai-mood-btn:hover {
	background: var(--color-accent-gold);
	color: #FFF;
	border-color: var(--color-accent-gold);
}

.ai-typing {
	display: flex;
	gap: 5px;
	justify-content: center;
	padding: 2rem;
}

.ai-typing span {
	width: 8px; height: 8px;
	background: var(--color-accent-gold);
	border-radius: 50%;
	animation: typing 1s infinite alternate;
}

.ai-typing span:nth-child(2) { animation-delay: 0.2s; }
.ai-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
	from { opacity: 0.3; transform: translateY(0); }
	to { opacity: 1; transform: translateY(-5px); }
}

.ai-guidance-card {
	background: var(--color-white);
	padding: 2rem;
	border-radius: 16px;
	border-left: 4px solid var(--color-accent-gold);
	box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* Base Safari/Reset */
* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	font-size: 16px;
	scroll-behavior: smooth;
}

body {
	font-family: var(--font-secondary);
	background-color: var(--color-bg-primary);
	color: var(--color-text-main);
	line-height: 1.6;
	overflow-x: hidden;
	transition: background-color var(--transition-speed), color var(--transition-speed);
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-primary);
	font-weight: 600;
	line-height: 1.2;
	color: var(--color-text-main);
	margin-bottom: 1rem;
}

a {
	color: var(--color-accent-gold);
	text-decoration: none;
	transition: color var(--transition-speed);
}

a:hover {
	color: var(--color-accent-hover);
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

.container {
	width: 100%;
	max-width: var(--container-width);
	margin: 0 auto;
	padding: 0 1.5rem;
}

/* Utility Classes */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

/* Buttons */
.btn {
	display: inline-block;
	font-family: var(--font-secondary);
	font-weight: 600;
	text-align: center;
	padding: 0.75rem 1.5rem;
	border-radius: 4px;
	cursor: pointer;
	transition: background-color var(--transition-speed), color var(--transition-speed), transform 0.2s;
	border: none;
}

.btn-primary {
	background: linear-gradient(135deg, var(--color-accent-gold) 0%, #B8962E 100%);
	color: var(--color-white);
	box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
	background: linear-gradient(135deg, #B8962E 0%, #A38428 100%);
	color: var(--color-white);
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
}

.btn-outline {
	background-color: transparent;
	border: 2px solid var(--color-accent-gold);
	color: var(--color-accent-gold);
}

.btn-outline:hover {
	background-color: var(--color-accent-gold);
	color: var(--color-white);
}

/* Header */
.site-header {
	background-color: var(--color-white);
	box-shadow: 0 2px 10px rgba(0,0,0,0.05);
	position: relative;
	z-index: 10000;
	padding: 1rem 0;
	transition: all 0.3s ease;
	width: 100%;
}

.site-header.is-sticky {
	position: sticky;
	top: 0;
	box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.site-header.is-transparent {
	position: absolute;
	top: 0;
	left: 0;
	background-color: transparent;
	box-shadow: none;
	color: #fff;
}

.site-header.is-transparent .site-title a,
.site-header.is-transparent .main-navigation a,
.site-header.is-transparent .top-link {
	color: #fff;
}
body.dark-mode .site-header {
	box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.header-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.site-title {
	font-family: var(--font-primary);
	font-size: 1.5rem;
	margin: 0;
}
.site-title a {
	color: var(--color-text-main);
}

.main-navigation ul {
	list-style: none;
	display: flex;
	gap: 1.5rem;
	align-items: center;
}

.main-navigation a {
	color: var(--color-text-main);
	font-weight: 500;
}
.main-navigation a:hover {
	color: var(--color-accent-gold);
}

.dark-mode-toggle {
	background: none;
	border: none;
	color: var(--color-text-main);
	cursor: pointer;
	font-size: 1.2rem;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Hero Section */
.hero-section {
	position: relative;
	padding: 6rem 0;
	background-size: cover;
	background-position: center;
	color: #fff;
	text-align: center;
	min-height: 60vh;
	display: flex;
	align-items: center;
	justify-content: center;
}
.hero-overlay {
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	background: rgba(62, 54, 46, 0.6);
	z-index: 1;
}
.hero-content {
	position: relative;
	z-index: 2;
	max-width: 800px;
}
.hero-title {
	font-size: 3.5rem;
	color: #fff;
	margin-bottom: 1rem;
}
.hero-subtitle {
	font-size: 1.25rem;
	margin-bottom: 2rem;
	font-weight: 300;
}
.hero-buttons {
	display: flex;
	gap: 1rem;
	justify-content: center;
}

/* Daily Verse */
.daily-verse-section {
	padding: 4rem 0;
	background-color: var(--color-bg-secondary);
	text-align: center;
}
.verse-box {
	max-width: 800px;
	margin: 0 auto;
	background: var(--color-white);
	padding: 3rem;
	border-radius: 8px;
	box-shadow: 0 10px 30px rgba(0,0,0,0.05);
	position: relative;
}
.verse-text {
	font-family: var(--font-primary);
	font-size: 1.75rem;
	font-style: italic;
	color: var(--color-text-main);
	margin-bottom: 1rem;
}
.verse-reference {
	font-weight: 600;
	color: var(--color-accent-gold);
	text-transform: uppercase;
	letter-spacing: 1px;
}
.verse-devotion {
	margin-top: 2rem;
	padding-top: 2rem;
	border-top: 1px solid var(--color-border);
}
.prayer-box {
	margin-top: 1.5rem;
	background: var(--color-bg-secondary);
	padding: 1.5rem;
	border-left: 4px solid var(--color-accent-gold);
	text-align: left;
	font-style: italic;
}

/* Features/Latest Section */
.grid-section {
	padding: 4rem 0;
}
.post-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 2rem;
}
.post-card {
	background: var(--color-white);
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 4px 15px rgba(0,0,0,0.05);
	transition: transform var(--transition-speed);
}
.post-card:hover {
	transform: translateY(-5px);
}
.post-thumb {
	width: 100%;
	height: 200px;
	object-fit: cover;
}
.post-content {
	padding: 1.5rem;
}
.post-category {
	color: var(--color-accent-gold);
	font-size: 0.85rem;
	text-transform: uppercase;
	font-weight: 600;
	margin-bottom: 0.5rem;
	display: inline-block;
}
.post-title {
	font-size: 1.25rem;
	margin-bottom: 1rem;
}
.post-excerpt {
	color: var(--color-text-muted);
	font-size: 0.95rem;
	margin-bottom: 1rem;
}

/* Footer */
.site-footer {
	background-color: var(--color-text-main);
	color: #fff;
	padding: 4rem 0 2rem;
}
.footer-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2rem;
	margin-bottom: 3rem;
}
.footer-widget h3 {
	color: var(--color-accent-gold);
	font-size: 1.2rem;
	margin-bottom: 1.5rem;
}
.footer-widget ul {
	list-style: none;
}
.footer-widget a {
	color: #ccc;
}
.footer-widget a:hover {
	color: var(--color-white);
}
.site-info {
	text-align: center;
	padding-top: 2rem;
	border-top: 1px solid rgba(255,255,255,0.1);
	color: #ccc;
	font-size: 0.9rem;
}

/* Newsletter */
.newsletter-form {
	display: flex;
	gap: 0.5rem;
	margin-top: 1rem;
}
.newsletter-form input[type="email"] {
	flex: 1;
	padding: 0.75rem;
	border: none;
	border-radius: 4px;
	font-family: var(--font-secondary);
}

/* Single Post */
.single-content {
	max-width: 800px;
	margin: 4rem auto;
	background: var(--color-white);
	padding: 3rem;
	border-radius: 8px;
}
.single-title {
	font-size: 2.5rem;
	text-align: center;
	margin-bottom: 1rem;
}
.single-meta {
	text-align: center;
	color: var(--color-text-muted);
	margin-bottom: 2rem;
	font-size: 0.9rem;
}
.entry-content p {
	margin-bottom: 1.5rem;
	font-size: 1.1rem;
}

/* Ad Placement Placeholders */
.ad-banner {
	background: var(--color-border);
	color: var(--color-text-muted);
	text-align: center;
	padding: 1rem;
	margin: 2rem 0;
	border: 1px dashed var(--color-text-muted);
}

/* -------------------------------------
 * Premium UI/UX Aesthetic Upgrades (v1.2)
 * ------------------------------------- */

/* Entrance Animations */
@keyframes fadeUp {
	from { opacity: 0; transform: translateY(30px); }
	to { opacity: 1; transform: translateY(0); }
}
.animate-fade-up {
	opacity: 0;
	animation: fadeUp 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

/* Enhanced Hero Overlay */
.premium-hero-gradient {
	background: linear-gradient(135deg, rgba(30, 26, 23, 0.9) 0%, rgba(212, 175, 55, 0.15) 50%, rgba(30, 26, 23, 0.9) 100%);
	background-size: 200% 200%;
	animation: gradientMove 15s ease infinite;
}

@keyframes gradientMove {
	0% { background-position: 0% 50%; }
	50% { background-position: 100% 50%; }
	100% { background-position: 0% 50%; }
}

/* Glassmorphism Verse Box */
.glass-verse-box {
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(15px);
	border: 1px solid rgba(255, 255, 255, 0.3);
	position: relative;
	transform: translateY(-80px);
	margin-bottom: -40px;
	box-shadow: 0 20px 40px rgba(0,0,0,0.06);
	z-index: 10;
}
body.dark-mode .glass-verse-box {
	background: rgba(30, 26, 23, 0.95);
	border-color: rgba(255,255,255,0.05);
	box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}
.verse-icon-wrapper {
	position: absolute;
	top: -30px;
	left: 50%;
	transform: translateX(-50%);
	width: 60px;
	height: 60px;
	background: linear-gradient(135deg, var(--color-accent-gold), var(--color-accent-hover));
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 1.5rem;
	box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
}

/* Post Card Micro-Interactions */
.premium-hover-card {
	border: 1px solid var(--color-border);
	transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
}
.premium-hover-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 20px 30px rgba(0,0,0,0.08);
}
.post-thumb-wrapper {
	display: block;
	overflow: hidden;
}
.post-thumb-wrapper img {
	transition: transform 0.6s ease;
}
.premium-hover-card:hover .post-thumb-wrapper img {
	transform: scale(1.05);
}
.btn-read-more {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-weight: 600;
	color: var(--color-accent-gold);
	transition: gap var(--transition-speed), color var(--transition-speed);
	padding: 0.5rem 0;
	font-size: 0.9rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}
.btn-read-more:hover {
	gap: 0.8rem;
	color: var(--color-accent-hover);
}

/* Testimony Section Enhancements */
.premium-testimony-bg {
	background: linear-gradient(135deg, var(--color-bg-primary) 0%, var(--color-bg-secondary) 100%);
	position: relative;
	padding: 6rem 0;
	border-top: 1px solid var(--color-border);
}
.premium-testimony-bg::before {
	content: '';
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	background: url('data:image/svg+xml;utf8,<svg width="40" height="40" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="1.5" fill="%23D4AF37" fill-opacity="0.1"/></svg>') repeat;
	pointer-events: none;
}
.premium-testimony-card {
	padding: 3rem 2.5rem;
	background: var(--color-white);
	border-radius: 16px;
	border-top: 4px solid var(--color-accent-gold);
	box-shadow: 0 15px 35px rgba(0,0,0,0.05);
	position: relative;
	transition: transform 0.4s ease;
	z-index: 1;
}
.premium-testimony-card:hover {
	transform: translateY(-10px);
}
.testimony-icon {
	font-size: 2.2rem;
	color: var(--color-accent-gold);
	margin-bottom: 1.5rem;
	opacity: 0.3;
}

/* Newsletter Block Enhancement */
.premium-newsletter-block {
	background: linear-gradient(135deg, var(--color-text-main) 0%, #1a1614 100%);
	color: var(--color-white);
	padding: 5rem 2rem;
	border-radius: 20px;
	box-shadow: 0 20px 40px rgba(0,0,0,0.15);
	position: relative;
	overflow: hidden;
}
.premium-newsletter-block::after {
	content: '';
	position: absolute;
	top: -50%; left: -50%; width: 200%; height: 200%;
	background: radial-gradient(circle, rgba(212,175,55,0.05) 0%, transparent 50%);
	pointer-events: none;
}
.newsletter-title {
	color: var(--color-white) !important;
}
.newsletter-desc {
	color: #ccc !important;
}
.premium-form .form-control {
	box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
}
.premium-form .btn {
	background: var(--color-accent-gold);
}
.premium-form .btn:hover {
	box-shadow: 0 5px 15px rgba(212,175,55,0.4);
}

/* Modal / Lead Magnet styles */
.mbs-modal-overlay {
	position: fixed;
	top: 0; left: 0; right: 0; bottom: 0;
	background: rgba(0,0,0,0.6);
	backdrop-filter: blur(5px);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 9999;
	opacity: 0;
	visibility: hidden;
	transition: all 0.4s ease;
}
.mbs-modal-overlay.active {
	opacity: 1;
	visibility: visible;
}
.mbs-modal-content {
	background: var(--color-white);
	width: 90%;
	max-width: 800px;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 25px 50px rgba(0,0,0,0.2);
	position: relative;
	transform: translateY(30px);
	transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
	display: flex;
	flex-wrap: wrap;
}
.mbs-modal-overlay.active .mbs-modal-content {
	transform: translateY(0);
}
.mbs-modal-close {
	position: absolute;
	top: 15px; right: 15px;
	background: rgba(0,0,0,0.5);
	color: #fff;
	border: none;
	width: 30px; height: 30px;
	border-radius: 50%;
	font-size: 1.2rem;
	cursor: pointer;
	z-index: 10;
	transition: background 0.3s;
}
.mbs-modal-close:hover {
	background: rgba(0,0,0,0.8);
}
.modal-feature-img {
	flex: 1 1 300px;
	object-fit: cover;
	min-height: 200px;
}
.modal-body {
	flex: 1 1 300px;
	padding: 3rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

/* Responsive */
@media (max-width: 768px) {
	.header-inner {
		flex-direction: column;
		gap: 1rem;
	}
	.main-navigation ul {
		flex-wrap: wrap;
		justify-content: center;
	}
	.hero-title {
		font-size: 2.5rem;
	}
	.verse-box {
		padding: 2rem 1.5rem;
	}
}

/* -------------------------------------
 * Pro Features UI (v1.4)
 * ------------------------------------- */

/* Sticky & Transparent Header */
.site-header.is-sticky {
	position: fixed;
	width: 100%;
	transition: all 0.4s ease;
	z-index: 1000;
}
.site-header.is-transparent {
	background-color: transparent;
	box-shadow: none;
	border-bottom: 1px solid rgba(255,255,255,0.1);
}
.site-header.is-transparent .site-title a,
.site-header.is-transparent .main-navigation a,
.site-header.is-transparent .dark-mode-toggle {
	color: #fff;
	text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
.site-header.is-sticky.scrolled {
	background-color: var(--color-white);
	box-shadow: 0 5px 20px rgba(0,0,0,0.1);
	padding: 0.5rem 0;
}
.site-header.is-sticky.is-transparent.scrolled .site-title a,
.site-header.is-sticky.is-transparent.scrolled .main-navigation a,
.site-header.is-sticky.is-transparent.scrolled .dark-mode-toggle {
	color: var(--color-text-main);
	text-shadow: none;
}

/* Scroll to Top Button */
.mbs-scroll-top {
	position: fixed;
	bottom: -60px;
	right: 30px;
	width: 50px;
	height: 50px;
	background: var(--color-accent-gold);
	color: #fff;
	border: none;
	border-radius: 50%;
	font-size: 1.5rem;
	cursor: pointer;
	box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
	transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	z-index: 999;
	display: flex;
	align-items: center;
	justify-content: center;
}
.mbs-scroll-top.visible {
	bottom: 30px;
}
.mbs-scroll-top:hover {
	transform: scale(1.1) rotate(5deg);
}

/* Floating Cart */
.mbs-floating-cart {
	position: fixed;
	bottom: 100px;
	right: 30px;
	width: 60px;
	height: 60px;
	background: var(--color-white);
	color: var(--color-text-main);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	box-shadow: 0 10px 25px rgba(0,0,0,0.15);
	z-index: 998;
	transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.mbs-floating-cart:hover {
	transform: scale(1.1);
	color: var(--color-accent-gold);
}
.mbs-cart-count {
	position: absolute;
	top: -5px;
	right: -5px;
	background: var(--color-accent-gold);
	color: #fff;
	font-size: 0.8rem;
	font-weight: 700;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Form Polish Section */

/* Premium Input Styles */
.form-control, 
input[type="email"], 
input[type="text"], 
textarea {
	border: 1px solid var(--color-border);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}

.form-control:focus, 
input[type="email"]:focus, 
input[type="text"]:focus, 
textarea:focus {
	border-color: var(--color-accent-gold);
	outline: none;
	box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15), inset 0 2px 4px rgba(0,0,0,0.02);
	transform: translateY(-1px);
}

/* Homepage Newsletter Glassmorphism */
.premium-newsletter-block {
	background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(252, 251, 249, 0.9) 100%);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(212, 175, 55, 0.2);
	border-radius: 20px;
	padding: 4rem 2rem;
	box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.newsletter-title {
	background: linear-gradient(90deg, var(--color-text-main), var(--color-accent-gold));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	font-weight: 800;
}

/* Button Refinements */
.btn-primary {
	position: relative;
	overflow: hidden;
	z-index: 1;
	transition: all 0.3s ease;
}

.btn-primary:hover {
	transform: translateY(-2px) scale(1.02);
	box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

/* Modal Improvements */
.mbs-modal-content {
	border-radius: 24px;
	overflow: hidden;
	box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}

.modal-body h2 {
	font-size: 2.2rem;
	letter-spacing: -1px;
}

/* AJAX Response Message Styles */
.mbs-newsletter-response {
	font-weight: 600;
	padding: 0.5rem;
	border-radius: 8px;
	animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
	from { opacity: 0; transform: translateY(5px); }
	to { opacity: 1; transform: translateY(0); }
}

/* --- Advanced Devotional Features --- */

/* Reading Progress Bar */
.reading-progress-container {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 5px;
	background: rgba(212, 175, 55, 0.1);
	z-index: 10001;
}

.reading-progress-bar {
	height: 100%;
	background: var(--color-accent-gold);
	width: 0%;
	transition: width 0.1s ease;
	box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* Focus Mode Toggle Button */
.btn-focus-mode {
	background: rgba(212, 175, 55, 0.05);
	border: 1px solid var(--color-border);
	color: var(--color-text-muted);
	padding: 6px 16px;
	border-radius: 30px;
	font-size: 0.85rem;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	margin-left: 15px;
	font-weight: 500;
}

.btn-focus-mode:hover {
	border-color: var(--color-accent-gold);
	color: var(--color-accent-gold);
	background: rgba(212, 175, 55, 0.1);
	transform: scale(1.05);
}

/* Focus Mode Active State */
body.focus-mode-active .site-header,
body.focus-mode-active .site-footer,
body.focus-mode-active .sidebar,
body.focus-mode-active .social-share,
body.focus-mode-active .comments-area,
body.focus-mode-active .prayer-box,
body.focus-mode-active .btn-outline {
	display: none !important;
}

body.focus-mode-active {
	background: #fff;
}

body.focus-mode-active .site-main {
	padding-top: 5rem;
	background: #fff;
}

body.focus-mode-active .single-content {
	max-width: 750px;
	margin: 0 auto;
	box-shadow: none;
	border: none;
	padding: 0;
}

body.focus-mode-active .single-title {
	font-size: 3rem;
	margin-bottom: 2rem;
}

body.focus-mode-active #mbs-focus-toggle {
	position: fixed;
	top: 30px;
	right: 30px;
	background: var(--color-bg-secondary);
	border: 1px solid var(--color-accent-gold);
	z-index: 10002;
	box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Comment Form Premium Spacing */
#commentform p {
	margin-bottom: 2rem;
}

#commentform label {
	display: block;
	margin-bottom: 0.75rem;
	font-weight: 600;
	color: var(--color-text-main);
}

.comment-list .comment {
	background: #fff;
	padding: 2.5rem;
	border-radius: 16px;
	border: 1px solid var(--color-border);
	margin-bottom: 2rem;
	box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.comment-metadata {
	margin-bottom: 1rem;
	font-size: 0.9rem;
	color: var(--color-text-muted);
}

/* --- Monetization Features --- */

/* Floating Support Bar */
.mbs-support-bar {
	position: fixed;
	bottom: 25px;
	left: 50%;
	transform: translateX(-50%) translateY(100px);
	width: calc(100% - 40px);
	max-width: 700px;
	background: rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(15px);
	border: 1px solid rgba(212, 175, 55, 0.3);
	border-radius: 50px;
	padding: 12px 25px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	z-index: 10005;
	box-shadow: 0 15px 35px rgba(0,0,0,0.1);
	transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
	opacity: 0;
}

.mbs-support-bar.active {
	transform: translateX(-50%) translateY(0);
	opacity: 1;
}

.support-bar-content {
	display: flex;
	align-items: center;
	gap: 15px;
	font-size: 0.95rem;
	color: var(--color-text-main);
}

.support-bar-close {
	background: transparent;
	border: none;
	font-size: 1.5rem;
	cursor: pointer;
	color: var(--color-text-muted);
	padding: 0 5px;
	line-height: 1;
}

/* In-Content CTA Block */
.mbs-in-content-cta {
	background: var(--color-bg-secondary);
	border: 2px dashed var(--color-accent-gold);
	border-radius: 12px;
	padding: 2rem;
	margin: 3rem 0;
	text-align: center;
	box-shadow: 0 10px 20px rgba(0,0,0,0.02);
}

.mbs-in-content-cta h4 {
	color: var(--color-accent-gold);
	margin-bottom: 0.5rem;
	font-size: 1.3rem;
}

.mbs-in-content-cta p {
	font-size: 1.05rem;
	margin-bottom: 1.5rem;
	color: var(--color-text-muted);
}

.btn-sm {
	padding: 8px 20px;
	font-size: 0.85rem;
}

@media (max-width: 768px) {
	.mbs-support-bar {
		border-radius: 15px;
		flex-direction: column;
		text-align: center;
		padding: 20px;
		gap: 15px;
	}
	
	.support-bar-content {
		flex-direction: column;
		gap: 10px;
	}
}

/* Header Auth Shortcode Styling */
.mbs-header-auth-container, 
.elementor-widget-shortcode .elementor-widget-container {
    display: inline-flex !important;
    align-items: center;
    background: transparent !important; /* Force removal of the 'green box' */
    padding: 0;
    margin: 0;
}

.mbs-auth-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mbs-auth-item {
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 50px;
}

.dashboard-link, .login-link {
    color: #273171 !important;
}

.signup-link {
    background-color: #D4AF37 !important;
    color: #fff !important;
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.2);
}

.logout-link {
    color: #e74c3c !important;
    font-size: 11px;
}

/* -------------------------------------
 * Phase 4: Technical Interaction Polish
 * ------------------------------------- */

/* Breathing Pulse for Interaction Hooks */
.mbs-pray-btn:not(.prayed) {
    animation: breathing 3s ease-in-out infinite;
}

@keyframes breathing {
    0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4); transform: scale(1); }
    50% { box-shadow: 0 0 0 10px rgba(212, 175, 55, 0); transform: scale(1.02); }
    100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); transform: scale(1); }
}

/* Premium AJAX Glass Loader */
.mbs-loading-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s;
}

.mbs-loading-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.mbs-spinner {
    width: 60px; height: 60px;
    border: 4px solid rgba(212, 175, 55, 0.1);
    border-top: 4px solid var(--color-accent-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Canvas Word Card Preview Polish */
#mbs-card-preview-area img {
    max-width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    border: 1px solid var(--color-border);
}

/* High-Fidelity Modal Transitions */
.mbs-modal-overlay {
    background: rgba(30, 26, 23, 0.6);
    backdrop-filter: blur(12px);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.mbs-modal-content {
    transform: translateY(20px) scale(0.95);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.mbs-modal-overlay.active .mbs-modal-content {
    transform: translateY(0) scale(1);
}

/* SEO Description Utility */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* -------------------------------------
 * Phase 2 & 3: Elite Feature Clusters
 * ------------------------------------- */

/* Ministry Command Card */
.ministry-command-section {
    padding: 2rem 0;
    margin-top: -60px;
    position: relative;
    z-index: 20;
}

.command-card {
    padding: 2.5rem;
    border-radius: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(var(--glass-blur));
    box-shadow: var(--elite-shadow);
}

.command-header {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.welcome-label {
    display: block;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.75rem;
    color: var(--color-accent-gold);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.user-name {
    margin: 0;
    font-size: 2.2rem;
    font-family: var(--font-primary);
}

.command-stats {
    display: flex;
    gap: 2.5rem;
}

.stat-item {
    text-align: center;
    position: relative;
}

.stat-item i {
    color: var(--color-accent-gold);
    font-size: 1.4rem;
    margin-bottom: 0.6rem;
    display: block;
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.3));
}

.stat-value {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Global Impact Feed */
.global-impact-section {
    padding: 6rem 0;
    background: var(--color-bg-secondary);
}

.impact-grid {
    padding: 4rem;
    border-radius: 32px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: center;
    background: var(--color-white);
    box-shadow: 0 30px 60px rgba(0,0,0,0.05);
}

.impact-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--color-text-main), var(--color-accent-gold));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.live-counter {
    margin-top: 3rem;
    padding: 2.5rem;
    background: rgba(212, 175, 55, 0.03);
    border-radius: 20px;
    border: 1px dashed var(--color-accent-gold);
    text-align: center;
}

.counter-value {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--color-accent-gold);
    font-family: var(--font-secondary);
    letter-spacing: -2px;
}

.impact-feed {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feed-item {
    padding: 1.8rem;
    background: var(--color-bg-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.02);
    border-left: 4px solid var(--color-accent-gold);
    animation: slideInRight 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Immersive Focus Mode v2.0 */
body.focus-mode-active #masthead,
body.focus-mode-active .site-footer,
body.focus-mode-active .social-share,
body.focus-mode-active .mbs-reflection-area,
body.focus-mode-active .audio-player-container,
body.focus-mode-active .post-category,
body.focus-mode-active .single-meta,
body.focus-mode-active .reading-progress-container,
body.focus-mode-active .mbs-in-content-cta {
    opacity: 0 !important;
    pointer-events: none;
    transition: opacity 1s ease;
    display: none !important;
}

body.focus-mode-active {
    background-color: var(--color-bg-primary) !important;
}

body.focus-mode-active .site-main {
    padding-top: 10vh;
}

body.focus-mode-active .single-content {
    box-shadow: none;
    background: transparent;
    max-width: 850px;
    border: none;
}

body.focus-mode-active .entry-content {
    font-size: 1.5rem;
    line-height: 2.2;
    color: var(--color-text-main);
    text-align: justify;
}

body.focus-mode-active #mbs-focus-toggle {
    position: fixed;
    top: 40px;
    right: 40px;
    background: var(--color-white);
    border: 1px solid var(--color-accent-gold);
    z-index: 100000;
    opacity: 1 !important;
    display: flex !important;
    padding: 12px 24px;
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.2);
}

/* Social Buttons & Grouping */
.elite-action-group {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.btn-card-gen {
    background: var(--color-white);
    color: var(--color-accent-gold);
    border: 1px solid var(--color-accent-gold);
    padding: 8px 20px;
    border-radius: 40px;
    font-size: 0.85rem;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-card-gen:hover {
    background: var(--color-accent-gold);
    color: #FFF;
    transform: translateY(-2px);
}

.social-btn {
    width: 55px; height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #FFF !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.social-btn:hover { transform: scale(1.15) rotate(5deg); }
.social-btn.fb { background: #3b5998; }
.social-btn.tw { background: #000000; } /* Modern X style */
.social-btn.wa { background: #25d366; }

/* App Sync Indicator */
.app-sync-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px;
    background: rgba(212, 175, 55, 0.05);
    border-radius: 30px;
    font-size: 0.75rem;
    margin-right: 1.5rem;
    border: 1px solid rgba(212, 175, 55, 0.1);
    font-weight: 600;
    color: var(--color-text-muted);
}

.sync-dot {
    width: 10px; height: 10px;
    background: #e74c3c;
    border-radius: 50%;
    transition: all 0.5s;
}

body.app-synced .sync-dot {
    background: #2ecc71;
    box-shadow: 0 0 12px #2ecc71;
}

.streak-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #FF9900, #FF5500);
    color: #FFF;
    padding: 6px 16px;
    border-radius: 50px;
    font-weight: 800;
    opacity: 0.2;
    transition: opacity 0.8s;
    font-size: 0.9rem;
}

.streak-badge.active { opacity: 1; box-shadow: 0 8px 15px rgba(255, 153, 0, 0.3); }

/* Responsive Elite Mixins */
@media (max-width: 992px) {
    .impact-grid { grid-template-columns: 1fr; gap: 3rem; padding: 2.5rem; }
    .impact-title { font-size: 2.5rem; }
}

@media (max-width: 768px) {
    .command-card { padding: 2rem; justify-content: center; text-align: center; }
    .command-header { flex-direction: column; gap: 1.5rem; }
    .user-name { font-size: 1.8rem; }
    .ministry-command-section { margin-top: -30px; }
}
