/* ============== GLASSMORPHISM STYLES ============== */
:root {
    --primary: #8b5cf6;
    --primary-dark: #7c3aed;
    --darker: #020617;
    --dark: #0f172a;
    --light: #f8fafc;
    --gray: #94a3b8;
    --gradient: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    --glass: rgba(15, 23, 42, 0.4);
    --glass-border: rgba(255, 255, 255, 0.08);
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    --box-shadow-hover: 0 15px 35px rgba(0, 0, 0, 0.3);
}

/* Basis-Styles */
body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: var(--darker);
    color: var(--light);
    line-height: 1.6;
    background-image: 
        radial-gradient(at 80% 0%, hsla(189, 100%, 56%, 0.15) 0px, transparent 50%),
        radial-gradient(at 0% 50%, hsla(355, 100%, 93%, 0.1) 0px, transparent 50%);
}

.glass-card {
    background: var(--glass);
    backdrop-filter: blur(12px);
    border-radius: 1.25rem;
    border: 1px solid var(--glass-border);
    box-shadow: var(--box-shadow);
    padding: 2rem;
    margin: 2rem auto;
    max-width: 900px;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 2rem;
}

.title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    color: var(--gray);
    font-size: 1.2rem;
}

/* Formular */
.glass-form {
    margin: 2rem 0;
}

.form-group {
    margin-bottom: 1.5rem;
}

.glass-input {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 0.75rem;
    color: var(--light);
    font-size: 1rem;
}

.glass-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.3);
}

/* Buttons */
.btn-gradient {
    background: var(--gradient);
    color: white;
    padding: 0.8rem 1.8rem;
    border: none;
    border-radius: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
    transition: all 0.3s ease;
}

.btn-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

.button-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 1.5rem 0;
}

/* Quran Anzeige */
.quran-display {
    margin: 2rem 0;
}

.surah-arabic {
    text-align: right;
    direction: rtl;
    padding: 1.5rem;
    background: var(--glass);
    border-radius: 1rem;
    margin-bottom: 1.5rem;
}

.arabic-text {
    font-family: 'Amiri Quran', serif;
    font-size: 2rem;
    line-height: 3.5rem;
    color: var(--light);
}

.verse-container {
    margin-bottom: 1.5rem;
}

.verse-number {
    background: var(--primary);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 50%;
    font-size: 0.8rem;
    margin-right: 0.5rem;
}

.verse-divider {
    text-align: center;
    color: var(--primary);
    margin: 1.5rem 0;
    font-size: 1.5rem;
}

.surah-translation {
    background: var(--glass);
    border-radius: 1rem;
    padding: 1.5rem;
}

.translation-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--glass-border);
}

.translation-item:last-child {
    border-bottom: none;
}

.translation-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.verse-reference {
    font-weight: 700;
    color: var(--primary);
}

.transcription {
    color: var(--gray);
    font-size: 0.9rem;
}

.translation-text {
    line-height: 1.8;
	text-align: right;
}

/* Sprache Umschalter */
.language-switcher {
    margin: 1.5rem 0;
    text-align: center;
}

.language-link {
    color: var(--gray);
    margin: 0 0.5rem;
    padding: 0.3rem 0.6rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.language-link:hover, .language-link.active {
    color: var(--light);
    background: rgba(139, 92, 246, 0.2);
}

/* Footer */
.footer {
    text-align: center;
    margin-top: 2rem;
    color: var(--gray);
    font-size: 0.9rem;
}

/* Partikel-Hintergrund */
#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .glass-card {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .title {
        font-size: 2rem;
    }
    
    .arabic-text {
        font-size: 1.8rem;
        line-height: 3rem;
    }
    
    .button-group {
        justify-content: center;
    }
}

.active{
	padding: 10px;
	border-radius: 10px;
	background-color: rgba(255, 242, 0, 0.2);
}