/* ========================================
   SPIRITUAL GROWTH - MAIN STYLESHEET
   ======================================== */

:root {
    --primary-purple: #6b46c1;
    --secondary-purple: #553c9a;
    --accent-gold: #f59e0b;
    --dark-purple: #4c1d95;
    --light-purple: #8b5cf6;
    --bg-dark: #1a1a2e;
    --text-light: #ffffff;
    --text-gray: #9ca3af;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #000;
    color: var(--text-light);
    -webkit-font-smoothing: antialiased;
}

/* ========================================
   VIDEO FEED
   ======================================== */

.video-feed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

.video-feed::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.video-item {
    position: relative;
    width: 100%;
    height: 100vh;
    scroll-snap-align: start;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--secondary-purple) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-background video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-placeholder {
    font-size: 80px;
    color: rgba(255, 255, 255, 0.3);
    animation: pulse 2s infinite;
}

.video-controls {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 80px;
    color: rgba(255, 255, 255, 0.9);
    pointer-events: none;
    z-index: 5;
}

.volume-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 10;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.volume-btn:active {
    transform: scale(0.9);
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
}

/* ========================================
   TOP OVERLAY
   ======================================== */

.top-overlay {
    position: absolute;
    top: 20px;
    left: 15px;
    right: 15px;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.live-badge {
    background: #ef4444;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.viewer-count {
    margin-left: 5px;
}

.verse-of-day {
    background: var(--accent-gold);
    color: var(--dark-purple);
    padding: 15px;
    border-radius: 12px;
    max-width: 280px;
    font-size: 13px;
    line-height: 1.5;
}

.verse-of-day i {
    margin-right: 5px;
}

.verse-of-day p {
    margin: 8px 0 5px 0;
    font-weight: 500;
}

.verse-of-day small {
    font-style: italic;
    opacity: 0.9;
}

/* ========================================
   ACTION BAR (RIGHT SIDE)
   ======================================== */

.action-bar {
    position: absolute;
    right: 8px;
    bottom: 100px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.action-btn {
    background: none;
    border: none;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: transform 0.2s;
}

.action-btn:active {
    transform: scale(0.9);
}

.action-btn i {
    font-size: 28px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.action-count, .action-text {
    font-size: 11px;
    font-weight: 600;
}

.action-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.church-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid white;
    object-fit: cover;
    background: var(--accent-gold);
}

.follow-icon {
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 18px;
    background: var(--accent-gold);
    border-radius: 50%;
    color: white;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.follow-btn-mini {
    position: absolute;
    bottom: -10px;
    background: var(--accent-gold);
    color: white;
    border: none;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: bold;
}

/* ========================================
   BOTTOM OVERLAY
   ======================================== */

.bottom-overlay {
    position: absolute;
    bottom: 100px;
    left: 15px;
    right: 80px;
    z-index: 10;
    color: white;
}

.church-name {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.church-mini-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid white;
    background: var(--accent-gold);
}

.video-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.video-description {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 10px;
    opacity: 0.95;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.video-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.tag {
    color: var(--accent-gold);
    font-size: 13px;
    font-weight: 600;
}

.audio-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    opacity: 0.9;
}

/* ========================================
   BOTTOM NAVIGATION
   ======================================== */

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 8px 0;
    z-index: 100;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--text-gray);
    text-decoration: none;
    flex: 1;
    border: none;
    background: none;
    cursor: pointer;
    transition: color 0.3s;
}

.nav-item i {
    font-size: 24px;
}

.nav-item span {
    font-size: 11px;
    font-weight: 500;
}

.nav-item.active {
    color: var(--text-light);
}

.nav-item.active i {
    color: var(--accent-gold);
}

/* ========================================
   SIDE DRAWER
   ======================================== */

.side-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    pointer-events: none;
}

.side-drawer.active {
    pointer-events: auto;
}

.drawer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s;
}

.side-drawer.active .drawer-overlay {
    background: rgba(0, 0, 0, 0.7);
}

.drawer-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 80%;
    max-width: 320px;
    height: 100%;
    background: linear-gradient(180deg, var(--dark-purple) 0%, var(--bg-dark) 100%);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    box-shadow: 5px 0 20px rgba(0, 0, 0, 0.5);
}

.side-drawer.active .drawer-content {
    transform: translateX(0);
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.drawer-header h5 {
    color: white;
    margin: 0;
    font-weight: 600;
}

.drawer-header .btn-close {
    filter: invert(1);
}

.drawer-body {
    padding: 10px 0;
}

.drawer-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    color: white;
    text-decoration: none;
    transition: background 0.2s;
}

.drawer-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.drawer-item i {
    font-size: 22px;
    width: 30px;
    color: var(--accent-gold);
}

