/* Mobile-First Responsive Design & Optimization */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

/* Enhanced Mobile Touch Targets */
button, input, textarea, select, a {
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(255, 215, 0, 0.3);
}

/* Mobile touch targets only on smaller screens */
@media screen and (max-width: 768px) {
    button, input, textarea, select, a {
        min-height: 44px; /* iOS accessibility guideline */
    }
}

/* Improved Focus for Accessibility */
button:focus,
input:focus,
textarea:focus,
a:focus {
    outline: 2px solid rgba(255, 215, 0, 0.8);
    outline-offset: 2px;
}

/* Performance Optimizations - Applied selectively to avoid breaking animations */
.cursor-glow, .cross-glow, .loading-cross {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000;
    perspective: 1000;
}

/* Safe Area for iOS Notch - with fallbacks */
@supports (padding: env(safe-area-inset-top)) {
    body {
        padding-top: env(safe-area-inset-top);
        padding-bottom: env(safe-area-inset-bottom);
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
    }
}

/* Loading Sequence */
.loading-sequence {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #722F37 0%, #8B2635 50%, #5C1A2B 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 1;
    transition: opacity 1s ease-out;
}

.loading-sequence.fade-out {
    opacity: 0;
    pointer-events: none;
}

.psalm-verse {
    text-align: center;
    color: rgba(255, 215, 0, 0.9);
    font-family: 'Playfair Display', serif;
    animation: psalmFadeIn 2s ease-in-out;
}

.psalm-verse p {
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    line-height: 1.3;
}

