:root {
    --purple-primary: #a855f7;
    --purple-dark: #7c3aed;
    --purple-light: #c084fc;
    --purple-glow: rgba(168, 85, 247, 0.3);
    --cream: #faf8f3;
    --gold: #d4af37;
    --gold-light: #f4d96d;
    --dark: #1a1a2e;
    --dark-blue: #16213e;
    --night: #0f0f1e;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cormorant Garamond', serif;
    background: linear-gradient(180deg, var(--night) 0%, var(--dark-blue) 50%, var(--dark) 100%);
    color: var(--cream);
    overflow-x: hidden;
    line-height: 1.7;
    min-height: 100vh;
}

/* Crescent Moon */
.moon-container {
    position: fixed;
    top: 15%;
    right: 12%;
    z-index: 1;
    pointer-events: none;
}

.moon {
    position: relative;
    width: 120px;
    height: 120px;
}

.moon-crescent {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, rgba(212, 175, 55, 0.6) 100%);
    box-shadow:
        inset -25px -15px 0 0 var(--night),
        0 0 40px rgba(212, 175, 55, 0.4),
        0 0 80px rgba(212, 175, 55, 0.2);
    animation: moonGlow 4s ease-in-out infinite;
}

.moon-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
    animation: moonPulse 5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes moonGlow {
    0%, 100% { opacity: 1; box-shadow: inset -25px -15px 0 0 var(--night), 0 0 40px rgba(212, 175, 55, 0.4), 0 0 80px rgba(212, 175, 55, 0.2); }
    50% { opacity: 0.95; box-shadow: inset -25px -15px 0 0 var(--night), 0 0 60px rgba(212, 175, 55, 0.6), 0 0 120px rgba(212, 175, 55, 0.3); }
}

@keyframes moonPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.8; }
}

/* Arabic Calligraphy Background */
.arabic-bg {
    position: fixed;
    font-family: 'Amiri', 'Noto Naskh Arabic', serif;
    font-weight: 700;
    color: rgba(168, 85, 247, 0.06);
    font-size: clamp(8rem, 18vw, 20rem);
    line-height: 1;
    pointer-events: none;
    z-index: 0;
    user-select: none;
    white-space: nowrap;
}

.arabic-bg-1 {
    top: 20%;
    left: -5%;
    transform: rotate(-15deg);
    animation: arabicFloat 20s ease-in-out infinite;
}

.arabic-bg-2 {
    top: 55%;
    right: -8%;
    transform: rotate(12deg);
    animation: arabicFloat 25s ease-in-out infinite 2s;
}

.arabic-bg-3 {
    bottom: 25%;
    left: 10%;
    transform: rotate(8deg);
    font-size: clamp(6rem, 12vw, 14rem);
    animation: arabicFloat 22s ease-in-out infinite 4s;
}

.arabic-bg-4 {
    top: 70%;
    right: 5%;
    transform: rotate(-10deg);
    font-size: clamp(5rem, 10vw, 12rem);
    animation: arabicFloat 18s ease-in-out infinite 1s;
}

@keyframes arabicFloat {
    0%, 100% { opacity: 0.05; }
    50% { opacity: 0.12; }
}

/* Stars Animation */
.stars-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.star {
    position: absolute;
    width: 3px;
    height: 3px;
    background: white;
    border-radius: 50%;
    animation: twinkle 3s infinite ease-in-out;
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.8);
}

.star:nth-child(1) { top: 10%; left: 20%; animation-delay: 0s; }
.star:nth-child(2) { top: 20%; left: 80%; animation-delay: 0.5s; }
.star:nth-child(3) { top: 30%; left: 50%; animation-delay: 1s; }
.star:nth-child(4) { top: 40%; left: 10%; animation-delay: 1.5s; }
.star:nth-child(5) { top: 50%; left: 90%; animation-delay: 2s; }
.star:nth-child(6) { top: 60%; left: 30%; animation-delay: 0.7s; }
.star:nth-child(7) { top: 70%; left: 70%; animation-delay: 1.2s; }
.star:nth-child(8) { top: 80%; left: 40%; animation-delay: 1.8s; }
.star:nth-child(9) { top: 15%; left: 60%; animation-delay: 0.3s; }
.star:nth-child(10) { top: 85%; left: 15%; animation-delay: 2.3s; }
.star:nth-child(11) { top: 25%; left: 35%; animation-delay: 0.8s; }
.star:nth-child(12) { top: 55%; left: 65%; animation-delay: 1.6s; }
.star:nth-child(13) { top: 35%; left: 85%; animation-delay: 0.4s; }
.star:nth-child(14) { top: 75%; left: 25%; animation-delay: 2.1s; }
.star:nth-child(15) { top: 45%; left: 55%; animation-delay: 1.3s; }

