/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #666;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #3498db;
}

.language-toggle .lang-btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 60px 0 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    margin-bottom: 40px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.today-date {
    font-size: 1rem;
    opacity: 0.8;
    font-weight: 500;
}

/* Verse Section */
.verse-section {
    padding: 0 0 40px;
}

.verse-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.verse-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #9b59b6);
}

.verse-content {
    text-align: center;
    margin-bottom: 30px;
}

.verse-text {
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 1.4;
    color: #2c3e50;
    margin-bottom: 20px;
    font-style: italic;
    position: relative;
}

.hindi-verse .verse-text {
    font-family: 'Noto Sans Devanagari', sans-serif;
    font-size: 1.6rem;
}

.verse-reference {
    font-size: 1.2rem;
    color: #7f8c8d;
    font-weight: 500;
    font-style: normal;
}

/* Verse Image */
.verse-image-container {
    text-align: center;
    margin: 30px 0;
}

.verse-image {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    margin-bottom: 20px;
}

.download-btn {
    background: #27ae60;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.download-btn:hover {
    background: #219a52;
    transform: translateY(-2px);
}

/* Reflection Section */
.reflection-section {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
    border-left: 4px solid #3498db;
}

.reflection-section h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.reflection-text {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Share Section */
.share-section {
    text-align: center;
    padding: 40px 0;
}

.share-section h3 {
    margin-bottom: 30px;
    color: #2c3e50;
    font-size: 1.5rem;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.share-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.share-btn.whatsapp {
    background: #25d366;
    color: white;
}

.share-btn.facebook {
    background: #1877f2;
    color: white;
}

.share-btn.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.share-btn.copy {
    background: #6c757d;
    color: white;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Subscribe Section */
.subscribe-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 60px 0;
    color: white;
}

.subscribe-card {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.subscribe-card h3 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.subscribe-card p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.subscribe-form {
    display: flex;
    gap: 15px;
    max-width: 400px;
    margin: 0 auto 20px;
}

.subscribe-form input {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    outline: none;
}

.subscribe-btn {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.subscribe-btn:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

.subscribe-note {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #3498db;
}

.footer-social {
    margin-bottom: 20px;
}

.footer-copyright {
    border-top: 1px solid #34495e;
    padding-top: 20px;
    opacity: 0.8;
}

/* Archives Page Styles */
.archives-section {
    padding: 40px 0;
}

.archives-header {
    text-align: center;
    margin-bottom: 40px;
}

.archives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.archive-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.archive-card:hover {
    transform: translateY(-5px);
}

.archive-date {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.archive-verse {
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 10px;
    font-style: italic;
}

.archive-reference {
    color: #3498db;
    font-weight: 500;
}

/* Topics Page Styles */
.topics-section {
    padding: 40px 0;
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.topic-card {
    background: white;
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.topic-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.topic-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.topic-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.topic-count {
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        height: auto;
        padding: 15px 20px;
        gap: 15px;
    }

    .nav-menu {
        gap: 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .verse-card {
        padding: 25px;
        margin: 0 10px 30px;
    }

    .verse-text {
        font-size: 1.4rem;
    }

    .hindi-verse .verse-text {
        font-size: 1.2rem;
    }

    .share-buttons {
        flex-direction: column;
        align-items: center;
    }

    .share-btn {
        width: 200px;
    }

    .subscribe-form {
        flex-direction: column;
        max-width: 300px;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
    }

    .archives-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .topics-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-section {
        padding: 40px 0 30px;
    }

    .verse-card {
        padding: 20px;
        margin: 0 5px 25px;
    }

    .verse-text {
        font-size: 1.2rem;
    }

    .hindi-verse .verse-text {
        font-size: 1.1rem;
    }

    .subscribe-section {
        padding: 40px 0;
    }

    .subscribe-card h3 {
        font-size: 1.5rem;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading Spinner */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
