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

body {
    font-family: 'Arial', sans-serif;
    overflow-x: hidden;
    background: linear-gradient(135deg, #1a365d 0%, #2d5a87 50%, #4a90a4 100%);
    min-height: 100vh;
}

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

/* Islamic Pattern Background */
.pattern-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    background-image: 
        radial-gradient(circle at 50% 50%, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 1;
}

/* Header */
.header {
    position: relative;
    z-index: 10;
    padding: 60px 0 40px;
    text-align: center;
    color: white;
}

.mosque-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, #f7fafc, #e2e8f0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    position: relative;
}

.mosque-icon::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, rgba(255,255,255,0.1), transparent);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

.mosque-name {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: slideInDown 1s ease-out;
    background: linear-gradient(135deg, #ffffff, #f7fafc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mosque-subtitle {
    font-size: 1.3rem;
    margin-bottom: 15px;
    opacity: 0.9;
    animation: slideInDown 1s ease-out 0.2s both;
}

.address {
    font-size: 1.1rem;
    opacity: 0.8;
    animation: slideInDown 1s ease-out 0.4s both;
    margin-bottom: 40px;
}

/* Main Content */
.main-content {
    position: relative;
    z-index: 10;
    padding: 40px 0;
}

.welcome-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
    margin-bottom: 40px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
    animation: slideInUp 1s ease-out 0.6s both;
    border: 1px solid rgba(255,255,255,0.3);
}

.welcome-title {
    font-size: 2.5rem;
    color: #2d3748;
    margin-bottom: 20px;
    font-weight: bold;
}

.welcome-text {
    font-size: 1.2rem;
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 40px;
}

.shop-manager-btn {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    padding: 20px 40px;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.shop-manager-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.shop-manager-btn:hover::before {
    left: 100%;
}

.shop-manager-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

/* Islamic Geometric Decoration */
.geometric-decoration {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    opacity: 0.1;
    animation: spin 30s linear infinite;
}

.geometric-star {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #667eea, #764ba2);
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

/* Footer */
.footer {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 40px 0;
    color: rgba(255,255,255,0.8);
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 60px;
}

.footer-text {
    font-size: 1rem;
    margin-bottom: 15px;
}

.prayer-times {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.prayer-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.2);
    animation: fadeInScale 1s ease-out;
    animation-delay: calc(var(--delay) * 0.1s);
    animation-fill-mode: both;
}

.prayer-card:nth-child(1) { --delay: 8; }
.prayer-card:nth-child(2) { --delay: 9; }
.prayer-card:nth-child(3) { --delay: 10; }
.prayer-card:nth-child(4) { --delay: 11; }
.prayer-card:nth-child(5) { --delay: 12; }

.prayer-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 8px;
}

.prayer-time {
    font-size: 1.3rem;
    color: #f7fafc;
    font-weight: bold;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes spin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

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

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

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .mosque-name {
        font-size: 2.5rem;
    }

    .welcome-card {
        padding: 40px 25px;
    }

    .welcome-title {
        font-size: 2rem;
    }

    .shop-manager-btn {
        padding: 18px 35px;
        font-size: 1.2rem;
    }

    .prayer-times {
        grid-template-columns: 1fr;
    }
}

/* Minaret Silhouettes */
.minaret-left, .minaret-right {
    position: fixed;
    bottom: 0;
    width: 60px;
    height: 300px;
    background: linear-gradient(to top, rgba(0,0,0,0.1), transparent);
    z-index: 2;
}

.minaret-left {
    left: 50px;
    border-radius: 30px 30px 0 0;
    animation: fadeInLeft 2s ease-out;
}

.minaret-right {
    right: 50px;
    border-radius: 30px 30px 0 0;
    animation: fadeInRight 2s ease-out;
}

.minaret-left::before,
.minaret-right::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

@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);
    }
}