@keyframes twinkle {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.8); }
}

/* Mosque Silhouettes */
.mosque-silhouette {
    position: fixed;
    bottom: 0;
    width: 500px;
    height: 350px;
    background: linear-gradient(to top, rgba(168, 85, 247, 0.15), transparent);
    z-index: 1;
    pointer-events: none;
}

.mosque-left {
    left: -80px;
    clip-path: polygon(
        0% 100%, 8% 65%, 12% 68%, 16% 50%, 20% 52%, 24% 35%,
        28% 38%, 30% 28%, 32% 30%, 36% 45%, 40% 48%, 44% 55%,
        44% 100%
    );
    animation: fadeInLeft 2s ease-out;
}

.mosque-right {
    right: -80px;
    clip-path: polygon(
        56% 55%, 60% 48%, 64% 45%, 68% 30%, 70% 28%, 72% 38%,
        76% 35%, 80% 52%, 84% 50%, 88% 68%, 92% 65%, 100% 100%,
        56% 100%
    );
    animation: fadeInRight 2s ease-out;
}

/* Mosque Minarets */
.mosque-minaret {
    position: fixed;
    width: 18px;
    height: 140px;
    background: linear-gradient(to top, rgba(168, 85, 247, 0.3), transparent);
    border-radius: 4px;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
}

.mosque-minaret-l {
    left: 8%;
    bottom: 20%;
}

.mosque-minaret-r {
    right: 8%;
    bottom: 20%;
}

/* Center Mosque (dome silhouette) */
.mosque-center {
    left: 50%;
    transform: translateX(-50%);
    width: 350px;
    height: 220px;
    clip-path: polygon(
        20% 100%, 25% 75%, 30% 80%, 35% 65%, 40% 70%, 45% 55%,
        50% 35%, 55% 55%, 60% 70%, 65% 65%, 70% 80%, 75% 75%, 80% 100%
    );
    background: linear-gradient(to top, rgba(168, 85, 247, 0.12), transparent);
    animation: fadeIn 2.5s ease-out 0.5s both;
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-100px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(100px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 15, 30, 0.9);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(168, 85, 247, 0.3);
    animation: slideDown 1s ease-out;
}

@keyframes slideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 90px;
    width: auto;
    filter: drop-shadow(0 0 15px var(--purple-glow));
    transition: transform 0.4s ease;
    animation: logoFloat 3s ease-in-out infinite;
}

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

.logo {
    display: block;
    text-decoration: none;
}

.logo-img:hover {
    transform: scale(1.1) rotate(3deg);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--cream);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 1px;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--purple-primary), var(--gold));
    transition: width 0.4s ease;
}

.nav-links a:hover {
    color: var(--purple-light);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-lang-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-lang-label {
    color: var(--cream);
    font-size: 1rem;
    cursor: default;
}

.nav-lang-dropdown {
    background: rgba(30, 25, 50, 0.95);
    color: var(--cream);
    border: 1px solid rgba(168, 85, 247, 0.4);
    border-radius: 6px;
    padding: 0.4rem 0.75rem;
    font-size: 0.95rem;
    font-family: inherit;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nav-lang-dropdown:hover,
.nav-lang-dropdown:focus {
    border-color: var(--purple-light);
    outline: none;
    box-shadow: 0 0 0 2px rgba(168, 85, 247, 0.2);
}

.nav-lang-dropdown option {
    background: var(--bg-dark);
    color: var(--cream);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding: 2rem;
    overflow: hidden;
    z-index: 2;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, var(--purple-glow) 0%, transparent 70%);
    animation: pulse 5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.4; }
    50% { transform: translate(-50%, -50%) scale(1.3); opacity: 0.7; }
}

.hero-content {
    position: relative;
    z-index: 3;
}

