/*
Theme Name: GodAlone Islamic Theme
Description: Beautiful Arabic-inspired theme for GodAlone.in - Created by Grace of Allah using Claude.ai
Version: 1.0
Author: GodAlone Team
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-bg: #2a2a2a;
    --secondary-bg: #1a1a1a;
    --accent-bg: #333333;
    --golden: #FFD700;
    --golden-light: #FFF8DC;
    --golden-dark: #B8860B;
    --white-soft: #F5F5DC;
    --text-light: #E5E5E5;
    --text-muted: #CCCCCC;
    --border-golden: linear-gradient(45deg, #FFD700, #FFA500, #FFD700);
    --shadow-golden: rgba(255, 215, 0, 0.3);
    --shadow-dark: rgba(0, 0, 0, 0.5);
}

/* Arabic Font Loading */
@import url('https://fonts.googleapis.com/css2?family=Amiri:wght@400;700&family=Scheherazade+New:wght@400;700&display=swap');

body {
    font-family: 'Segoe UI', 'Amiri', 'Scheherazade New', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    background: var(--primary-bg);
    min-height: 100vh;
    font-display: swap;
    overflow-x: hidden;
}

/* Islamic Pattern Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 215, 0, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 215, 0, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 215, 0, 0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Islamic Geometric Border Mixin */
.islamic-border {
    border: 2px solid transparent;
    border-image: var(--border-golden) 1;
    position: relative;
}

.islamic-border::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: var(--border-golden);
    border-radius: inherit;
    z-index: -1;
    opacity: 0.1;
}

.islamic-border::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    border: 1px solid var(--golden);
    border-radius: inherit;
    opacity: 0.3;
    pointer-events: none;
}

/* Header */
header {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 20px var(--shadow-dark);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 2px solid var(--golden);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    position: relative;
}

/* Single Line Layout */
.nav-left, .nav-center, .nav-right {
    flex: 1;
    display: flex;
    align-items: center;
}

.nav-left {
    justify-content: flex-start;
}

.nav-center {
    justify-content: center;
}

.nav-right {
    justify-content: flex-end;
}

/* Logo in Center */
.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

/* Single Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-btn {
    padding: 10px 20px;
    background: var(--accent-bg);
    color: var(--golden);
    border: 2px solid var(--golden);
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    outline: none;
}

.dropdown-btn:hover {
    background: var(--golden);
    color: var(--primary-bg);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--shadow-golden);
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--accent-bg);
    border: 2px solid var(--golden);
    border-radius: 15px;
    box-shadow: 0 8px 25px var(--shadow-dark);
    z-index: 1003;
    min-width: 200px;
    max-height: 400px;
    overflow-y: auto;
}

.dropdown-content.show {
    display: block;
    animation: dropdownSlide 0.3s ease;
}

.dropdown-content a {
    display: block;
    padding: 10px 15px;
    color: var(--golden);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background: rgba(255, 215, 0, 0.1);
    color: var(--golden-light);
    transform: translateX(5px);
}

/* Language Buttons */
.language-buttons {
    display: flex;
    gap: 8px;
    align-items: center;
}

.logo-icon {
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, var(--golden) 0%, var(--golden-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: islamicGlow 4s ease-in-out infinite;
    box-shadow: 
        0 0 20px var(--shadow-golden),
        inset 0 0 20px rgba(255, 215, 0, 0.2);
    border: 3px solid var(--golden-light);
}

.logo-icon::before {
    content: "١";
    font-family: 'Amiri', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-bg);
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.logo-icon::after {
    content: "";
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 25px;
    background: var(--golden);
    clip-path: polygon(60% 0%, 100% 50%, 60% 100%, 40% 85%, 40% 15%);
    animation: prayerGlow 3s ease-in-out infinite;
    filter: drop-shadow(0 0 5px var(--shadow-golden));
}

@keyframes islamicGlow {
    0%, 100% { 
        box-shadow: 
            0 0 20px var(--shadow-golden),
            inset 0 0 20px rgba(255, 215, 0, 0.2);
        transform: scale(1) rotate(0deg); 
    }
    50% { 
        box-shadow: 
            0 0 30px var(--shadow-golden),
            inset 0 0 30px rgba(255, 215, 0, 0.3);
        transform: scale(1.05) rotate(1deg); 
    }
}

@keyframes prayerGlow {
    0%, 100% { 
        filter: drop-shadow(0 0 5px var(--shadow-golden));
        transform: translateY(-50%) scale(1); 
    }
    50% { 
        filter: drop-shadow(0 0 10px var(--shadow-golden));
        transform: translateY(-52%) scale(1.05); 
    }
}

.logo-text {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--golden);
    letter-spacing: 3px;
    text-shadow: 
        0 0 10px var(--shadow-golden),
        2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: goldenShimmer 3s ease-in-out infinite;
    font-family: 'Amiri', serif;
}

