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

body {
    font-family: 'Tajawal', 'Amiri', sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a5f4a 0%, #2d8a6e 50%, #1a5f4a 100%);
    padding: 20px;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    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='%23ffffff' fill-opacity='0.03'%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");
    pointer-events: none;
}

.container {
    width: 100%;
    max-width: 500px;
    position: relative;
}

.card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 30px;
    padding: 40px 30px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    animation: slideUp 0.8s ease-out;
}

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

.header {
    text-align: center;
    margin-bottom: 30px;
}

.icon {
    font-size: 50px;
    margin-bottom: 10px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

h1 {
    font-family: 'Amiri', serif;
    font-size: 32px;
    color: #1a5f4a;
    margin-bottom: 5px;
    font-weight: 700;
}

.subtitle {
    color: #666;
    font-size: 16px;
    margin-bottom: 5px;
}

.name {
    font-family: 'Amiri', serif;
    font-size: 28px;
    color: #e91e63;
    font-weight: 700;
    margin-top: 10px;
    position: relative;
    display: inline-block;
}

.name::before,
.name::after {
    content: '❋';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #e91e63;
    font-size: 16px;
}

.name::before {
    right: -25px;
}

.name::after {
    left: -25px;
}

.prayer-content {
    margin-bottom: 30px;
}

.prayer-box {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-radius: 20px;
    padding: 25px;
    border-right: 5px solid #1a5f4a;
}

.prayer {
    font-family: 'Amiri', serif;
    font-size: 20px;
    color: #2e7d32;
    line-height: 2;
    text-align: center;
    margin-bottom: 15px;
}

.prayer:last-child {
    margin-bottom: 0;
}

.counter-section {
    text-align: center;
    margin-bottom: 25px;
}

.counter-display {
    background: linear-gradient(135deg, #e91e63 0%, #c2185b 100%);
    border-radius: 20px;
    padding: 20px 30px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    box-shadow: 0 10px 30px rgba(233, 30, 99, 0.3);
}

.counter-icon {
    font-size: 30px;
}

.counter-number {
    font-size: 42px;
    font-weight: 700;
    color: white;
    min-width: 60px;
    text-align: center;
}

.counter-label {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.share-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(26, 95, 74, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #1a5f4a;
}

.share-icon {
    font-size: 16px;
    animation: spin 3s linear infinite;
}

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

.pray-btn {
    background: linear-gradient(135deg, #1a5f4a 0%, #2d8a6e 100%);
    color: white;
    border: none;
    padding: 18px 50px;
    font-size: 22px;
    font-family: 'Tajawal', sans-serif;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(26, 95, 74, 0.4);
}

.pray-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(26, 95, 74, 0.5);
}

.pray-btn:active {
    transform: translateY(0);
}

.pray-btn.clicked {
    animation: buttonPop 0.5s ease;
}

@keyframes buttonPop {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.btn-icon {
    font-size: 24px;
}

.footer-message {
    text-align: center;
    margin-top: 20px;
}

.footer-message p {
    font-family: 'Amiri', serif;
    font-size: 28px;
    color: #1a5f4a;
}

.decoration {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

.decoration-1 {
    width: 200px;
    height: 200px;
    top: -100px;
    right: -100px;
}

.decoration-2 {
    width: 150px;
    height: 150px;
    bottom: -75px;
    left: -75px;
}

/* Animation for number change */
@keyframes numberChange {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3);
        color: #ffd700;
    }
    100% {
        transform: scale(1);
    }
}

.number-animate {
    animation: numberChange 0.5s ease;
}

/* Responsive */
@media (max-width: 480px) {
    .card {
        padding: 30px 20px;
    }

    h1 {
        font-size: 26px;
    }

    .name {
        font-size: 24px;
    }

    .prayer {
        font-size: 18px;
    }

    .counter-number {
        font-size: 36px;
    }

    .pray-btn {
        padding: 15px 40px;
        font-size: 20px;
    }
}

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

.icon {
    animation: float 3s ease-in-out infinite;
}
