/* GLOBAL LAYOUT FIX */
*,
*::before,
*::after{
  box-sizing: border-box;
}

html, body{
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}

body {
    text-align: center;
    margin: 0;
    background: #faf5ef;
    font-family: "Noto Sans", sans-serif;
    overflow-x: hidden;
}

/* 🌸 Petal Falling */
.petal {
    position: fixed;
    font-size: 24px;
    opacity: 0.8;
    animation: fall 7s linear infinite;
}
.p1 { left: 10%; animation-delay: 0s; }
.p2 { left: 30%; animation-delay: 2s; }
.p3 { left: 65%; animation-delay: 1s; }
.p4 { left: 80%; animation-delay: 3s; }

@keyframes fall {
    0% { top: -10%; transform: rotate(0deg); }
    100% { top: 120%; transform: rotate(360deg); opacity: 0; }
}

/* 🛕 Temple Header */
.temple-header {
    background: linear-gradient(#f6c36b, #e4762a);
    padding: 40px 20px;
    text-align: center;
    color: #fff;
    position: relative;
}

/* 🔱 Sudarshan Chakra */
.chakra {
    width: 90px;
    height: 90px;
    border: 8px dotted #fff;
    border-radius: 50%;
    margin: 0 auto 10px;
    animation: spin 7s linear infinite;
}
@keyframes spin {
    from { transform: rotate(0); }
    to { transform: rotate(360deg); }
}

/* Title */
.main-title {
    margin: 0;
    font-size: 48px;
    font-family: "Noto Sans Devanagari", serif;
    text-shadow: 0 0 10px rgba(255,255,255,0.7);
}
.sub-title {
    margin: 5px 0 20px;
    font-size: 20px;
    opacity: 0.9;
}

/* Mantra btn */
.mantra-btn {
    background: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s;
}
.mantra-btn:hover {
    background: #ffeaa6;
}

/* ✨ OM section */
.divine-top {
    position: relative;
    padding: 50px 0 10px;
    text-align: center;
}

.halo {
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(255,196,120,0.8), transparent);
    filter: blur(40px);
    position: absolute;
    left: 50%;
    top: -20px;
    transform: translateX(-50%);
}