/* Mobile Logo Size */
@media (max-width: 768px) {
    .logo-text {
        font-size: 1.4rem;
        letter-spacing: 1px;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 1.2rem;
        letter-spacing: 0.5px;
    }
}

@keyframes goldenShimmer {
    0%, 100% { 
        text-shadow: 
            0 0 10px var(--shadow-golden),
            2px 2px 4px rgba(0, 0, 0, 0.5);
    }
    50% { 
        text-shadow: 
            0 0 20px var(--shadow-golden),
            2px 2px 8px rgba(0, 0, 0, 0.7);
    }
}

/* Navigation */
.nav-links {
    display: flex;
    list-style: none;
    gap: 1rem;
    align-items: center;
    transition: all 0.3s ease;
}

/* Desktop Menu */
.desktop-menu {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-right: 1rem;
}

/* Dropdown Menu Styling */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-btn {
    padding: 10px 20px;
    background: var(--accent-bg);
    color: var(--golden);
    border: 2px solid var(--golden);
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
    outline: none;
}

.dropdown-btn:hover {
    background: var(--golden);
    color: var(--primary-bg);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--shadow-golden);
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--accent-bg);
    border: 2px solid var(--golden);
    border-radius: 15px;
    box-shadow: 0 8px 25px var(--shadow-dark);
    z-index: 1003;
    min-width: 220px;
    max-height: 400px;
    overflow-y: auto;
}

.dropdown-content.show {
    display: block;
    animation: dropdownSlide 0.3s ease;
}

@keyframes dropdownSlide {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-content a {
    display: block;
    padding: 12px 18px;
    color: var(--golden);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.dropdown-content a:last-child {
    border-bottom: none;
    border-radius: 0 0 13px 13px;
}

.dropdown-content a:first-child {
    border-radius: 13px 13px 0 0;
}

.dropdown-content a:hover {
    background: rgba(255, 215, 0, 0.1);
    color: var(--golden-light);
    transform: translateX(5px);
    border-left: 3px solid var(--golden);
}

.menu-item {
    padding: 8px 16px;
    background: var(--accent-bg);
    color: var(--golden);
    border: 1px solid var(--golden);
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.menu-item:hover {
    background: var(--golden);
    color: var(--primary-bg);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--shadow-golden);
}

.language-selector {
    display: flex;
    gap: 8px;
    align-items: center;
}

/* Language Dropdown for Mobile */
.language-dropdown {
    position: relative;
    display: none;
}

.language-dropdown-btn {
    padding: 10px 16px;
    background: var(--accent-bg);
    color: var(--golden);
    border: 2px solid var(--golden);
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.language-dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--accent-bg);
    border: 2px solid var(--golden);
    border-radius: 15px;
    box-shadow: 0 8px 25px var(--shadow-dark);
    z-index: 1002;
    min-width: 120px;
}

.language-dropdown-content.show {
    display: block;
}

.dropdown-lang-btn {
    display: block;
    padding: 10px 16px;
    color: var(--golden);
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 0;
    font-size: 0.9rem;
    text-align: left;
    width: 100%;
}

.dropdown-lang-btn:first-child {
    border-radius: 13px 13px 0 0;
}

.dropdown-lang-btn:last-child {
    border-radius: 0 0 13px 13px;
}

.dropdown-lang-btn:hover {
    background: var(--golden);
    color: var(--primary-bg);
}

.lang-btn, .subscribe-btn {
    padding: 12px 24px;
    background: var(--accent-bg);
    color: var(--golden);
    border: 2px solid var(--golden);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px var(--shadow-dark);
    position: relative;
    overflow: hidden;
}

.lang-btn::before, .subscribe-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--golden-light), transparent);
    transition: left 0.5s;
}

