/* Hand Creafted with Love for ALLAH by Shah Abdullah Bokhari (SAB) */
/* Loading overlay styles */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 10000;
    transition: opacity 1s ease, transform 1s ease;
    pointer-events: all;
    background: radial-gradient(circle at center, #000000 28%, #312300 50%, #312300e8 66%);
    display: none;
    /* background: radial-gradient(circle at center, #000000 28%, #312300 50%, #312300e8 66%),
    url(../assets/white-lotus.webp) no-repeat center center;
    background-attachment: fixed;
    background-size: cover; */
}

.loading-container {
    position: relative;
    width: 240px;
    height: 240px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    overflow: hidden;
    border: 0.099rem solid rgba(255, 166, 0, 0.369);
    /* background-color: rgba(91, 129, 255, 0.15); */
    /* animation:hueRotate 3.6s linear infinite; */
}

.loading-circle {
    transform: rotate(-90deg);
    transform-origin: center;
    position: absolute;
    z-index: 1;
}

.circle-bg {
    fill: none;
    stroke: rgba(0, 85, 255, 0.36);
    stroke-width: 8;
}

.circle-progress {
    fill: none;
    stroke: #ffffff;
    stroke-width: 5.8;
    stroke-linecap: round;
    stroke-dasharray: 565.48; /* 2 * PI * r (90) */
    stroke-dashoffset: 565.48;
    transition: stroke-dashoffset 0.1s ease;
}

.middle-content{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    z-index: 3;
}

.percentage-container {
    position: absolute;
    right: 19.3%;
    top: 50%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transform: translate(0%, -52%);
    /* background-color: red; */
    z-index: 3;
}

.percentage {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
}

.logo-container {
    z-index: 3;
}

.logo {
    position: absolute;
    top: 49%;
    left: 17%;
    transform: translate(0%, -50%);
    display: block;
    width: 40px;
    height: auto;
    filter: brightness(0.66);
    animation:brightness 6.6s linear infinite;
}
@keyframes brightness {
    0% { filter: brightness(0.36); }
    50% { filter: brightness(0.66); }
    100% { filter: brightness(0.99); }
}
.logo::before {
    position: absolute;
    content: 'By';
    top: 0%;
    left: 70%;
    color: #f07000;
    font-size: .69rem;
    font-weight: bolder;
    text-align: center;
    transform: translate(-50%, -200%);
    border-radius: 50%;
    z-index: 3;
    filter:brightness(0.66);
}

.fade-out {
    opacity: 0;
    transform: scale(1.1);
    pointer-events: none;
}

/* DNA Helix Styles */
.dnahelix-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 57px;
    height: auto;
    z-index: 2;
    transform-style: preserve-3d;
    perspective: 360px;
}

.rotating-svg {
    width: 100%;
    height: 100%;
    transform-origin: center;
    will-change: transform;
    filter: drop-shadow(0 0 5px rgba(0, 123, 255, 0.5));
}

/* Path fill animation */
.dna-path {
    transition: fill 0.3s ease;
    will-change: fill;
}

.unfilled {
    fill: rgba(111, 111, 111, 0.28) !important;
}

