/* Rhema Calvary Centre — Brand Design System */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700;800&family=Source+Sans+3:wght@400;500;600&display=swap');

:root {
    --rcc-purple: #7B1FA2;
    --rcc-purple-dark: #5E1580;
    --rcc-purple-deep: #3D0E52;
    --rcc-purple-light: #9C4DC4;
    --rcc-purple-soft: #F3E8F8;
    --rcc-orange: #F6861F;
    --rcc-orange-dark: #D96E0A;
    --rcc-orange-light: #FFB366;
    --rcc-orange-soft: #FFF4E8;
    --rcc-text: #2A1A33;
    --rcc-text-muted: #6B5B73;
    --rcc-bg: #FAF7FC;
    --rcc-white: #FFFFFF;
    --rcc-shadow: 0 4px 24px rgba(91, 21, 128, 0.08);
    --rcc-shadow-lg: 0 12px 40px rgba(91, 21, 128, 0.14);
    --rcc-radius: 12px;
    --rcc-radius-lg: 20px;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Source Sans 3', system-ui, sans-serif;

    /* Bootstrap overrides */
    --bs-primary: var(--rcc-purple);
    --bs-primary-rgb: 123, 31, 162;
    --bs-link-color: var(--rcc-purple);
    --bs-link-hover-color: var(--rcc-purple-dark);
    --bs-body-font-family: var(--font-body);
    --bs-body-color: var(--rcc-text);
    --bs-body-bg: var(--rcc-bg);
}

*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: var(--font-body);
    color: var(--rcc-text);
    background: var(--rcc-bg);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.page-title, .section-title {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--rcc-purple-dark);
}

a { color: var(--rcc-purple); transition: color 0.2s; }
a:hover { color: var(--rcc-orange-dark); }

/* ─── Logo ─── */
.brand-logo img {
    height: 56px;
    width: auto;
    object-fit: contain;
}

.brand-logo-lg img { height: 80px; }
.brand-logo-sm img { height: 40px; }

.brand-text {
    font-family: var(--font-heading);
    line-height: 1.1;
}

.brand-text .brand-rhema {
    display: block;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--rcc-purple);
    letter-spacing: 0.02em;
}

.brand-text .brand-sub {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--rcc-orange);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* ─── Buttons ─── */
.btn {
    font-family: var(--font-body);
    font-weight: 600;
    border-radius: 8px;
    padding: 0.5rem 1.25rem;
    transition: all 0.2s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--rcc-purple), var(--rcc-purple-dark));
    border: none;
    box-shadow: 0 4px 14px rgba(123, 31, 162, 0.35);
}

.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(135deg, var(--rcc-purple-dark), var(--rcc-purple-deep));
    box-shadow: 0 6px 20px rgba(123, 31, 162, 0.45);
    transform: translateY(-1px);
}

.btn-accent,
.btn-orange {
    background: linear-gradient(135deg, var(--rcc-orange), var(--rcc-orange-dark));
    border: none;
    color: #fff;
    box-shadow: 0 4px 14px rgba(246, 134, 31, 0.35);
}

.btn-accent:hover,
.btn-orange:hover {
    background: linear-gradient(135deg, var(--rcc-orange-dark), #B85A08);
    color: #fff;
    transform: translateY(-1px);
}

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

.btn-outline-purple:hover {
    background: var(--rcc-purple);
    color: #fff;
}

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

.navbar-rcc .btn-outline-orange {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.6);
}

.navbar-rcc .btn-outline-orange:hover {
    background: var(--rcc-orange);
    border-color: var(--rcc-orange);
    color: #fff;
}

.btn-outline-orange:hover {
    background: var(--rcc-orange);
    color: #fff;
}

/* ─── Cards ─── */
.card {
    border: 1px solid rgba(123, 31, 162, 0.08);
    border-radius: var(--rcc-radius);
    box-shadow: var(--rcc-shadow);
    background: var(--rcc-white);
    overflow: hidden;
    transition: box-shadow 0.25s, transform 0.25s;
}

.card:hover { box-shadow: var(--rcc-shadow-lg); }

.card-header {
    background: linear-gradient(135deg, var(--rcc-purple-soft), var(--rcc-orange-soft));
    border-bottom: 2px solid var(--rcc-orange);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--rcc-purple-dark);
    padding: 0.875rem 1.25rem;
}

.stat-card {
    border: none;
    border-left: 4px solid var(--rcc-orange);
    position: relative;
    overflow: hidden;
}

.stat-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, var(--rcc-purple-soft) 0%, transparent 70%);
    opacity: 0.6;
}

.stat-card h6 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--rcc-text-muted);
    font-weight: 600;
}