.lang-btn:hover::before, .subscribe-btn:hover::before {
    left: 100%;
}

.lang-btn:hover, .subscribe-btn:hover {
    background: var(--golden);
    color: var(--primary-bg);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--shadow-golden);
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 25px var(--shadow-dark);
    border: 1px solid var(--golden);
    border-top: none;
    border-radius: 0 0 15px 15px;
}

.mobile-nav.active {
    display: block;
    animation: slideDownGolden 0.4s ease;
}

@keyframes slideDownGolden {
    from { 
        opacity: 0; 
        transform: translateY(-20px);
    }
    to { 
        opacity: 1; 
        transform: translateY(0);
    }
}

.mobile-nav-content {
    padding: 1.5rem;
}

/* Mobile Language Section */
.mobile-language-section {
    text-align: center;
    margin-bottom: 1rem;
}

.mobile-languages {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Mobile Language Horizontal Layout */
.mobile-languages-horizontal {
    display: flex;
    justify-content: center;
    gap: 0.3rem;
    flex-wrap: nowrap;
}

.mobile-lang-btn-inline {
    padding: 6px 12px;
    background: var(--accent-bg);
    color: var(--golden);
    border: 1px solid var(--golden);
    border-radius: 15px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    flex: 1;
    text-align: center;
    min-width: fit-content;
}

.mobile-lang-btn-inline:hover {
    background: var(--golden);
    color: var(--primary-bg);
    transform: scale(1.05);
}

.mobile-lang-btn {
    padding: 8px 16px;
    background: var(--accent-bg);
    color: var(--golden);
    border: 1px solid var(--golden);
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.mobile-lang-btn:hover {
    background: var(--golden);
    color: var(--primary-bg);
    transform: scale(1.05);
}

/* Mobile Navigation Links */
.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-nav-link {
    color: var(--text-light);
    text-decoration: none;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    border: 1px solid transparent;
}

.mobile-nav-link:hover {
    background: rgba(255, 215, 0, 0.1);
    color: var(--golden);
    border-color: rgba(255, 215, 0, 0.3);
    transform: translateX(5px);
}

.newsletter-link {
    background: linear-gradient(135deg, var(--golden-dark), var(--golden));
    color: var(--primary-bg);
    font-weight: 600;
    text-align: center;
}

.newsletter-link:hover {
    background: var(--golden-light);
    transform: scale(1.05);
}

/* Hero Section */
.hero {
    margin-top: 100px;
    background: var(--accent-bg);
    border-radius: 25px;
    padding: 4rem 2rem;
    text-align: center;
    color: var(--golden);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out;
    position: relative;
    overflow: hidden;
}

.hero.islamic-border {
    box-shadow: 
        0 0 30px var(--shadow-golden),
        inset 0 0 30px rgba(255, 215, 0, 0.1);
}

/* Islamic Pattern Overlay */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(255, 215, 0, 0.02) 10px,
            rgba(255, 215, 0, 0.02) 20px
        ),
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 10px,
            rgba(255, 215, 0, 0.02) 10px,
            rgba(255, 215, 0, 0.02) 20px
        );
    pointer-events: none;
    animation: patternFlow 10s linear infinite;
}

@keyframes patternFlow {
    0% { background-position: 0 0, 0 0; }
    100% { background-position: 20px 20px, -20px -20px; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-family: 'Amiri', serif;
    font-size: 3.2rem;
    margin-bottom: 1rem;
    text-shadow: 
        0 0 15px var(--shadow-golden),
        3px 3px 6px var(--shadow-dark);
    animation: arabicGlow 4s ease-in-out infinite;
    font-weight: 700;
}

@keyframes arabicGlow {
    0%, 100% { 
        color: var(--golden);
        text-shadow: 
            0 0 15px var(--shadow-golden),
            3px 3px 6px var(--shadow-dark);
    }
    50% { 
        color: var(--golden-light);
        text-shadow: 
            0 0 25px var(--shadow-golden),
            3px 3px 10px var(--shadow-dark);
    }
}

.hero h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    color: var(--white-soft);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-light);
}

