/* Glassy UI for Divya Panchang */
.divya-panchang {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-family: 'Noto Sans Devanagari', sans-serif;
    color: #333;
}

.panchang-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.panchang-header h1 {
    font-size: 2rem;
    color: #2c3e50;
    margin: 0;
}

.panchang-content {
    margin-bottom: 2rem;
}

.panchang-section {
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.panchang-section summary {
    font-size: 1.3rem;
    color: #2c3e50;
    cursor: pointer;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    transition: background 0.3s;
}

.panchang-section summary:hover {
    background: rgba(255, 255, 255, 0.3);
}

.section-content {
    padding: 1rem;
    font-size: 1.1rem;
}

.section-content p {
    margin: 0.5rem 0;
}

.section-content strong {
    color: #2c3e50;
}

.panchang-poojas {
    margin-bottom: 2rem;
}

.panchang-poojas h2 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    text-align: center;
}

.panchang-poojas ul {
    list-style: none;
    padding: 0;
    text-align: center;
}

.panchang-poojas li {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.panchang-social-share {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.panchang-social-share h3 {
    width: 100%;
    text-align: center;
    font-size: 1.3rem;
    color: #2c3e50;
}

.share-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: transform 0.3s, background 0.3s;
}

.share-icon:hover {
    transform: scale(1.1);
}

.share-icon.facebook { background: #3b5998; }
.share-icon.instagram { background: #e4405f; }
.share-icon.xcom { background: #000000; }
.share-icon.whatsapp { background: #25d366; }

.panchang-onesignal {
    text-align: center;
    margin-bottom: 2rem;
}

.onesignal-subscribe {
    padding: 0.75rem 1.5rem;
    background: #2c3e50;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.onesignal-subscribe:hover {
    background: #34495e;
}

.panchang-products h2 {
    font-size: 1.5rem;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 1.5rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    max-width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.product-title {
    font-size: 1.1rem;
    color: #2c3e50;
    margin: 0.5rem 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-category {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin: 0.3rem 0;
}

.product-price {
    font-size: 1rem;
    color: #e74c3c;
    margin: 0.3rem 0;
}

.product-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #2c3e50;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.3s;
}

.product-link:hover {
    background: #34495e;
}

/* Responsive Design */
@media (max-width: 768px) {
    .divya-panchang {
        padding: 1rem;
    }

    .panchang-header h1 {
        font-size: 1.5rem;
    }

    .panchang-section summary {
        font-size: 1.2rem;
    }

    .section-content {
        font-size: 1rem;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .product-image {
        height: 120px;
    }
}

@media (max-width: 480px) {
    .panchang-header h1 {
        font-size: 1.2rem;
    }

    .panchang-social-share {
        gap: 0.5rem;
    }

    .share-icon {
        width: 35px;
        height: 35px;
    }

    .onesignal-subscribe {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
}

/* Hindi Font Support */
@font-face {
    font-family: 'Noto Sans Devanagari';
    src: url('https://fonts.googleapis.com/css2?family=Noto+Sans+Devanagari:wght@400;700&display=swap');
}