/* Random Bible Verses API Styles */

.rbva-verse-container {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 30px;
    margin: 20px 0;
    color: white;
    font-family: 'Georgia', serif;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    transition: all 0.3s ease;
}

.rbva-verse-container:before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="cross" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M10 2v16M2 10h16" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23cross)"/></svg>');
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(1deg); }
}

.rbva-verse-content {
    position: relative;
    z-index: 2;
}

.rbva-verse-text {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: center;
    font-style: italic;
    position: relative;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.rbva-verse-text:before {
    content: '"';
    font-size: 60px;
    position: absolute;
    top: -10px;
    left: 10px;
    opacity: 0.3;
    font-family: serif;
}

.rbva-verse-text:after {
    content: '"';
    font-size: 60px;
    position: absolute;
    bottom: -40px;
    right: 10px;
    opacity: 0.3;
    font-family: serif;
}

.rbva-verse-reference {
    text-align: right;
    font-size: 18px;
    font-weight: bold;
    color: #ffd700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    margin-top: 15px;
}

.rbva-verse-actions {
    text-align: center;
    margin-top: 25px;
    position: relative;
    z-index: 2;
}

.rbva-new-verse-btn,
.rbva-share-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 10px;
    text-decoration: none;
    display: inline-block;
    backdrop-filter: blur(10px);
}

.rbva-new-verse-btn:hover,
.rbva-share-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    color: white;
    text-decoration: none;
}

.rbva-new-verse-btn:active,
.rbva-share-btn:active {
    transform: translateY(0);
}

.rbva-loading {
    text-align: center;
    padding: 40px;
    font-size: 18px;
}

.rbva-spinner {
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top: 3px solid white;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

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

.rbva-error {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    color: white;
    margin: 20px 0;
}

/* Style variations */
.rbva-style-default {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.rbva-style-devotional {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.rbva-style-inspirational {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.rbva-style-peaceful {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.rbva-style-champions {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 50%, #feca57 100%);
    animation: championGlow 3s ease-in-out infinite alternate;
}

@keyframes championGlow {
    0% { box-shadow: 0 15px 35px rgba(255, 107, 107, 0.3); }
    100% { box-shadow: 0 20px 45px rgba(238, 90, 36, 0.4); }
}

/* Animation for verse changes */
.rbva-fade-in {
    animation: fadeIn 0.8s ease-in;
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
    .rbva-verse-container {
        padding: 20px;
        margin: 10px;
        border-radius: 15px;
    }
    
    .rbva-verse-text {
        font-size: 18px;
        padding: 15px;
    }
    
    .rbva-verse-reference {
        font-size: 16px;
    }
    
    .rbva-new-verse-btn,
    .rbva-share-btn {
        padding: 10px 20px;
        font-size: 14px;
        margin: 5px;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .rbva-verse-container {
        background: linear-gradient(135deg, #2c3e50, #34495e);
    }
}

/* Admin styles */
.rbva-test-section,
.rbva-shortcode-section {
    margin-top: 30px;
    padding: 20px;
    background: #fff;
    border: 1px solid #ccd0d4;
    border-radius: 5px;
}

.rbva-test-section h2,
.rbva-shortcode-section h2 {
    margin-top: 0;
}

.rbva-shortcode-section code {
    background: #f1f1f1;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
}

.rbva-shortcode-section ul {
    margin-left: 20px;
}

.rbva-shortcode-section li {
    margin-bottom: 5px;
} 