.quran-verse {
    background: rgba(255, 215, 0, 0.1);
    padding: 2.5rem;
    border-radius: 20px;
    margin: 2rem 0;
    border: 2px solid var(--golden);
    font-style: italic;
    font-size: 1.2rem;
    position: relative;
    animation: fadeIn 1s ease-out 0.5s both;
    box-shadow: 
        0 0 20px var(--shadow-golden),
        inset 0 0 20px rgba(255, 215, 0, 0.05);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Mathematical Miracle Section */
.miracle-section {
    background: var(--accent-bg);
    border-radius: 25px;
    padding: 3rem 2rem;
    margin: 2rem 0;
    text-align: center;
    animation: slideInUp 0.8s ease-out;
    position: relative;
}

.miracle-section.islamic-border {
    box-shadow: 
        0 0 25px var(--shadow-golden),
        inset 0 0 25px rgba(255, 215, 0, 0.1);
}

.miracle-number {
    font-size: 6rem;
    font-weight: 900;
    color: var(--golden);
    margin-bottom: 1rem;
    animation: miracle19Glow 3s ease-in-out infinite;
    text-shadow: 
        0 0 20px var(--shadow-golden),
        5px 5px 10px var(--shadow-dark);
    font-family: 'Amiri', serif;
}

@keyframes miracle19Glow {
    0%, 100% { 
        color: var(--golden);
        text-shadow: 
            0 0 20px var(--shadow-golden),
            5px 5px 10px var(--shadow-dark);
        transform: scale(1);
    }
    50% { 
        color: var(--golden-light);
        text-shadow: 
            0 0 30px var(--shadow-golden),
            5px 5px 15px var(--shadow-dark);
        transform: scale(1.08);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Feature Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.feature-card {
    background: var(--accent-bg);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card.islamic-border {
    box-shadow: 
        0 8px 25px var(--shadow-dark),
        0 0 15px var(--shadow-golden);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    transition: left 0.6s;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-12px);
    box-shadow: 
        0 20px 40px var(--shadow-dark),
        0 0 30px var(--shadow-golden);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: block;
    text-align: center;
    animation: iconFloat 2s ease-in-out infinite;
    color: var(--golden);
    text-shadow: 0 0 10px var(--shadow-golden);
}

@keyframes iconFloat {
    0%, 100% { 
        transform: translateY(0);
        filter: drop-shadow(0 0 10px var(--shadow-golden));
    }
    50% { 
        transform: translateY(-8px);
        filter: drop-shadow(0 0 15px var(--shadow-golden));
    }
}

.feature-card h3 {
    color: var(--golden);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    text-align: center;
    font-weight: 700;
    text-shadow: 0 0 5px var(--shadow-golden);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.7;
    text-align: center;
    margin-bottom: 1.5rem;
}

.btn-primary {
    display: inline-block;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--golden-dark), var(--golden));
    color: var(--primary-bg);
    text-decoration: none;
    border-radius: 25px;
    margin-top: 1rem;
    transition: all 0.3s ease;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 6px 20px var(--shadow-dark);
    border: 2px solid var(--golden);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--golden-light), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 10px 30px var(--shadow-dark),
        0 0 20px var(--shadow-golden);
}

/* Utilities Grid */
.utilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.utility-card {
    background: var(--accent-bg);
    padding: 2rem 1.5rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--golden);
    position: relative;
}

.utility-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 15px 30px var(--shadow-dark),
        0 0 20px var(--shadow-golden);
    background: rgba(255, 215, 0, 0.05);
}

.utility-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
    animation: gentleFloat 2s ease-in-out infinite;
    color: var(--golden);
    text-shadow: 0 0 10px var(--shadow-golden);
}

@keyframes gentleFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.utility-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--golden);
    font-weight: 600;
    text-shadow: 0 0 5px var(--shadow-golden);
}

