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

/* Overlay */
.start-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
}

/* Container for positioning */
.start-popup-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Image — FULLY RESPONSIVE */
.start-popup-image {
    display: block;
    max-width: calc(100vw - 40px);   /* Gap from viewport edges */
    max-height: calc(100vh - 80px);  /* Gap from viewport edges */
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}


/* Close button INSIDE IMAGE */
.start-popup-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    font-size: 22px;
    font-weight: bold;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;              /* use flex for centering */
    align-items: center;        /* vertical center */
    justify-content: center;    /* horizontal center */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    transition: all 0.2s ease;
    z-index: 10;
}

.start-popup-close svg {
    width: 20px;
    height: 20px;
    color: white;
}

/* Hover effect */
.start-popup-close:hover {
    background: rgba(255, 255, 255, 0.9); /* lighten on hover */
    color: black;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

.start-popup-close:hover svg {
    color: black;
}