.psalm-verse cite {
    font-size: 1.8rem;
    font-style: italic;
    color: rgba(255, 215, 0, 0.7);
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

@keyframes psalmFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading Cross */
.loading-cross {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    opacity: 0;
    animation: crossFadeIn 1s ease-in-out 1.5s forwards;
    transition: all 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.loading-cross.shrink-to-position {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    z-index: 999;
}

.loading-cross .cross-vertical {
    position: absolute;
    left: 50%;
    top: 0;
    width: 12px;
    height: 100%;
    background: linear-gradient(180deg,
        rgba(255, 215, 0, 0.9) 0%,
        rgba(255, 235, 205, 0.8) 50%,
        rgba(255, 215, 0, 0.9) 100%);
    transform: translateX(-50%);
    border-radius: 6px;
    box-shadow:
        0 0 20px rgba(255, 215, 0, 0.6),
        0 0 40px rgba(255, 215, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.loading-cross .cross-horizontal {
    position: absolute;
    top: 30%;
    left: 15%;
    width: 70%;
    height: 12px;
    background: linear-gradient(90deg,
        rgba(255, 215, 0, 0.9) 0%,
        rgba(255, 235, 205, 0.8) 50%,
        rgba(255, 215, 0, 0.9) 100%);
    border-radius: 6px;
    box-shadow:
        0 0 20px rgba(255, 215, 0, 0.6),
        0 0 40px rgba(255, 215, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.loading-cross .cross-glow {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: crossPulse 2s ease-in-out infinite alternate;
}

@keyframes crossFadeIn {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.5);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes crossPulse {
    0% {
        opacity: 0.3;
        transform: scale(1);
    }
    100% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

/* Main container initially hidden */
.container {
    opacity: 0;
    transition: opacity 0.5s ease-in;
}

.container.show {
    opacity: 1;
}

/* Element loading animations */
.load-element {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.load-element.loaded {
    opacity: 1;
    transform: translateY(0);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background:
        radial-gradient(circle at 20% 80%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 215, 0, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.05) 0%, transparent 30%),
        linear-gradient(135deg, #722F37 0%, #8B2635 50%, #5C1A2B 100%);
    background-attachment: fixed;
    background-size: 100% 100%;
    color: white;
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 10% 20%, rgba(255, 215, 0, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(255, 215, 0, 0.08) 0%, transparent 40%);
    pointer-events: none;
    z-index: -1;
    animation: divineShimmer 8s ease-in-out infinite alternate;
}

@keyframes divineShimmer {
    0% { opacity: 0.3; transform: scale(1); }
    100% { opacity: 0.6; transform: scale(1.02); }
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px 0 20px;
    display: flex;
    flex-direction: column;
}

/* Header Styles */
.header {
    text-align: center;
    margin-bottom: 30px;
    padding: 40px 0;
}

.cross-container {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    position: relative;
}

.holy-cross {
    position: relative;
    width: 60px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cross-vertical {
    position: absolute;
    width: 6px;
    height: 80px;
    background: linear-gradient(180deg,
        rgba(255, 255, 255, 0.9) 0%,
        rgba(255, 215, 0, 1) 30%,
        rgba(255, 235, 150, 1) 50%,
        rgba(255, 215, 0, 1) 70%,
        rgba(255, 255, 255, 0.9) 100%);
    border-radius: 3px;
    box-shadow:
        inset 0 0 10px rgba(255, 215, 0, 0.8),
        0 0 20px rgba(255, 215, 0, 0.6),
        0 0 40px rgba(255, 215, 0, 0.4);
    animation: crossGlow 4s ease-in-out infinite;
}

.cross-horizontal {
    position: absolute;
    width: 40px;
    height: 6px;
    top: 20px;
    background: linear-gradient(90deg,
        rgba(255, 255, 255, 0.9) 0%,
        rgba(255, 215, 0, 1) 30%,
        rgba(255, 235, 150, 1) 50%,
        rgba(255, 215, 0, 1) 70%,
        rgba(255, 255, 255, 0.9) 100%);
    border-radius: 3px;
    box-shadow:
        inset 0 0 10px rgba(255, 215, 0, 0.8),
        0 0 20px rgba(255, 215, 0, 0.6),
        0 0 40px rgba(255, 215, 0, 0.4);
    animation: crossGlow 4s ease-in-out infinite 0.5s;
}

.cross-glow {
    position: absolute;
    width: 100px;
    height: 120px;
    top: -20px;
    left: -20px;
    background: radial-gradient(ellipse at center,
        rgba(255, 215, 0, 0.1) 0%,
        rgba(255, 215, 0, 0.05) 40%,
        rgba(255, 255, 255, 0.02) 60%,
        transparent 100%);
    border-radius: 50%;
    animation: holyRadiance 6s ease-in-out infinite;
    pointer-events: none;
}

.cross-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150px;
    height: 150px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle,
        rgba(255, 215, 0, 0.05) 0%,
        rgba(255, 215, 0, 0.02) 50%,
        transparent 100%);
    border-radius: 50%;
    animation: divineAura 8s ease-in-out infinite;
    z-index: -1;
}

.divine-container {
    position: relative;
    display: inline-block;
    padding: 20px 0 40px 0;
}

@keyframes crossGlow {
    0%, 100% {
        box-shadow:
            inset 0 0 10px rgba(255, 215, 0, 0.8),
            0 0 20px rgba(255, 215, 0, 0.6),
            0 0 40px rgba(255, 215, 0, 0.4);
        filter: brightness(1);
    }
    50% {
        box-shadow:
            inset 0 0 15px rgba(255, 215, 0, 1),
            0 0 30px rgba(255, 215, 0, 0.8),
            0 0 50px rgba(255, 215, 0, 0.6),
            0 0 70px rgba(255, 215, 0, 0.4);
        filter: brightness(1.2);
    }
}

@keyframes holyRadiance {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1) rotate(0deg);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.1) rotate(180deg);
    }
}

@keyframes divineAura {
    0%, 100% {
        opacity: 0.2;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.4;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

.site-title {
    font-size: 4rem;
    color: white;
    margin: 0;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: none;
    position: relative;
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    background: linear-gradient(45deg,
        #ffffff 0%,
        #ffd700 15%,
        #ffed4e 30%,
        #ffffff 45%,
        #ffd700 60%,
        #ffed4e 75%,
        #ffffff 90%,
        #ffd700 100%);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: divineFlow 6s ease-in-out infinite;
    text-shadow: none;
    z-index: 2;
    filter: 
        drop-shadow(0 0 15px rgba(255, 215, 0, 0.8))
        drop-shadow(0 0 25px rgba(255, 215, 0, 0.6))
        drop-shadow(0 0 35px rgba(255, 215, 0, 0.4))
        drop-shadow(0 0 45px rgba(255, 215, 0, 0.2));
    transform: perspective(1000px) rotateX(5deg);
    transition: all 0.3s ease;
}

.site-title::before {
    content: none;
    background-clip: text;
    animation: divineSweep 3s ease-in-out infinite;
    z-index: -1;
    filter: blur(1px);
}

.site-title:hover {
    transform: perspective(1000px) rotateX(0deg) scale(1.05);
    filter: 
        drop-shadow(0 0 20px rgba(255, 215, 0, 1))
        drop-shadow(0 0 30px rgba(255, 215, 0, 0.8))
        drop-shadow(0 0 40px rgba(255, 215, 0, 0.6))
        drop-shadow(0 0 50px rgba(255, 215, 0, 0.4));
}

@keyframes divineSweep {
    0%, 100% {
        background-position: 0% 50%;
        opacity: 0.3;
    }
    50% {
        background-position: 100% 50%;
        opacity: 0.8;
    }
}

@keyframes divineFlow {
    0%, 100% {
        background-position: 0% 50%;
        filter: 
            drop-shadow(0 0 10px rgba(255, 215, 0, 0.5))
            drop-shadow(0 0 20px rgba(255, 215, 0, 0.3))
            drop-shadow(0 0 30px rgba(255, 215, 0, 0.2));
    }
    25% {
        background-position: 25% 25%;
        filter: 
            drop-shadow(0 0 15px rgba(255, 255, 255, 0.6))
            drop-shadow(0 0 25px rgba(255, 215, 0, 0.4))
            drop-shadow(0 0 35px rgba(255, 215, 0, 0.3));
    }
    50% {
        background-position: 50% 0%;
        filter: 
            drop-shadow(0 0 20px rgba(255, 215, 0, 0.7))
            drop-shadow(0 0 30px rgba(255, 215, 0, 0.5))
            drop-shadow(0 0 40px rgba(255, 215, 0, 0.3));
    }
    75% {
        background-position: 75% 25%;
        filter: 
            drop-shadow(0 0 15px rgba(255, 255, 255, 0.6))
            drop-shadow(0 0 25px rgba(255, 215, 0, 0.4))
            drop-shadow(0 0 35px rgba(255, 215, 0, 0.3));
    }
}

/* Cursor Glow Effect - Ultra Subtle & Wide */
.cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle,
        rgba(255, 215, 0, 0.15) 0%,
        rgba(255, 215, 0, 0.08) 15%,
        rgba(255, 215, 0, 0.04) 30%,
        rgba(255, 215, 0, 0.02) 50%,
        rgba(255, 215, 0, 0.01) 70%,
        transparent 85%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.8s ease;
    filter: blur(8px);
    mix-blend-mode: soft-light;
}

.cursor-glow.active {
    opacity: 0.7;
}

.cursor-glow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle,
        rgba(255, 215, 0, 0.04) 0%,
        rgba(255, 215, 0, 0.02) 25%,
        rgba(255, 215, 0, 0.01) 50%,
        transparent 75%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    filter: blur(15px);
}

.cursor-glow::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle,
        rgba(255, 215, 0, 0.015) 0%,
        rgba(255, 215, 0, 0.008) 30%,
        transparent 60%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    filter: blur(20px);
}

.subheader {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    max-width: 600px;
    margin: 0 auto 50px auto;
    line-height: 1.4;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    position: relative;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 1;
}

.subheader:hover {
    color: rgba(255, 215, 0, 0.9);
}

/* Privacy Trigger Styling */
.privacy-trigger {
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}

.privacy-trigger:hover {
    color: rgba(255, 215, 0, 1);
}

.privacy-hint-icon {
    width: 16px;
    height: 16px;
    margin-left: 8px;
    stroke: rgba(255, 215, 0, 0.7);
    fill: none;
    transition: all 0.3s ease;
    vertical-align: middle;
}

.privacy-trigger:hover .privacy-hint-icon {
    stroke: rgba(255, 215, 0, 1);
    transform: scale(1.1);
}

/* New Privacy Tooltip System */
.privacy-tooltip-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 99999;
}

.privacy-tooltip-new {
    position: absolute;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border: 2px solid #ffd700;
    border-radius: 12px;
    padding: 20px;
    width: 320px;
    max-width: 90vw;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.privacy-tooltip-new.show {
    opacity: 1;
    visibility: visible;
}

.tooltip-content-new h4 {
    color: #800020;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 12px 0;
    text-align: center;
    font-family: 'Playfair Display', serif;
}

.tooltip-content-new p {
    color: #333;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
    text-align: center;
    font-weight: 400;
}

/* Prayer Section Styles */
.prayer-section {
    margin-top: -20px;
}

.form-container {
    background: transparent;
    padding: 20px 0;
    border: none;
    box-shadow: none;
    position: relative;
}

.step-2 {
    padding-top: 0px;
    margin-top: -50px;
    padding-bottom: 80px;
}

.step-1, .step-2 {
    transition: all 0.3s ease;
}

.step-2.hidden {
    display: none;
}

.input-group {
    margin-bottom: 40px;
    position: relative;
}


.name-input {
    width: 100%;
    padding: 20px;
    font-size: 1.5rem;
    border: 2px solid rgba(255, 215, 0, 0.6);
    border-radius: 15px;
    background: rgba(139, 38, 53, 0.4);
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
    position: relative;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: rgba(255, 215, 0, 0.95);
    font-weight: 500;
    text-align: center;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(255, 215, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: visible;
}

.name-input:focus {
    outline: none;
    border-color: rgba(255, 215, 0, 0.9);
    background: rgba(139, 38, 53, 0.55);
    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(255, 215, 0, 0.4),
        0 0 60px rgba(255, 215, 0, 0.2),
        0 0 0 3px rgba(255, 215, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.15);
}

/* Gold Shine Animation for Name Input */
.name-input.shine-active::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        transparent 60deg,
        rgba(255, 215, 0, 0.9) 90deg,
        rgba(255, 235, 59, 1) 120deg,
        rgba(255, 215, 0, 0.9) 150deg,
        transparent 180deg,
        transparent 360deg
    );
    border-radius: 18px;
    z-index: -1;
    animation: shineAround 3s linear infinite;
}

/* Name Attention Message */
.name-attention {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 1000;
    margin-bottom: 20px;
    background: rgba(139, 38, 53, 0.9);
    padding: 15px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 215, 0, 0.5);
}

.name-attention.show {
    display: block !important;
    opacity: 1;
    visibility: visible;
    animation: attentionPulse 2s ease-in-out infinite;
}

.attention-arrows {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
}

.arrow-down {
    font-size: 1.5rem;
    color: rgba(255, 215, 0, 0.9);
    font-weight: bold;
    animation: arrowBounceDown 1s ease-in-out infinite;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.arrow-down:nth-child(2) {
    animation-delay: 0.2s;
}

.arrow-down:nth-child(3) {
    animation-delay: 0.4s;
}

.attention-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: rgba(255, 215, 0, 1);
    font-family: 'Inter', sans-serif;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

@keyframes arrowBounceDown {
    0%, 50%, 100% {
        transform: translateY(0);
    }
    25% {
        transform: translateY(8px);
    }
}

@keyframes attentionPulse {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.3);
    }
}

@keyframes shakeBox {
    0%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-8px);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(8px);
    }
}