.stat-card h3 {
    font-family: var(--font-heading);
    color: var(--rcc-purple);
    font-weight: 800;
    margin-bottom: 0;
}

.content-card {
    border-top: 3px solid var(--rcc-orange);
}

.content-card .card-title {
    color: var(--rcc-purple-dark);
    font-family: var(--font-heading);
    font-weight: 700;
}

/* ─── Forms ─── */
.form-control, .form-select {
    border: 1.5px solid rgba(123, 31, 162, 0.15);
    border-radius: 8px;
    padding: 0.625rem 0.875rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus, .form-select:focus {
    border-color: var(--rcc-purple-light);
    box-shadow: 0 0 0 3px rgba(123, 31, 162, 0.15);
}

.form-label {
    font-weight: 600;
    color: var(--rcc-purple-dark);
    font-size: 0.875rem;
}

/* ─── Tables ─── */
.table th {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--rcc-purple-dark);
    background: var(--rcc-purple-soft);
    border-bottom: 2px solid var(--rcc-orange);
}

.table-hover tbody tr:hover {
    background: var(--rcc-purple-soft);
}

/* ─── Badges ─── */
.badge { font-weight: 600; border-radius: 6px; }

.bg-purple { background: var(--rcc-purple) !important; }
.bg-orange { background: var(--rcc-orange) !important; }

/* ─── Section titles ─── */
.section-heading {
    position: relative;
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, var(--rcc-orange), var(--rcc-orange-light));
    border-radius: 2px;
}

/* ─── Admin Sidebar ─── */
.admin-shell { min-height: 100vh; min-height: 100dvh; }

.admin-sidebar {
    min-width: 260px;
    max-width: 260px;
    min-height: 100vh;
    min-height: 100dvh;
    background: linear-gradient(180deg, var(--rcc-purple-deep) 0%, var(--rcc-purple-dark) 50%, var(--rcc-purple) 100%);
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
}

.admin-sidebar .offcanvas-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 1.25rem 0.875rem 1rem;
}

.sidebar-nav {
    flex: 1 1 auto;
    overflow-y: auto;
    overflow-x: hidden;
    margin: 0 -0.25rem;
    padding: 0 0.25rem 0.5rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
}

.sidebar-nav::-webkit-scrollbar {
    width: 5px;
}

.sidebar-nav::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.22);
    border-radius: 4px;
}

.admin-sidebar .sidebar-brand {
    padding: 0.25rem 0.75rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    margin-bottom: 0.75rem;
    flex-shrink: 0;
}

.admin-sidebar .sidebar-brand img {
    max-width: 100%;
    height: auto;
    max-height: 72px;
    filter: brightness(1.05);
}

.admin-sidebar .nav-link {
    color: rgba(255, 255, 255, 0.82);
    border-radius: 10px;
    padding: 0.58rem 0.75rem;
    margin-bottom: 0.15rem;
    font-weight: 500;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    transition: background 0.2s, color 0.2s, transform 0.15s;
    line-height: 1.3;
}

.admin-sidebar .nav-link span {
    flex: 1;
    min-width: 0;
}

.admin-sidebar .nav-link i {
    font-size: 1.1rem;
    width: 22px;
    opacity: 0.9;
}

.admin-sidebar .nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.admin-sidebar .nav-link.active {
    background: linear-gradient(135deg, var(--rcc-orange), var(--rcc-orange-dark));
    color: #fff;
    box-shadow: 0 4px 12px rgba(246, 134, 31, 0.4);
    font-weight: 600;
}

.admin-sidebar .nav-section {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.85rem 0.75rem 0.3rem;
    margin-top: 0.15rem;
    list-style: none;
}

.sidebar-nav .nav-section:first-child {
    padding-top: 0.15rem;
    margin-top: 0;
}

.admin-sidebar .sidebar-footer {
    margin-top: 0;
    padding-top: 0.875rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    flex-shrink: 0;
}

.admin-sidebar .user-name {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 0.875rem;
}

.admin-sidebar .user-role {
    color: var(--rcc-orange-light);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.admin-main {
    flex: 1;
    background: var(--rcc-bg);
    min-height: 100vh;
}

.admin-topbar {
    background: var(--rcc-white);
    border-bottom: 1px solid rgba(123, 31, 162, 0.08);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.admin-content { padding: 1.5rem; }

/* ─── Public Navbar ─── */
.navbar-rcc {
    background: linear-gradient(135deg, var(--rcc-purple-deep), var(--rcc-purple-dark));
    padding: 0.75rem 0;
    box-shadow: 0 4px 20px rgba(61, 14, 82, 0.3);
}

.navbar-rcc .navbar-brand img { height: 48px; }

.navbar-rcc .nav-link {
    color: rgba(255, 255, 255, 0.88) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
    transition: all 0.2s;
}

.navbar-rcc .nav-link:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.1);
}

