:root {
    --primary-gold: #d4af37;
    --primary-gold-light: #f4e4bc;
    --primary-gold-dark: #a68829;
    --bg-dark: #0a0a0f;
    --bg-dark-secondary: #12121a;
    --bg-dark-tertiary: #1a1a25;
    --text-light: #f5f5f5;
    --text-muted: #a0a0a0;
    --accent-blue: #1a3a5c;
    --accent-teal: #0d7377;
    --gradient-gold: linear-gradient(135deg, #d4af37 0%, #f4e4bc 50%, #d4af37 100%);
    --shadow-gold: 0 0 30px rgba(212, 175, 55, 0.3);
    --font-arabic: 'Scheherazade New', 'Amiri', serif;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--primary-gold);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(0);
    transition: transform 0.4s ease;
}

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

.navbar-content {
    text-align: center;
    max-width: 1400px;
    width: 100%;
    padding: 0 20px;
}

.navbar-text {
    font-size: 1.5rem;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    letter-spacing: 1px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-arabic);
    background: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.8;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 90px;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.navbar-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    flex: 1;
    text-align: center;
}

.brand-text {
    font-size: 1.5rem;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    letter-spacing: 1px;
}

.language-selector {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(26, 26, 37, 0.95);
    border: 1.5px solid var(--primary-gold);
    border-radius: 50px;
    color: var(--primary-gold);
    cursor: pointer;
    font-family: var(--font-arabic);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.lang-btn:hover {
    background: var(--primary-gold);
    color: var(--bg-dark);
    box-shadow: var(--shadow-gold);
}

.arrow {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.lang-btn.active .arrow {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 10px;
    background: rgba(26, 26, 37, 0.98);
    border: 1px solid var(--primary-gold);
    border-radius: 15px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    max-height: 400px;
    overflow-y: auto;
    min-width: 180px;
}

.lang-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    padding: 12px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.lang-option:last-child {
    border-bottom: none;
}

.lang-option:hover {
    background: var(--primary-gold);
    color: var(--bg-dark);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--accent-blue) 100%);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, var(--bg-dark) 70%);
    z-index: 1;
}

.stars {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    width: 3px;
    height: 3px;
    opacity: 0.8;
    animation: twinkle var(--duration) ease-in-out infinite;
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.8));
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    25% { opacity: 0.6; }
    50% { opacity: 1; transform: scale(1.3); }
    75% { opacity: 0.6; }
}

.geometric-pattern {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d4af37' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    opacity: 0.5;
    z-index: 0;
}

.hero-content {
    text-align: center;
    z-index: 2;
    padding: 40px 60px;
    background: rgba(10, 10, 15, 0.15);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.bismillah {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: var(--primary-gold);
    margin-bottom: 30px;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
    animation: fadeInDown 1s ease;
}

.main-title {
    font-size: clamp(3rem, 10vw, 7rem);
    font-weight: 700;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 30px;
    text-shadow: none;
    animation: fadeInUp 1s ease 0.3s both;
    letter-spacing: 2px;
}

.subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 50px;
    animation: fadeInUp 1s ease 0.6s both;
}

.scroll-indicator {
    animation: fadeInUp 1s ease 0.9s both;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--primary-gold);
    border-radius: 20px;
    margin: 0 auto;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 10px;
    background: var(--primary-gold);
    border-radius: 3px;
    animation: scroll 2s ease-in-out infinite;
}

@keyframes scroll {
    0%, 100% { top: 10px; opacity: 1; }
    50% { top: 25px; opacity: 0.5; }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

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

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    text-align: center;
    margin-bottom: 15px;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.3rem;
    margin-bottom: 60px;
}

.subsection-title {
    font-size: 2rem;
    text-align: center;
    color: var(--primary-gold);
    margin: 80px 0 40px;
}

.verses-section {
    padding: 100px 0;
    background: var(--bg-dark-secondary);
    position: relative;
}

.verses-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
}

.verses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.verses-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.verse-card {
    background: linear-gradient(135deg, var(--bg-dark-tertiary) 0%, var(--bg-dark-secondary) 100%);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.verse-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.5s ease;
}

.verse-card:hover::before {
    left: 100%;
}

.verse-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--primary-gold);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.2);
}