.drawer-item span {
    font-size: 16px;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 576px) {
    .verse-of-day {
        font-size: 11px;
        padding: 10px;
        max-width: 220px;
    }
    
    .video-title {
        font-size: 16px;
    }
    
    .video-description {
        font-size: 13px;
    }
}

/* ========================================
   PAGE STYLES
   ======================================== */

.page-container {
    min-height: 100vh;
    background: linear-gradient(180deg, var(--dark-purple) 0%, var(--bg-dark) 100%);
    padding-bottom: 80px;
    overflow-y: auto;
    overflow-x: hidden;
}

.page-header {
    padding: 20px;
    background: rgba(26, 26, 46, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-title {
    font-size: 24px;
    font-weight: bold;
    color: white;
    margin: 0;
}

.page-content {
    padding: 20px;
}

/* Search Bar */
.search-bar {
    position: relative;
    margin-bottom: 20px;
}

.search-bar input {
    width: 100%;
    padding: 12px 20px 12px 45px;
    border-radius: 25px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 15px;
}

.search-bar input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-bar i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
    font-size: 18px;
}

/* Category Cards */
.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.category-card {
    aspect-ratio: 1;
    border-radius: 20px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    color: white;
    text-decoration: none;
    transition: transform 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.category-card:active {
    transform: scale(0.95);
}

.category-card i {
    font-size: 40px;
    margin-bottom: 15px;
}

.category-card h5 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
}

.category-card small {
    font-size: 13px;
    opacity: 0.9;
}

.bg-worship { background: linear-gradient(135deg, #5b7cff 0%, #4e5edb 100%); }
.bg-sermons { background: linear-gradient(135deg, #a855f7 0%, #7e22ce 100%); }
.bg-testimonies { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); }
.bg-prayer { background: linear-gradient(135deg, #10b981 0%, #059669 100%); }
.bg-youth { background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%); }
.bg-events { background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%); }

/* Section Headers */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.section-title {
    font-size: 18px;
    font-weight: bold;
    color: white;
    margin: 0;
}

.section-link {
    color: var(--accent-gold);
    font-size: 14px;
    text-decoration: none;
}

/* Church List */
.church-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.church-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: background 0.2s;
}

.church-item:active {
    background: rgba(255, 255, 255, 0.1);
}

.church-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent-gold);
    object-fit: cover;
}

.church-info {
    flex: 1;
}

.church-name {
    font-size: 15px;
    font-weight: 600;
    color: white;
    margin: 0 0 4px 0;
}

.church-meta {
    font-size: 13px;
    color: var(--text-gray);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Video Grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 15px;
}

.video-card {
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    transition: transform 0.2s;
}

.video-card:active {
    transform: scale(0.95);
}

.video-thumbnail {
    position: relative;
    aspect-ratio: 9/16;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
}

.play-overlay {
    font-size: 50px;
    color: rgba(255, 255, 255, 0.9);
}

.video-card-info {
    padding: 10px;
}

.video-card-info h6 {
    font-size: 14px;
    font-weight: 600;
    color: white;
    margin: 0 0 5px 0;
    line-height: 1.3;
}

.video-card-info small {
    font-size: 12px;
    color: var(--text-gray);
}

/* Live Stream Styles */
.live-stream-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.live-stream-card {
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
}

.live-thumbnail {
    position: relative;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--secondary-purple) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.live-thumbnail i {
    font-size: 60px;
    color: rgba(255, 255, 255, 0.3);
}

.live-indicator {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #ef4444;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
}

.viewer-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.live-stream-info {
    padding: 15px;
}

.live-stream-info .church-name {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.live-stream-info .church-mini-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--accent-gold);
}

.live-stream-info h6 {
    font-size: 16px;
    font-weight: 600;
    color: white;
    margin: 0 0 8px 0;
}

.live-stream-info p {
    font-size: 13px;
    color: var(--text-gray);
    margin: 0;
}

.upcoming-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin-bottom: 10px;
}

.upcoming-item .church-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--text-gray);
}

.upcoming-info {
    flex: 1;
}

.upcoming-info h6 {
    font-size: 14px;
    font-weight: 600;
    color: white;
    margin: 0 0 4px 0;
}

.upcoming-info small {
    font-size: 13px;
    color: var(--text-gray);
    display: block;
    margin-bottom: 4px;
}