.navbar-rcc .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.4);
    min-width: 44px;
    min-height: 44px;
    padding: 0.35rem 0.55rem;
}

.navbar-rcc .navbar-toggler-icon {
    filter: invert(1);
}

/* ─── Hero ─── */
.hero-section {
    background: linear-gradient(135deg, var(--rcc-purple-deep) 0%, var(--rcc-purple) 45%, var(--rcc-purple-light) 100%);
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
}

.hero-section-slider {
    background: var(--rcc-purple-deep);
}

.hero-section-slider::before {
    animation: none;
    opacity: 0.35;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 20% 80%, rgba(246, 134, 31, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 40%);
    animation: heroGlow 10s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0% { opacity: 0.85; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.04); }
}

.hero-section .container,
.public-hero .container {
    transform: translateY(calc(var(--hero-parallax, 0px) * -1));
    will-change: transform;
}

.hero-section .container.hero-slider-content {
    position: relative;
    z-index: 5;
    pointer-events: auto;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 60px;
    pointer-events: none;
    background: var(--rcc-bg);
    clip-path: ellipse(55% 100% at 50% 100%);
}

.hero-section .container { position: relative; z-index: 1; pointer-events: auto; }
.hero-section .container.hero-slider-content { z-index: 5; }

.hero-logo img {
    height: 100px;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.2));
}

.hero-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(2.1rem, 5.2vw, 3.4rem);
    /* Color handled by premium gradient in public.css */
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.92);
    max-width: 560px;
    margin: 0 auto;
}

.hero-cta .btn { margin: 0; }

.hero-section-with-pastor {
    padding: 5.5rem 0 6rem;
    text-align: left;
}

.hero-section-with-pastor .hero-subtitle {
    margin-left: 0;
    margin-right: 0;
    max-width: 540px;
}

.hero-cta.justify-content-lg-start,
.hero-stats.justify-content-lg-start {
    justify-content: center;
}

@media (min-width: 992px) {
    .hero-cta.justify-content-lg-start,
    .hero-stats.justify-content-lg-start {
        justify-content: flex-start;
    }
}

.hero-pastor-card {
    max-width: 400px;
    margin: 0 auto;
    filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.35));
}

.hero-pastor-frame {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    box-shadow:
        0 24px 64px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.28);
    aspect-ratio: 4 / 5;
    background: linear-gradient(135deg, var(--rcc-purple-deep), var(--rcc-purple));
    backdrop-filter: blur(8px);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.hero-pastor-frame:hover {
    transform: translateY(-6px);
    box-shadow:
        0 32px 72px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 224, 178, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.hero-pastor-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-pastor-frame:hover .hero-pastor-photo {
    transform: scale(1.04);
}

.hero-pastor-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.85);
    background: linear-gradient(135deg, var(--rcc-purple), var(--rcc-orange));
}

.hero-pastor-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, rgba(26, 3, 38, 0.92) 0%, rgba(61, 14, 82, 0.28) 42%, transparent 70%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, transparent 40%);
    pointer-events: none;
}

.hero-pastor-caption {
    position: absolute;
    left: 0.85rem;
    right: 0.85rem;
    bottom: 0.85rem;
    padding: 1.1rem 1.15rem;
    color: #fff;
    text-align: left;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(16px) saturate(1.2);
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.hero-pastor-role {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--rcc-orange-light);
    margin: 0 0 0.35rem;
}

.hero-pastor-name {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    margin: 0 0 0.35rem;
    line-height: 1.25;
    color: #fff;
}

.hero-pastor-bio {
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
}

@media (max-width: 991px) {
    .hero-section-with-pastor {
        text-align: center;
        padding: 4rem 0 5rem;
    }

    .hero-section-with-pastor .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-pastor-card {
        margin-top: 0.5rem;
    }
}

/* ─── Auth pages ─── */
.auth-page {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--rcc-purple-deep), var(--rcc-purple) 60%, var(--rcc-orange) 150%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.auth-card {
    background: var(--rcc-white);
    border-radius: var(--rcc-radius-lg);
    box-shadow: var(--rcc-shadow-lg);
    overflow: hidden;
    max-width: 440px;
    width: 100%;
}

.auth-card-header {
    background: linear-gradient(135deg, var(--rcc-purple-soft), var(--rcc-orange-soft));
    padding: 2rem;
    text-align: center;
    border-bottom: 3px solid var(--rcc-orange);
}

.auth-card-header img {
    height: 72px;
    margin-bottom: 0.75rem;
}