.prayer-input.shake {
    animation: shakeBox 0.6s ease-in-out;
    border-color: rgba(255, 0, 0, 0.8) !important;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.3) !important;
}



/* Rotating Text Animation */
@keyframes fadeOut {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 0;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Rotating name CSS removed - title is now static "Yahweh has it" */

/* Hebrew Classes Button */
.hebrew-classes-section {
    margin-top: 40px;
    text-align: center;
    padding: 20px 0;
}

.hebrew-classes-btn {
    display: inline-block;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 215, 0, 0.1));
    border: 2px solid rgba(255, 215, 0, 0.4);
    color: rgba(255, 215, 0, 0.9);
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

/* Force override any default link styles */
a.hebrew-classes-btn,
a.hebrew-classes-btn:link,
a.hebrew-classes-btn:visited,
a.hebrew-classes-btn:active {
    color: rgba(255, 215, 0, 0.9) !important;
    text-decoration: none !important;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 215, 0, 0.1)) !important;
    border: 2px solid rgba(255, 215, 0, 0.4) !important;
}

.hebrew-classes-btn:hover,
a.hebrew-classes-btn:hover {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.3), rgba(255, 215, 0, 0.15));
    border-color: rgba(255, 215, 0, 0.6);
    color: rgba(255, 215, 0, 1);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
    text-decoration: none;
}

.hebrew-classes-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.2), transparent);
    transition: left 0.5s;
}

.hebrew-classes-btn:hover::before {
    left: 100%;
}

