.modal-overlay{
    overflow-y:auto;
}

.modal-container{
    max-height:93vh;
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    padding: 20px; /* Space from screen edges */
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Modal Container */
.modal-container {
    background: var(--bg-white);
    width: 100%;
    max-width: 450px;
    border-radius: var(--radius-lg);
    overflow-y: auto; /* Scrollable if content is too tall */
    overflow-x: hidden;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
}

/* Close Button */
.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 20;
    backdrop-filter: blur(4px);
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    flex-shrink: 0;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    pointer-events: none;
}

.star-logo {
    width: 30px;
    height: auto;
}

.center-controls {
    display: flex;
    justify-content: center;
}

.control-badge {
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    display: flex;
    gap: 10px;
}

.control-badge i {
    width: 16px;
    height: 16px;
}

.bottom-controls {
    display: flex;
    gap: 8px;
}

.round-btn {
    width: 28px;
    height: 28px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.round-btn i {
    width: 14px;
    height: 14px;
}

/* Content Section */
.content-section {
    padding: 18px;
    flex-grow: 1;
}

.subtitle {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-main);
    margin-bottom: 4px;
}

.unlock-text {
    font-size: 17px;
    color: var(--primary-blue);
    font-weight: 600;
}

.main-offer {
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #00458b;
    margin: 8px 0;
    line-height: 1.2;
}

.secondary-offer {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-main);
	 margin-bottom: 8px;
}

.bold-text {
    font-weight: 700;
}

/* Features List */
.features-list {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 14px;
}

.check-icon {
	background : green;
	color: white;
    width: 20px;
    height: 20px;
    border: 2px solid var(--success-green);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.check-icon i {
    width: 12px;
    height: 12px;
    color: var(--success-green);
    stroke-width: 3;
}

/* Footer Info */
.footer-info {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1;
}

.urgency {
    margin-top: 4px;
}

.urgency .bold {
    font-weight: 700;
}

/* Button Group */
.button-group {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 6px;
    background-color: #003a70;
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
}

.action-btn:hover,
.action-btn:focus,
.action-btn:active {
    color: white;
    text-decoration: none;
    background-color: #003a70;
}

/* Scrollbar styling for a premium feel */
.modal-container::-webkit-scrollbar {
    width: 6px;
}

.modal-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.modal-container::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

@media (max-width: 480px) {
    .button-group {
        flex-direction: column;
    }
    .main-offer {
        font-size: 20px;
    }
    .modal-container {
        max-height: calc(100vh - 20px);
        border-radius: 16px;
    }
}

