:root {
    --primary-color: #6a5acd;
    --secondary-color: #9370db;
    --accent-color: #4b0082;
    --light-purple: #f0e6ff;
    --dark-purple: #5d3fd3;
    --text-color: #333;
    --light-text: #f8f9fa;
    --card-bg: linear-gradient(135deg, #6a5acd 0%, #4b0082 100%);
}

.verse-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.verse-header {
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 25px;
    text-align: center;
}

.verse-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
}

.verse-title img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.verse-description {
    font-size: 16px;
    opacity: 0.9;
}

.verse-card {
    max-width: 700px;
    min-height: 450px;
    margin: 0 auto 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    background: var(--card-bg);
    color: var(--light-text);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    text-align: center;
}

.verse-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.verse-text {
    font-size: 24px;
    line-height: 1.6;
    margin-bottom: 20px;
    font-weight: 500;
    position: relative;
    z-index: 2;
}

.verse-reference {
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
    position: relative;
    z-index: 2;
}

.watermark {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 14px;
    opacity: 0.8;
    z-index: 2;
}

.verse-navigation {
    display: flex;
    justify-content: space-between;
    margin: 30px auto;
    max-width: 700px;
}

.nav-button {
    padding: 8px 16px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.nav-button:hover {
    background: var(--accent-color);
}

.nav-button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.action-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}

.action-button {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
    background: var(--light-purple);
    color: var(--accent-color);
}

.action-button:hover {
    background: var(--dark-purple);
    color: white;
}

.action-button .dropdown-icon {
    margin-left: 5px;
    transition: transform 0.3s;
}

.action-button.active .dropdown-icon {
    transform: rotate(180deg);
}

.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 30px 0 15px;
    color: var(--accent-color);
}

.section-title img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.about-verse {
    background: var(--light-purple);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.share-section {
    margin: 20px 0;
}

.share-title {
    font-weight: bold;
    margin-bottom: 5px;
}

.share-subtitle {
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;
}

.share-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
}

.share-option {
    padding: 6px 12px;
    border-radius: 4px;
    color: white;
    font-size: 14px;
    cursor: pointer;
}

.facebook { background: #3b5998; }
.twitter { background: #1da1f2; }
.whatsapp { background: #25d366; }
.messenger { background: #006aff; }
.email { background: #d44638; }
.copy-url { background: #607d8b; }

.more-verses {
    margin-top: 30px;
}

.verse-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 15px;
}

.verse-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    transition: all 0.3s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.verse-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.verse-item-text {
    font-style: italic;
    margin-bottom: 5px;
}

.verse-item-ref {
    font-weight: bold;
    color: var(--primary-color);
    cursor: pointer;
}

.background-options {
    display: none;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 15px;
    padding: 20px;
    border: 2px dotted var(--primary-color);
    border-radius: 8px;
    position: relative;
}

.background-options-title {
    position: absolute;
    top: -10px;
    left: 15px;
    background: white;
    padding: 0 10px;
    font-size: 14px;
    color: var(--accent-color);
}

.background-option {
    height: 60px;
    border-radius: 6px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.background-option:hover {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.upload-background {
    grid-column: span 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
    border: 2px dashed var(--primary-color);
    border-radius: 8px;
    cursor: pointer;
    position: relative;
}

.upload-background::before {
    content: "Upload Background Image";
    position: absolute;
    top: -10px;
    left: 15px;
    background: white;
    padding: 0 10px;
    font-size: 14px;
    color: var(--accent-color);
}

.upload-icon {
    font-size: 24px;
    margin-bottom: 5px;
}

.full-chapter-link {
    display: inline-block;
    margin-top: 15px;
    color: var(--primary-color);
    font-weight: bold;
    text-decoration: none;
}

.full-chapter-link:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .verse-title {
        font-size: 20px;
        flex-direction: column;
        gap: 5px;
    }
    
    .verse-text {
        font-size: 20px;
    }
    
    .background-options {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .upload-background {
        grid-column: span 2;
    }
    
    .verse-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .verse-header {
        padding: 15px;
    }
    
    .verse-card {
        padding: 20px;
        min-height: 400px;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .action-button {
        width: 100%;
        justify-content: center;
    }
}