.om {
    font-size: 100px;
    font-family: "Noto Sans Devanagari", sans-serif; /* এখানে serif এর বদলে sans-serif দিলে বেশি ভালো দেখায় */
    background: linear-gradient(45deg, #e4b74e, #ff9f1c);
    -webkit-background-clip: text;
    background-clip: text; /* এটি যোগ করা ভালো সব ব্রাউজারের জন্য */
    -webkit-text-fill-color: transparent; /* এটি কালার ট্রান্সপারেন্টের কাজ আরও নিখুঁত করে */
    color: transparent;
    display: inline-block; /* অ্যানিমেশন ঠিকমতো কাজ করার জন্য এটি জরুরি */
    animation: omPulse 2.5s infinite alternate;
}

@keyframes omPulse {
    from { 
        opacity: 0.6; 
        transform: scale(0.9); 
    }
    to { 
        opacity: 1; 
        transform: scale(1.1); 
    }
}

.maha-mantra {
    margin-top: 10px;
    font-size: 26px;
    font-weight: bold;
    font-family: "Noto Sans Devanagari", sans-serif;
    background: linear-gradient(45deg, #ffdd99, #ffb75d);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: block; /* মার্জিন টপ ঠিকমতো কাজ করার জন্য */
}

/* 📚 Option Cards */
.options {
    width: 90%;
    margin: auto;
}
.option-card {
    background: #fff;
    padding: 18px;
    border-radius: 16px;
    margin: 12px 0;
    font-size: 20px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    cursor: pointer;
    transition: 0.3s;
}
.option-card:hover {
    transform: scale(1.03);
    background: #fff5e6;
}

/* 🪔 Footer */
.footer {
    margin-top: 40px;
    padding: 30px 0;
    background: #f8e1c1;
    text-align: center;
}

.diyas {
    display: flex;
    justify-content: center;
    gap: 20px;
}
.diya {
    font-size: 32px;
    animation: glow 2s infinite alternate;
}
@keyframes glow {
    from { filter: brightness(0.8); }
    to { filter: brightness(1.4); }
}

.footer-text {
    margin-top: 10px;
    font-size: 18px;
    color: #884400;
}
.music-player {
    text-align: center;
    margin-top: 20px;
}

.music-player button {
    padding: 10px 20px;
    margin: 5px;
    font-size: 18px;
    cursor: pointer;
}
.hare-krishna {
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    margin-top: 40px;
    color: #d4af37; /* golden color */
    font-family: 'Noto Serif', serif;
}
.temple-bg {
    background: radial-gradient(circle at top, #2a1f0f, #000);
    color: #fff;
    font-family: 'Noto Serif', serif;
}

.chapter-header {
    text-align: center;
    padding: 20px;
    color: #ffd76b;
    text-shadow: 0 0 12px gold;
}

.chapter-container {
    width: 92%;
    margin: auto;
    margin-top: 20px;
}

/* 3D Shlok Box */
.shlok-box {
    background: rgba(255, 215, 100, 0.08);
    padding: 20px;
    margin-bottom: 28px;
    border-radius: 14px;
    border: 1px solid #d4af37;
    box-shadow: 0 0 18px rgba(255, 200, 60, 0.25),
                inset 0 0 8px rgba(255, 215, 100, 0.15);
    backdrop-filter: blur(3px);
    animation: fadeIn 0.7s ease;
}

@keyframes fadeIn {
    from {opacity:0; transform:translateY(20px);}
    to {opacity:1; transform:translateY(0);}
}

.shlok-sanskrit {
    font-size: 22px;
    line-height: 1.8;
    text-align: center;
}

.shlok-title {
    text-align: center;
    color: #ffd76b;
    font-size: 20px;
    margin-bottom: 10px;
}

.bekkha-btn {
    display: inline-block;
    margin-top: 12px;
    padding: 8px 20px;
    background: #ffd76b;
    color: #000;
    font-weight: bold;
    border-radius: 8px;
    text-decoration: none;
}
/*
 * Bhagavad Gita - Temple UI Style Sheet
 * Ensures a consistent, premium, and mobile-friendly look
 */

/* 1. Global & Reset */
body {
    margin: 0;
    font-family: 'Georgia', serif; /* Traditional, readable font */
    background: #1a0f00; /* Deep, rich background color */
    color: #ffe9b3; /* Light gold/cream text color */
    text-align: center;
    line-height: 1.6;
}

/* 2. Main Temple Background and Container */
.temple-bg {
    /* Optional: A subtle gradient for depth */
    background: linear-gradient(#2b1a00, #1a0f00);
}

.chapter-container {
    max-width: 800px; /* Optimal reading width */
    margin: 0 auto;
    padding: 20px;
}

/* 3. Header Styling */
.chapter-header {
    background-color: #3d2b00; /* Darker header background */
    padding: 30px 10px 10px;
    border-bottom: 5px solid #d4af37; /* Gold separator */
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.chapter-header h1 {
    font-size: 2.2em;
    font-weight: bold;
    color: #ffcc66; /* Bright gold for main title */
    text-shadow: 0 0 15px #d4af37; /* Glowing effect */
}

.chapter-header h2 {
    font-size: 1.5em;
    color: #ffe9b3;
    margin-top: 5px;
}

/* 4. Shlok Box (The main content block for each shlok) */
.shlok-box {
    background: #2b1a00; /* Slightly lighter box background */
    border: 3px solid #d4af37; /* Thin gold border */
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.4); /* Gold shadow */
    transition: transform 0.3s, box-shadow 0.3s;
}

.shlok-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.6);
}

.shlok-title {
    font-size: 1.1em;
    font-weight: bold;
    color: #ffcc66;
    margin-bottom: 15px;
    border-bottom: 1px dashed #d4af37;
    padding-bottom: 5px;
}

.shlok-sanskrit {
    /* Ensure Sanskrit Devanagari is readable and centered */
    text-align: center;
    font-size: 1.3em;
    line-height: 2.0; /* Increased line-height for readability */
    color: #fff8e1;
    white-space: pre-line; /* Respect <br> tags while keeping flow */
}

/* 5. Vyakhyana (ব্যাখ্যা) Button Style */
.bekkha-btn {
    display: inline-block;
    width: fit-content;
    margin: 15px auto 0 auto;
    padding: 10px 20px;
    background-color: #d4af37; /* Primary Gold color */
    color: #1a0f00; /* Dark text on button */
    text-decoration: none;
    border-radius: 50px; /* Pill shape button */
    font-weight: bold;
    font-size: 1em;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    transition: background-color 0.3s, transform 0.2s, box-shadow 0.3s;
}

.bekkha-btn:hover {
    background-color: #ffcc66; /* Lighter gold on hover */
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.7);
}

/* 6. Mobile Responsiveness */
@media (max-width: 600px) {
    .chapter-header h1 {
        font-size: 1.8em;
    }
    .chapter-header h2 {
        font-size: 1.3em;
    }
    .shlok-sanskrit {
        font-size: 1.1em;
        line-height: 1.8;
    }
    .chapter-container {
        padding: 10px;
    }
}
.option-card {
    width: 95%;
    max-width: 600px;
    margin: 12px auto;
    padding: 18px 20px;
    background: rgba(255, 235, 205, 0.15);
    border: 2px solid rgba(255, 200, 80, 0.85);
    border-radius: 14px;

    text-align: center;
    color: #f5d08a;
    font-size: 22px;
    font-weight: bold;
    font-family: 'Noto Sans Devanagari', serif;

    text-decoration: none;
    display: block;

    box-shadow: 0 0 12px rgba(255, 199, 70, 0.4);
    transition: 0.3s ease-in-out;
}

.option-card:hover {
    background: rgba(255, 210, 90, 0.2);
    transform: scale(1.03);
    box-shadow: 0 0 18px rgba(255, 220, 120, 0.7);
}
.home-link {
    display: block;
    width: 100%;
    text-align: center;
    color: #ffeaae;
    font-size: 24px;
    font-weight: 600;
    margin: 22px 0 6px 0;
    text-decoration: none;
    font-family: 'Noto Serif', serif;
    position: relative;
    padding-bottom: 10px;
    transition: 0.3s ease;
}

/* Golden Premium Line under each item */
.home-link::after {
    content: "";
    display: block;
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ffd66b, transparent);
    margin: 10px auto 0 auto;
    border-radius: 3px;
    transition: width 0.3s ease, opacity 0.3s ease;
    opacity: 0.8;
}

/* Hover effect - line grows */
.home-link:hover::after {
    width: 80%;
    opacity: 1;
}

.home-link:hover {
    color: #ffecb2;
    transform: scale(1.03);
}