.upcoming-time {
    font-size: 12px;
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Profile Styles */
.profile-section {
    text-align: center;
    padding: 20px 0;
}

.profile-avatar-container {
    margin-bottom: 15px;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid var(--accent-gold);
    object-fit: cover;
    background: var(--accent-gold);
}

.profile-username {
    font-size: 22px;
    font-weight: bold;
    color: white;
    margin: 0 0 8px 0;
}

.profile-bio {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.profile-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-item strong {
    font-size: 18px;
    color: white;
    font-weight: 600;
}

.stat-item span {
    font-size: 13px;
    color: var(--text-gray);
}

.profile-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.profile-actions .btn {
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
}

.btn-primary {
    background: var(--primary-purple);
    border: none;
}

.btn-primary:hover {
    background: var(--secondary-purple);
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.3);
}

.profile-about {
    text-align: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin-bottom: 20px;
}

.profile-about p {
    font-size: 14px;
    color: white;
    margin: 0;
    line-height: 1.5;
}

.profile-tabs {
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.profile-tabs .nav-link {
    color: var(--text-gray);
    border: none;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    background: none;
}

.profile-tabs .nav-link.active {
    color: white;
    border-bottom: 2px solid var(--accent-gold);
    background: none;
}

.video-views {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Church Profile Styles */
.church-cover {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--secondary-purple) 100%);
    margin: -20px -20px 20px -20px;
}

.church-profile-header {
    position: relative;
    margin-top: -60px;
    text-align: center;
    padding: 0 20px;
}

.church-profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 20px;
    border: 4px solid var(--bg-dark);
    background: white;
    margin: 0 auto 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.church-profile-name {
    font-size: 24px;
    font-weight: bold;
    color: white;
    margin: 0 0 8px 0;
}

.church-profile-handle {
    font-size: 15px;
    color: var(--text-gray);
    margin-bottom: 15px;
}

.church-stats {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 20px;
}

.church-action-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
}

.church-info-section {
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin-bottom: 20px;
}

.church-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: white;
}

.church-info-item i {
    font-size: 20px;
    color: var(--accent-gold);
    width: 25px;
}

.church-info-item:last-child {
    margin-bottom: 0;
}

/* Chat & Groups Styles */
.chat-tabs {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-tabs .nav-link {
    color: var(--text-gray);
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 600;
}

.chat-tabs .nav-link.active {
    color: white;
    background: var(--primary-purple);
}

.chat-list {
    display: flex;
    flex-direction: column;
}

.chat-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
    transition: background 0.2s;
    cursor: pointer;
}

.chat-item:hover,
.chat-item:active {
    background: rgba(255, 255, 255, 0.05);
}

.chat-avatar {
    position: relative;
    flex-shrink: 0;
}

.chat-avatar img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--accent-gold);
}

.group-avatar img {
    border-radius: 12px;
}

.online-indicator {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 14px;
    height: 14px;
    background: #10b981;
    border: 2px solid var(--bg-dark);
    border-radius: 50%;
}

.chat-content {
    flex: 1;
    min-width: 0;
}

.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.chat-name {
    font-size: 15px;
    font-weight: 600;
    color: white;
    margin: 0;
    display: flex;
    align-items: center;
}

.chat-time {
    font-size: 12px;
    color: var(--text-gray);
}

.chat-preview {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.chat-message {
    font-size: 14px;
    color: var(--text-gray);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.unread-badge {
    background: var(--accent-gold);
    color: var(--dark-purple);
    font-size: 11px;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 12px;
    min-width: 20px;
    text-align: center;
    flex-shrink: 0;
}

/* Bible Reader Styles */
.bible-controls {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.bible-selector {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.bible-selector select {
    flex: 1;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 14px;
}

.bible-selector select option {
    background: var(--bg-dark);
    color: white;
}

.bible-reader {
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: 12px;
    line-height: 1.8;
}

.bible-chapter-title {
    font-size: 22px;
    font-weight: bold;
    color: var(--accent-gold);
    margin-bottom: 20px;
    text-align: center;
}

.bible-verse {
    margin-bottom: 15px;
    color: white;
}

.verse-number {
    color: var(--accent-gold);
    font-weight: 600;
    margin-right: 8px;
    font-size: 14px;
}

.verse-text {
    font-size: 16px;
    line-height: 1.8;
}

.bible-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.bible-tools {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.bible-tools .btn {
    flex: 1;
    min-width: 100px;
}

/* Prayer Wall Styles */
.prayer-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
}

.prayer-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.prayer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-gold);
    object-fit: cover;
}

.prayer-author {
    flex: 1;
}

.prayer-author h6 {
    font-size: 14px;
    font-weight: 600;
    color: white;
    margin: 0;
}

.prayer-author small {
    font-size: 12px;
    color: var(--text-gray);
}

.prayer-content {
    color: white;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.prayer-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.prayer-btn {
    background: none;
    border: none;
    color: var(--text-gray);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: color 0.2s;
}

.prayer-btn:hover {
    color: var(--accent-gold);
}

.prayer-btn.active {
    color: var(--accent-gold);
}

/* Giving & Fundraiser Styles */
.giving-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.giving-card {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--secondary-purple) 100%);
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    color: white;
    text-decoration: none;
    transition: transform 0.2s;
}

.giving-card:hover {
    transform: translateY(-5px);
    color: white;
}

.giving-card i {
    font-size: 40px;
    margin-bottom: 12px;
    color: var(--accent-gold);
}

.giving-card h5 {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.fundraiser-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 20px;
}

.fundraiser-image {
    height: 180px;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--secondary-purple) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.fundraiser-image i {
    font-size: 60px;
    color: rgba(255, 255, 255, 0.3);
}

.fundraiser-content {
    padding: 20px;
}

.fundraiser-title {
    font-size: 18px;
    font-weight: 600;
    color: white;
    margin-bottom: 10px;
}

.fundraiser-church {
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 15px;
}

.fundraiser-progress {
    margin-bottom: 10px;
}

.fundraiser-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.fundraiser-stat {
    text-align: center;
}

.fundraiser-stat strong {
    display: block;
    color: var(--accent-gold);
    font-size: 16px;
    font-weight: 600;
}

.fundraiser-stat span {
    font-size: 12px;
    color: var(--text-gray);
}

/* Notice Styles */
.notice-card {
    background: rgba(255, 255, 255, 0.05);
    border-left: 4px solid var(--accent-gold);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
}

.notice-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.notice-title {
    font-size: 16px;
    font-weight: 600;
    color: white;
    margin: 0;
}

.notice-badge {
    background: var(--accent-gold);
    color: var(--dark-purple);
    font-size: 11px;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 12px;
}

.notice-content {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.notice-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-gray);
}