.utility-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Newsletter Subscription */
.newsletter-section {
    background: linear-gradient(135deg, var(--golden-dark), var(--golden));
    color: var(--primary-bg);
    padding: 3rem 2rem;
    border-radius: 25px;
    text-align: center;
    margin: 2rem 0;
    animation: slideInRight 1s ease-out;
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 2rem auto 0;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-input {
    flex: 1;
    padding: 14px 24px;
    border: 2px solid var(--primary-bg);
    border-radius: 25px;
    font-size: 1rem;
    min-width: 250px;
    transition: all 0.3s ease;
    background: var(--white-soft);
    color: var(--primary-bg);
}

.newsletter-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.3);
    transform: scale(1.02);
}

.newsletter-submit {
    padding: 14px 30px;
    background: var(--primary-bg);
    color: var(--golden);
    border: 2px solid var(--primary-bg);
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow-dark);
}

.newsletter-submit:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px var(--shadow-dark);
    background: var(--accent-bg);
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--secondary-bg), var(--primary-bg));
    color: var(--text-light);
    padding: 3rem 0 1rem;
    margin-top: 3rem;
    border-top: 2px solid var(--golden);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--border-golden);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--golden);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    text-shadow: 0 0 5px var(--shadow-golden);
    font-family: 'Amiri', serif;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-section ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--golden);
    transition: width 0.3s ease;
}

.footer-section ul li a:hover::after {
    width: 100%;
}

.footer-section ul li a:hover {
    color: var(--golden);
    transform: translateX(8px);
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--golden-dark), var(--golden)) !important;
    text-align: center;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--golden);
    box-shadow: 0 4px 15px var(--shadow-dark);
}

.social-links a img {
    filter: brightness(0) !important; /* Make icons dark/black on golden background */
    transition: filter 0.3s ease;
}

.social-links a:hover {
    background: linear-gradient(135deg, #F5F5F5, #FFFFFF) !important; /* White background on hover */
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px var(--shadow-dark);
    border-color: #FFFFFF;
}

.social-links a:hover img {
    filter: brightness(1) invert(0) !important; /* Keep icons visible on white background */
}

/* Mobile Responsive */
/* Mobile Responsive Navigation Fix - Bismillah */
/* Desktop remains perfect - only mobile adjustments */

@media (max-width: 768px) {
    nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.8rem 0;
        position: relative;
        gap: 8px;
    }
    
    /* Left: Menu Button - Perfect, no changes needed */
    .nav-left {
        flex: 0 0 auto;
        display: flex;
        justify-content: flex-start;
        min-width: 80px;
    }
    
    /* Center: Logo & Title - Perfectly Centered */
    .nav-center {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0 5px;
        min-width: 0; /* Allow shrinking */
    }
    
    /* Right: Language Buttons - All 3 Visible */
    .nav-right {
        flex: 0 0 auto;
        display: flex;
        justify-content: flex-end;
        min-width: 120px;
    }
    
    /* Mobile Menu Button - Already Perfect */
    .dropdown-btn {
        padding: 8px 12px;
        font-size: 0.75rem;
        white-space: nowrap;
        border-radius: 20px;
    }
    
    /* Mobile Logo Container - Centered Between Menu & Languages */
    .logo-container {
        gap: 6px;
        justify-content: center;
        align-items: center;
        flex-shrink: 1;
        min-width: 0;
    }
    
    /* Mobile Logo Icon */
    .logo-icon {
        width: 35px;
        height: 35px;
        flex-shrink: 0;
    }
    
    .logo-icon::before {
        font-size: 1.6rem;
    }
    
    .logo-icon::after {
        right: -8px;
        width: 16px;
        height: 20px;
    }
    
    /* Mobile Logo Text - Responsive */
    .logo-text {
        font-size: 1.1rem;
        letter-spacing: 0.5px;
        white-space: nowrap;
        flex-shrink: 1;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    /* Mobile Language Buttons - All 3 Visible on Right */
    .language-buttons {
        display: flex;
        gap: 3px;
        flex-wrap: nowrap;
        justify-content: flex-end;
        align-items: center;
        flex-shrink: 0;
    }
    
    .lang-btn {
        padding: 6px 8px;
        font-size: 0.7rem;
        white-space: nowrap;
        min-width: 0;
        flex-shrink: 0;
        border: 1px solid var(--golden);
        border-radius: 12px;
        text-align: center;
        line-height: 1;
    }
    
    /* Dropdown Content Mobile Position */
    .dropdown-content {
        position: absolute;
        top: 100%;
        left: 0;
        right: auto;
        min-width: 200px;
        max-width: 220px;
        background: var(--accent-bg);
        border: 2px solid var(--golden);
        border-radius: 15px;
        box-shadow: 0 8px 25px var(--shadow-dark);
        z-index: 1010;
        margin-top: 5px;
    }
    
    .dropdown-content a {
        padding: 10px 15px;
        font-size: 0.85rem;
        display: block;
        color: var(--golden);
        text-decoration: none;
        border-bottom: 1px solid rgba(255, 215, 0, 0.1);
        transition: all 0.3s ease;
    }
    
    .dropdown-content a:last-child {
        border-bottom: none;
    }
    
    .dropdown-content a:hover {
        background: rgba(255, 215, 0, 0.1);
        color: var(--golden-light);
        transform: translateX(5px);
    }
}

/* Extra Small Mobile Screens */
@media (max-width: 480px) {
    nav {
        padding: 0.6rem 0;
        gap: 4px;
    }
    
    .nav-left {
        min-width: 70px;
    }
    
    .nav-right {
        min-width: 110px;
    }
    
    .dropdown-btn {
        padding: 6px 10px;
        font-size: 0.7rem;
    }
    
    .logo-icon {
        width: 32px;
        height: 32px;
    }
    
    .logo-icon::before {
        font-size: 1.4rem;
    }
    
    .logo-icon::after {
        right: -6px;
        width: 14px;
        height: 18px;
    }
    
    .logo-text {
        font-size: 1rem;
        letter-spacing: 0.3px;
    }
    
    .lang-btn {
        padding: 5px 7px;
        font-size: 0.65rem;
        min-width: 32px;
    }
    
    .language-buttons {
        gap: 2px;
    }
}

/* Very Small Screens - Compact Layout */
@media (max-width: 360px) {
    .nav-left {
        min-width: 65px;
    }
    
    .nav-right {
        min-width: 100px;
    }
    
    .logo-text {
        font-size: 0.9rem;
        letter-spacing: 0.2px;
    }
    
    .lang-btn {
        padding: 4px 6px;
        font-size: 0.6rem;
        min-width: 30px;
    }
}

/* Ensure proper spacing for container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 12px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    
    /* Show desktop languages on very small screens */
    #desktopLanguages {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }
    
    .language-dropdown {
        display: none;
    }
    
    .lang-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    /* Menu button adjustment for small screens */
    .menu-toggle {
        top: 0.6rem;
        left: 0.6rem;
        padding: 4px 8px;
        font-size: 1.3rem;
    }
}

