/* Custom buttons row - side by side */
.poka-custom-buttons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}
.poka-custom-buttons .btn {
    flex: 1;
    text-align: center;
}

/* Popup overlay */
.poka-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 99999;
    align-items: center;
    justify-content: center;
}
.poka-popup-overlay.active {
    display: flex;
}
.poka-popup-modal {
    background: #fff;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 30px;
    position: relative;
}
.poka-popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #333;
    line-height: 1;
}
.poka-popup-close:hover {
    color: #000;
}
.poka-popup-image {
    margin-bottom: 20px;
    text-align: center;
}
.poka-popup-image img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}
.poka-popup-content {
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Popup buttons row - side by side */
.poka-popup-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}
.poka-popup-buttons .btn {
    flex: 1;
    text-align: center;
}

/* ===========================================================
   Alternative Casinos full-screen modal
   =========================================================== */
.poka-alt-casinos-overlay {
    display: none;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 22, 28, 0.92);
    z-index: 100000;
    align-items: center;
    justify-content: center;
    padding: 24px;
    box-sizing: border-box;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.poka-alt-casinos-overlay.active {
    display: flex;
}
body.poka-alt-casinos-open {
    overflow: hidden;
}

.poka-alt-casinos-modal {
    position: relative;
    width: 100%;
    max-width: 820px;
    margin: auto;
    color: #fff;
}
.poka-alt-casinos-close {
    position: absolute;
    top: -100%;
    right: -45%;
    width: 36px;
    height: 36px;
    background: transparent;
    border: 0;
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    opacity: 0.85;
    padding: 0;
}
.poka-alt-casinos-close:hover { opacity: 1; }

.poka-alt-casinos-inner {
    padding: 16px 8px 8px;
    text-align: center;
}

.poka-alt-casinos-heading {
    color: #fff;
    font-size: 26px;
    line-height: 1.25;
    font-weight: 700;
    margin: 0 0 12px;
    text-align: left;
}
.poka-alt-casinos-subtitle {
    color: #d4d6da;
    font-size: 15px;
    line-height: 1.5;
    margin: 0 0 22px;
    text-align: left;
}

.poka-alt-casinos-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 22px;
}

.poka-alt-casino-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: #fff;
    border-radius: 8px;
    color: #1c1f24;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
a.poka-alt-casino-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
    color: #1c1f24;
    text-decoration: none;
}
.poka-alt-casino-card__logo {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    border-radius: 6px;
    background: #1c1f24;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.poka-alt-casino-card__logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}
.poka-alt-casino-card__body {
    flex: 1 1 auto;
    text-align: left;
    min-width: 0;
}
.poka-alt-casino-card__title {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 700;
    color: #1c1f24;
    line-height: 1.25;
}
.poka-alt-casino-card__desc {
    margin: 0;
    font-size: 13px;
    color: #2f8a3b;
    line-height: 1.3;
    position: relative;
    padding-left: 18px;
}
.poka-alt-casino-card__desc::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 12px;
    height: 7px;
    border-left: 2px solid #2f8a3b;
    border-bottom: 2px solid #2f8a3b;
    transform: translateY(-70%) rotate(-45deg);
}
.poka-alt-casino-card__arrow {
    flex: 0 0 auto;
    color: #b6bac0;
    font-size: 22px;
    line-height: 1;
    padding-left: 6px;
}

.poka-alt-casinos-cta {
    display: flex;
    justify-content: center;
}
.poka-alt-casinos-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #4caf50;
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    padding: 14px 28px;
    border-radius: 4px;
    text-decoration: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: background 0.15s ease;
}
.poka-alt-casinos-button:hover {
    background: #43a047;
    color: #fff;
    text-decoration: none;
}
.poka-alt-casinos-button__arrow {
    font-size: 18px;
    line-height: 1;
}

@media (max-width: 600px) {
    .poka-alt-casinos-grid {
        grid-template-columns: 1fr;
    }
    .poka-alt-casinos-heading { font-size: 22px; }
    .poka-alt-casinos-subtitle { font-size: 14px; }
    .poka-alt-casinos-close { top: 0; right: 0; }
}