.auth-card-body { padding: 2rem; }

.auth-card-body h3 {
    font-family: var(--font-heading);
    color: var(--rcc-purple-dark);
    font-weight: 800;
}

/* ─── Footer ─── */
.footer-rcc {
    background: linear-gradient(135deg, var(--rcc-purple-deep), var(--rcc-purple-dark));
    color: rgba(255, 255, 255, 0.85);
    padding: 2.5rem 0 1.5rem;
}

.footer-rcc .footer-logo img { height: 56px; opacity: 0.95; }

.footer-rcc a { color: var(--rcc-orange-light); text-decoration: none; }
.footer-rcc a:hover { color: #fff; }

/* ─── Member portal ─── */
.member-nav .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
    border-radius: 8px;
    padding: 0.4rem 0.75rem !important;
}

.member-nav .nav-link:hover,
.member-nav .nav-link.active {
    background: rgba(246, 134, 31, 0.25);
    color: #fff !important;
}

/* ─── Alerts ─── */
.alert-success {
    background: #E8F5E9;
    border-color: #4CAF50;
    color: #2E7D32;
}

.alert-danger {
    background: #FFEBEE;
    border-color: #EF5350;
    color: #C62828;
}

/* ─── Pagination ─── */
.pagination .page-link {
    color: var(--rcc-purple);
    border-color: rgba(123, 31, 162, 0.15);
}

.pagination .page-item:first-child .page-link,
.pagination .page-item:last-child .page-link {
    min-width: 2.5rem;
    text-align: center;
    font-size: 1.25rem;
    line-height: 1.2;
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
}

.pagination .page-item.active .page-link {
    background: var(--rcc-purple);
    border-color: var(--rcc-purple);
}

/* ─── Prayer board ─── */
.prayer-card {
    border-left: 4px solid var(--rcc-orange);
    background: linear-gradient(135deg, #fff, var(--rcc-orange-soft));
}

/* ─── Sermon cards ─── */
.sermon-card .sermon-date {
    display: inline-block;
    background: var(--rcc-purple-soft);
    color: var(--rcc-purple);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.625rem;
    border-radius: 6px;
}

/* ─── Page header in admin ─── */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.page-header h2 {
    margin: 0;
    font-size: 1.75rem;
}

.role-badge {
    background: linear-gradient(135deg, var(--rcc-orange), var(--rcc-orange-dark));
    color: #fff;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.35rem 0.875rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ─── Responsive ─── */
/* ─── Admin search & notifications ─── */
.admin-topbar {
    background: var(--rcc-white);
    border-bottom: 1px solid rgba(123, 31, 162, 0.08);
    padding: 0.875rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid rgba(123, 31, 162, 0.15);
    border-radius: 8px;
    box-shadow: var(--rcc-shadow-lg);
    z-index: 1050;
    margin-top: 4px;
    max-height: 280px;
    overflow-y: auto;
}

.search-item {
    display: block;
    padding: 10px 14px;
    text-decoration: none;
    color: var(--rcc-text);
    border-bottom: 1px solid rgba(123, 31, 162, 0.06);
}

.search-item:hover { background: var(--rcc-purple-soft); }
.search-item small { display: block; color: var(--rcc-text-muted); }

.bg-orange.text-white { color: #fff !important; }

@media (max-width: 991px) {
    .hero-section { padding: 3rem 0; }
    .hero-logo img { height: 72px; }
}

@media (max-width: 576px) {
    .member-nav { flex-direction: column !important; align-items: flex-start !important; }
}

/* ─── Interactive Features & Visual Polish Enhancements ─── */
.service-countdown-card {
    background: linear-gradient(145deg, #4a148c 0%, #7b1fa2 55%, #9c27b0 100%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 18px;
    padding: 1.25rem 1.35rem 1.4rem;
    box-shadow: 0 14px 36px rgba(61, 14, 82, 0.28);
    color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-countdown-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 42px rgba(61, 14, 82, 0.34);
}

.countdown-header {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 1.1rem;
}

.countdown-label {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    align-self: flex-start;
    background: rgba(255, 224, 178, 0.95);
    color: #4a148c;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
    line-height: 1.2;
}

.countdown-label i {
    font-size: 0.85rem;
}

.countdown-location {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.82);
    padding-left: 0.15rem;
}

.countdown-timer-grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch;
    justify-content: space-between;
    gap: 0.5rem;
    width: 100%;
}

.countdown-box {
    flex: 1 1 0;
    min-width: 0;
    display: flex !important;
    flex-direction: column !important;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 12px;
    padding: 0.85rem 0.35rem 0.7rem;
    text-align: center;
}

.countdown-num {
    display: block;
    font-size: clamp(1.25rem, 3.5vw, 1.85rem);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    font-family: var(--font-sans, system-ui);
    line-height: 1;
    color: #ffe0b2;
    letter-spacing: 0.02em;
}

.countdown-unit {
    display: block;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.8;
    margin-top: 0.4rem;
    font-weight: 600;
}

@media (max-width: 420px) {
    .service-countdown-card {
        padding: 1.1rem 1rem 1.2rem;
    }

    .countdown-timer-grid {
        gap: 0.35rem;
    }

    .countdown-box {
        padding: 0.7rem 0.2rem 0.55rem;
    }

    .countdown-unit {
        font-size: 0.58rem;
        letter-spacing: 0.06em;
    }
}

.pulse-live-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #FF5252;
    border-radius: 50%;
    margin-right: 6px;
    box-shadow: 0 0 0 0 rgba(255, 82, 82, 0.7);
    animation: pulse-live 1.6s infinite;
}

@keyframes pulse-live {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 82, 82, 0.7); }
    70% { transform: scale(1.15); box-shadow: 0 0 0 8px rgba(255, 82, 82, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 82, 82, 0); }
}