@keyframes shineAround {
    0% {
        transform: rotate(0deg);
        filter: brightness(1.2) saturate(1.5);
    }
    50% {
        filter: brightness(1.6) saturate(2);
    }
    100% {
        transform: rotate(360deg);
        filter: brightness(1.2) saturate(1.5);
    }
}

.prayer-input {
    width: 100%;
    padding: 25px;
    font-size: 1.4rem;
    border: 2px solid rgba(255, 215, 0, 0.6);
    border-radius: 15px;
    background: rgba(139, 38, 53, 0.15);
    backdrop-filter: blur(20px);
    resize: vertical;
    min-height: 200px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    transition: all 0.3s ease;
    color: rgba(255, 215, 0, 0.95);
    font-weight: 400;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(255, 215, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

.prayer-input:focus {
    outline: none;
    border-color: rgba(255, 215, 0, 0.9);
    background: rgba(139, 38, 53, 0.25);
    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(255, 215, 0, 0.4),
        0 0 60px rgba(255, 215, 0, 0.2),
        0 0 0 3px rgba(255, 215, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.15);
}

/* Placeholder styling for divine inputs */
.name-input::placeholder {
    font-style: italic;
    color: rgba(255, 215, 0, 0.6);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    animation: placeholderColorShift 3s ease-in-out infinite;
}

.name-input::-webkit-input-placeholder {
    font-style: italic;
    color: rgba(255, 215, 0, 0.6);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    animation: placeholderColorShift 3s ease-in-out infinite;
}

.name-input::-moz-placeholder {
    font-style: italic;
    color: rgba(255, 215, 0, 0.6);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    animation: placeholderColorShift 3s ease-in-out infinite;
    opacity: 1;
}

.name-input:-ms-input-placeholder {
    font-style: italic;
    color: rgba(255, 215, 0, 0.6);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    animation: placeholderColorShift 3s ease-in-out infinite;
}

.prayer-input::placeholder {
    color: rgba(255, 215, 0, 0.6);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    font-style: italic;
}

.name-input:focus::placeholder,
.name-input:focus::-webkit-input-placeholder,
.name-input:focus::-moz-placeholder,
.name-input:focus:-ms-input-placeholder,
.prayer-input:focus::placeholder {
    color: rgba(255, 215, 0, 0.8);
    animation: none;
}

@keyframes placeholderColorShift {
    0% {
        color: rgba(255, 215, 0, 0.6);
        text-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
    }
    25% {
        color: rgba(255, 235, 205, 0.7);
        text-shadow: 0 0 12px rgba(255, 235, 205, 0.4);
    }
    50% {
        color: rgba(255, 255, 255, 0.8);
        text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
    }
    75% {
        color: rgba(255, 235, 205, 0.7);
        text-shadow: 0 0 12px rgba(255, 235, 205, 0.4);
    }
    100% {
        color: rgba(255, 215, 0, 0.6);
        text-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
    }
}

.prayer-instructions {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.instruction-row {
    display: flex;
    align-items: center;
    gap: 15px;
}

.instruction-row.centered {
    justify-content: center;
}

.instruction-text {
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.instruction-text-large {
    font-size: 2.2rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.arrow-down, .arrow-right {
    font-size: 1.5rem;
    color: rgba(255, 215, 0, 0.8);
    font-weight: bold;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    animation: arrowPulse 2s ease-in-out infinite;
}

@keyframes arrowPulse {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

.speech-btn {
    position: static;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, rgba(255, 215, 0, 0.4) 100%);
    color: rgba(255, 215, 0, 0.9);
    border: 2px solid rgba(255, 215, 0, 0.5);
    padding: 16px 24px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    min-width: 180px;
    box-shadow:
        0 4px 15px rgba(255, 215, 0, 0.4),
        0 8px 20px rgba(255, 215, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.microphone-icon {
    width: 24px;
    height: 24px;
    color: rgba(255, 215, 0, 0.9);
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.5));
    transition: all 0.3s ease;
}

.speech-text {
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.speech-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.4), 
        transparent);
    transition: left 0.6s ease;
}

.speech-btn:hover::before {
    left: 100%;
}

.speech-btn:hover {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.4) 0%, rgba(255, 215, 0, 0.6) 100%);
    transform: translateY(-3px);
    box-shadow:
        0 8px 25px rgba(255, 215, 0, 0.5),
        0 15px 35px rgba(255, 215, 0, 0.3),
        0 0 30px rgba(255, 215, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 215, 0, 0.8);
    color: white;
}

.speech-btn:hover .microphone-icon {
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.8));
    transform: scale(1.1);
    color: white;
}