/* Telegram Button Styling */
.telegram-btn:hover {
    background: var(--accent-bg) !important;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4) !important;
}

/* Performance Optimizations */
.fade-in {
    animation: fadeInUp 0.8s ease-out;
}

/* Smooth Transitions */
* {
    transition-property: transform, box-shadow, color, background;
    transition-duration: 0.3s;
    transition-timing-function: ease;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
/* Beautiful Mobile Home Icon - Add to your main style.css */
/* This will work on ALL pages of your website */

.mobile-home-icon {
    display: none;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--golden), var(--golden-dark));
    color: var(--primary-bg);
    text-decoration: none;
    border-radius: 50%;
    font-size: 1.3rem;
    border: 2px solid var(--golden);
    box-shadow: 
        0 4px 15px var(--shadow-dark),
        0 0 15px rgba(255, 215, 0, 0.4);
    transition: all 0.4s ease;
    margin-right: 12px;
    position: relative;
    overflow: hidden;
    font-weight: 600;
}

.mobile-home-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.mobile-home-icon:hover::before {
    left: 100%;
}

.mobile-home-icon:hover {
    transform: translateY(-3px) scale(1.1);
    background: linear-gradient(135deg, var(--golden-light), var(--golden));
    box-shadow: 
        0 8px 25px var(--shadow-dark),
        0 0 25px var(--shadow-golden);
    border-color: var(--golden-light);
}

/* Show Mobile Home Icon only on mobile devices */
@media (max-width: 768px) {
    .mobile-home-icon {
        display: inline-flex;
    }
    
    .nav-left {
        display: flex;
        align-items: center;
    }
}