.btn-amen {
    background: rgba(123, 31, 162, 0.06);
    border: 1px solid rgba(123, 31, 162, 0.18);
    color: var(--rcc-purple-deep, #4A148C);
    border-radius: 20px;
    padding: 0.4rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.btn-amen:hover, .btn-amen.active {
    background: var(--rcc-purple-deep, #4A148C);
    color: #fff;
    border-color: var(--rcc-purple-deep, #4A148C);
    transform: scale(1.05);
}

.btn-amen .bi-heart-fill {
    color: #E91E63;
    transition: transform 0.2s;
}

.btn-amen:hover .bi-heart-fill, .btn-amen.active .bi-heart-fill {
    color: #FF80AB;
    transform: scale(1.2);
}

.sermon-search-box {
    background: #fff;
    border: 2px solid rgba(123, 31, 162, 0.15);
    border-radius: 30px;
    padding: 0.5rem 1.25rem;
    box-shadow: 0 4px 14px rgba(123, 31, 162, 0.06);
    transition: all 0.25s ease;
}

.sermon-search-box:focus-within {
    border-color: var(--rcc-purple, #7B1FA2);
    box-shadow: 0 6px 20px rgba(123, 31, 162, 0.18);
}

.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    border-radius: 16px;
}

/* ─── 3D Display Banner WebGL Canvas & Depth Engine ─── */
.hero-3d-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    opacity: 0.35;
    mix-blend-mode: screen;
}

.hero-slider-content {
    position: relative;
    z-index: 5;
}

/* ─── Advanced 3D Spatial CSS ─── */
body.public-site {
    perspective: 1200px;
}

.card-3d,
.public-content-card,
.feature-card,
.branch-card,
.branch-public-card,
.about-card,
.leader-card,
.ministry-card,
.event-public-card,
.testimony-card,
.news-card,
.sermon-public-card,
.devotional-spotlight,
.service-countdown-card {
    perspective: 1200px;
    transform-style: preserve-3d;
    transition: transform 0.25s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.25s ease;
    will-change: transform;
}

.card-3d:hover,
.public-content-card:hover,
.feature-card:hover,
.branch-card:hover,
.branch-public-card:hover,
.about-card:hover,
.leader-card:hover,
.ministry-card:hover,
.event-public-card:hover,
.testimony-card:hover,
.news-card:hover,
.sermon-public-card:hover,
.service-countdown-card:hover {
    box-shadow: 0 24px 48px rgba(61, 14, 82, 0.18), 0 12px 24px rgba(0, 0, 0, 0.08);
}

.card-3d .badge,
.card-3d .btn,
.card-3d i,
.card-3d h1,
.card-3d h2,
.card-3d h3,
.card-3d h5,
.service-countdown-card .countdown-box,
.devotional-spotlight .card-body {
    transform: translateZ(28px);
    transition: transform 0.25s ease;
}

.card-3d:hover .badge,
.card-3d:hover .btn,
.card-3d:hover i,
.card-3d:hover h1,
.card-3d:hover h2,
.card-3d:hover h3,
.card-3d:hover h5,
.service-countdown-card:hover .countdown-box {
    transform: translateZ(42px);
}

.hero-pastor-frame {
    perspective: 1400px;
    transform-style: preserve-3d;
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hero-pastor-frame img {
    transform: translateZ(35px);
    transition: transform 0.3s ease;
}

.hero-pastor-frame:hover img {
    transform: translateZ(55px) scale(1.03);
}

/* 3D Dynamic Gloss Sheen */
.card-3d-sheen {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    pointer-events: none;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255,255,255,0.22) 0%, rgba(255,255,255,0) 65%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.hero-pastor-card {
    margin-left: auto !important;
    margin-right: -1rem !important;
    max-width: 400px;
}

@media (min-width: 992px) {
    .hero-pastor-card {
        transform: translateX(45px);
    }
}

@media (min-width: 1400px) {
    .hero-pastor-card {
        transform: translateX(75px);
    }
}

/* ─── Premium Auth Pages (Login / Activate / Forgot Password) ─── */
.auth-page-3d {
    min-height: 100vh;
    min-height: 100dvh;
    background: #120318;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(1.25rem, 4vw, 2.75rem) 1rem;
    position: relative;
    isolation: isolate;
    font-family: var(--font-sans, system-ui);
    overflow-x: hidden;
}

.login-bus-slider {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    perspective: 1800px;
    perspective-origin: 50% 50%;
    background: #120318;
}

.login-bus-stage {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
    background: #120318;
}

.login-bus-slide {
    position: absolute;
    inset: -3%;
    width: 106%;
    height: 106%;
    opacity: 0;
    visibility: hidden;
    background-color: #120318;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transform-origin: center center;
    transform: translate3d(10%, 0, -60px) rotateY(14deg) scale(1.06);
    filter: brightness(0.92) saturate(1.05);
    transition:
        transform 1.4s cubic-bezier(0.33, 1, 0.32, 1),
        opacity 1.1s cubic-bezier(0.33, 1, 0.32, 1),
        filter 1.2s ease,
        visibility 0s linear 1.4s;
    z-index: 1;
    will-change: transform, opacity;
}

.login-bus-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(18, 6, 24, 0.22) 0%, transparent 50%, rgba(0, 0, 0, 0.14) 100%);
    pointer-events: none;
}

.login-bus-slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: translate3d(0, 0, 0) rotateY(0deg) scale(1);
    filter: brightness(1.02) saturate(1.08);
    z-index: 3;
    transition:
        transform 1.4s cubic-bezier(0.33, 1, 0.32, 1),
        opacity 0.7s ease,
        filter 1.2s ease,
        visibility 0s linear 0s;
    animation: loginBusKenBurns 7.5s ease-out forwards;
}

.login-bus-slide.is-entering {
    opacity: 1;
    visibility: visible;
    transform: translate3d(10%, 0, -60px) rotateY(14deg) scale(1.06);
    filter: brightness(0.95) saturate(1.05);
    z-index: 4;
    transition: none;
    animation: none;
}

.login-bus-slide.is-leaving {
    opacity: 0;
    visibility: visible;
    transform: translate3d(-8%, 0, -90px) rotateY(-12deg) scale(1.03);
    filter: brightness(0.7) saturate(0.95);
    z-index: 2;
    transition:
        transform 1.4s cubic-bezier(0.33, 1, 0.32, 1),
        opacity 1.15s cubic-bezier(0.4, 0, 0.2, 1),
        filter 1.2s ease,
        visibility 0s linear 1.4s;
    animation: none;
}

@keyframes loginBusKenBurns {
    from { transform: translate3d(0, 0, 0) rotateY(0deg) scale(1); }
    to { transform: translate3d(0, 0, 0) rotateY(0deg) scale(1.045); }
}

@media (max-width: 767.98px) {
    .login-bus-slider {
        perspective: 1200px;
    }

    .login-bus-slide {
        transform: translate3d(6%, 0, -30px) rotateY(8deg) scale(1.04);
    }

    .login-bus-slide.is-entering {
        transform: translate3d(6%, 0, -30px) rotateY(8deg) scale(1.04);
    }

    .login-bus-slide.is-leaving {
        transform: translate3d(-5%, 0, -40px) rotateY(-7deg) scale(1.02);
    }

    .login-bus-slide.is-active {
        animation: none;
    }
}

.auth-bg-mesh,
.auth-bg-particles,
.auth-light-beam {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
}

.auth-mesh-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.5;
}