.speech-btn:hover .speech-text {
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.speech-btn:active {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 
        0 4px 15px rgba(255, 215, 0, 0.4),
        0 8px 20px rgba(255, 215, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.speech-btn:focus {
    outline: none;
    box-shadow:
        0 8px 25px rgba(255, 215, 0, 0.5),
        0 15px 35px rgba(255, 215, 0, 0.3),
        0 0 30px rgba(255, 215, 0, 0.4),
        0 0 0 3px rgba(255, 215, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

/* Recording state */
.speech-btn.recording {
    background: linear-gradient(135deg, rgba(255, 77, 77, 0.3) 0%, rgba(255, 77, 77, 0.5) 100%);
    border-color: rgba(255, 77, 77, 0.6);
    color: rgba(255, 77, 77, 0.9);
    animation: recordingPulse 1.5s ease-in-out infinite;
}

.speech-btn.recording .microphone-icon {
    color: rgba(255, 77, 77, 0.9);
    filter: drop-shadow(0 0 12px rgba(255, 77, 77, 0.6));
    animation: microphonePulse 1s ease-in-out infinite alternate;
}

.speech-btn.recording .speech-text {
    color: rgba(255, 77, 77, 0.9);
}

@keyframes recordingPulse {
    0%, 100% {
        box-shadow:
            0 4px 15px rgba(255, 77, 77, 0.4),
            0 8px 20px rgba(255, 77, 77, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
    50% {
        box-shadow:
            0 8px 25px rgba(255, 77, 77, 0.6),
            0 15px 35px rgba(255, 77, 77, 0.4),
            0 0 30px rgba(255, 77, 77, 0.5),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
}

@keyframes microphonePulse {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.15);
    }
}

/* Larger Speech Button */
.speech-btn-large {
    position: static;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.25) 0%, rgba(255, 215, 0, 0.45) 100%);
    color: rgba(255, 215, 0, 0.9);
    border: 3px solid rgba(255, 215, 0, 0.6);
    padding: 20px 32px;
    border-radius: 60px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    min-width: 220px;
    box-shadow:
        0 6px 20px rgba(255, 215, 0, 0.4),
        0 10px 25px rgba(255, 215, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.speech-btn-large:hover {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.35) 0%, rgba(255, 215, 0, 0.55) 100%);
    border-color: rgba(255, 215, 0, 0.8);
    transform: translateY(-2px);
    box-shadow:
        0 8px 25px rgba(255, 215, 0, 0.5),
        0 12px 30px rgba(255, 215, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.speech-btn-large .microphone-icon {
    width: 28px;
    height: 28px;
    color: rgba(255, 215, 0, 0.9);
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.4));
    transition: all 0.3s ease;
}

.speech-btn-large .speech-text {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 600;
    color: rgba(255, 215, 0, 0.9);
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.3) 0%, rgba(255, 215, 0, 0.5) 100%);
    color: white;
    border: 2px solid rgba(255, 215, 0, 0.6);
    padding: 25px 40px;
    font-size: 1.5rem;
    border-radius: 15px;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.3), transparent);
    transition: left 0.6s;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.5) 0%, rgba(255, 215, 0, 0.7) 100%);
    transform: translateY(-3px);
    box-shadow:
        0 12px 25px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(255, 215, 0, 0.5);
    border-color: rgba(255, 215, 0, 0.8);
}

.submit-btn:active {
    transform: translateY(-1px);
}

/* Confirmation Message */
.confirmation {
    text-align: center;
    background: transparent;
    color: white;
    padding: 50px;
    border-radius: 20px;
    margin: 40px 0;
    box-shadow: none;
    animation: fadeIn 0.5s ease-in;
}

.hidden {
    display: none;
}

.confirmation.hidden {
    display: none;
}

.confirmation-title {
    font-size: 2.2rem;
    margin-bottom: 25px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.bible-verse {
    font-size: 1.3rem;
    font-style: italic;
    line-height: 1.6;
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 15px;
    border-left: 5px solid #d4b896;
    margin-bottom: 40px;
}

.announcements-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid rgba(255, 215, 0, 0.3);
}

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


.social-links {
    margin: 25px 0;
}

.facebook-link {
    color: #d4b896;
    transition: all 0.3s ease;
    padding: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.facebook-link:hover {
    color: #ffd700;
    background: rgba(255, 215, 0, 0.1);
    transform: scale(1.1);
}

.facebook-icon {
    width: 28px;
    height: 28px;
}

.hebrew-classes-announcement {
    margin-bottom: 25px;
    text-align: center;
}

.hebrew-link {
    display: inline-block;
    font-size: 1.4rem;
    color: rgba(255, 215, 0, 0.9);
    text-decoration: none;
    font-weight: 600;
    padding: 12px 24px;
    border: 2px solid rgba(255, 215, 0, 0.4);
    border-radius: 8px;
    background: rgba(255, 215, 0, 0.1);
    transition: all 0.3s ease;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
}

.hebrew-link:hover {
    color: rgba(255, 215, 0, 1);
    background: rgba(255, 215, 0, 0.2);
    border-color: rgba(255, 215, 0, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.church-announcement {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    max-width: 500px;
    margin: 0 auto;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.church-announcement strong {
    color: rgba(255, 215, 0, 0.9);
    font-weight: bold;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.signature {
    font-family: 'Dancing Script', cursive;
    font-size: 1.6rem;
    color: rgba(255, 215, 0, 0.8);
    margin-top: 20px;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.back-button-container {
    text-align: center;
    margin-top: 30px;
}

.back-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.8);
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    backdrop-filter: blur(10px);
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
    transform: translateY(-2px);
}

.confirmation-actions {
    text-align: center;
    margin-top: 30px;
}

.another-prayer-btn {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.3) 0%, rgba(255, 215, 0, 0.5) 100%);
    color: white;
    border: 2px solid rgba(255, 215, 0, 0.6);
    padding: 15px 30px;
    font-size: 1.2rem;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.another-prayer-btn:hover {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.5) 0%, rgba(255, 215, 0, 0.7) 100%);
    transform: translateY(-3px);
    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(255, 215, 0, 0.5);
    border-color: rgba(255, 215, 0, 0.8);
}

.site-title:hover {
    opacity: 0.8;
    transform: scale(1.02);
}

.amen-display {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    background: transparent;
    padding: 30px 0;
}

.amen-text {
    font-size: 5.5rem;
    font-weight: 700;
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    background: linear-gradient(45deg,
        #ffffff 0%,
        #ffd700 25%,
        #ffffff 50%,
        #ffd700 75%,
        #ffffff 100%);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    letter-spacing: 8px;
    z-index: 1;
    margin: 0;
    animation: amenGlow 3s ease-in-out infinite, gradientShift 4s ease-in-out infinite;
    filter:
        drop-shadow(0 0 30px rgba(255, 215, 0, 0.8))
        drop-shadow(0 0 60px rgba(255, 215, 0, 0.5))
        drop-shadow(0 0 90px rgba(255, 255, 255, 0.3));
}

@keyframes amenGlow {
    0%, 100% {
        filter:
            drop-shadow(0 0 30px rgba(255, 215, 0, 0.8))
            drop-shadow(0 0 60px rgba(255, 215, 0, 0.5))
            drop-shadow(0 0 90px rgba(255, 255, 255, 0.3));
    }
    50% {
        filter:
            drop-shadow(0 0 50px rgba(255, 215, 0, 1))
            drop-shadow(0 0 100px rgba(255, 215, 0, 0.8))
            drop-shadow(0 0 150px rgba(255, 255, 255, 0.6));
    }
}

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

.amen-text::before {
    content: 'AMEN';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg,
        rgba(255, 255, 255, 0.4) 0%,
        rgba(255, 215, 0, 0.6) 25%,
        rgba(255, 255, 255, 0.7) 50%,
        rgba(255, 215, 0, 0.6) 75%,
        rgba(255, 255, 255, 0.4) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: amenSweep 6s ease-in-out infinite;
    z-index: -1;
    filter: blur(2px);
}

.amen-display::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle,
        rgba(255, 215, 0, 0.15) 0%,
        rgba(255, 215, 0, 0.08) 40%,
        rgba(255, 255, 255, 0.03) 60%,
        transparent 100%);
    border-radius: 50%;
    animation: amenHalo 8s ease-in-out infinite;
    z-index: -2;
}

