* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


:root {
    --primary-gold: #d4af37;
    --primary-blue: #1a365d;
    --secondary-light: #f0ede5;
    --accent-purple: #6d28d9;
    --accent-rose: #be4bdb;
    --holy-cream: #faf8f3;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --border-soft: #e5e0d8;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.12);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', 'Trebuchet MS', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background: linear-gradient(135deg, #faf8f3 0%, #f3ede5 50%, #ede8e0 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    letter-spacing: 0.3px;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation Bar */
.navbar {
    background: linear-gradient(135deg, #1a365d 0%, #2d5a7b 100%);
    box-shadow: var(--shadow-soft);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--primary-gold);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 20px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-gold);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-style: italic;
}

.logo i {
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    text-decoration: none;
    color: #e0d5c7;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-gold);
    transform: translateY(-2px);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-gold), var(--accent-rose));
    border-radius: 2px;
}

/* Sections */
.section {
    background: var(--holy-cream);
    border-radius: 20px;
    padding: 3rem;
    margin: 2.5rem 0;
    box-shadow: var(--shadow-soft);
    animation: fadeIn 0.6s ease-in;
    border: 1px solid var(--border-soft);
    position: relative;
    overflow: hidden;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-gold), var(--accent-rose), var(--accent-purple));
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section h1,
.section h2 {
    color: var(--primary-blue);
    margin-bottom: 2rem;
    font-size: 2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.section h2 {
    font-size: 1.6rem;
}

.section h1 i,
.section h2 i {
    color: var(--primary-gold);
}

/* Gods Word Card */
.daily-scripture-card {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, rgba(109, 40, 217, 0.05) 100%);
    border-left: 5px solid var(--primary-gold);
    border-radius: 15px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.1);
    position: relative;
}

.daily-scripture-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at top right, rgba(255, 255, 255, 0.3), transparent);
    border-radius: 15px;
    pointer-events: none;
}

.scripture-content {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-dark);
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.scripture-ref {
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1.2rem;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.scripture-text {
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 2;
    font-size: 1.15rem;
}

.loading {
    text-align: center;
    padding: 2.5rem;
    color: var(--text-light);
    font-style: italic;
    font-size: 1.05rem;
}

/* Buttons */
.btn-refresh,
.btn-search,
.btn-praise {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #2d5a7b 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn-refresh::before,
.btn-search::before,
.btn-praise::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-refresh:hover::before,
.btn-search:hover::before,
.btn-praise:hover::before {
    left: 100%;
}

.btn-refresh:hover,
.btn-search:hover,
.btn-praise:hover {
    background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-rose) 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(109, 40, 217, 0.3);
}

.btn-refresh {
    width: 100%;
    padding: 1.2rem;
}

/* Share Buttons */
.share-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.share-btn {
    flex: 1;
    min-width: 130px;
    padding: 1rem 1.2rem;
    border: 2px solid var(--border-soft);
    background: white;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.share-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.x-logo {
    width: 1.2rem;
    height: 1.2rem;
    fill: currentColor;
}

.share-btn.facebook {
    border-color: #1877f2;
    color: #1877f2;
}

.share-btn.facebook:hover {
    background: #1877f2;
    color: white;
}

.share-btn.twitter {
    border-color: #000000;
    color: #000000;
}

.share-btn.twitter:hover {
    background: #000000;
    color: white;
}

.share-btn.instagram {
    border-color: #e1306c;
    color: #e1306c;
}

.share-btn.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    border-color: #bc1888;
}

.share-btn.whatsapp {
    border-color: #25d366;
    color: #25d366;
}

.share-btn.whatsapp:hover {
    background: #25d366;
    color: white;
}

.share-btn.copy {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.share-btn.copy:hover {
    background: var(--primary-blue);
    color: white;
}

/* Search Section */
.search-container {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.search-input {
    flex: 1;
    padding: 1.1rem 1.5rem;
    border: 2px solid var(--border-soft);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s;
    background: white;
    font-family: inherit;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 4px 12px rgba(26, 54, 93, 0.1);
    background: white;
}

.search-input::placeholder {
    color: var(--text-light);
}

.btn-search {
    padding: 1.1rem 2.5rem;
    margin-top: 0;
}

.search-results {
    margin-top: 2rem;
}

.verse-result {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.03) 0%, rgba(109, 40, 217, 0.03) 100%);
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    border-left: 5px solid var(--primary-gold);
    animation: slideIn 0.3s ease-in;
    transition: all 0.3s;
}

.verse-result:hover {
    box-shadow: var(--shadow-hover);
    transform: translateX(5px);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-15px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.verse-ref {
    font-weight: 700;
    color: var(--primary-blue);
    font-size: 1.15rem;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.verse-text {
    color: var(--text-dark);
    line-height: 1.9;
    font-size: 1rem;
}

.no-results {
    text-align: center;
    color: var(--text-light);
    padding: 3rem 2rem;
    font-style: italic;
}

/* Praise Section */
.praise-section {
    background: linear-gradient(135deg, #faf8f3 0%, rgba(212, 175, 55, 0.08) 100%);
    position: relative;
}

.praise-section::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(109, 40, 217, 0.05), transparent);
    border-radius: 50%;
    pointer-events: none;
}

.praise-section h2 {
    color: var(--primary-blue);
    position: relative;
    z-index: 1;
}

.praise-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    position: relative;
    z-index: 1;
}

.praise-box {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-soft);
}

.praise-box h3 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.15rem;
}

.praise-box h3 i {
    color: var(--primary-gold);
}

.praise-input {
    width: 100%;
    padding: 1.2rem;
    border: 2px solid var(--border-soft);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    min-height: 140px;
    transition: all 0.3s;
    background: white;
}