.auth-mesh-orb-a {
    width: min(46vw, 460px);
    height: min(46vw, 460px);
    top: -10%;
    right: 5%;
    background: radial-gradient(circle, rgba(246, 134, 31, 0.5) 0%, transparent 70%);
    animation: authFloatA 18s ease-in-out infinite alternate;
}

.auth-mesh-orb-b {
    width: min(52vw, 540px);
    height: min(52vw, 540px);
    bottom: -18%;
    left: -8%;
    background: radial-gradient(circle, rgba(123, 31, 162, 0.55) 0%, transparent 70%);
    animation: authFloatB 22s ease-in-out infinite alternate;
}

.auth-mesh-orb-c {
    width: min(28vw, 260px);
    height: min(28vw, 260px);
    top: 42%;
    left: 48%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    animation: authFloatA 15s ease-in-out infinite alternate-reverse;
}

@keyframes authFloatA {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    100% { transform: translate3d(22px, -26px, 0) scale(1.1); }
}

@keyframes authFloatB {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    100% { transform: translate3d(-24px, 18px, 0) scale(1.08); }
}

.auth-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    box-shadow: 0 0 12px rgba(255, 224, 178, 0.5);
    animation: authParticleDrift linear infinite;
    opacity: 0;
}

.auth-particle-1 { left: 10%; top: 20%; animation-duration: 12s; }
.auth-particle-2 { left: 22%; top: 70%; animation-duration: 15s; animation-delay: 1s; width: 3px; height: 3px; }
.auth-particle-3 { left: 38%; top: 30%; animation-duration: 13s; animation-delay: 2s; }
.auth-particle-4 { left: 55%; top: 18%; animation-duration: 16s; animation-delay: 0.5s; width: 5px; height: 5px; }
.auth-particle-5 { left: 68%; top: 62%; animation-duration: 14s; animation-delay: 2.5s; }
.auth-particle-6 { left: 78%; top: 28%; animation-duration: 17s; animation-delay: 1.4s; }
.auth-particle-7 { left: 88%; top: 54%; animation-duration: 12s; animation-delay: 0.8s; width: 3px; height: 3px; }
.auth-particle-8 { left: 15%; top: 48%; animation-duration: 14s; animation-delay: 3s; }
.auth-particle-9 { left: 48%; top: 78%; animation-duration: 11s; animation-delay: 2.2s; width: 2px; height: 2px; }
.auth-particle-10 { left: 92%; top: 40%; animation-duration: 15s; animation-delay: 1.8s; }