@keyframes amenGlow {
    0%, 100% {
        background-position: 0% 50%;
        filter:
            drop-shadow(0 0 20px rgba(255, 215, 0, 0.8))
            drop-shadow(0 0 40px rgba(255, 215, 0, 0.6))
            drop-shadow(0 0 60px rgba(255, 215, 0, 0.4));
    }
    25% {
        background-position: 25% 25%;
        filter:
            drop-shadow(0 0 25px rgba(255, 255, 255, 0.9))
            drop-shadow(0 0 45px rgba(255, 215, 0, 0.7))
            drop-shadow(0 0 65px rgba(255, 215, 0, 0.5));
    }
    50% {
        background-position: 50% 0%;
        filter:
            drop-shadow(0 0 30px rgba(255, 215, 0, 1))
            drop-shadow(0 0 50px rgba(255, 215, 0, 0.8))
            drop-shadow(0 0 70px rgba(255, 215, 0, 0.6));
    }
    75% {
        background-position: 75% 25%;
        filter:
            drop-shadow(0 0 25px rgba(255, 255, 255, 0.9))
            drop-shadow(0 0 45px rgba(255, 215, 0, 0.7))
            drop-shadow(0 0 65px rgba(255, 215, 0, 0.5));
    }
}

@keyframes amenSweep {
    0%, 100% {
        background-position: 0% 50%;
        opacity: 0.3;
    }
    50% {
        background-position: 100% 50%;
        opacity: 0.8;
    }
}

@keyframes amenHalo {
    0%, 100% {
        opacity: 0.4;
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
    }
    50% {
        opacity: 0.7;
        transform: translate(-50%, -50%) scale(1.2) rotate(180deg);
    }
}

.simple-confirmation {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
    padding: 40px 30px;
}

.confirmation-title {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 30px;
    font-weight: 400;
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.bible-verse-simple {
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.08);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 40px;
    border-left: 3px solid rgba(255, 215, 0, 0.5);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.announcements-simple {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.hebrew-announcement {
    padding: 15px 25px;
    background: transparent;
    border: none;
    border-radius: 0;
    backdrop-filter: none;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    max-width: 400px;
    margin: 0 auto;
    text-align: center;
}

.hebrew-announcement:hover {
    background: transparent;
    border: none;
    transform: none;
    box-shadow: none;
}

.hebrew-announcement::before {
    display: none;
}

.hebrew-announcement:hover::before {
    display: none;
}

.hebrew-link-simple {
    display: inline-block;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 215, 0, 0.1));
    border: 2px solid rgba(255, 215, 0, 0.4);
    color: rgba(255, 215, 0, 0.9);
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.hebrew-link-simple:hover {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.3), rgba(255, 215, 0, 0.15));
    border-color: rgba(255, 215, 0, 0.6);
    color: rgba(255, 215, 0, 1);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
    text-decoration: none;
}

.hebrew-link-simple::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.2), transparent);
    transition: left 0.5s;
}

.hebrew-link-simple:hover::before {
    left: 100%;
}