.praise-input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 4px 12px rgba(26, 54, 93, 0.1);
}

.praise-input::placeholder {
    color: var(--text-light);
}

.praise-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.2rem;
}

#char-count {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
}

.btn-praise {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #2d5a7b 100%);
    padding: 0.9rem 1.8rem;
    margin-top: 0;
}

.praise-messages {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-soft);
}

.praise-messages h3 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.15rem;
}

.praise-messages h3 i {
    color: var(--accent-rose);
}

.praise-list {
    max-height: 450px;
    overflow-y: auto;
}

.praise-list::-webkit-scrollbar {
    width: 6px;
}

.praise-list::-webkit-scrollbar-track {
    background: var(--border-soft);
    border-radius: 10px;
}

.praise-list::-webkit-scrollbar-thumb {
    background: var(--primary-gold);
    border-radius: 10px;
}

.praise-item {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, rgba(109, 40, 217, 0.05) 100%);
    padding: 1.5rem;
    margin-bottom: 1.2rem;
    border-radius: 10px;
    border-left: 4px solid var(--accent-rose);
    animation: slideIn 0.3s ease-in;
}

.praise-item p {
    color: var(--text-dark);
    word-wrap: break-word;
    line-height: 1.6;
}

.praise-time {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 0.8rem;
    font-weight: 500;
}

.no-messages {
    text-align: center;
    color: var(--text-light);
    padding: 2rem 0;
    font-style: italic;
}

/* Praise Verses Section */
.praise-verses-section {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 2px solid rgba(212, 175, 55, 0.2);
}

.praise-verses-section h3 {
    color: var(--primary-blue);
    margin-bottom: 2rem;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.praise-verses-section h3 i {
    color: var(--primary-gold);
    font-size: 1.4rem;
}

.praise-verses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.praise-verse-card {
    background: white;
    padding: 1.8rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    border-top: 4px solid var(--primary-gold);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: slideIn 0.3s ease-in;
    display: flex;
    flex-direction: column;
}

.praise-verse-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-top-color: var(--accent-rose);
}

.praise-verse-ref {
    font-weight: 700;
    color: var(--primary-blue);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.8rem;
}

.praise-verse-text {
    color: var(--text-dark);
    line-height: 1.8;
    font-style: italic;
    font-size: 0.95rem;
    flex: 1;
    margin-bottom: 1.2rem;
}

.praise-verse-buttons {
    display: flex;
    gap: 0.8rem;
    justify-content: flex-start;
}

.verse-share-btn {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border: 2px solid var(--border-soft);
    background: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    padding: 0;
}

.verse-share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.verse-share-btn svg {
    width: 1.2rem;
    height: 1.2rem;
}

.verse-share-btn.facebook {
    border-color: #1877f2;
    color: #1877f2;
}

.verse-share-btn.facebook:hover {
    background: #1877f2;
    color: white;
}

.verse-share-btn.twitter {
    border-color: #000000;
    color: #000000;
}

.verse-share-btn.twitter:hover {
    background: #000000;
    color: white;
}

.verse-share-btn.instagram {
    border-color: #e1306c;
    color: #e1306c;
}

.verse-share-btn.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    border-color: #bc1888;
}

.verse-share-btn.whatsapp {
    border-color: #25d366;
    color: #25d366;
}

.verse-share-btn.whatsapp:hover {
    background: #25d366;
    color: white;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a365d 0%, #2d5a7b 100%);
    color: #e0d5c7;
    text-align: center;
    padding: 3rem 2rem;
    margin-top: auto;
    border-top: 2px solid var(--primary-gold);
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer p {
    margin: 0.8rem 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer a {
    color: var(--primary-gold);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.footer a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-quote {
    font-style: italic;
    color: #d4c5b7;
    margin: 1.5rem 0;
    font-size: 0.9rem;
}

.footer-credit {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    font-size: 0.9rem;
}

.instagram-link {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.instagram-link:hover {
    color: #ff69b4;
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #27ae60 0%, #1e8449 100%);
    color: white;
    padding: 1.2rem 1.8rem;
    border-radius: 10px;
    box-shadow: var(--shadow-hover);
    animation: slideInUp 0.3s ease-in;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 500;
}

@keyframes slideInUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.toast.error {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 1.2rem;
        padding: 1rem 20px;
    }

    .nav-links {
        gap: 1.5rem;
        width: 100%;
        justify-content: space-around;
    }

    .nav-link {
        font-size: 0.85rem;
    }

    .section {
        padding: 2rem;
        margin: 1.5rem 0;
    }

    .section h1,
    .section h2 {
        font-size: 1.5rem;
    }

    .praise-container {
        grid-template-columns: 1fr;
    }

    .search-container {
        flex-direction: column;
    }

    .search-input {
        width: 100%;
    }

    .share-buttons {
        flex-direction: column;
    }

    .share-btn {
        width: 100%;
        min-width: unset;
    }

    .scripture-content {
        font-size: 1rem;
    }

    .daily-scripture-card {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .logo {
        font-size: 1.2rem;
    }

    .logo i {
        font-size: 1.5rem;
    }

    .section {
        padding: 1.5rem;
        border-radius: 15px;
    }

    .section h1 {
        font-size: 1.3rem;
    }

    .section h2 {
        font-size: 1.1rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .nav-link {
        font-size: 0.75rem;
    }

    .btn-refresh,
    .btn-search,
    .btn-praise {
        padding: 0.9rem 1.5rem;
        font-size: 0.9rem;
    }

    .share-btn {
        padding: 0.9rem 1rem;
        font-size: 0.85rem;
    }

    .footer {
        padding: 2rem 1.5rem;
    }

    .footer p {
        font-size: 0.85rem;
    }

    .toast {
        bottom: 20px;
        right: 20px;
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
    }
}