@keyframes authParticleDrift {
    0% { opacity: 0; transform: translate3d(0, 16px, 0) scale(0.6); }
    20% { opacity: 0.75; }
    80% { opacity: 0.45; }
    100% { opacity: 0; transform: translate3d(10px, -55px, 0) scale(1); }
}

.auth-light-beam {
    z-index: 5;
    background: linear-gradient(115deg, transparent 36%, rgba(255, 255, 255, 0.1) 50%, transparent 64%);
    mix-blend-mode: soft-light;
    animation: authBeamSweep 11s ease-in-out infinite;
}

@keyframes authBeamSweep {
    0%, 100% { opacity: 0.2; transform: translateX(-6%) skewX(-8deg); }
    50% { opacity: 0.5; transform: translateX(6%) skewX(-8deg); }
}

.login-bus-overlay {
    position: absolute;
    inset: 0;
    z-index: 5;
    background:
        linear-gradient(135deg, rgba(18, 6, 24, 0.48) 0%, rgba(61, 14, 82, 0.34) 48%, rgba(18, 6, 24, 0.55) 100%);
}

.auth-container-3d {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1040px;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(28px) saturate(1.25);
    -webkit-backdrop-filter: blur(28px) saturate(1.25);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 28px;
    box-shadow:
        0 30px 80px rgba(18, 6, 24, 0.45),
        0 10px 28px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.65);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: authCardIn 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes authCardIn {
    from {
        opacity: 0;
        transform: translateY(28px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@media (min-width: 992px) {
    .auth-container-3d {
        flex-direction: row;
        min-height: 640px;
    }
}

.login-animated-banner {
    position: relative;
    background:
        linear-gradient(160deg, rgba(74, 20, 140, 0.92) 0%, rgba(123, 31, 162, 0.88) 50%, rgba(61, 14, 82, 0.94) 100%);
    padding: clamp(2rem, 4vw, 3.5rem);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    isolation: isolate;
    min-height: 260px;
}

.login-animated-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 224, 178, 0.18) 0%, transparent 45%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 40%);
    pointer-events: none;
    z-index: 1;
}

.banner-panel-glow {
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    top: -60px;
    right: -40px;
    background: radial-gradient(circle, rgba(246, 134, 31, 0.35) 0%, transparent 70%);
    filter: blur(20px);
    z-index: 1;
    animation: authFloatA 12s ease-in-out infinite alternate;
}

@media (min-width: 992px) {
    .login-animated-banner {
        width: 48%;
        min-height: auto;
    }
}

.banner-content,
.banner-footer {
    position: relative;
    z-index: 5;
}

.banner-brand-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 148px;
    height: 148px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(14px) saturate(1.2);
    -webkit-backdrop-filter: blur(14px) saturate(1.2);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.28);
    overflow: hidden;
    animation: pulseBadge 3.2s ease-in-out infinite;
}