.verse-number {
    display: inline-block;
    width: 35px;
    height: 35px;
    background: rgba(212, 175, 55, 0.2);
    color: var(--primary-gold);
    border-radius: 50%;
    line-height: 35px;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.verse-arabic {
    font-size: 1.5rem;
    color: var(--primary-gold);
    margin-bottom: 10px;
    font-weight: 700;
}

.verse-translation {
    font-size: 1.2rem;
    color: var(--text-muted);
    text-align: center;
    line-height: 2;
    padding: 20px;
    background: rgba(212, 175, 55, 0.05);
    border-radius: 10px;
    border-right: 3px solid var(--primary-gold);
}

.special-verse {
    background: linear-gradient(135deg, rgba(13, 115, 119, 0.1) 0%, var(--bg-dark) 100%);
}

.verse-badge {
    display: inline-block;
    background: var(--primary-gold);
    color: var(--bg-dark);
    padding: 8px 25px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 25px;
}

.verse-reference {
    text-align: center;
    color: var(--primary-gold);
    margin-top: 20px;
    font-size: 1rem;
}

.names-section {
    padding: 100px 0;
    background: var(--bg-dark);
    position: relative;
}

.names-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
}

.names-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.name-card {
    background: linear-gradient(135deg, var(--bg-dark-tertiary) 0%, var(--bg-dark-secondary) 100%);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.name-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.5s ease;
}

.name-card:hover::before {
    left: 100%;
}

.name-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--primary-gold);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.2);
}

.name-number {
    display: inline-block;
    width: 35px;
    height: 35px;
    background: rgba(212, 175, 55, 0.2);
    color: var(--primary-gold);
    border-radius: 50%;
    line-height: 35px;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.name-arabic {
    font-size: 2.2rem;
    color: var(--primary-gold);
    margin-bottom: 10px;
    font-weight: 700;
}

.name-transliteration {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    font-style: italic;
}

.name-meaning {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

.name-description {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 15px;
}

.description-section {
    margin-top: 15px;
    margin-bottom: 15px;
    padding: 15px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    background: rgba(212, 175, 55, 0.03);
    border-radius: 8px;
    overflow-y: auto;
    max-height: 350px;
}

.description-content {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.9;
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-align: right;
    direction: rtl;
    white-space: normal;
}

.description-content p {
    margin-bottom: 10px;
    padding: 0;
}

.description-content p:last-child {
    margin-bottom: 0;
}

.expand-button {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(212, 175, 55, 0.2);
    border: 1px solid rgba(212, 175, 55, 0.5);
    color: var(--primary-gold);
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.expand-button:hover {
    background: rgba(212, 175, 55, 0.3);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

.expand-button.expanded {
    background: var(--primary-gold);
    color: var(--bg-dark);
}

.star-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.5));
    color: rgba(244, 228, 188, 0.7);
    text-shadow: 0 0 3px rgba(212, 175, 55, 0.5);
}

.star-btn:hover {
    transform: scale(1.15);
    color: var(--primary-gold-light);
}

.star-btn.favorited {
    animation: starPulse 0.6s ease;
    color: var(--primary-gold-light);
}

@keyframes starPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3) rotate(5deg); }
}

.additional-details {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease, margin-top 0.5s ease, padding 0.5s ease;
    padding: 0;
    margin: 0;
}

.additional-details.expanded {
    max-height: 350px;
    opacity: 1;
    margin-top: 15px;
    padding: 15px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    background: rgba(212, 175, 55, 0.03);
    border-radius: 8px;
    overflow-y: auto;
}

.additional-details-content {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.9;
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-align: right;
    direction: rtl;
    white-space: normal;
}

.additional-details-content p {
    margin-bottom: 10px;
    padding: 0;
}

.additional-details-content p:last-child {
    margin-bottom: 0;
}

.footer {
    background: var(--bg-dark-secondary);
    padding: 60px 0;
    text-align: center;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-text {
    font-size: 1.8rem;
    color: var(--primary-gold);
    margin-bottom: 20px;
}

.footer-credit {
    color: var(--text-muted);
    font-size: 1rem;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-gold);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-gold-dark);
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--primary-gold-light) 100%);
    border: none;
    border-radius: 50%;
    color: var(--bg-dark);
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
    font-size: 0;
}

.back-to-top.show {
    opacity: 1;
    display: flex;
    animation: slideUp 0.5s ease;
}

.back-to-top:hover {
    background: linear-gradient(135deg, var(--primary-gold-light) 0%, var(--primary-gold) 100%);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.6);
    transform: translateY(-5px) scale(1.1);
}