.bismillah {
    font-family: 'Amiri', serif;
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 2.5rem;
    animation: fadeInDown 1.2s ease-out 0.3s both;
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.6);
    letter-spacing: 2px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 8rem;
    font-weight: 900;
    margin-bottom: 2rem;
    line-height: 1.1;
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-title .word {
    display: inline-block;
    background: linear-gradient(135deg, var(--purple-light) 0%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1.2s ease-out both;
    filter: drop-shadow(0 0 40px var(--purple-glow));
}

.hero-title .word:nth-child(1) {
    animation-delay: 0.6s;
}

.hero-title .word:nth-child(2) {
    animation-delay: 0.9s;
}

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

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

.hero-subtitle {
    font-size: 2rem;
    color: var(--cream);
    margin-bottom: 3.5rem;
    font-weight: 300;
    letter-spacing: 3px;
    animation: fadeIn 1.2s ease-out 1.2s both;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.7);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hero-buttons {
    display: flex;
    gap: 2rem;
    animation: fadeInUp 1.2s ease-out 1.5s both;
    justify-content: center;
}

.btn {
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    font-family: 'Cormorant Garamond', serif;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.4s ease;
    letter-spacing: 1px;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    font-weight: 600;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
    width: 400px;
    height: 400px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--purple-primary), var(--purple-dark));
    color: white;
    box-shadow: 0 15px 35px var(--purple-glow);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px var(--purple-glow);
}

.btn-secondary {
    background: transparent;
    color: var(--cream);
    border-color: var(--purple-primary);
}

.btn-secondary:hover {
    background: var(--purple-primary);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px var(--purple-glow);
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--purple-primary);
    border-radius: 20px;
    position: relative;
    box-shadow: 0 0 15px var(--purple-glow);
}

.mouse::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--purple-primary);
    border-radius: 2px;
    animation: scroll 1.5s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-15px); }
    60% { transform: translateX(-50%) translateY(-8px); }
}

@keyframes scroll {
    0% { top: 10px; opacity: 1; }
    100% { top: 30px; opacity: 0; }
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Section Styling */
section {
    padding: 8rem 0;
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
    animation: fadeInUp 1s ease-out;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--purple-light), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease-out;
}

.title-ornament {
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--purple-primary), transparent);
    margin: 0 auto;
    position: relative;
}

.title-ornament::before,
.title-ornament::after {
    content: '✦';
    position: absolute;
    color: var(--gold);
    font-size: 1.8rem;
    top: 50%;
    transform: translateY(-50%);
    animation: sparkle 2s ease-in-out infinite;
}

.title-ornament::before {
    left: -35px;
}

.title-ornament::after {
    right: -35px;
    animation-delay: 1s;
}

@keyframes sparkle {
    0%, 100% { opacity: 0.5; transform: translateY(-50%) scale(1); }
    50% { opacity: 1; transform: translateY(-50%) scale(1.3); }
}

/* About Section */
.about {
    background: linear-gradient(180deg, transparent 0%, rgba(168, 85, 247, 0.08) 50%, transparent 100%);
}

.about-content {
    display: grid;
    gap: 4rem;
}

.about-text {
    font-size: 1.4rem;
    line-height: 2.2;
    max-width: 900px;
    margin: 0 auto;
}

.intro-text {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--purple-light);
    margin-bottom: 2rem;
    text-shadow: 0 2px 10px rgba(168, 85, 247, 0.3);
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.feature-card {
    background: rgba(168, 85, 247, 0.12);
    padding: 3rem 2rem;
    border-radius: 25px;
    text-align: center;
    border: 2px solid rgba(168, 85, 247, 0.3);
    transition: all 0.5s ease;
    animation: fadeInUp 1s ease-out both;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(168, 85, 247, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
}

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

.feature-card:nth-child(1) { animation-delay: 0.2s; }
.feature-card:nth-child(2) { animation-delay: 0.4s; }
.feature-card:nth-child(3) { animation-delay: 0.6s; }

.feature-card:hover {
    transform: translateY(-15px) scale(1.02);
    background: rgba(168, 85, 247, 0.2);
    box-shadow: 0 25px 50px var(--purple-glow);
    border-color: var(--gold);
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    animation: float 3s ease-in-out infinite;
}

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

.feature-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--gold-light);
}

.feature-card p {
    font-size: 1.2rem;
    color: var(--cream);
    opacity: 0.9;
    line-height: 1.8;
}

/* Mission Section */
.mission {
    background: rgba(22, 33, 62, 0.6);
}

.mission-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 5rem;
}

.highlight-text {
    font-size: 1.5rem;
    line-height: 2.2;
    color: var(--purple-light);
    font-style: italic;
    text-shadow: 0 2px 10px rgba(168, 85, 247, 0.3);
}

.hadiths-container {
    display: grid;
    gap: 4rem;
    margin-bottom: 6rem;
}

