/* Geo Casino Popup - Frontend Styles */

.gcp-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: gcpFadeIn 0.3s ease-in-out;
}

@keyframes gcpFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.gcp-popup-container {
    position: relative;
    background: #ffffff;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: gcpSlideUp 0.4s ease-out;
}

@keyframes gcpSlideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.gcp-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ff4444;
    color: #fff;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gcp-popup-close:hover {
    background: #cc0000;
    transform: rotate(90deg);
}

.gcp-popup-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 30px 20px 20px;
    text-align: center;
    position: relative;
    border-radius: 12px 12px 0 0;
}

.gcp-country-flag {
    font-size: 48px;
    margin-bottom: 15px;
}

.gcp-casino-logo {
    max-width: 200px;
    height: auto;
    background: #fff;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.gcp-popup-body {
    padding: 30px;
}

.gcp-bonus-title {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin: 0 0 15px 0;
    text-align: center;
}

.gcp-bonus-description {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
    text-align: center;
    line-height: 1.6;
}

.gcp-bonus-details {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}

.gcp-detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.gcp-detail-label {
    font-weight: 600;
    color: #555;
}

.gcp-detail-value {
    font-weight: bold;
    color: #667eea;
}

.gcp-countdown-container {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.gcp-countdown-label {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gcp-countdown-timer {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.gcp-timer-segment {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gcp-timer-value {
    font-size: 36px;
    font-weight: bold;
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 10px 15px;
    min-width: 70px;
    backdrop-filter: blur(10px);
}

.gcp-timer-label {
    color: #fff;
    font-size: 12px;
    margin-top: 5px;
    text-transform: uppercase;
    opacity: 0.9;
}

.gcp-terms-wrapper,
.gcp-fingerprint-wrapper {
    position: relative;
    margin-bottom: 15px;
}

.gcp-terms-trigger,
.gcp-fingerprint-trigger {
    display: inline-block;
    color: #667eea;
    text-decoration: underline;
    cursor: pointer;
    font-size: 14px;
    transition: color 0.3s ease;
}

.gcp-terms-trigger:hover,
.gcp-fingerprint-trigger:hover {
    color: #764ba2;
}

.gcp-terms-content,
.gcp-fingerprint-content {
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    max-height: 200px;
    overflow-y: auto;
    font-size: 13px;
    line-height: 1.6;
    color: #555;
    display: none;
    z-index: 100;
}

.gcp-terms-wrapper:hover .gcp-terms-content,
.gcp-fingerprint-wrapper:hover .gcp-fingerprint-content {
    display: block;
}

.gcp-fingerprint-content {
    max-height: 300px;
}

.gcp-fingerprint-item {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    border-bottom: 1px solid #eee;
}

.gcp-fingerprint-item:last-child {
    border-bottom: none;
}

.gcp-fingerprint-label {
    font-weight: 600;
    color: #333;
}

.gcp-fingerprint-value {
    color: #666;
    text-align: right;
}

.gcp-cta-button {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    text-decoration: none;
    padding: 18px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    margin-top: 20px;
}

.gcp-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
    color: #fff;
}

.gcp-cta-button:active {
    transform: translateY(0);
}

/* Loading spinner */
.gcp-fingerprint-loading {
    text-align: center;
    color: #999;
    padding: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .gcp-popup-container {
        width: 95%;
        max-height: 95vh;
    }

    .gcp-popup-body {
        padding: 20px;
    }

    .gcp-bonus-title {
        font-size: 22px;
    }

    .gcp-timer-value {
        font-size: 28px;
        min-width: 60px;
        padding: 8px 10px;
    }

    .gcp-countdown-timer {
        gap: 10px;
    }
}