.notice-church {
    display: flex;
    align-items: center;
    gap: 8px;
}

.notice-church-logo {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent-gold);
}

/* Chat Conversation Styles */
.chat-conversation-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.back-btn {
    color: white;
    font-size: 24px;
    text-decoration: none;
}

.chat-header-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--accent-gold);
}

.chat-header-info {
    flex: 1;
}

.chat-header-info h6 {
    font-size: 16px;
    font-weight: 600;
    color: white;
    margin: 0;
}

.chat-header-info small {
    font-size: 12px;
}

.chat-header-actions {
    display: flex;
    gap: 5px;
}

.chat-messages {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    min-height: calc(100vh - 200px);
}

.chat-date-divider {
    text-align: center;
    margin: 20px 0 10px;
}

.chat-date-divider span {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-gray);
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 12px;
}

.message-item {
    display: flex;
    gap: 10px;
    max-width: 75%;
}

.message-item.received {
    align-self: flex-start;
}

.message-item.sent {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.message-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--accent-gold);
    flex-shrink: 0;
}

.message-bubble {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 10px 15px;
    color: white;
}

.message-item.sent .message-bubble {
    background: var(--primary-purple);
}

.message-bubble p {
    margin: 0 0 5px 0;
    font-size: 14px;
    line-height: 1.5;
    word-wrap: break-word;
}

.message-time {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    gap: 3px;
}

.verse-bubble {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #f59e0b 100%);
    color: var(--dark-purple);
}

.verse-header {
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 13px;
}

.verse-text {
    font-size: 14px;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 8px !important;
}

.verse-ref {
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}

.verse-bubble .message-time {
    color: rgba(76, 29, 149, 0.7);
}

.typing-indicator .message-bubble {
    padding: 15px 20px;
}

.typing-dots {
    display: flex;
    gap: 5px;
    align-items: center;
}

.typing-dots span {
    width: 8px;
    height: 8px;
    background: var(--text-gray);
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        opacity: 0.3;
    }
    30% {
        opacity: 1;
    }
}

.message-input-container {
    position: fixed;
    bottom: 70px;
    left: 0;
    right: 0;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.attachment-btn,
.voice-btn,
.send-btn {
    background: none;
    border: none;
    color: var(--accent-gold);
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    transition: transform 0.2s;
}

.attachment-btn:active,
.voice-btn:active,
.send-btn:active {
    transform: scale(0.9);
}

.message-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 10px 15px;
    color: white;
    font-size: 14px;
}

.message-input:focus {
    outline: none;
    border-color: var(--accent-gold);
}

.message-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Group Chat Styles */
.group-message-author {
    font-size: 12px;
    color: var(--accent-gold);
    font-weight: 600;
    margin-bottom: 3px;
}

.system-message {
    text-align: center;
    color: var(--text-gray);
    font-size: 13px;
    padding: 10px;
    margin: 10px 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prayer-reactions {
    padding-top: 8px;
    border-top: 1px solid rgba(76, 29, 149, 0.2);
}