.banner-brand-badge img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: contain;
    display: block;
}

@keyframes pulseBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(255, 171, 64, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
}

.banner-title {
    margin-top: 1.6rem;
    margin-bottom: 0.75rem;
}

.banner-title-kicker {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.banner-title-main {
    display: block;
    font-size: clamp(1.85rem, 3.5vw, 2.45rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.12;
    margin-top: 0.4rem;
    background: linear-gradient(180deg, #ffffff 10%, #ffe0b2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.35));
}

.banner-title-main::after {
    content: '';
    display: block;
    width: 64px;
    height: 3px;
    margin-top: 0.85rem;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--rcc-orange), rgba(255, 224, 178, 0.15));
    box-shadow: 0 0 16px rgba(246, 134, 31, 0.5);
}

.banner-subtitle {
    font-size: 1.02rem;
    color: rgba(255, 255, 255, 0.92);
    margin-top: 0.85rem;
    line-height: 1.65;
}

.banner-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1.85rem;
}

.banner-chip {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    padding: 0.4rem 0.9rem;
    font-size: 0.78rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.banner-chip:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.auth-form-panel {
    position: relative;
    z-index: 5;
    padding: clamp(1.75rem, 4vw, 3.5rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.35) 100%);
}

@media (min-width: 992px) {
    .auth-form-panel {
        width: 52%;
    }
}

.auth-form-panel > .mb-4:first-child {
    animation: authFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}

.auth-form-panel form {
    animation: authFadeUp 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.22s both;
}

.auth-form-panel > .mt-4 {
    animation: authFadeUp 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.32s both;
}

.auth-animate-item {
    animation: authFadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.auth-animate-item:nth-child(1) { animation-delay: 0.15s; }
.auth-animate-item:nth-child(2) { animation-delay: 0.28s; }

@keyframes authFadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.auth-form-panel h3 {
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--rcc-purple-deep, #3d0e52);
}

.auth-form-panel .form-label {
    font-size: 0.82rem;
    letter-spacing: 0.02em;
    color: #4a3a55;
}

.auth-form-panel .input-group {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(61, 14, 82, 0.06);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.auth-form-panel .input-group:focus-within {
    box-shadow: 0 12px 32px rgba(123, 31, 162, 0.16), 0 0 0 3px rgba(123, 31, 162, 0.12);
    transform: translateY(-1px);
}

.auth-form-panel .input-group-text {
    background: rgba(123, 31, 162, 0.06);
    border-color: rgba(123, 31, 162, 0.12);
    color: var(--rcc-purple);
}

.auth-form-panel .form-control {
    border-color: rgba(123, 31, 162, 0.12);
    background: rgba(255, 255, 255, 0.85);
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.auth-form-panel .form-control:focus {
    background: #fff;
    border-color: rgba(123, 31, 162, 0.28);
    box-shadow: none;
}

.auth-form-panel .btn-primary {
    border: 0;
    border-radius: 14px;
    font-weight: 700;
    letter-spacing: 0.01em;
    background: linear-gradient(135deg, #7b1fa2 0%, #4a148c 100%);
    box-shadow: 0 12px 28px rgba(123, 31, 162, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease, filter 0.25s ease;
}

.auth-form-panel .btn-primary:hover,
.auth-form-panel .btn-primary:focus-visible {
    transform: translateY(-2px);
    filter: brightness(1.05);
    box-shadow: 0 16px 36px rgba(123, 31, 162, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.auth-form-panel .text-purple {
    transition: color 0.2s ease;
}

.auth-form-panel a.text-purple:hover {
    color: var(--rcc-orange) !important;
}

.auth-form-panel .alert {
    border-radius: 14px;
    backdrop-filter: blur(8px);
}

@media (max-width: 767.98px) {
    .auth-particle,
    .auth-light-beam {
        display: none;
    }

    .auth-mesh-orb {
        opacity: 0.35;
        filter: blur(50px);
    }

    .auth-container-3d {
        border-radius: 22px;
    }

    .banner-title-main {
        font-size: 1.75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .login-bus-slide,
    .auth-mesh-orb,
    .auth-particle,
    .auth-light-beam,
    .auth-container-3d,
    .auth-animate-item,
    .auth-form-panel > .mb-4:first-child,
    .auth-form-panel form,
    .auth-form-panel > .mt-4,
    .banner-brand-badge {
        animation: none !important;
        transition: opacity 0.3s ease !important;
        transform: none !important;
        filter: none !important;
    }

    .login-bus-slide.is-active {
        opacity: 1;
        visibility: visible;
    }
}
