* { box-sizing: border-box; }
html, body {
    width: 100%;
    overflow-x: hidden; /* ਇਹ ਸਭ ਤੋਂ ਜ਼ਰੂਰੀ ਹੈ */
    margin: 0;
    padding: 0;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 20px;
    max-width: 600px;
    margin: 0 auto 20px auto;
}

.cat-card {
    background: #1e1e1e;
    border: 1px solid #333;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    text-decoration: none;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cat-card:hover {
    border-color: #d4af37;
    background: #252525;
    transform: translateY(-5px);
}

/* ਐਨੀਮੇਸ਼ਨ */
@keyframes goldShimmer {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

/* ਟੈਕਸਟ ਲਈ ਗੋਲਡਨ ਇਫੈਕਟ */
.cat-card span {
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(90deg, #bf953f, #fcf6ba, #b38728, #fcf6ba, #bf953f);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: goldShimmer 3s linear infinite;
}

/* ਆਈਕਨ ਲਈ ਸਿਰਫ ਰੰਗ (ਐਨੀਮੇਸ਼ਨ ਹਟਾਈ ਤਾਂ ਜੋ ਆਈਕਨ ਦਿਖੇ) */
.cat-card i {
    font-size: 28px;
    margin-bottom: 8px;
    color: #d4af37; /* ਆਈਕਨ ਨੂੰ ਸਥਿਰ ਗੋਲਡਨ ਰੰਗ ਦਿੱਤਾ */
    transition: 0.3s;
}

/* ਹੋਵਰ ਕਰਨ 'ਤੇ ਆਈਕਨ ਚਮਕੇਗਾ */
.cat-card:hover i {
    color: #fcf6ba;
    transform: scale(1.1);
}

    .premium-title-container {
        padding: 30px 15px;
        display: flex;
        justify-content: center;
    }

    .title-glow-card {
        background: rgba(26, 26, 26, 0.8);
        border: 1px solid rgba(212, 175, 55, 0.3);
        border-radius: 12px;
        padding: 25px;
        text-align: center;
        max-width: 600px;
        width: 100%;
        /* ਰਾਇਲ ਗਲੋ ਇਫੈਕਟ */
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 0 15px rgba(212, 175, 55, 0.05);
    }

    .gurmukhi-main {
        font-family: 'Raavi', sans-serif;
        font-size: 28px;
        color: #d4af37;
        margin-bottom: 15px;
        font-weight: 500;
        letter-spacing: 0.5px;
    }

    .divider {
        height: 1px;
        width: 60px;
        background: #d4af37;
        margin: 0 auto 15px auto;
    }

    .ang-tag {
        display: inline-block;
        padding: 4px 15px;
        background: #d4af37;
        color: #121212;
        font-size: 14px;
        font-weight: bold;
        border-radius: 50px;
        text-transform: uppercase;
    }


    /* ਨੈਵੀਗੇਸ਼ਨ ਬਟਨਾਂ ਲਈ Hover ਇਫੈਕਟ */
    .nav-text-btn, .scroll-btn {
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    }

    .nav-text-btn:hover {
        color: #ffffff !important; /* ਟੈਕਸਟ ਚਿੱਟਾ ਹੋ ਜਾਵੇਗਾ */
        text-shadow: 0 0 10px rgba(212, 175, 55, 0.8); /* ਗੋਲਡਨ ਸ਼ੈਡੋ */
        transform: translateY(-2px); /* ਬਟਨ ਥੋੜ੍ਹਾ ਉੱਪਰ ਉੱਠੇਗਾ */
    }

    /* ਹੋਮ ਬਟਨ ਲਈ ਵਿਸ਼ੇਸ਼ Hover ਇਫੈਕਟ */
    .home-icon-btn:hover {
        background: #ffffff !important; /* ਹੋਮ ਬਟਨ ਚਿੱਟਾ ਹੋ ਜਾਵੇਗਾ */
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.6) !important;
        transform: scale(1.1) rotate(5deg); /* ਵੱਡਾ ਹੋ ਕੇ ਹਲਕਾ ਘੁੰਮੇਗਾ */
    }

    /* Scroll ਬਟਨਾਂ ਲਈ Hover */
    .scroll-btn:hover {
        background: #d4af37 !important;
        color: #121212 !important;
        box-shadow: 0 0 15px rgba(212, 175, 55, 0.5) !important;
    }
    /* ਫੁੱਟਰ ਨੈਵੀਗੇਸ਼ਨ (ਸਭ ਤੋਂ ਹੇਠਾਂ) */
    .footer-navigation {
    display: inline-flex;        /* ਇਹ ਸਿਰਫ਼ ਅੰਦਰਲੇ ਬਟਨਾਂ ਜਿੰਨੀ ਹੀ ਜਗ੍ਹਾ ਲਵੇਗਾ */
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 15px 30px;
    border: 1px solid #d4af37;    /* ਪੂਰੀ ਬਾਰ ਦੇਖਣ ਲਈ */
    border-radius: 50px;         /* ਸੋਹਣੀ ਲੁੱਕ ਲਈ */
    margin: 20px auto;           /* ਸੈਂਟਰ ਵਿੱਚ ਰੱਖਣ ਲਈ */
    background: #1a1a1a;
}

    /* Up/Down ਬਟਨ (ਸੱਜੇ ਪਾਸੇ) */
    .scroll-navigation {
        position: fixed;
        right: 20px;
        bottom: 90px; /* ਫੁੱਟਰ ਤੋਂ ਉੱਪਰ ਰਹਿਣਗੇ */
        display: flex;
        flex-direction: column;
        gap: 10px;
        z-index: 9998;
    }

    .scroll-btn {
        background: #1a1a1a;
        color: #d4af37;
        border: 1px solid #d4af37;
        width: 40px; height: 40px;
        border-radius: 50%;
        cursor: pointer;
    }

    /* ਫੁੱਟਰ ਦੇ ਬਟਨਾਂ ਦੀ ਸਟਾਈਲ */
    .nav-text-btn { background: none; border: none; color: #d4af37; font-family: 'Cinzel', serif; font-size: 16px; font-weight: bold; cursor: pointer; }
    .home-icon-btn { background: #d4af37; color: #121212; width: 45px; height: 45px; border-radius: 50%; display: flex; align-items: center; justify-content: center; text-decoration: none; }


   .title-pad-container {
        padding: 10px; /* ਪੈਡਿੰਗ ਘਟਾਈ */
        display: flex;
        justify-content: center;
        background: #121212;
    }

    .title-pad {
        display: flex;
        align-items: center;
        background: linear-gradient(145deg, #1e1e1e, #151515);
        border: 1px solid #d4af37; /* ਬਾਰਡਰ ਪਤਲਾ ਕੀਤਾ */
        border-radius: 15px;
        padding: 10px 20px; /* ਪੈਡਿੰਗ ਘਟਾਈ */
        min-width: auto; /* ਫਿਕਸ ਚੌੜਾਈ ਹਟਾਈ */
        max-width: 90%;  /* ਮੋਬਾਈਲ ਲਈ ਸਹੀ ਰਹੇਗਾ */
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    }

    .khanda-box {
        font-size: 30px; /* ਆਈਕਨ ਦਾ ਸਾਈਜ਼ ਘਟਾਇਆ */
        margin-right: 15px; /* ਸਪੇਸ ਘਟਾਈ */
        color: #d4af37;
    }

    .site-info h1 {
        margin: 0;
        font-size: 20px; /* ਸਿਰਲੇਖ ਛੋਟਾ ਕੀਤਾ */
        letter-spacing: 1px;
    }

    /* ਲੋਗੋ ਟੈਗਲਾਈਨ ਨੂੰ ਟਾਰਗੇਟ ਕਰਨ ਲਈ ਸਭ ਤੋਂ ਵਧੀਆ ਤਰੀਕਾ */

.site-info p {
    font-size: 14px;
    color: #d4af37; /* ਗੋਲਡਨ ਰੰਗ */
    margin: 2px 0 0 0;
    /* ਬਹੁਤ ਹੀ ਹਲਕੀ ਚਮਕ - 0px blur ਅਤੇ 2px spread */
    text-shadow: 0 0 2px rgba(212, 175, 55, 0.4);
    letter-spacing: 0.5px;
    opacity: 0.9; /* ਟੈਕਸਟ ਨੂੰ ਥੋੜਾ ਸੌਫਟ ਬਣਾਉਣ ਲਈ */
}

/* ਜੇ ਚਾਹੋ ਤਾਂ ਹੋਵਰ 'ਤੇ ਹਲਕਾ ਜਿਹਾ ਹੋਰ ਗਲੋ */
.site-info:hover p {
    text-shadow: 0 0 12px rgba(212, 175, 55, 0.9);
}

    .header-card-gold {
        background: #1a1a1a; /* ਡਾਰਕ ਬੈਕਗ੍ਰਾਊਂਡ */
        border: 1px solid #d4af37; /* ਗੋਲਡਨ ਬਾਰਡਰ */
        border-radius: 15px;
        padding: 18px;
        text-align: center;
        
        margin: 20px auto;
        /* ਗੋਲਡਨ ਗਲੋ ਇਫੈਕਟ */
        box-shadow: 0 0 15px rgba(212, 175, 55, 0.3), inset 0 0 10px rgba(212, 175, 55, 0.1);
        transition: transform 0.3s ease;
    }

    .header-card-gold:hover {
        transform: scale(1.02); /* ਹਲਕਾ ਜਿਹਾ ਜ਼ੂਮ ਇਫੈਕਟ */
        box-shadow: 0 0 25px rgba(212, 175, 55, 0.5);
    }

    .gurmukhi-header {
        font-family: 'Raavi', 'Gurbaniworld', sans-serif;
        font-size: 24px;
        color: #ffffff;
        margin-bottom: 10px;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
    }

    .translation-header {
        font-family: 'Arial', sans-serif;
        font-size: 24px;
        color: #d4af37; /* ਟ੍ਰਾਂਸਲੇਸ਼ਨ ਵੀ ਗੋਲਡਨ ਵਿੱਚ */
        font-style: italic;
        letter-spacing: 0.5px;
    }
     


    @font-face {
        font-family: 'Gurbaniworld';
        /* GurbaniWorld ਦਾ ਆਪਣਾ ਫੌਂਟ ਲਿੰਕ ਜੋ ਚੱਲ ਰਿਹਾ ਹੈ */
        src: url('https://gurbani.world/fonts/OpenGurbaniAkhar-Bold.ttf') format('truetype');
        font-weight: normal;
        font-style: normal;
    }
    body { 
    font-family: 'Gurbaniworld', sans-serif; 
    background: #121212; 
    color: #fff; 
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    }
    
    .gurmukhi {
        font-family: 'Gurbaniworld' !important;
        font-size: 30px;
        color: #fff;
        line-height: 1.6;
        text-align: center;
        /* ਇਹ ਯਕੀਨੀ ਬਣਾਉਣ ਲਈ ਕਿ ਫੌਂਟ ਸਾਫ ਦਿਖੇ */
        -webkit-font-smoothing: antialiased;
        text-rendering: optimizeLegibility;
    }

    /* ਜੇ ਇਨਪੁਟ ਬਾਕਸ ਵਿੱਚ ਵੀ DDrgj ਦਿਖ ਰਿਹਾ ਹੈ */
    input[name="q"] {
        font-family: 'Gurbaniworld', sans-serif;
    }

        body { background: #121212; color: #fff; font-family: sans-serif; margin: 0; padding-bottom: 0px; }
        .search-box { display: flex; background: #1e1e1e; border: 1px solid #333; border-radius: 50px; padding: 5px 15px; align-items: center; max-width: 600px; margin: 20px auto; transition: 0.3s; }
        .search-box:focus-within { border-color: #d4af37; box-shadow: 0 0 10px rgba(212, 175, 55, 0.2); }
        .search-box select { background: transparent; color: #d4af37; border: none; outline: none; font-weight: 600; cursor: pointer; margin-right: 10px; }
        .search-box input { background: transparent; border: none; color: #fff; flex: 1; outline: none; padding: 10px; font-size: 16px; }
        .search-box button { background: #d4af37; color: #121212; border: none; border-radius: 50%; width: 40px; height: 40px; cursor: pointer; }
        .shabad-card { background: #1e1e1e; padding: 20px; border-radius: 15px; margin: 15px auto;  border: 1px solid #333; transition: 0.3s; }
        .shabad-card:hover { border-color: #d4af37; }
        .gurmukhi { font-family: 'Raavi', sans-serif; font-size: 28px; margin-bottom: 10px; color: #fff; }
        .footer { position: fixed; bottom: 0; width: 100%; background: #1a1a1a; display: flex; justify-content: space-around; padding: 15px 0; border-top: 1px solid #333; }
        .footer a { color: #aaa; text-decoration: none; text-align: center; font-size: 12px; }
        .footer a:hover { color: #d4af37; }
        .shabad-content { margin-top: 20px; }
        .line { margin-bottom: 15px; padding: 15px; background: #403f3e; border-radius: 5px; box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
        .gurmukhi { font-size: 26px; color: #fff; }
        .translation { font-size: 16px; color: #d4af37; font-style: italic; }
        .error { color: red; text-align: center; margin-top: 50px; }
        .home-btn-container {
        display: flex;
        justify-content: center;
        padding: 15px;
    }
    /* ਬਾਣੀ ਕੰਟੇਨਰ */
#bani-content {
    max-width: 650px;
    margin: 20px auto;
    padding: 20px;
}

/* ਹਰੇਕ ਲਾਈਨ ਦੀ ਸਟਾਈਲਿੰਗ */
.line {
    padding: 15px;
    margin-bottom: 10px;
    background: #1e1e1e;
    border-radius: 10px;
    border-left: 4px solid #d4af37; /* ਗੋਲਡਨ ਸਾਈਡ ਬਾਰਡਰ */
    transition: 0.3s;
}

.line:hover { background: #252525; }

/* ਸਿਰਲੇਖ (Sirlekh) ਲਈ ਖਾਸ ਸਟਾਈਲ */
.line.sirlekh {
    background: #2a2a1a;
    border-left: 4px solid #d4af37;
    text-align: center;
    font-weight: bold;
    color: #d4af37;
    margin-top: 25px;
}

/* ਗੁਰਮੁਖੀ ਟੈਕਸਟ */
.gurmukhi {
    font-family: 'Gurbaniworld', sans-serif;
    font-size: 28px;
    color: #ffffff;
    line-height: 1.8;
}

/* ਅਨੁਵਾਦ ਟੈਕਸਟ */
.translation-box {
    font-family: 'Arial', sans-serif;
    font-size: 15px;
    color: #aaa;
    margin-top: 8px;
    font-style: italic;
    border-top: 1px solid #333;
    padding-top: 8px;
}

.bani-list-container {
    max-width: 600px;
    margin: 20px auto;
    padding: 10px;
}

.list-item-card {
    background: #1a1a1a;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 12px;
    border: 1px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.list-item-card:hover {
    border-color: #d4af37;
    background: #222;
    transform: translateX(5px);
}

.gurmukhi-text {
    font-family: 'Gurbaniworld', sans-serif;
    font-size: 20px;
    color: #fff;
}

.english-text {
    font-size: 13px;
    color: #aaa;
    margin-top: 5px;
}

.arrow-icon {
    color: #d4af37;
    font-size: 18px;
}

/* ਸਾਰੇ ਆਈਕਨਾਂ ਲਈ ਕੋਮਨ ਐਨੀਮੇਸ਼ਨ */
.nav-text-btn i, .home-icon-btn i {
    transition: transform 0.3s ease;
}

.nav-text-btn:hover i {
    transform: translateX(5px); /* NEXT ਬਟਨ ਦਾ ਆਈਕਨ ਅੱਗੇ ਨੂੰ ਹਿੱਲੇਗਾ */
}
