/* Reset & Base */
.rashifal-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 15px;
    font-family: 'SolaimanLipi', Arial, sans-serif;
}

.title {
    text-align: center;
    font-size: 1.8em;
    margin: 0 0 20px;
    background: linear-gradient(120deg, #e74c3c 0%, #c0392b 100%);
    -webkit-background-clip: text;
    color: transparent;
    font-weight: 700;
}

/* List */
.rashifal-list {
    display: flex;
    flex-direction: column;
    gap: 8px; /* Narrow gap */
}

.rashifal-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 5px solid #e74c3c;
    border-radius: 10px;
    padding: 0 18px; /* Top & bottom 0px */
    height: 56px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.rashifal-item:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(231, 71, 60, 0.15);
    background: rgba(255, 255, 255, 0.2);
    border-left-color: #c0392b;
}

.rashi-name {
    font-weight: 700;
    font-size: 1.15em;
    color: #e74c3c;
}

.rashi-range {
    font-size: 0.92em;
    color: #e74c3c;
    opacity: 0.9;
}

/* Popup */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.75);
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.popup-overlay.show {
    display: flex;
    opacity: 1;
}

.popup-content {
    background: #fff;
    padding: 35px;
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.popup-overlay.show .popup-content {
    transform: scale(1);
}

.popup-close {
    position: absolute;
    top: 12px; right: 18px;
    font-size: 32px;
    color: #aaa;
    cursor: pointer;
    transition: 0.3s;
}

.popup-close:hover {
    color: #e74c3c;
    transform: rotate(90deg);
}

#popup-title {
    margin: 0 0 15px;
    text-align: center;
    font-size: 1.5em;
    color: #e74c3c;
    font-weight: 700;
}

#popup-text {
    font-size: 1.1em;
    line-height: 1.7;
    color: #2c3e50;
    margin: 0;
}