.hadith-card {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.15), rgba(212, 175, 55, 0.15));
    padding: 4rem 3rem;
    border-radius: 30px;
    border: 2px solid rgba(168, 85, 247, 0.4);
    position: relative;
    transition: all 0.5s ease;
    animation: fadeInUp 1s ease-out both;
}

.hadith-card:nth-child(1) { animation-delay: 0.2s; }
.hadith-card:nth-child(2) { animation-delay: 0.4s; }
.hadith-card:nth-child(3) { animation-delay: 0.6s; }
.hadith-card:nth-child(4) { animation-delay: 0.8s; }
.hadith-card:nth-child(5) { animation-delay: 1s; }

.hadith-card:hover {
    transform: scale(1.03);
    box-shadow: 0 30px 70px var(--purple-glow);
    border-color: var(--gold);
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(212, 175, 55, 0.2));
}

.hadith-ornament-top,
.hadith-ornament-bottom {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 0 auto 2.5rem;
    position: relative;
}

.hadith-ornament-top::before,
.hadith-ornament-top::after {
    content: '◆';
    position: absolute;
    color: var(--gold);
    font-size: 0.8rem;
    top: 50%;
    transform: translateY(-50%);
}

.hadith-ornament-top::before { left: -20px; }
.hadith-ornament-top::after { right: -20px; }

.hadith-ornament-bottom {
    margin: 2.5rem auto 0;
}

.hadith-text {
    text-align: center;
}

.arabic {
    font-family: 'Amiri', serif;
    font-size: 2rem;
    line-height: 2.8;
    color: var(--gold-light);
    margin-bottom: 2.5rem;
    direction: rtl;
    text-shadow: 0 3px 15px rgba(212, 175, 55, 0.4);
    font-weight: 700;
}

.translation {
    font-size: 1.4rem;
    line-height: 2.2;
    margin-bottom: 1.5rem;
    font-style: italic;
    color: var(--cream);
}

.source {
    font-size: 1.1rem;
    color: var(--purple-light);
    font-weight: 600;
    letter-spacing: 1px;
}

/* Mission Statement */
.mission-statement {
    background: rgba(168, 85, 247, 0.08);
    padding: 4rem;
    border-radius: 30px;
    border: 2px solid rgba(168, 85, 247, 0.3);
}

.mission-statement h3 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--gold);
}

.mission-points {
    display: grid;
    gap: 3rem;
}

.mission-point {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 2rem;
    align-items: start;
    padding: 2.5rem;
    background: rgba(168, 85, 247, 0.08);
    border-radius: 25px;
    transition: all 0.4s ease;
    border: 1px solid rgba(168, 85, 247, 0.2);
}

.mission-point:hover {
    background: rgba(168, 85, 247, 0.15);
    transform: translateX(15px);
    border-color: var(--purple-primary);
    box-shadow: -10px 0 30px var(--purple-glow);
}

.point-number {
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--purple-primary), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.4;
}

.point-content h4 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--gold-light);
}

.point-content p {
    font-size: 1.2rem;
    line-height: 2;
    color: var(--cream);
    opacity: 0.95;
}

/* Episodes Section */
.episodes {
    background: linear-gradient(180deg, transparent 0%, rgba(212, 175, 55, 0.08) 50%, transparent 100%);
}

.episodes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.episode-card {
    background: rgba(168, 85, 247, 0.12);
    border-radius: 25px;
    overflow: hidden;
    border: 2px solid rgba(168, 85, 247, 0.3);
    transition: all 0.5s ease;
    animation: fadeInUp 1s ease-out both;
}

.episode-card:nth-child(1) { animation-delay: 0.2s; }
.episode-card:nth-child(2) { animation-delay: 0.4s; }
.episode-card:nth-child(3) { animation-delay: 0.6s; }

.episode-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 60px var(--purple-glow);
    border-color: var(--gold);
}

.episode-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--purple-dark), var(--dark-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.image-placeholder::before {
    content: '🎙️';
    font-size: 5rem;
    opacity: 0.4;
    animation: float 3s ease-in-out infinite;
}

.episode-content {
    padding: 2.5rem;
}

.episode-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--gold-light);
}

.episode-content p {
    font-size: 1.2rem;
    line-height: 2;
    margin-bottom: 1.5rem;
    color: var(--cream);
    opacity: 0.9;
}

.episode-meta {
    display: flex;
    gap: 1rem;
    font-size: 1rem;
    color: var(--purple-light);
    font-weight: 600;
}

/* Contact Section */
.contact {
    text-align: center;
}