.church-announcement-simple {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    line-height: 1.4;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.church-announcement-simple p {
    margin: 5px 0;
}

.church-announcement-simple strong {
    color: rgba(255, 215, 0, 0.9);
    font-weight: 600;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
}

.another-prayer-btn-simple {
    background: linear-gradient(135deg, #800020 0%, #a00030 100%);
    color: white;
    border: 2px solid rgba(255, 215, 0, 0.3);
    padding: 18px 45px;
    border-radius: 30px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(128, 0, 32, 0.4);
    backdrop-filter: blur(5px);
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.another-prayer-btn-simple:hover {
    background: linear-gradient(135deg, #a00030 0%, #c00040 100%);
    border-color: rgba(255, 215, 0, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(128, 0, 32, 0.5);
}

.another-prayer-btn-simple:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(128, 0, 32, 0.6);
}

/* Confirmation Page Sections */
.prayer-coverage-section {
    margin: 40px auto;
    max-width: 700px;
    padding: 25px 40px;
    background: rgba(255, 215, 0, 0.12);
    border-radius: 15px;
    border: 2px solid rgba(255, 215, 0, 0.4);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.2);
}

.prayer-coverage-text {
    color: rgba(255, 215, 0, 0.95);
    font-size: 1.15rem;
    line-height: 1.5;
    text-align: center;
    margin: 0;
    font-weight: 500;
}


.bible-verse-section {
    display: flex;
    justify-content: center;
    margin: 40px 0;
}

.bible-verse-simple {
    max-width: 750px;
    width: 100%;
    background: linear-gradient(145deg, rgba(255, 215, 0, 0.15), rgba(255, 215, 0, 0.08));
    border: 2px solid rgba(255, 215, 0, 0.5);
    padding: 35px 45px;
    border-radius: 20px;
    text-align: center;
    backdrop-filter: blur(12px);
    box-shadow:
        0 12px 40px rgba(255, 215, 0, 0.25),
        inset 0 1px 0 rgba(255, 215, 0, 0.2),
        0 0 0 1px rgba(255, 215, 0, 0.1);
    position: relative;
    overflow: hidden;
}


.bible-verse-simple p {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.95);
    font-style: italic;
    font-family: 'Playfair Display', Georgia, serif;
}

.bible-verse-simple cite {
    color: #d4b896;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.announcements-section {
    display: flex;
    justify-content: center;
    margin: 40px 0;
}

.announcements-simple {
    max-width: 600px;
    width: 100%;
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
}

.hebrew-announcement,
.church-announcement-simple {
    flex: 1;
    min-width: 280px;
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.church-announcement-simple {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 215, 0, 0.25);
    border-radius: 12px;
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.church-announcement-simple:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}


.church-announcement-simple p {
    margin: 10px 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
}

.church-announcement-simple strong {
    color: #d4b896;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
}

.action-section {
    display: flex;
    justify-content: center;
    margin: 50px 0;
}

.confirmation-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 60px;
    text-align: center;
    border-top: 1px solid rgba(255, 215, 0, 0.25);
    padding-top: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.prayer-army-invitation {
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    backdrop-filter: blur(5px);
}

.prayer-army-text {
    color: #d4b896;
    font-size: 1.4rem;
    font-weight: 600;
    margin-right: 12px;
    letter-spacing: 0.5px;
}

.coming-soon {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    font-style: italic;
    opacity: 0.8;
}


/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 20px 15px;
    }

    .site-title {
        font-size: 2.8rem;
    }

    .subheader {
        font-size: 1.2rem;
    }

    .form-container {
        padding: 30px 25px;
    }

    .prayer-instructions {
        gap: 10px;
    }

    .instruction-row {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }

    .instruction-text {
        font-size: 1.1rem;
    }

    .speech-btn {
        position: static;
        width: auto;
        margin-top: 0;
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    .confirmation-title {
        font-size: 1.8rem;
    }

    .bible-verse {
        font-size: 1.1rem;
        padding: 20px;
    }
}

/* Removed duplicate mobile rule - using comprehensive mobile styles below */

/* Divine Heavenly Animations for AMEN */
@keyframes amenHeavenlyGlow {
    0% {
        transform: perspective(1000px) rotateX(8deg) scale(1.05);
        filter:
            drop-shadow(0 0 30px rgba(255, 215, 0, 1))
            drop-shadow(0 0 60px rgba(255, 255, 255, 0.8))
            drop-shadow(0 0 90px rgba(255, 215, 0, 0.6))
            drop-shadow(0 0 120px rgba(255, 255, 255, 0.4));
    }
    100% {
        transform: perspective(1000px) rotateX(12deg) scale(1.1);
        filter:
            drop-shadow(0 0 40px rgba(255, 255, 255, 1))
            drop-shadow(0 0 80px rgba(255, 215, 0, 0.9))
            drop-shadow(0 0 120px rgba(255, 255, 255, 0.7))
            drop-shadow(0 0 160px rgba(255, 215, 0, 0.5));
    }
}

@keyframes amenDivineShift {
    0% { background-position: 0% 50%; }
    25% { background-position: 50% 0%; }
    50% { background-position: 100% 50%; }
    75% { background-position: 50% 100%; }
    100% { background-position: 0% 50%; }
}

@keyframes divinePulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.6;
    }
}