.back-to-top:active {
    transform: translateY(-2px) scale(1.05);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
    stroke: var(--bg-dark);
    animation: bounceUp 2s ease-in-out infinite;
}

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

@keyframes bounceUp {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

@media screen and (min-width: 769px) {
    .section-buttons {
        flex-direction: row;
        align-items: center;
    }
    
    .toggle-btn {
        width: auto;
        flex: 1;
        padding: 15px 30px;
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
    
    .back-to-top svg {
        width: 20px;
        height: 20px;
    }
    .language-selector {
        top: 10px;
        left: 10px;
    }
    
    .lang-btn {
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .verse-card {
        padding: 25px 20px;
    }
    
    .verse-number {
        position: relative;
        top: 0;
        left: 0;
        margin: 0 auto 20px;
    }
    
    .verse-arabic {
        padding-top: 0;
    }
    
    .names-grid {
        grid-template-columns: 1fr;
    }
    
    .name-card {
        padding: 25px 20px;
    }
    
    .toggle-btn {
        font-size: 1rem;
        padding: 12px 30px;
        width: 100%;
    }
}

[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

.translating {
    opacity: 1;
    font-style: normal;
    transition: opacity 0.3s ease;
}

.settings-btn {
    position: absolute;
    left: 20px;
    background: none;
    border: none;
    color: var(--primary-gold);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.settings-btn:hover {
    transform: scale(1.2);
}

.settings-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    backdrop-filter: blur(8px);
    animation: fadeInModal 0.4s ease;
}

.settings-modal.active {
    display: flex;
}

@keyframes fadeInModal {
    from { background-color: rgba(0, 0, 0, 0); }
    to { background-color: rgba(0, 0, 0, 0.85); }
}

.settings-modal-content {
    background: linear-gradient(135deg, var(--bg-dark-secondary) 0%, var(--bg-dark-tertiary) 100%);
    border: 2px solid var(--primary-gold);
    border-radius: 20px;
    padding: 35px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 0 80px rgba(212, 175, 55, 0.4), 
                inset 0 0 30px rgba(212, 175, 55, 0.1);
    animation: popIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes popIn {
    from {
        opacity: 0;
        transform: scale(0.8) rotate(-5deg);
    }
    to {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

.settings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    border-bottom: 2px solid var(--primary-gold);
    padding-bottom: 15px;
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.1) 0%, transparent 100%);
    padding: 15px 15px 15px 15px;
    margin: -35px -35px 25px -35px;
    padding: 15px 20px;
    border-radius: 15px 15px 0 0;
}

.settings-header h3 {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.6rem;
    margin: 0;
    font-weight: 700;
}

.close-btn {
    background: none;
    border: none;
    color: var(--primary-gold);
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.3));
}

.close-btn:hover {
    transform: rotate(90deg) scale(1.2);
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.7));
}

.setting-item {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.setting-item label {
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 500;
}

.font-size-control {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: center;
}

.font-btn {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--primary-gold-light) 100%);
    border: 1px solid rgba(244, 228, 188, 0.3);
    color: var(--bg-dark);
    width: 50px;
    height: 50px;
    border-radius: 12px;
    font-size: 1.5rem;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.font-btn:hover {
    background: linear-gradient(135deg, var(--primary-gold-light) 0%, var(--primary-gold) 100%);
    transform: scale(1.15) translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
}

.font-btn:active {
    transform: scale(0.95) translateY(0);
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

#fontSizeDisplay {
    color: var(--primary-gold);
    font-size: 1.1rem;
    font-weight: 600;
    min-width: 60px;
    text-align: center;
}

.reset-btn {
    background: rgba(212, 175, 55, 0.15);
    border: 2px solid var(--primary-gold);
    color: var(--primary-gold);
    padding: 12px 25px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
}

.reset-btn:hover {
    background: rgba(212, 175, 55, 0.25);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
    transform: translateY(-2px);
}

.navbar-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Toggle Buttons Section */
.section-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 60px;
    flex-direction: column;
    align-items: stretch;
}

.toggle-btn {
    padding: 15px 40px;
    font-size: 1.1rem;
    border: 2px solid var(--primary-gold);
    background: transparent;
    color: var(--primary-gold);
    border-radius: 50px;
    cursor: pointer;
    font-family: var(--font-arabic);
    font-weight: 600;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
    width: 100%;
}

.toggle-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-gold);
    z-index: -1;
    transition: left 0.4s ease;
}

.toggle-btn:hover {
    color: var(--bg-dark);
}

