/* Astrology Animations CSS */

/* Stars animation */
.stars {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.star {
    position: absolute;
    background-color: white;
    border-radius: 50%;
    opacity: 0;
    animation: twinkle 4s infinite;
    z-index: 1;
}

@keyframes twinkle {
    0% { opacity: 0; transform: translateY(0); }
    50% { opacity: 0.8; }
    100% { opacity: 0; transform: translateY(-20px); }
}

/* Zodiac symbol rotation */
.zodiac-symbol {
    position: absolute;
    width: 30px;
    height: 30px;
    opacity: 0.2;
    z-index: 0;
    animation: rotate 20s linear infinite;
}

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

/* Cosmic glow effect */
.card:hover .icon {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(151, 71, 255, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(151, 71, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(151, 71, 255, 0); }
}

/* Particle effect */
.particle {
    position: absolute;
    background-color: rgba(151, 71, 255, 0.3);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    z-index: 2;
}

@keyframes float-up {
    0% { opacity: 0.8; transform: translateY(0) scale(1); }
    100% { opacity: 0; transform: translateY(-50px) scale(0.5); }
}

/* Card cosmic border glow on hover */
.card:hover {
    border-color: #9747FF;
    box-shadow: 0 8px 25px rgba(151, 71, 255, 0.2);
}

/* Icon cosmic spin on hover */
.card:hover .icon i {
    animation: cosmic-spin 1s ease-in-out;
}

@keyframes cosmic-spin {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.2); }
    100% { transform: rotate(360deg) scale(1); }
}
/* start css  */
/* * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
} */

.maincontainer {
    background-color: #f8f5ff;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.featurecontainer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background-color: white;
    border-radius: 16px;
    padding: 20px;
    width: 280px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    border: 1px solid #e9e1ff;
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.5s ease;
    opacity: 0;
    transform: translateY(20px);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
}

.limited-icon {
    background-color: #f0e6ff;
    color: #9747FF;
}

.language-icon {
    background-color: #e6f0ff;
    color: #4785FF;
}

.prediction-icon {
    background-color: #e6fff0;
    color: #47FF85;
}

.horoscope-icon {
    background-color: #ffe6f0;
    color: #FF4785;
}

.matching-icon {
    background-color: #f0e6ff;
    color: #9747FF;
}

.extended-horoscope-icon {
    background-color: #e6f0ff;
    color: #4785FF;
}

.dashas-icon {
    background-color: #ffe6f0;
    color: #FF4785;
}

.panchang-icon {
    background-color: #e6fff0;
    color: #47FF85;
}

.doshas-icon {
    background-color: #f0ffe6;
    color: #85FF47;
}

.utilities-icon {
    background-color: #fff0e6;
    color: #FF8547;
}

.plugins-icon {
    background-color: #e6f0ff;
    color: #4785FF;
}

.pdf-reports-icon {
    background-color: #ffe6f0;
    color: #FF4785;
}

.badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.limited {
    background-color: #FFE8D9;
    color: #FF6B00;
}

.common {
    background-color: #FFE8D9;
    color: #FF6B00;
}

.pro {
    background-color: #D9FFF0;
    color: #00B37A;
}

.separate-addon {
    background-color: #2D3748;
    color: #FFFFFF;
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.card-subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.features-list {
    list-style-type: none;
}

.features-list li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 14px;
    color: #555;
}

.bullet {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #9747FF;
    margin-right: 10px;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .container {
        max-width: 900px;
    }
}

@media (max-width: 900px) {
    .container {
        max-width: 600px;
    }
}

@media (max-width: 600px) {
    .container {
        max-width: 100%;
    }

    .card {
        width: 100%;
    }
}