@keyframes heavenlyRotation {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes gentleRotation {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes blessingSweep {
    0%, 100% {
        transform: translateX(-100%);
        opacity: 0;
    }
    50% {
        transform: translateX(100%);
        opacity: 1;
    }
}

@keyframes divineRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* ===========================
   MOBILE RESPONSIVE OPTIMIZATIONS
   =========================== */

/* Small Mobile Devices (320px - 480px) */
@media screen and (max-width: 480px) {
    .site-title {
        font-size: 2.5rem !important;
        line-height: 1.2;
        text-align: center;
        margin-bottom: 15px;
    }

    .subheader {
        font-size: 1rem !important;
        padding: 0 10px;
        text-align: center;
    }

    .form-container {
        padding: 20px 15px !important;
        margin: 0 10px;
    }

    .name-input, .prayer-input {
        font-size: 16px !important; /* Prevents zoom on iOS */
        padding: 15px !important;
        border-radius: 10px;
    }

    .submit-btn {
        width: 100% !important;
        padding: 15px !important;
        font-size: 1.1rem !important;
        margin-top: 20px;
    }

    .speech-btn-large {
        padding: 12px 20px !important;
        font-size: 0.9rem !important;
    }

    .instruction-text-large {
        font-size: 1.1rem !important;
    }

    .hebrew-classes-btn {
        width: 90% !important;
        padding: 15px 20px !important;
        font-size: 1rem !important;
        margin: 20px auto;
        display: block;
    }

    /* AMEN Page Mobile */
    .amen-text {
        font-size: 4rem !important;
    }

    .confirmation-title {
        font-size: 1.5rem !important;
        margin-bottom: 20px;
    }
    .prayer-coverage-text {
        font-size: 1.1rem !important;
        padding: 0 15px !important;
        margin: 0 auto !important;
        text-align: center !important;
    }
    .announcements-simple {
        margin: 0 auto !important;
        padding: 0 15px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 15px !important;
    }
    .hebrew-announcement,
    .church-announcement-simple {
        margin: 0 !important;
        padding: 20px !important;
        width: calc(100% - 30px) !important;
        max-width: 350px !important;
        box-sizing: border-box !important;
    }
    .hebrew-link-simple {
        width: 85% !important;
        padding: 15px 20px !important;
        font-size: 1rem !important;
        margin: 10px auto;
        display: block;
    }

    .bible-verse-simple {
        font-size: 1rem !important;
        padding: 25px 20px !important;
        margin: 0 auto 25px auto !important;
        max-width: calc(100% - 30px) !important;
        width: calc(100% - 30px) !important;
        box-sizing: border-box !important;
    }

    .prayer-coverage-section {
        margin: 30px auto !important;
        max-width: calc(100% - 30px) !important;
        width: calc(100% - 30px) !important;
        padding: 25px 20px !important;
        box-sizing: border-box !important;
    }

    .hebrew-announcement {
        margin: 20px 15px !important;
        max-width: calc(100% - 30px) !important;
        padding: 15px 20px !important;
    }

    .church-announcement-simple {
        margin: 20px 15px !important;
        max-width: calc(100% - 30px) !important;
        padding: 20px !important;
    }

    .another-prayer-btn-simple {
        width: calc(100% - 30px) !important;
        margin: 20px 15px !important;
        padding: 15px !important;
        font-size: 1.1rem !important;
    }

    /* Loading Sequence Mobile */
    .psalm-verse p {
        font-size: 1.2rem !important;
        padding: 0 20px;
    }

    .loading-cross {
        width: 60px !important;
        height: 60px !important;
    }

    /* Privacy Tooltip Mobile */
    .privacy-tooltip-new {
        width: 90vw !important;
        max-width: 300px !important;
        font-size: 0.9rem !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        margin-top: 10px !important;
    }

    /* Attention Message Mobile */
    .name-attention {
        font-size: 0.9rem !important;
        padding: 12px !important;
    }

    .attention-arrows {
        font-size: 1.2rem !important;
    }
}

/* Medium Mobile Devices (481px - 768px) */
@media screen and (min-width: 481px) and (max-width: 768px) {
    .site-title {
        font-size: 3rem;
    }

    .form-container {
        padding: 30px 25px;
        max-width: 500px;
        margin: 0 auto;
    }

    .name-input, .prayer-input {
        font-size: 16px; /* Prevents zoom on iOS */
    }

    .hebrew-classes-btn {
        padding: 14px 28px;
        font-size: 1rem;
    }
}

/* Tablet Landscape (769px - 1024px) */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .container {
        max-width: 700px;
        margin: 0 auto;
        padding: 0 20px;
    }

    .site-title {
        font-size: 3.5rem;
    }

    .form-container {
        max-width: 600px;
        margin: 0 auto;
    }
}

/* Desktop and Large Screens (769px+) - OCD Perfect Sizing */
@media screen and (min-width: 769px) {
    .submit-btn {
        width: 450px !important;
        padding: 16px 30px !important;
        font-size: 1.1rem !important;
        margin: 20px auto !important;
        display: block !important;
        max-width: 450px !important;
    }

    .name-input {
        width: 450px !important;
        max-width: 450px !important;
        margin: 0 auto !important;
        display: block !important;
        padding: 18px 24px !important;
        font-size: 1.2rem !important;
        text-align: center !important;
    }

    .prayer-input {
        width: 550px !important;
        max-width: 550px !important;
        margin: 0 auto !important;
        display: block !important;
        padding: 20px 26px !important;
        font-size: 1.2rem !important;
    }

    .form-container {
        max-width: 650px !important;
        margin: 0 auto !important;
        padding: 20px 30px 40px 30px !important;
        text-align: center !important;
    }

    .input-group {
        text-align: center !important;
        margin-bottom: 20px !important;
    }

    .subheader {
        margin-bottom: 25px !important;
    }

    .hebrew-classes-btn {
        width: auto !important;
        padding: 10px 20px !important;
        display: inline-block !important;
        margin: 15px auto !important;
        font-size: 0.9rem !important;
    }

    .hebrew-classes-section {
        text-align: center !important;
        margin-top: 30px !important;
    }
}

/* Large Screens Optimization (1025px+) */
@media screen and (min-width: 1025px) {
    .container {
        max-width: 1200px;
        margin: 0 auto;
    }

    /* Optimize cursor glow for larger screens */
    .cursor-glow {
        width: 140px !important;
        height: 140px !important;
    }
}

/* High DPI / Retina Display Optimization */
@media screen and (-webkit-min-device-pixel-ratio: 2),
       screen and (min-resolution: 192dpi),
       screen and (min-resolution: 2dppx) {
    /* Optimize graphics for high DPI */
    .cross-glow, .cross-vertical, .cross-horizontal {
        will-change: transform, filter;
    }
}

/* Landscape Mobile Optimization */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .loading-sequence {
        padding: 10px;
    }

    .psalm-verse p {
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .loading-cross {
        width: 40px;
        height: 40px;
    }

    .site-title {
        font-size: 2rem;
        margin-bottom: 10px;
    }

    .subheader {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .cursor-glow {
        display: none !important;
    }
}

/* Print Styles */
@media print {
    .loading-sequence,
    .cursor-glow,
    .hebrew-classes-btn {
        display: none !important;
    }

    body {
        background: white !important;
        color: black !important;
    }

    .site-title,
    .prayer-input,
    .name-input {
        color: black !important;
        background: white !important;
    }
}