* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #f5f3ff 0%, #e8d8ff 100%);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

.prayer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header Section */
.prayer-header {
    text-align: center;
    padding: 50px 20px;
    background: white;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
    position: relative;
}

.bismillah {
    font-size: 2rem;
    color: #6c63ff;
    margin-bottom: 20px;
    font-weight: bold;
}

.main-title {
    font-family: 'Dancing Script', cursive;
    font-size: 3rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1.2rem;
    color: #8e44ad;
    font-style: italic;
}

/* Dua Section */
.dua-section {
    margin: 40px 0;
}

.dua-card {
    background: linear-gradient(135deg, #ffeaa7, #fdcb6e);
    border-radius: 30px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.dua-card h2 {
    font-family: 'Dancing Script', cursive;
    font-size: 2rem;
    color: #6c5ce7;
    margin-bottom: 20px;
}

.arabic-dua {
    font-size: 1.8rem;
    color: #2d3436;
    margin: 20px 0;
    line-height: 2;
    direction: rtl;
}

.dua-translation {
    font-style: italic;
    color: #636e72;
    margin-bottom: 20px;
}

.personal-dua {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #2d3436;
    background: rgba(255, 255, 255, 0.5);
    padding: 20px;
    border-radius: 15px;
}

/* Future Dreams Section */
.future-dreams {
    margin: 60px 0;
}

.section-title {
    text-align: center;
    font-family: 'Dancing Script', cursive;
    font-size: 2.5rem;
    color: #8e44ad;
    margin-bottom: 40px;
}

.dream-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.dream-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-top: 5px solid #ff6b9d;
}

.dream-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.dream-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 20px;
}

.dream-card h3 {
    font-family: 'Dancing Script', cursive;
    font-size: 1.5rem;
    color: #6c63ff;
    margin-bottom: 15px;
}

.dream-card p {
    color: #555;
    line-height: 1.6;
}

/* Promises Section */
.promises-section {
    margin: 60px 0;
}

.future-promises {
    background: linear-gradient(135deg, #ff9ff3, #feca57);
    border-radius: 30px;
    padding: 50px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.future-promises h2 {
    text-align: center;
    font-family: 'Dancing Script', cursive;
    font-size: 2.5rem;
    color: white;
    margin-bottom: 40px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.promise-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.promise-item {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.promise-item:hover {
    background: white;
    transform: scale(1.02);
}

.promise-number {
    background: #8e44ad;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.promise-item p {
    color: #333;
    line-height: 1.5;
    margin: 0;
}

/* Letter Section */
.letter-section {
    margin: 60px 0;
}

.future-letter {
    background: white;
    border-radius: 30px;
    padding: 50px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 3px solid #ff6b9d;
}

.future-letter h2 {
    text-align: center;
    font-family: 'Dancing Script', cursive;
    font-size: 2.5rem;
    color: #e91e63;
    margin-bottom: 30px;
}

.letter-content {
    max-width: 800px;
    margin: 0 auto;
}

.letter-greeting {
    font-family: 'Dancing Script', cursive;
    font-size: 1.8rem;
    color: #8e44ad;
    margin-bottom: 20px;
}

.letter-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
    text-align: justify;
}

.letter-signature {
    text-align: right;
    font-family: 'Dancing Script', cursive;
    font-size: 1.3rem !important;
    color: #e91e63 !important;
    margin-top: 30px !important;
    font-style: italic;
}

/* Final Prayer Section */
.final-prayer {
    margin: 60px 0;
}

.prayer-card-final {
    background: linear-gradient(135deg, #dfe6e9, #b2bec3);
    border-radius: 30px;
    padding: 50px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.prayer-card-final h2 {
    font-family: 'Dancing Script', cursive;
    font-size: 2.5rem;
    color: #2d3436;
    margin-bottom: 30px;
}

.final-dua {
    font-size: 1.2rem;
    line-height: 2;
    color: #2d3436;
    background: rgba(255, 255, 255, 0.5);
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.ameen {
    font-size: 1.5rem;
    color: #6c63ff;
    font-weight: bold;
    direction: rtl;
}

/* Footer */
footer {
    text-align: center;
    padding: 40px;
    background: white;
    border-radius: 30px;
    margin-top: 60px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.back-button {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.back-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.4);
}

.footer-text {
    color: #555;
    margin: 5px 0;
}

.footer-date {
    color: #8e44ad;
    font-style: italic;
}

/* Floating Hearts Animation */
.floating-heart {
    position: fixed;
    bottom: -50px;
    font-size: 2rem;
    opacity: 0.7;
    pointer-events: none;
    animation: floatUp 8s linear forwards;
    z-index: 1000;
}

@keyframes floatUp {
    0% {
        bottom: -50px;
        opacity: 0;
    }
    10% {
        opacity: 0.7;
    }
    90% {
        opacity: 0.7;
    }
    100% {
        bottom: 100vh;
        opacity: 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-title {
        font-size: 2rem;
    }
    
    .dream-cards {
        grid-template-columns: 1fr;
    }
    
    .promise-list {
        grid-template-columns: 1fr;
    }
    
    .future-letter {
        padding: 30px 20px;
    }
}