/* Ensure proper spacing in nav-left */
.nav-left {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

/* ============================================
   PURCHASE POPUP STYLES
   Add this to the end of style.css
   ============================================ */

/* Purchase Popup Overlay */
.purchase-popup {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Purchase Popup Content */
.purchase-popup-content {
    background: linear-gradient(135deg, var(--accent-bg) 0%, #2d2d2d 100%);
    padding: 2rem;
    border-radius: 20px;
    width: 90%;
    max-width: 420px;
    position: relative;
    border: 3px solid var(--golden);
    box-shadow: 0 0 40px var(--shadow-golden), 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.4s ease;
    text-align: center;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Close Button (Always on Top) */
.purchase-close-btn {
    position: absolute;
    top: -15px;
    right: -15px;
    background: linear-gradient(135deg, var(--golden-dark), var(--golden));
    color: var(--primary-bg);
    border: 3px solid var(--golden);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
    box-shadow: 0 4px 15px var(--shadow-dark);
}

.purchase-close-btn:hover {
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 6px 20px var(--shadow-golden);
}

/* Purchase Options Container */
.purchase-options {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1rem;
}

/* Individual Purchase Option */
.purchase-option {
    background: rgba(255, 215, 0, 0.05);
    padding: 1rem;
    border-radius: 15px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 2px solid var(--golden);
    gap: 0.8rem;
}

.purchase-option:hover {
    background: rgba(255, 215, 0, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px var(--shadow-golden);
}

/* Logo Container with White Background - FORCED */
.purchase-option .logo-container {
    background: #FFFFFF !important;
    background-color: #FFFFFF !important;
    padding: 1rem 1.8rem !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25) !important;
    transition: all 0.3s ease !important;
    width: 100% !important;
    max-width: 200px !important;
    min-height: 70px !important;
}

.purchase-option:hover .logo-container {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.35) !important;
    transform: scale(1.08) !important;
    background: #FAFAFA !important;
    background-color: #FAFAFA !important;
}

.purchase-option img {
    max-width: 130px !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    object-fit: contain !important;
}

.purchase-option span {
    font-size: 1rem;
    font-weight: 600;
    color: var(--golden);
    margin-top: 0.2rem;
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .purchase-popup-content {
        width: 92%;
        max-width: 320px;
        padding: 1.3rem;
        border-radius: 15px;
    }
    
    .purchase-popup-content h2 {
        font-size: 1.2rem !important;
        margin-bottom: 1rem !important;
    }
    
    .purchase-popup-content > p:first-of-type {
        font-size: 0.9rem !important;
        margin-bottom: 1rem !important;
    }
    
    .purchase-close-btn {
        top: -10px;
        right: -10px;
        width: 36px;
        height: 36px;
        font-size: 1.6rem;
        border-width: 2px;
    }
    
    .purchase-options {
        gap: 0.6rem;
    }
    
    .purchase-option {
        padding: 0.8rem;
        gap: 0.6rem;
        border-radius: 12px;
    }
    
    /* SAME SIZE LOGO FOR MOBILE - Beautiful White Background */
    .purchase-option .logo-container {
        padding: 1rem 1.8rem;
        border-radius: 10px;
        max-width: 200px;
        min-height: 70px;
        background: #FFFFFF;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
    }
    
    .purchase-option:hover .logo-container {
        background: #FAFAFA;
    }
    
    .purchase-option img {
        max-width: 130px;
        width: 100%;
    }
    
    .purchase-option span {
        font-size: 0.9rem;
    }
    
    .purchase-popup-content > p:last-of-type {
        font-size: 0.75rem !important;
        margin-top: 1rem !important;
    }
}

/* Extra Small Mobile (below 380px) */
@media (max-width: 380px) {
    .purchase-popup-content {
        max-width: 300px;
        padding: 1rem;
    }
    
    .purchase-popup-content h2 {
        font-size: 1.1rem !important;
    }
    
    /* SAME SIZE LOGO - Even on tiny screens */
    .purchase-option .logo-container {
        padding: 0.9rem 1.5rem;
        max-width: 180px;
        min-height: 65px;
    }
    
    .purchase-option img {
        max-width: 120px;
    }
    
    .purchase-option span {
        font-size: 0.85rem;
    }
}