.contact-text {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 2.2;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.social-link {
    padding: 1.2rem 3rem;
    background: rgba(168, 85, 247, 0.12);
    color: var(--cream);
    text-decoration: none;
    border-radius: 50px;
    border: 2px solid var(--purple-primary);
    font-size: 1.2rem;
    transition: all 0.4s ease;
    letter-spacing: 1px;
    font-weight: 600;
}

.social-link:hover {
    background: var(--purple-primary);
    transform: translateY(-8px);
    box-shadow: 0 15px 40px var(--purple-glow);
}

/* Join Page - Hero */
.hero-join {
    min-height: 60vh;
    padding: 10rem 2rem 6rem;
    justify-content: center;
    align-items: center;
}

.hero-join .hero-title {
    line-height: 1.4;
    padding-top: 0.12em;
    padding-bottom: 0.12em;
}

.hero-join .hero-title .word:nth-child(3) {
    animation-delay: 1.2s;
}

/* Join Form Section */
.join-form-section {
    background: linear-gradient(180deg, transparent 0%, rgba(168, 85, 247, 0.08) 50%, transparent 100%);
}

.join-intro {
    font-size: 1.3rem;
    color: var(--cream);
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 2;
}

.join-form {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(168, 85, 247, 0.12);
    padding: 4rem;
    border-radius: 30px;
    border: 2px solid rgba(168, 85, 247, 0.3);
    animation: fadeInUp 1s ease-out;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: var(--gold-light);
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    padding: 1rem 1.5rem;
    background: rgba(15, 15, 30, 0.6);
    border: 2px solid rgba(168, 85, 247, 0.3);
    border-radius: 15px;
    color: var(--cream);
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--cream);
    opacity: 0.5;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--purple-primary);
    box-shadow: 0 0 20px var(--purple-glow);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23d4af37' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.2rem;
    padding-right: 3rem;
}

.form-group-full {
    grid-column: 1 / -1;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    margin-top: 3rem;
    text-align: center;
}

.form-submit .btn {
    cursor: pointer;
    border: none;
    font-size: 1.2rem;
    padding: 1.2rem 4rem;
}

.form-message {
    margin-bottom: 1.5rem;
    padding: 1rem 1.25rem;
    border-radius: 8px;
    font-size: 1rem;
}

.form-message-success {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.4);
    color: #86efac;
}

.form-message-error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #fca5a5;
}

/* Nav Active State */
.nav-active {
    color: var(--purple-light) !important;
}

.nav-active::after {
    width: 100% !important;
}

/* Footer */
.footer {
    background: rgba(15, 15, 30, 0.9);
    padding: 5rem 2rem;
    text-align: center;
    border-top: 2px solid rgba(168, 85, 247, 0.3);
}

.dua {
    font-family: 'Amiri', serif;
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
    direction: rtl;
    text-shadow: 0 2px 10px rgba(212, 175, 55, 0.4);
}

.dua-translation {
    font-size: 1.2rem;
    color: var(--cream);
    margin-bottom: 2.5rem;
    font-style: italic;
    opacity: 0.85;
}

.copyright {
    color: var(--cream);
    opacity: 0.6;
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 6rem;
    }

    .section-title {
        font-size: 3.5rem;
    }

    .mosque-center,
    .mosque-minaret {
        display: none;
    }

    .arabic-bg {
        font-size: 5rem;
        opacity: 0.04;
    }
}

@media (max-width: 768px) {
    .moon-container {
        top: 10%;
        right: 5%;
    }

    .moon {
        width: 80px;
        height: 80px;
    }

    .moon-glow {
        width: 120px;
        height: 120px;
    }

    .arabic-bg {
        font-size: 3rem;
        opacity: 0.03;
    }

    .nav-links {
        display: none;
    }

    .hero-title {
        font-size: 4rem;
        flex-direction: column;
        gap: 0.5rem;
    }

    .bismillah {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .section-title {
        font-size: 3rem;
    }

    .arabic {
        font-size: 1.6rem;
    }

    .mission-point {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .point-number {
        font-size: 3rem;
    }

    .episodes-grid {
        grid-template-columns: 1fr;
    }

    section {
        padding: 5rem 0;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .join-form {
        padding: 2rem;
    }

    .hero-join {
        min-height: 50vh;
    }
}

@media (max-width: 480px) {
    .moon-container {
        display: none;
    }

    .arabic-bg {
        display: none;
    }

    .hero-title {
        font-size: 3rem;
    }

    .feature-card,
    .hadith-card,
    .mission-statement {
        padding: 2rem;
    }
}
