<div style="background: linear-gradient(135deg, #4e54c8 0%, #8f94fb 100%); color: #fff; border-radius: 16px; padding: 22px; font-family: 'Segoe UI', Arial, sans-serif; box-shadow: 0 10px 25px rgba(0,0,0,0.25); margin: 15px 0; overflow: hidden;">


  <h2 style="text-align: center; margin: 0 0 15px 0; font-size: 26px; font-weight: 700;">

    🌟 आज का दैनिक राशिफल 🌟

  </h2>


  <p style="text-align: center; margin-bottom: 18px; font-size: 15px; opacity: 0.95;">

    <strong>तारीख:</strong> <span id="today-date" style="font-weight: bold;"></span>

  </p>


  <!-- Rashi Selection Buttons -->

  <div style="display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-bottom: 20px;">

    <button onclick="showRashi(0)" class="rashi-btn active">मेष</button>

    <button onclick="showRashi(1)" class="rashi-btn">वृषभ</button>

    <button onclick="showRashi(2)" class="rashi-btn">मिथुन</button>

    <button onclick="showRashi(3)" class="rashi-btn">कर्क</button>

    <button onclick="showRashi(4)" class="rashi-btn">सिंह</button>

    <button onclick="showRashi(5)" class="rashi-btn">कन्या</button>

    <button onclick="showRashi(6)" class="rashi-btn">तुला</button>

    <button onclick="showRashi(7)" class="rashi-btn">वृश्चिक</button>

    <button onclick="showRashi(8)" class="rashi-btn">धनु</button>

    <button onclick="showRashi(9)" class="rashi-btn">मकर</button>

    <button onclick="showRashi(10)" class="rashi-btn">कुंभ</button>

    <button onclick="showRashi(11)" class="rashi-btn">मीन</button>

  </div>


  <!-- Horoscope Display -->

  <div id="rashi-content" style="background: rgba(255,255,255,0.18); border-radius: 12px; padding: 20px; min-height: 190px; text-align: left; line-height: 1.7; font-size: 15.5px;">

    <h3 id="rashi-name" style="margin: 0 0 12px 0; font-size: 22px; color: #fff;">मेष राशि</h3>

    <p id="rashi-text" style="margin: 0; opacity: 0.97;">

      आज का दिन आपके लिए ऊर्जा और उत्साह से भरा रहेगा। नए कार्यों की शुरुआत के लिए अच्छा समय है।

    </p>

  </div>


  <div style="text-align: center; margin-top: 18px; font-size: 13px; opacity: 0.85;">

    ★ केवल मनोरंजन एवं सामान्य मार्गदर्शन के लिए ★<br />

    रोजाना अपडेट होता है

  </div>

</div>


<style>

  .rashi-btn {

    background: rgba(255,255,255,0.25);

    border: none;

    color: white;

    padding: 9px 14px;

    border-radius: 25px;

    font-size: 14px;

    cursor: pointer;

    transition: all 0.3s ease;

    min-width: 48px;

  }

  

  .rashi-btn:hover {

    background: rgba(255,255,255,0.4);

    transform: scale(1.05);

  }

  

  .rashi-btn.active {

    background: #fff;

    color: #4e54c8;

    font-weight: 600;

    box-shadow: 0 4px 10px rgba(0,0,0,0.2);

  }


  @media (max-width: 480px) {

    .rashi-btn {

      padding: 7px 10px;

      font-size: 13px;

    }

  }

</style>


<script>

// Today's Date in Hindi

function setTodayDate() {

  const options = { weekday: 'long', year: 'numeric', month: 'long', day: 'numeric' };

  const today = new Date().toLocaleDateString('hi-IN', options);

  document.getElementById('today-date').innerHTML = today;

}

setTodayDate();


// Sample Daily Rashifal Data (Hindi) - Update these texts daily if needed

const rashifalData = [

  { name: "मेष राशि", text: "आज का दिन आपके लिए ऊर्जा और उत्साह से भरा रहेगा। नए कार्यों की शुरुआत के लिए अच्छा समय है। आर्थिक लाभ की संभावना है। स्वास्थ्य अच्छा रहेगा।" },

  { name: "वृषभ राशि", text: "आज स्थिरता और धैर्य का दिन रहेगा। पुराने निवेश से अच्छा रिटर्न मिल सकता है। परिवार के साथ समय बिताना फायदेमंद रहेगा।" },

  { name: "मिथुन राशि", text: "मानसिक रूप से सक्रिय दिन। छोटी यात्राएं हो सकती हैं। छात्रों के लिए परीक्षा या अध्ययन में सफलता मिलेगी।" },

  { name: "कर्क राशि", text: "घरेलू सुख और माता-पिता का आशीर्वाद मिलेगा। भावनात्मक रूप से मजबूत रहें। स्वास्थ्य का विशेष ध्यान रखें।" },

  { name: "सिंह राशि", text: "आत्मविश्वास और नेतृत्व क्षमता चरम पर रहेगी। अधिकारी या सीनियर्स से अच्छा सहयोग मिलेगा।" },

  { name: "कन्या राशि", text: "कार्यक्षेत्र में मेहनत का फल मिलेगा। छोटी-छोटी चुनौतियों को आसानी से पार करेंगे।" },

  { name: "तुला राशि", text: "प्रेम और रोमांस का सुंदर दिन। पार्टनर के साथ अच्छा समय व्यतीत होगा। आर्थिक लेन-देन सतर्कता से करें।" },

  { name: "वृश्चिक राशि", text: "रहस्य और गहरी सोच का दिन। गुप्त शत्रुओं से सावधान रहें। आध्यात्मिक कार्यों में रुचि बढ़ेगी।" },

  { name: "धनु राशि", text: "लंबी दूरी की यात्रा या शिक्षा संबंधी काम में सफलता। नया ज्ञान प्राप्त करने का अच्छा अवसर।" },

  { name: "मकर राशि", text: "मेहनत और अनुशासन का फल मिलेगा। पदोन्नति या नई जिम्मेदारी के योग बन रहे हैं।" },

  { name: "कुंभ राशि", text: "सामाजिक गतिविधियां बढ़ेंगी। दोस्तों और नेटवर्क से लाभ होगा। नया प्रोजेक्ट शुरू करने का शुभ समय।" },

  { name: "मीन राशि", text: "भावुकता बढ़ सकती है। आर्थिक लाभ के साथ खर्च भी नियंत्रित रखें। स्वास्थ्य पर ध्यान दें।" }

];


function showRashi(index) {

  document.getElementById('rashi-name').textContent = rashifalData[index].name;

  document.getElementById('rashi-text').textContent = rashifalData[index].text;


  // Active button highlight

  const buttons = document.querySelectorAll('.rashi-btn');

  buttons.forEach((btn, i) => {

    btn.classList.toggle('active', i === index);

  });

}


// Show first rashi on load

window.onload = () => showRashi(0);

</script>

0 $type={blogger}:

Post a Comment