/* Content styles */
.content {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.content.visible {
    opacity: 1;
    transform: scale(1);
}

@keyframes fadeIn {
    0% { opacity: 0; transform: scale(0.95); }
    100% { opacity: 1; transform: scale(1); }
}

.arabic-letters {
    position: absolute;
    width: 300px;
    height: 300px;
    mix-blend-mode: difference;
    z-index: 3;
    /* transform: rotateX(-180deg) rotateY(-180deg) rotateZ(98deg); */
}
.arabic-letters text {
    direction: rtl;
    font-size: .66rem;
    font-weight: bolder;
    fill: #ffffff;
    text-anchor: middle;
    dominant-baseline: middle;
    letter-spacing: 0.36rem;
    font-style:normal;
    transform-origin: center center;
    transform: rotate(-177deg);
}
.remember {
    width: 260px;
    height: 260px;
    position: absolute;
    z-index: 3;
    transform: rotateX(180deg) rotateY(180deg) rotateZ(71.36deg);
}
.remember text {
    font-size: .66rem;
    font-weight: bolder;
    fill: #d36200;
    /* opacity: 0.8; */
    text-anchor: middle;
    dominant-baseline: middle;
    letter-spacing: 0.09rem;
    text-transform: uppercase;
    font-style:normal;
    transform-origin: center center;
    transform: rotate(18deg);
    animation:brightness 3.6s linear forwards;
}
/* Circular text animation */
.circular-text {
    position: absolute;
    width: 300px;
    height: 300px;
    animation: rotateText 10s linear infinite;
    mix-blend-mode: difference;
    z-index: 3;
    transform: rotateX(-180deg) rotateY(-180deg) rotateZ(11deg);
}

.circular-text text {
    font-size: .7rem;
    font-weight: bolder;
    fill: #ffffff;
    text-anchor: middle;
    dominant-baseline: middle;
    letter-spacing: .86rem;
    font-style:normal;
}

.circular-text1 {
    position: absolute;
    width: 240px;
    height: 240px;
    z-index: 3;
    animation: rotateSpiritocol 3.36s linear infinite forwards;
    mix-blend-mode: difference;
    transform: rotateX(0deg) rotateY(0deg) rotateZ(1.4deg);
}
.circular-text1 text {
    font-size: .8rem;
    font-weight: bolder;
    fill: #f07000;
    text-transform: uppercase;
    text-anchor: middle;
    dominant-baseline: middle;
    letter-spacing: 0.28rem;
    font-style:normal;
}

.circular-text-loading1,
.circular-text-loading2,
.circular-text-loading3 {
    position: absolute;
    width: 150px;
    height: 150px;
    z-index: 3;
    transform-style: preserve-3d;
    perspective: 360px;
    transform-origin: center center;
    will-change: transform;
}
.circular-text-loading1 text,
.circular-text-loading2 text,
.circular-text-loading3 text {
    font-size: .8rem;
    font-weight: bolder;
    fill: #00f000;
    text-transform: uppercase;
    text-anchor: middle;
    dominant-baseline: middle;
    letter-spacing: 0.66rem;
    font-style:normal;
    transform-style: preserve-3d;
    perspective: 360px;
    transform-origin: center center;
    /* animation: tick1 1.66s linear infinite, hueRotate .66s linear infinite; */
    mix-blend-mode: color-burn;
}

.circular-text-loading1 text {
    animation: tick2 1.66s linear infinite, hueRotate .66s linear infinite;
}
.circular-text-loading2 text {
    animation: tick2 1.66s linear infinite, hueRotate .66s linear infinite;
}
.circular-text-loading3 text {
    animation: tick3 1.66s linear infinite, hueRotate .66s linear infinite;
}

@keyframes tick1 {
    0% { transform: rotateX(77deg) rotateY(0deg) rotateZ(0deg) translateZ(110px); }
    100% { transform: rotateX(77deg) rotateY(0deg) rotateZ(-360deg) translateZ(110px); }
}
@keyframes tick2 {
    0% { transform: rotateX(77deg) rotateY(0deg) rotateZ(0deg) translateZ(-110px); }
    100% { transform: rotateX(77deg) rotateY(0deg) rotateZ(360deg) translateZ(-110px); }
}
@keyframes tick3 {
    0% { transform: rotateX(77deg) rotateY(0deg) rotateZ(0deg) translateZ(-120px); }
    100% { transform: rotateX(77deg) rotateY(0deg) rotateZ(-360deg) translateZ(-120px); }
}

.circular-text2, .circular-text5 {
    position: absolute;
    width: 405px;
    height: 405px;
    animation: hueRotate 0.66s linear infinite;
    z-index: 3;
}

.circular-text2 text {
    font-size: .5rem;
    font-weight: bolder;
    fill: #f07000;
    text-anchor: middle;
    dominant-baseline: middle;
    letter-spacing: .1rem;
    /* text-decoration:underline; */
    transition: all 0.66s ease;
    transform-origin: center center;
}
@keyframes rotateText2 {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(-360deg); }
}
@keyframes hueRotate {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

.circular-text3 {
    position: absolute;
    width: 350px;
    height: 350px;
    animation: rotateText 10s linear infinite;
    mix-blend-mode: normal;
    z-index: 3;
    /* transform: rotateX(-180deg) rotateY(-180deg) rotateZ(11deg); */
}

.circular-text3 text {
    font-size: .5rem;
    font-weight: bolder;
    text-transform: uppercase;
    fill: #ffffff;
    text-anchor: middle;
    dominant-baseline: middle;
    letter-spacing: 0.036rem;
    transform-origin: center center;
}

.circular-text4 {
    position: absolute;
    width: 358px;
    height: 358px;
    z-index: 3;
    transform: rotateX(180deg) rotateY(180deg) rotateZ(71.36deg);
}

.circular-text4 text {
    font-size: .5rem;
    font-weight: bolder;
    text-transform: uppercase;
    fill: #ffc814;
    text-anchor: middle;
    dominant-baseline: middle;
    letter-spacing: 0.066rem;
    transform-origin: center center;
}
.circular-text5 {
    position: absolute;
    width: 410px;
    height: 410px;
    z-index: 3;
    transform: rotateX(0deg) rotateY(0deg) rotateZ(-70deg);
}

.circular-text5 text {
    font-size: .5rem;
    font-weight: bolder;
    text-transform: uppercase;
    fill: #00f000;
    text-anchor: middle;
    dominant-baseline: middle;
    letter-spacing: .05rem;
    transform-origin: center center;
    filter: brightness(0.66);
}
/* END Loading Animation Styles */


:root {
    --primary-color: #3ebc8c;
    --secondary-color: #a78c03;
    --background-color: #f7f7f7;
    --card-background-color: #ffffff;
    --ui-background-color: #ffffff;
    --ui-border-radius: .66rem;
    --ui-hover-color: #f7f7f7;
    --ui-hover-shadow-color: #0000001a;
    --ui-hover-transform: translateY(-2px);
    --ui-hover-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --ui-hover-background: linear-gradient(-150deg, #b0f8ff, #ffff6a);
    --text-color: #06040a;
    --font-family: 'Lato', sans-serif;
    --line-height: 1.5;
    --font-weight: 400;
    --color-scheme: light;
    --font-synthesis: none;
    --text-rendering: optimizeLegibility;
    --webkit-font-smoothing: antialiased;
    --moz-osx-font-smoothing: grayscale;
    --ui-border: 1px solid rgba(181, 154, 0, 0.3);
    --ui-shadow: 0 4px 6px rgba(209, 181, 0, 0.3);
    --ui-filter: drop-shadow(0 0 1px rgba(181, 154, 0, 0.6));
    --ui-background: linear-gradient(to bottom, #ffffff, transparent);
    --accent-gold: hsl(51, 100%, 36%);
    --accent-green: hsl(157, 50%, 50%);
    --accent-blue: hsl(566, 50%, 50%);
}

/* Dark Mode Theme */
[data-theme="dark"] {
    --primary-color: #3ebc8c;
    --secondary-color: #a78c03;
    --background-color: #e1e1e1;
    --card-background-color: #ffffff;
    --ui-background-color: #ffffff;
    --ui-border-radius: .66rem;
    --ui-hover-color: #f7f7f7;
    --ui-hover-shadow-color: #0000001a;
    --ui-hover-transform: translateY(-2px);
    --ui-hover-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --ui-hover-background: linear-gradient(-150deg, #b0f8ff, #ffff6a);
    --text-color: #06040a;
    --font-family: 'Lato', sans-serif;
    --line-height: 1.5;
    --font-weight: 400;
    --color-scheme: light;
    --font-synthesis: none;
    --text-rendering: optimizeLegibility;
    --webkit-font-smoothing: antialiased;
    --moz-osx-font-smoothing: grayscale;
    --ui-border: 1px solid rgba(181, 154, 0, 0.3);
    --ui-shadow: 0 4px 6px rgba(209, 181, 0, 0.3);
    --ui-filter: drop-shadow(0 0 1px rgba(181, 154, 0, 0.6));
    --ui-background: linear-gradient(to bottom, #ffffff, transparent);
    --accent-gold: hsl(51, 100%, 36%);
    --accent-green: hsl(157, 50%, 50%);
    --accent-blue: hsl(566, 50%, 50%);
}

/* color-scheme: dark light; */

*, *::before, *::after {box-sizing: border-box; margin: 0; padding: 0;}
html {
    box-sizing: inherit;
    overflow-y: auto;
    /* scrollbar-width: thin; */
    width: 100vw;
    height: 100vh;
    overflow-x: hidden;
}
/* Rest of the CSS Styles *//* Import Google Font - Poppins */
*, *::before, *::after {box-sizing: border-box; margin: 0; padding: 0;}
body{
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    /* background: #16161a; */
    background: radial-gradient(circle at center, #ffffffe8 28%, #ffffff 50%, #ffffff 66%),
    url(../assets/white-lotus.webp) no-repeat center center;
    background-attachment: fixed;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* width: 100dvw; */
    padding: 0 .66rem;
    transition: background 0.3s ease;
}

/* Dark Mode Body Background */
[data-theme="dark"] body {
    background: radial-gradient(circle at center, #fffdf9e4 28%, #ffffff 50%, #ffffff 66%),
    url(../assets/white-lotus.webp) no-repeat center center;
    background-attachment: fixed;
    background-size: cover;
}
::selection{
  color: #fff;
  background: #45e381;
}

/* Add these styles for better scrollbar handling */
::-webkit-scrollbar {width: 3px;}
::-webkit-scrollbar-track {background: white;}
::-webkit-scrollbar-thumb {background-color: rgba(255, 213, 0, 0.3); border-radius: 4px;}
::-webkit-scrollbar-thumb:hover {background-color: rgba(167, 140, 3, 0.5);}

/* Custom Scrollbar for old browsers support */
/* .options {
    --scrollbar-color-thumb: #3ebc8c;
    --scrollbar-color-track: #fcfcfc;
    --scrollbar-width: thin;
    --scrollbar-width-legacy: 3px;
} */

/* Modern browsers with `scrollbar-*` support */
/* @supports (scrollbar-width: auto) {
    .options {
        scrollbar-color: var(--scrollbar-color-thumb) var(--scrollbar-color-track);
        scrollbar-width: var(--scrollbar-width);
    }
} */

/* Legacy browsers with `::-webkit-scrollbar-*` support */
/* @supports selector(::-webkit-scrollbar) {
    .options::-webkit-scrollbar-thumb {
        background: var(--scrollbar-color-thumb);
    }
    .options::-webkit-scrollbar-track {
        background: var(--scrollbar-color-track);
    }
    .options::-webkit-scrollbar {
        max-width: var(--scrollbar-width-legacy);
        max-height: var(--scrollbar-width-legacy);
    }
}

.options:hover::-webkit-scrollbar-thumb {
    background: var(--scrollbar-color-thumb);
}
.options:hover::-webkit-scrollbar-track {
    background: var(--scrollbar-color-track);
}

.options:hover {
    --fix: ;
} */

#holyNamesDropdown, .search-container {
    display: none;
    position: relative;
}

input, button {
    max-width: 400px;
    padding: 1.2rem;
    font-size: 1rem;
    color: rgb(128, 0, 0);
    border: 1px solid #ddd;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: .66rem
}
input:focus, button:focus {
    outline: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
input {
    background-color: var(--ui-background-color);
    color: #3ebc8c;
    border: 1px solid #ddd;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
input::placeholder {
    color: #dbdbdb;
    font-weight: 300;
}
h1 {
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: capitalize;
    font-family: "Roboto Slab", serif;
    color: #000000;
    text-align: center;
    width: 100%;
}
h3, p {
    display: flex;
    justify-content: space-between;
    font-size: 1rem;
    font-weight: 600;
    text-transform: capitalize;
    font-family: "Roboto Slab", serif;
    color: #2071a7;
    line-height: 166%;
    border-bottom: .09rem solid;
    border-image-source: linear-gradient(-90deg, #a78c0367, transparent 88%);
    border-image-slice: 1;
}
p {font-size: .8rem; }
p:last-child {margin-bottom: 1.2rem;}
span {
    font-family: "Roboto Slab", sans-serif;
    font-size: .8rem;
    font-weight: 800;
    text-transform: capitalize;
    color: #3ebc8c;
}
.theVerseReference {
    position: relative;
    font-size: .6rem;
    font-weight: 600;
    color: var(--accent-gold);
    text-align: center;
    font-family: "SF Pro Rounded", sans-serif;
    margin-top: 1.3rem;
}
.theVerseReference::before {
    content: url(../assets/quran.svg);
    position: absolute;
    top:-30px;
    left: 50%;
    transform: translateX(-50%);
    display: block;
    width: 30px;
    height: 30px;
}
.theVerseArabic {
    font-size: 1.1rem;
    font-weight: bold;
    color: #000000;
    text-transform: uppercase;
    text-align: center;
    box-shadow: none;
    text-shadow: none;
    color: transparent;
}

.theVerseHeader {
    width: 100%;
    max-width: 369px;
    margin: 0 auto;
    color: var(--accent-gold);
    font-size: .66rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    margin-bottom: .3rem;
    padding-bottom: .1rem;
    border-bottom: 1px solid;
    border-image: linear-gradient(to right, transparent, var(--accent-gold), transparent) 1;
}
.theVerseHeader::before {
    content: url(../assets/theverse5578.svg);
    display: block;
    position: absolute;
    top: 22%;
    left: 50%;
    width: 70%;
    height: auto;
    transform: translateX(-50%);
}
@media (max-width: 360px) {
    .theVerseHeader::before {
        top: 19%;
        width: 84%;
        height: auto;
    }
}

@media (max-width: 375px) {
    .theVerseHeader::before {
        top: 20%;
        width: 84%;
        height: auto;
    }
}

.theVerseEnglish, .theVerseBengali {
    font-size: .7rem;
    font-weight: 500;
    color: var(--accent-gold);
    /* color: rgba(30, 0, 119, 0.5); */
    text-align: center;
    font-family: "SF Pro Rounded", sans-serif;
}
/* Rest of the CSS Styles */
.alphabet-title {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    max-width: 369px;
    margin: 0 auto;
    font-family: "Montserrat", sans-serif;
    /* font-family: "Roboto Slab", serif; */
    font-size: .7rem;
    text-transform: uppercase;
    font-weight: 660;
    text-align: center;
    color: var(--accent-green);
    letter-spacing: .02em;
    /* line-height: 1; */
    border-bottom: none;
    padding: .8rem;
    /* border: var(--ui-border); */
    /* box-shadow: var(--ui-shadow); */
    border-radius: .66rem;
    background-color: transparent;
    margin-bottom: .66rem;
    /* -webkit-backdrop-filter: blur(36px) saturate(666%) hue-rotate(720deg); */
    /* backdrop-filter: blur(36px) saturate(666%) hue-rotate(720deg); */
    border: 1px solid var(--ui-border);
    box-shadow: 0 4px 6px rgba(209, 181, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.9);
    filter: drop-shadow(0 0 1px rgba(181, 154, 0, 0.6));
    background: linear-gradient(to bottom, #ffffff, transparent);
    -webkit-backdrop-filter: blur(12px) saturate(999%) hue-rotate(120deg);
    backdrop-filter: blur(12px) saturate(999%) hue-rotate(120deg);
}
.alphabet-title p {
    font-family: "Montserrat", sans-serif;
    font-size: .66rem;
    text-transform: none;
    font-weight: 660;
    text-align: center;
    color: rgba(3, 58, 47, 0.5);
    /* color: var(--accent-green); */
    border-bottom: none;
    padding: 0.44rem 0.8rem;
    margin-top: 4px;
    margin-bottom: 0;
    background: hsl(157, 50%, 99%);
    border: 0.066px solid rgba(62, 188, 140, 0.2);
    border-radius: 8px;
    -webkit-backdrop-filter: blur(28px) saturate(660%) hue-rotate(0deg);
    backdrop-filter: blur(28px) saturate(660%) hue-rotate(0deg);
}
/* h1 {
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: capitalize;
    color: #000000;
    text-align: center;
    width: 100%;
    padding: 1rem;
} */

.theVerse {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 369px;
    margin: auto;
    margin-bottom: .66rem;
    text-align: center;
    font-size: .7rem;
    border: var(--ui-border);
    box-shadow: var(--ui-shadow);
    border-radius: .66rem;
    padding: 1rem;
    background: transparent;
    position: relative;
    overflow: hidden;
    /* -webkit-backdrop-filter: blur(36px) saturate(666%) hue-rotate(720deg); */
    /* backdrop-filter: blur(36px) saturate(666%) hue-rotate(720deg); */
    border: 1px solid var(--ui-border);
    box-shadow: 0 4px 6px rgba(209, 181, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.9);
    filter: drop-shadow(0 0 1px rgba(181, 154, 0, 0.6));
    background: linear-gradient(to bottom, #ffffff, transparent);
    -webkit-backdrop-filter: blur(12px) saturate(999%) hue-rotate(120deg);
    backdrop-filter: blur(12px) saturate(999%) hue-rotate(120deg);
}

/* Add new alphabet cards section here */
.alphabet-cards {
    direction: rtl;
    width: 100%;
    max-width: 369px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    justify-content: center;
    margin-bottom: .01rem;
    padding: 1rem;
    /* border: var(--ui-border); */
    border-radius: .66rem;
    /* box-shadow: var(--ui-shadow); */
    background: transparent;
    /* filter: drop-shadow(0 0 1px rgba(181, 154, 0, 0.6)); */
    /* background: linear-gradient(to bottom, #ffffff, transparent 100%); */
    /* -webkit-backdrop-filter: blur(36px) saturate(666%) hue-rotate(720deg); */
    /* backdrop-filter: blur(36px) saturate(666%) hue-rotate(720deg); */
    border: 1px solid var(--ui-border);
    box-shadow: 0 4px 6px rgba(209, 181, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.9);
    filter: drop-shadow(0 0 1px rgba(181, 154, 0, 0.6));
    background: linear-gradient(to bottom, #ffffff, transparent);
    -webkit-backdrop-filter: blur(12px) saturate(999%) hue-rotate(120deg);
    backdrop-filter: blur(12px) saturate(999%) hue-rotate(120deg);
}
/* .card {
    position: relative;
} */

/* Add a 4px circular indicator to muqattaat cards */


/* Make sure the card has relative positioning */
/* .card {
    position: relative;
} */

@media (max-width: 360px) {
    .alphabet-title{
        line-height: 1.2;
    }
    .alphabet-cards {
        padding: .66rem;
    }
    .card{
        font-size: 0.7rem;
        padding: .5rem;
    }
}
@media (max-width: 375px) {
    .alphabet-cards {
        padding: .66rem;
    }
    .card{
        font-size: 0.7rem;
        padding: .5rem;
    }
}

.card::before {
    position: absolute;
    top: 0px;
    left: 3px;
    content: counter(cards-counter, decimal-leading-zero);
    font-family: "TT Lakes Neue", Helvetica, Sans-serif;
    font-size: 0.5em;
    letter-spacing: .021em;
    color: #c3c3c3;
}
.card {
    position: relative;
    counter-increment: cards-counter;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(auto, 1fr));
    background: linear-gradient(-28deg, rgba(181, 154, 0, 0.19), rgb(255, 255, 255) 66%);
    border-radius: .36rem;
    filter: drop-shadow(0 0 2px rgba(168, 168, 168, 0.36));
    font-size: 0.9rem;
    color: #000000;
    width: 2.6rem;
    height: 2.6rem;
    padding: 0.3rem;
    text-align: center;
    align-items: center;
    justify-items: center;
    transition: all 0.2s ease;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 0px 3px rgba(181, 154, 0, 0.44) inset,
                0 -6px 10px rgba(182, 182, 182, 0.44) inset;
}
.card::after{
    content: "";
    width: 80%;
    height: 0.099rem;
    border-radius: .6rem;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 0);
    background: linear-gradient(90deg, transparent, #ffffff, transparent);
}

.card span {
    font-size: 0.55rem;
    color: rgba(62, 188, 140, 0.8);
}
/* .card[data-letter] {
    line-height: 1.3rem;
} */

/* Transliteration styling - positioned at top right corner */
.card .transliteration {
    position: absolute;
    top: 2px;
    right: 3px;
    font-family: "TT Lakes Neue", Helvetica, Sans-serif;
    font-size: 0.39rem;
    color: rgba(152, 142, 0, 0.600);
    text-transform: uppercase;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.01rem;
    z-index: 1;
    text-shadow: 0px 1px 0px white;
}

.card[data-muqattaat="yes"] .transliteration {
    color:hsla(27, 80%, 41%, 0.66);
}

.card:hover {
    box-shadow: 0 0px 3px rgba(181, 154, 0, 0.44) inset,
                0 -6px 10px rgba(182, 182, 182, 0.44) inset;
    transform: scale(1.036);
    background: linear-gradient(-150deg, #b0f8ff, #ffff6a);
}

.card.highlighted {
    background: linear-gradient(-150deg, #b0f8ff, #ffff6a);
    transform: scale(1.036);
    box-shadow: 0 0px 3px rgba(181, 154, 0, 0.44) inset,
                0 -6px 10px rgba(182, 182, 182, 0.44) inset;
}

.card[data-muqattaat="yes"] {
    box-shadow: 0 0px 3px rgba(181, 154, 0, 0.44) inset,
                0 -6px 10px rgba(181, 154, 0, 0.44) inset;
}

/* Override for muqattaat cards */
/* .card[data-muqattaat="yes"].highlighted {
    background: linear-gradient(-150deg, #ffff6a, #b0f8ff);
    transform: scale(1.05);
    box-shadow: 0 0px 12px rgba(181, 154, 0, 0.66) inset;
} */
.badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: transparent;
    color: #3ebc8c;
    border: 1px solid #0068ae49;
    border-radius: 50%;
    width: 1.2rem;
    height: 1.2rem;
    font-size: 0.56rem;
    font-weight: 600;
    display: none;
    align-items: center;
    justify-content: center;
    -webkit-backdrop-filter: blur(36px);
    backdrop-filter: blur(36px);
}

.output {
    width: 100%;
    max-width: 369px;
    padding: 1.5rem;
    margin-bottom: .66rem;
    /* border: 1px solid rgba(181, 154, 0, 0.6); */
    text-align: left;
    line-height: 1;
    box-shadow: 0 3px 9px rgba(181, 154, 0, 0.46), inset 0 3px 3px rgb(255, 255, 255);
    border-top-left-radius: 3.2rem;
    border-top-right-radius: 3.2rem;
    border-bottom-left-radius: .66rem;
    border-bottom-right-radius: .66rem;
    background: linear-gradient(-145deg, #fcfcfc 28%, transparent),
    url(../assets/white-marble-vector-1.svg) no-repeat right bottom;
    background-size: cover;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
    display: none;
    transform: translateY(20px);
    /* border-top: 10px solid linear-gradient(to right, transparent, #aa8800, transparent) 3; */
    border-bottom: 10px solid;
    border-image: linear-gradient(to right, transparent, rgba(181, 154, 0, 0.6), transparent) 1;
}
/* .output:hover {
    box-shadow: 0 0px 18px rgba(181, 154, 0, 0.50);
    background-color: #fffff4;
    transform: scale(1);
} */
.output::after {
    display: block;
    width: 66%;
    height: auto;
    content: url(../assets/separator-bottom.svg);
    margin: 0 auto;
    margin-bottom: 0;
    margin-top: 1.5rem;
    margin-bottom: -1.5rem;
    clear: both;
    opacity: 0;
    transform: translateY(10px) scale(0.9);
    animation: separatorFadeIn 0.6s cubic-bezier(0.9, 0, 0.33, 1) 2s forwards;
}

@keyframes separatorFadeIn {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
.result-title{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    font-weight: 600;
    text-transform: capitalize;
    color: #000000;
    padding-bottom: .1rem;
    padding-top: 2.7rem;
    margin-bottom: 10px;
    border-bottom: 1px solid;
    border-image: linear-gradient(to right, transparent, var(--accent-gold), transparent) 1;
}
.result-title::before{
    content: url(../assets/top-seperator.svg);
    display: block;
    position: absolute;
    top: 0%;
    left: 50%;
    width: 108%;
    transform: translate(-50%, -21%);
    clear: both;
}

/* Prayer section styling */
.prayer-section {
    width: 100%;
    max-width: 369px;
    margin-bottom: 9rem;
    padding: 1.3rem;
    /* box-shadow: 0 -4px 6px rgba(209, 181, 0, 0.1), inset 0 0 11px 11px #FFFFFF; */
    filter: drop-shadow(0 0 1px rgba(181, 154, 0, 0.6));
    -webkit-backdrop-filter: blur(12px) saturate(999%) hue-rotate(360deg);
    backdrop-filter: blur(12px) saturate(999%) hue-rotate(360deg);
    border-bottom: 10px solid rgba(181, 154, 0, 0.3);
    border-image: linear-gradient(to right, transparent, #aa8800, transparent) 1;
    border-radius: .66rem;
    background: radial-gradient(circle at bottom, #000000 28%, #453100 50%, transparent 96%),
    url(../assets/white-marble-vector-1.svg) no-repeat 77% 100%;
    background-size: cover;
    box-shadow: 0 0 10px rgba(181, 154, 0, 0.4);
    transition: height 0.5s cubic-bezier(.9, 0, .33, 1),
                min-height 0.5s cubic-bezier(.9, 0, .33, 1),
                all 0.3s ease;
    opacity: 0;
    display: none;
    /* transform: translateY(20px); */
    position: relative;
    background-color: #1a1a1a;
    color: #ffffff;
    overflow: visible;
}

.prayer-section .prayer-text {
    font-size: .8rem;
    font-family: "Montserrat", sans-serif;
    line-height: 1.5;
    color: #ffca6e;
    text-align: center;
    font-weight: 500;
    margin-bottom: 1rem;
    border-bottom: none;
    display: block;
    text-transform: none;
}

.prayer-section .prayer-arabic {
    font-size: 1.5rem;
    color: #ffffff;
    text-align: center;
    direction: rtl;
    margin-bottom: 1rem;
    font-family: "Traditional Arabic", serif;
    border-bottom: none;
    display: block;
    text-transform: capitalize;
}

/* Bengali prayer wrapper for scrollable container */
.prayer-section .prayer-bengali-wrapper {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(-10px);
    transition: max-height 0.5s cubic-bezier(.9, 0, .33, 1),
                opacity 0.4s cubic-bezier(.9, 0, .33, 1), 
                transform 0.4s cubic-bezier(.9, 0, .33, 1),
                margin-bottom 0.4s cubic-bezier(.9, 0, .33, 1);
    margin-bottom: 0;
    /* Ensure wrapper expansion triggers parent height change */
    display: block;
}

.prayer-section .prayer-bengali-wrapper.show {
    max-height: 400px; /* Maximum height before scrolling kicks in */
    opacity: 1;
    transform: translateY(0);
    margin-bottom: 1rem;
    overflow-y: auto; /* Enable vertical scrolling */
    overflow-x: hidden;
    /* Custom scrollbar styling */
    scrollbar-width: thin;
    scrollbar-color: rgba(181, 154, 0, 0.5) transparent;
}

/* Custom scrollbar for webkit browsers */
.prayer-section .prayer-bengali-wrapper.show::-webkit-scrollbar {
    width: 8px;
}

.prayer-section .prayer-bengali-wrapper.show::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.prayer-section .prayer-bengali-wrapper.show::-webkit-scrollbar-thumb {
    background: rgba(181, 154, 0, 0.6);
    border-radius: 10px;
}

.prayer-section .prayer-bengali-wrapper.show::-webkit-scrollbar-thumb:hover {
    background: rgba(181, 154, 0, 0.8);
}

.prayer-section .prayer-bengali {
    font-size: 0.85rem;
    line-height: 1.5;
    color: #dbdbdb;
    text-align: center;
    font-family: "Noto Sans Bengali", sans-serif;
    font-weight: 500;
    margin: 0;
    padding: 0.5rem 0;
    border-bottom: none;
    display: block;
    word-wrap: break-word;
    white-space: normal;
    overflow: visible;
}

/* Toggle button styling */
.prayer-toggle-btn {
    display: none;
    /* display: flex; */
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 1rem auto;
    padding: 0;
    border: 1px solid rgba(181, 154, 0, 0.5);
    border-radius: 50%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), transparent);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(.9, 0, .33, 1);
    box-shadow: 0 2px 6px rgba(181, 154, 0, 0.3), inset 0 1px 2px rgba(255, 255, 255, 0.2);
}

.prayer-toggle-btn:hover {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.2), transparent);
    border-color: rgba(181, 154, 0, 0.8);
    box-shadow: 0 4px 10px rgba(181, 154, 0, 0.5), inset 0 1px 2px rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.prayer-toggle-btn:active {
    transform: scale(0.95);
}

.prayer-toggle-btn .toggle-icon {
    width: 20px;
    height: 20px;
    filter: drop-shadow(0 0 2px rgba(181, 154, 0, 0.8));
    transition: transform 0.3s cubic-bezier(.9, 0, .33, 1);
}

.prayer-toggle-btn.active .toggle-icon {
    transform: rotate(180deg);
}

/* .prayer-section:hover {
    box-shadow: 0 3px 9px rgba(181, 154, 0, 0.46), inset 0 3px 3px rgb(255, 255, 255);
    transform: scale(1);
} */

.prayer-section::before {
    content: '';
    display: block;
    width: 140px;
    height: 120px;
    margin: 0 auto;
    clear: both;
    background: url(../assets/prayerhands.webp) center/contain no-repeat,
    radial-gradient(circle at bottom, #000000 28%, #453100 50%, transparent 90%);
    background-color: transparent;
    border-radius: 21px;
    padding: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 
    inset 0 1px 6px rgba(255, 255, 255, 0.6), 
    inset 0 -1px 9px rgba(255, 255, 255, 0.6);
}
.prayer-section::after {
    display: grid;
    width: 200px;
    content: url(../assets/separator-bottom-02.svg);
    margin: auto;
    margin-bottom: -1rem;
    margin-top: 1.5rem;
    clear: both;
}

#prayerNameTitleArabic {font-size: 1.5rem;}
#prayerNameTitleArabic,
#prayerNameTitle,
#prayerNameTitleBengali {
    line-height: 1.3;
    text-align: center;
    justify-content: center;
    color: #ffca6e;
    border-bottom: none;
    margin-top: 0;
    margin-bottom: .3rem;
    filter: drop-shadow(0 0 .036rem #000000);
}
#prayerNameTitleBengali {margin-bottom: 1rem;}
.prayer {
    font-family: "Roboto Slab", Helvetica, Sans-serif;
    font-size: .8rem;
    color: White;
    text-align: center;
    letter-spacing: .05em;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    border-bottom-left-radius: 100%;
    border-bottom-right-radius: 100%;
    text-transform: uppercase;
    width: 111px;
    padding: .36rem;
    padding-bottom: 1rem;
    margin: auto;
    filter: drop-shadow(0 0 1px rgba(181, 154, 0, 0.6));
    background: linear-gradient(to bottom, #453100, transparent);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.wrapper{
    width: 100%;
    max-width: 369px;
    margin: 0 auto;
    position: relative;
    margin-top: .66rem;
}

/* Names selector button Text Shining Effect */
.names-selector-btn {
    background: transparent;
    -webkit-backdrop-filter: blur(28px);
    backdrop-filter: blur(28px);
    position: relative;
    overflow: hidden;
    animation: load 3s linear infinite;
}

/* @keyframes load {
    0%{filter: hue-rotate(0deg);}
    50%{filter: hue-rotate(100deg);}
    100%{filter: hue-rotate(660deg);}
} */

.loading-animation {
    animation: gradientBorder 1500ms ease infinite;
    background: transparent;
    -webkit-backdrop-filter: blur(28px);
    backdrop-filter: blur(28px);
    position: relative;
    overflow: hidden;
}
/* Add gradient border animation */
@keyframes gradientBorder {
    0% {
        color: hsla(269, 100%, 50%, 0.36);
        background: hsla(269, 100%, 50%, 0.36);
        border-color: hsla(269, 100%, 50%, 0.66);
        box-shadow: 0 10px 10px hsla(269, 100%, 50%, 0.36);
    }
    25% {
        color: hsla(190, 100%, 50%, 0.36);
        background: hsla(190, 100%, 50%, 0.36);
        border-color: hsla(190, 100%, 50%, 0.66);
        box-shadow: 0 10px 10px hsla(190, 100%, 50%, 0.36);
    }
    50% {
        color: hsla(152, 100%, 50%, 0.36);
        background: hsla(152, 100%, 50%, 0.36);
        border-color: hsla(152, 100%, 50%, 0.66);
        box-shadow: 0 10px 10px hsla(152, 100%, 50%, 0.36);
    }
    75% {
        color: hsla(51, 100%, 50%, 0.36);
        background: hsla(51, 100%, 50%, 0.36);
        border-color: hsla(51, 100%, 50%, 0.66);
        box-shadow: 0 10px 10px hsla(51, 100%, 50%, 0.36);
    }
    85% {
        color: hsla(323, 100%, 50%, 0.36);
        background: hsla(323, 100%, 50%, 0.36);
        border-color: hsla(323, 100%, 50%, 0.66);
        box-shadow: 0 10px 10px hsla(323, 100%, 50%, 0.36);
    }
    100% {
        color: hsla(71, 100%, 50%, 0.36);
        background: hsla(71, 100%, 50%, 0.36);
        border-color: hsla(71, 100%, 50%, 0.66);
        box-shadow: 0 10px 10px hsla(71, 100%, 50%, 0.36);
    }
}

/* background-image: linear-gradient(135deg, #7b00ff, #00d4ff, #00ff88, #ffd700, #ff6ec7, #00d4ff);
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent; */
      /* 100% {
        color: hsla(0, 0%, 100%, 0.36);
        background: hsla(0, 0%, 100%, 0.36);
        border-color: hsl(0, 0%, 100%);
        box-shadow: 0 10px 10px hsla(0, 0%, 100%, 0.36);
    } */

/* Add button container styles */
.button-container {
    display: none;
    width: 100%;
    max-width: 369px;
    margin: .66rem auto;
    align-items: center;
    justify-content: space-between;
    border: 1px solid rgba(181, 154, 0, 0.2);
    box-shadow: 0 4px 6px rgba(209, 181, 0, 0.3), inset 0 2px 2px #FFFFFF;
    filter: drop-shadow(0 0 1px rgba(181, 154, 0, 0.6));
    position: relative;
    overflow: hidden;
    padding: 0.5rem 0.1rem;
    border-radius: 36rem;
    transition: slideUp 0.66s cubic-bezier(.9, 0, .33, 1);
    animation: slideUp 0.66s cubic-bezier(.9, 0, .33, 1) forwards;
    transform-style: preserve-3d;
    transform: perspective(360px);
    background: linear-gradient(to bottom, #ffffff, transparent);
    -webkit-backdrop-filter: blur(12px) saturate(999%) hue-rotate(120deg);
    backdrop-filter: blur(12px) saturate(999%) hue-rotate(120deg);
}

@keyframes slideUp {
    0% {transform: translateY(36%); opacity: 0;}
    100% {transform: translateY(0); opacity: 1;}
}

 .button-container button {
    font-family: "Roboto Slab", serif;
    font-size: .7rem;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: .1rem;
    line-height: 1;
    color: #b59a00ba;
    cursor: pointer;
    margin: auto .39rem;
    border: 1px solid var(--ui-border);
    box-shadow: 0 2px 3px rgba(209, 181, 0, 0.6), inset 0 2px 2px #FFFFFF;
    filter: drop-shadow(0 0 1px rgba(181, 154, 0, 0.6));
    background: linear-gradient(to bottom, #ffffff, transparent);
    transition: transform 0.36s cubic-bezier(.9, 0, .33, 1); 
    position: relative;
    overflow: hidden;
    transform: scale(1);
    transform-origin: center center;
    padding: 0;
    border-radius: 100%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
 }
 .button-container button img {
    width: 28px;
    height: 28px;
    margin: auto;
    padding: 0;
 }

.names-selector-btn {
    width: 100%;
    padding: .66rem 1.2rem;
    background: transparent;
    border: var(--ui-border);
    border-radius: .66rem;
    justify-content: space-between;
    box-shadow: 0 4px 6px rgba(209, 181, 0, 0.3), inset 0 2px 2px #FFFFFF;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    -webkit-backdrop-filter: blur(66px) saturate(999%) hue-rotate(360deg);
    backdrop-filter: blur(66px) saturate(999%) hue-rotate(360deg);
}
.names-selector-btn span {
    font-size: 1.1rem;
    font-weight: 660;
}

.names-selector-btn:hover {
    border-color: rgba(181, 154, 0, 0.4);
    box-shadow: 0 4px 6px rgba(209, 181, 0, 0.3), inset 0 3px 2px #FFFFFF;
}

.names-selector-btn i {
    font-size: 2rem;
    font-weight: bolder;
    transition: transform 0.36s cubic-bezier(.9, 0, .33, 1);
    color: #3ebc8c;
    mix-blend-mode: multiply;
}

.wrapper.active .names-selector-btn i {
    transform: rotate(-180deg);
}

.content{
    display: none;
    opacity: 0;
    visibility: hidden;
    padding: 1rem;
    background: hsla(0, 0%, 100%, 0.66);
    border: var(--ui-border);
    border-radius: .66rem;
    box-shadow: var(--ui-shadow);
    transition: all 0.3s ease;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    -webkit-backdrop-filter: blur(36px) saturate(28%) hue-rotate(0deg);
    backdrop-filter: blur(36px) saturate(28%) hue-rotate(0deg);
}
.wrapper.active .content{
    display: block;
    opacity: 1;
    visibility: visible;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.content .search{
    position: relative;
    margin-bottom: 1rem;
}
.search i{
    position: absolute;
    top: 50%;
    left: 15px;
    color: rgba(181, 154, 0, 0.3);
    font-size: 1.5rem;
    pointer-events: none;
    transform: translateY(-50%);
}
/* .search i img{
    width: 20px;
    height: 20px;
    margin: 0 auto;
    padding: 0;
    filter: drop-shadow(0 2px 3px rgba(181, 154, 0, 0.6));
    fill: #3ebc8c;
    stroke: #3ebc8c;
    stroke-width: 1px;
    stroke-opacity: 1.5;
} */
.search input{
    height: 3.6rem;
    width: 100%;
    outline: none;
    font-size: 1rem;
    border-radius: .66rem;
    padding: 0 20px 0 43px;
    border: var(--ui-border);
    transition: all 0.3s ease;
}
.search input:focus{
    /* border-color: #3ebc8c; */
    border-color: rgba(209, 181, 0, 0.66);
    box-shadow: var(--ui-shadow);
}
.search input::placeholder{
    color: #bfbfbf;
}
.content .options{
    max-height: 240px;
    padding-right: 6px;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
}
.options::-webkit-scrollbar{
    width: thin;
    -webkit-overflow-scrolling: touch;
}
.options::-webkit-scrollbar-track{
    background: #f1f1f1;
    border-radius: 28px;
}
.options::-webkit-scrollbar-thumb{
    height: 28px;
    background: rgba(209, 181, 0, 0.66);
    border-radius: 28px;
}
.options::-webkit-scrollbar-thumb:hover{
    background: #b3b3b3;
}
.options li{
    height: auto;
    font-size: .9rem;
    padding: 1rem;
    margin-bottom: .3rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: .66rem;
    display: flex;
    align-items: center;
}
.options li:hover,
.options li.selected{
    background: rgba(62, 188, 140, 0.1);
    color: #3ebc8c;
    animation: load 2s ease infinite;
}

.discovery {
    display: flex;
    justify-content: center;
    color: #b59a00ba;
    font-size: .8rem;
    font-weight: bold;
    text-transform: capitalize;
    letter-spacing: .033rem;
    margin: 1rem auto .3rem auto;
    padding-bottom: .3rem;
    border-bottom: 1px solid;
    border-image: linear-gradient(to right, transparent, #e19ae2, transparent) 1;
    text-shadow: 0 0 0.011rem rgba(0, 0, 0, 0.5);
}
.experimentation {
    display: flex;
    justify-content: center;
    color: #e19ae2;
    font-size: .66rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: .08rem;
    margin: .3rem auto;
    padding-bottom: .3rem;
    border-bottom: 1px solid;
    text-shadow: 0 0 0.011rem rgba(0, 0, 0, 0.5);
    border-image: linear-gradient(to right, transparent, #e19ae2, transparent) 1;
    margin-bottom: .7rem;
}

/* Analysis section - hidden by default */
.analysis-header,
.analysis-result {
    overflow: hidden;
    /* GSAP will handle all animations */
}
.container{
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.container-content{
    width: 100%;
    margin: 0 auto;
}
/*  border: 1px solid rgba(181, 154, 0, 0.3);
box-shadow: 0 2px 3px rgba(209, 181, 0, 0.3);
filter: drop-shadow(0 0 1px rgba(181, 154, 0, 0.6));  */
.header-container{
    width: 100%;
    max-width: 400px;
    height: auto;
    z-index: 100;
    padding: .5rem 0 0 0;
    background: transparent;
    -webkit-backdrop-filter: blur(28px) saturate(360%) hue-rotate(360deg);
    backdrop-filter: blur(28px) saturate(360%) hue-rotate(360deg);
}
header{
    position: sticky;
    top: 0;
    width: 100%;
    max-width: 369px;
    margin: 0 auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: capitalize;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 1rem;
    /* box-shadow: var(--ui-shadow); */
    border-bottom: 0.03px solid rgba(181, 154, 0, 0.36);
    border-bottom-left-radius: .66rem;
    border-bottom-right-radius: .66rem;
    /* background: rgba(255, 255, 255, 0.8); */
    /* -webkit-backdrop-filter: blur(28px) saturate(300%) hue-rotate(0deg); */
    /* backdrop-filter: blur(28px) saturate(300%) hue-rotate(0deg); */
    border: 1px solid var(--ui-border);
    box-shadow: var(--ui-shadow), inset 0 -1px 1px #FFFFFF;
    filter: drop-shadow(0 0 1px rgba(181, 154, 0, 0.6));
    background: linear-gradient(to bottom, #ffffff, transparent);
    -webkit-backdrop-filter: blur(12px) saturate(360%) hue-rotate(360deg);
    backdrop-filter: blur(12px) saturate(360%) hue-rotate(360deg);
    z-index: 1000;
    transition: background 0.3s cubic-bezier(.9, 0, .33, 1), 
    box-shadow 0.3s cubic-bezier(.9, 0, .33, 1), 
    height 0.3s cubic-bezier(.9, 0, .33, 1), 
                opacity 0.1s cubic-bezier(.9, 0, .33, 1), 
                transform 0.36s cubic-bezier(.9, 0, .33, 1);
    /* Initial state - hidden and above viewport during loading */
    opacity: 0;
    transform: translateY(-100%);
    pointer-events: none;
    overflow: hidden;
}

/* Hide header when loading overlay is visible - slide up and fade out */
body.loading header {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-100%);
}

/* Header ready state - will slide down smoothly when loading completes */
header.header-ready {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Header when scrolled - adjust spacing for horizontal logo */
/* header.scrolled {
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
} */
footer{
    position: fixed;
    bottom: 0;
    width: 100%;
    margin-top: 6rem;
    padding: 1rem 0rem 0;
    /* background-color: rgb(255, 255, 255); */
    border-top-left-radius: .66rem;
    border-top-right-radius: .66rem;
    /* box-shadow: (0 -6px 3px 3px rgba(0, 0, 0, 1)); */
    /* box-shadow: 0 -4px 6px rgba(209, 181, 0, 0.3); */
    margin-left: 0;
    margin-right: .5rem;
    transform: translateY(0);
    transition: transform 369ms cubic-bezier(0.9, 0, 0.33, 1);
    background: transparent;
    /* -webkit-backdrop-filter: blur(36px) saturate(360%) hue-rotate(0deg); */
    /* backdrop-filter: blur(36px) saturate(360%) hue-rotate(0deg); */
    border: 1px solid var(--ui-border);
    box-shadow: 0 -4px 6px rgba(209, 181, 0, 0.1), inset 0 1px 1px #FFFFFF;
    filter: drop-shadow(0 0 1px rgba(181, 154, 0, 0.6));
    background: linear-gradient(to bottom, #ffffff, transparent);
    -webkit-backdrop-filter: blur(12px) saturate(360%) hue-rotate(360deg);
    backdrop-filter: blur(12px) saturate(360%) hue-rotate(360deg);
    z-index: 1000;
}

footer.hidden {
    transform: translateY(100%);
}

footer p{
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    font-size: .7rem;
    font-weight: 600;
    text-transform: capitalize;
    color: #0d0d0d;
    text-align: center;
    border-bottom: none;    
}

img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0 auto;
    padding: 0;
}
/* Header Image as Body Background Image */
/* .header-image{
    width: 1600px;
    height: 1600px;
    display: none;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    padding: 0;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    mix-blend-mode: overlay;
} */

/*@media (min-width: 768px) {*/
/*    @keyframes flowerRotation {*/
/*        0%{transform: translate(-50%, -50%) rotate(0deg) scale(1);}*/
/*        100%{transform: translate(-50%, -50%) rotate(-360deg) scale(1.5);}*/
/*    }*/
/*}*/

/* .uil-search img{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    opacity: .12;
} */

.header-container h1{
    width: 100%;
    max-width: 400px;
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .2rem;
    color: #000000;
    text-align: center;
    padding:0;
    padding-bottom:0;
    margin:0 auto;
    transition: margin 0.3s ease;
}

/* Adjust h1 margin when scrolled (logo is horizontal, less vertical space needed) */
header.scrolled .header-container h1 {
    margin-top: 0;
    margin-bottom: 0;
}

h2{
    width: 100%;
    font-family: "Montserrat", sans-serif;
    font-size: .5rem;
    font-weight: 800;
    letter-spacing: .066rem;
    text-transform: uppercase;
    color: #ffffff;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
    transition: margin 0.3s ease, padding 0.3s ease;
}

/* Adjust h2 spacing when scrolled (logo is horizontal, less vertical space needed) */
header.scrolled h2 {
    margin-top: 0;
    margin-bottom: 0;
    padding: 0.1rem 0;
}
footer .devinfo{
    font-size: .6rem;
    font-weight: 600;
    text-transform: capitalize;
    color: #282828;
    text-align: center;
    padding: 0;
    margin-bottom: 0;
}
footer .designer-logo{
    width: 1.28rem;
    margin-right: .2rem;
    margin-bottom: 1px;
}

footer .designerinfo a{
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1857c4;
    font-family: "Montserrat", sans-serif;
    font-size: .566rem;
    font-weight: 800;
    letter-spacing: .011rem;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    line-height: 1;
    transition: color 0.3s ease;
}
footer .designerinfo a:hover{
    color: #003ea9;
    text-decoration: underline;
}
footer .gratitude{
    position: relative;
    font-size: .55rem;
    font-weight: bolder;
    text-transform: capitalize;
    color: var(--accent-gold);
    text-align: center;
    margin-bottom: .66rem;
    padding-bottom: 0;
    letter-spacing: .036rem;
}

footer .gratitude::before{
    width: 1rem;
    height: auto;
    content: "🤲🏻";
    margin-right: .1rem;
}
footer .gratitude::after{
    width: 1rem;
    height: auto;
    content: "🤲🏻";
    margin-left: .1rem;
}
.copyright{
    font-size: .6rem;
    font-weight: 660;
    text-transform: capitalize;
    color: #000000;
    text-align: center;
    margin-bottom: 0;
    padding-bottom: 0;
    line-height: 1;
}
.header-logo{
    display: inline-block;
    width: 36px;
    height: auto;
    margin-top: .66rem;
    margin-bottom: .33rem;
    padding-top: 0;
    padding-bottom: 0;
    transform: rotate(-90deg);
    z-index: 120;
    transition: transform 0.33s cubic-bezier(.9, 0, .33, 1), margin 0.33s ease;
}

/* Logo when header is scrolled - horizontal position */
header.scrolled .header-logo {
    transform: rotate(0deg);
    margin-top: 0rem;
    margin-bottom: -0.1rem;
    padding-top: 0;
    padding-bottom: 0;
}

/* Adjust header container padding when scrolled (logo is horizontal, less vertical space needed) */
/* header.scrolled .header-container {
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
} */
.version-controll{
    width: auto;
    max-width: 100%;
    font-family: "Roboto Slab", serif;
    text-align: center;
    text-transform: uppercase;
    font-size: .44rem;
    font-weight: 800;
    color: rgba(181, 154, 0, 0.9);
    letter-spacing: .066rem;
    margin: 0 auto;
    background-color: transparent;
    margin-top: -10px;
    margin-bottom: 7px;
    padding: 0.06rem .5rem 0.1rem .5rem;
    border-radius: 0.5rem;
    border: 1px solid var(--ui-border);
    box-shadow: var(--ui-shadow), inset 0 1px 1px rgb(255, 255, 255);
    filter: drop-shadow(0 0 1px rgba(181, 154, 0, 0.6));
    background: linear-gradient(to bottom, #ffffff, transparent);
    -webkit-backdrop-filter: blur(12px) saturate(999%) hue-rotate(120deg);
    backdrop-filter: blur(12px) saturate(999%) hue-rotate(120deg);
    /* Initial state - hidden and above during loading */
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.6s cubic-bezier(.9, 0, .33, 1) 0.2s, 
                transform 0.6s cubic-bezier(.9, 0, .33, 1) 0.2s;
    pointer-events: none;
}

/* Animate version-controll when header is ready */
header.header-ready ~ .version-controll {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

@media (max-width: 360px), (max-width: 400px) {
    .audio-player {
        width: 100%;
        height: auto;
        padding: 0;
        margin: auto;
    }
    /* .audio-player button {
        width: 25%;
        height: 44px;
    } */
    .discovery {
        text-align: center;
        line-height: 1.2;
    }
}

/* .prayer-section::after{
    content: " ";
    display: block;
    background: url(../assets/green-dome.webp) center/cover no-repeat;
    position: fixed;
    width: 90vw;
    height: 100px;
    top: -30px;
    left: 50%;
    transform: translate(-50%, 0);
    z-index: -1;
} */

.audio-player {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(181, 154, 0, 0.2);
    box-shadow: 0 4px 6px rgba(209, 181, 0, 0.3), inset 0 2px 2px #FFFFFF;
    position: relative;
    overflow: hidden;
    margin: 1rem auto 1.5rem auto;
    padding: 0.5rem 0.1rem;
    border-radius: 36rem;
    filter: drop-shadow(0 0 1px rgba(181, 154, 0, 0.6));
    background: linear-gradient(to bottom, #ffffff, transparent);
    -webkit-backdrop-filter: blur(12px) saturate(999%) hue-rotate(120deg);
    backdrop-filter: blur(12px) saturate(999%) hue-rotate(120deg);
}

.audio-button, .loop-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 47px;
    height: 47px;
    cursor: pointer;
    gap: 1rem;
    margin: 0 auto;
    border-radius: 36rem;
    border: 1px solid rgba(181, 154, 0, 0.3);
    box-shadow: 0 2px 3px rgba(209, 181, 0, 0.3), inset 0 2px 2px #FFFFFF;
    filter: drop-shadow(0 0 1px rgba(181, 154, 0, 0.6));
    background: linear-gradient(to bottom, #ffffff, transparent);
    transition: scale 369ms cubic-bezier(.9, 0, .33, 1); 
    position: relative;
    overflow: hidden;
    transform: scale(1);
    transform-origin: center center;
}

.audio-button::after, .button-container button::after{
    content: "";
    width: 100%;
    height: 0.099rem;
    border-radius: .6rem;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 0);
    background: linear-gradient(90deg, transparent, #ffffff, transparent);
}

.audio-button:hover, .button-container button:hover {
    transform: scale(1.05);
    transform-origin: center center;
    transition: scale 369ms cubic-bezier(.9, 0, .33, 1);
    background: linear-gradient(180deg, #fffff4,  #ffc80041);
    box-shadow: 0 4px 5px rgba(209, 181, 0, 0.3);
}
.audio-button:active, .audio-button:active img {
    transform-origin: center center;
    transition: scale 369ms cubic-bezier(.9, 0, .33, 1);
}
.audio-button:focus {box-shadow: 0 2px 3px rgba(209, 181, 0, 0.3);}

/* .audio-button img {
    width: 1.2rem;
    height: auto;
} */
.upDownToggle-icon {
    width: 47px;
    height: 47px;
    color: #b59a00ba;
    padding: .8rem;
    margin: 0;
}
.prayerHands-icon {
    width: 47px;
    height: 47px;
    color: #b59a00ba;
    padding: .6rem;
    margin: 0;
}
.play-icon {
    width: 1.2rem;
    height: auto;
    color: #b59a00ba;
    margin-left: 3px;
}
.pause-icon {
    width: 1.2rem;
    height: auto;
    color: #b59a00ba;
    margin-left: 1px;
}
/* .speaker-fill-icon {
    width: 1rem;
    height: auto;
    color: #b59a00ba;
    margin-left: 1px;
} */

/* .play-state, .pause-state, .loop-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin: 0 auto;
} */

/* .play-text, .pause-text, 
.loop-text, .loop-count-badge {
    color: #b59a00ba;
    font-weight: bold;
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .036rem;
    line-height: 1;
    margin: auto;
    -webkit-mask-image: linear-gradient(-55deg, rgba(255,255,255,1) 30%, rgba(255, 255, 255, 0.3) 50%, rgba(255,255,255,1) 70%);
    mask-image: linear-gradient(-55deg, rgba(255,255,255,1) 30%, rgba(255, 255, 255, 0.3) 50%, rgba(255,255,255,1) 70%);
    -webkit-mask-size: 300%;
    mask-size: 300%;
    animation: shimmeringText 2.1s infinite;
} */
/* @keyframes shimmeringText {
    0%{
        -webkit-mask-position: 100%;
        mask-position: 100%;
    }
    100%{
        -webkit-mask-position: -50%;
        mask-position: -50%;
    }
} */


/* .loop-button img {
    width: 1rem;
    height: auto;
    color: #2d8b67;
}

.loop-text {
    color: #b59a00ba;
    font-weight: bold;
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .036rem;
    line-height: 1;
    margin: 0 auto;
}

.loop-count-badge {
    background: transparent;
    color: #b59a00ba;
    font-size: 0.7rem;
    font-weight: bolder;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 22%;
    left: 50%;
    transform: translate(-50%, -50%);
} */

 .nav-button-inline {
    font-weight: bolder;
    color: #b59a00ba;
    text-transform: uppercase;
    letter-spacing: .036rem;
    margin: auto;
    border-radius: 50%;
 }
#next-name-btn, #prev-name-btn {
    width: 47px;
    height: 47px;
    margin: auto;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(181, 154, 0, 0.3);
    filter: drop-shadow(0 0 1px rgba(181, 154, 0, 0.6));
    transition: scale 369ms cubic-bezier(.9, 0, .33, 1); 
    transform-origin: center center;
}
#next-name-btn img, #prev-name-btn img {
    color: #b59a00ba;
    width: 30px;
    height: 12px;
}

/* .audio-player {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(181, 154, 0, 0.3);
    box-shadow: 0 4px 6px rgba(209, 181, 0, 0.3);
    position: relative;
    overflow: hidden;
    margin: 1rem auto 1.5rem auto;
    padding: 0.06rem 0.06rem;
    border-radius: 36rem;
    filter: drop-shadow(0 0 1px rgba(181, 154, 0, 0.6));
    background: linear-gradient(to bottom, #ffffff, transparent);
    -webkit-backdrop-filter: blur(12px) saturate(999%) hue-rotate(120deg);
    backdrop-filter: blur(12px) saturate(999%) hue-rotate(120deg);
} */

/* ============================================
   DARK MODE STYLES
   ============================================ */