.toggle-btn:hover::before {
    left: 0;
}

.toggle-btn.active {
    background: var(--primary-gold);
    color: var(--bg-dark);
    box-shadow: var(--shadow-gold);
}

.toggle-btn.active::before {
    left: 0;
}

/* Verses Section */
.verses-section {
    display: none;
}

.verses-section.active-section {
    display: block;
}

.names-section {
    display: none;
}

.names-section.active-section {
    display: block;
    padding: 100px 0;
    background: var(--bg-dark);
    position: relative;
}

.names-section.active-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
}

.verses-section.active-section {
    padding: 100px 0;
    background: var(--bg-dark-secondary);
    position: relative;
}

.verses-section.active-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
}

/* Verse Card Styling - Different from Name Cards */
.verse-card-item {
    background: linear-gradient(135deg, rgba(13, 115, 119, 0.15) 0%, var(--bg-dark-tertiary) 100%);
    border: 2px solid var(--accent-teal);
    border-radius: 15px;
    padding: 35px;
    position: relative;
    overflow: visible;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}


.verse-card-item:hover {
    transform: translateY(-8px);
    border-color: var(--primary-gold);
    box-shadow: 0 0 40px rgba(13, 115, 119, 0.5);
}

.verse-header {
    margin-bottom: 15px;
}

.verse-title {
    font-size: 1.4rem;
    color: var(--primary-gold);
    text-align: center;
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 1.6;
}

.verse-title {
    font-size: 1.3rem;
    color: var(--primary-gold);
    margin-bottom: 10px;
    font-weight: 700;
}

.verse-description {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 15px;
}

.verse-more-btn {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(212, 175, 55, 0.2);
    border: 1px solid rgba(212, 175, 55, 0.5);
    color: var(--primary-gold);
    border-radius: 20px;
    cursor: pointer;
    font-family: var(--font-arabic);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    align-self: center;
    margin-bottom: 15px;
}

.verse-more-btn:hover {
    background: rgba(212, 175, 55, 0.3);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

.verse-more-btn.expanded {
    background: var(--primary-gold);
    color: var(--bg-dark);
}

.verse-details-expandable {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease, margin-top 0.5s ease, padding 0.5s ease, border 0.5s ease;
    padding: 0;
    margin: 0;
    border: 1px solid transparent;
}

.verse-details-expandable.expanded {
    max-height: 350px;
    opacity: 1;
    margin-top: 15px;
    padding: 20px;
    border: 2px solid var(--accent-teal);
    background: linear-gradient(135deg, rgba(13, 115, 119, 0.12) 0%, rgba(13, 115, 119, 0.05) 100%);
    border-radius: 12px;
    overflow-y: auto;
    position: relative;
}

.verse-details-expandable.expanded::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-gold), var(--accent-teal));
    border-radius: 12px 12px 0 0;
}

.verse-details-content {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 2;
    text-align: right;
    word-wrap: break-word;
    overflow-wrap: break-word;
    padding-top: 5px;
}

.verse-details-expandable.expanded::-webkit-scrollbar {
    width: 6px;
}

.verse-details-expandable.expanded::-webkit-scrollbar-track {
    background: rgba(13, 115, 119, 0.08);
    border-radius: 10px;
}

.verse-details-expandable.expanded::-webkit-scrollbar-thumb {
    background: var(--accent-teal);
    border-radius: 10px;
}

.verse-details-expandable.expanded::-webkit-scrollbar-thumb:hover {
    background: var(--primary-gold);
}

/* Favorites Section Styling */
.favorites-section {
    display: none;
    padding: 100px 0;
    background: var(--bg-dark);
    position: relative;
}

.favorites-section.active-section {
    display: block;
}

.favorites-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
}

.favorites-container {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.favorites-subsection {
    position: relative;
}

.favorites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    min-height: 200px;
}

.empty-message {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.2rem;
    padding: 40px 20px;
    grid-column: 1 / -1;
}

.favorites-grid .name-card,
.favorites-grid .verse-card {
    cursor: pointer;
    transition: all 0.3s ease;
}

.favorites-grid .name-card:hover,
.favorites-grid .verse-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.3);
}

.notification-alert {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(212, 175, 55, 0.95);
    color: var(--bg-dark);
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    z-index: 2000;
    animation: slideDown 0.5s ease, slideUp 0.5s ease 2.5s forwards;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.4);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    to {
        opacity: 0;
        transform: translateX(-50%) translateY(-30px);
    }
}
