/* GD Advertorial — Base Styles */
.gd-adv-page {
    margin: 0;
    padding: 0;
}

#gd-adv-wrap {
    max-width: 100%;
    margin: 0 auto;
}

/* Interstitial Overlay */
.gd-adv-interstitial-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: gdAdvFadeIn 0.3s ease;
}

.gd-adv-interstitial-content {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    max-width: 420px;
    text-align: center;
}

.gd-adv-interstitial-content h2 {
    margin: 0 0 10px;
    font-size: 24px;
}

.gd-adv-interstitial-steps {
    margin-top: 20px;
    text-align: left;
}

.gd-adv-step {
    padding: 8px 0;
    font-size: 16px;
    color: #666;
    transition: color 0.3s;
}

.gd-adv-step-done {
    color: #00a32a;
}

.gd-adv-step-icon {
    display: inline-block;
    width: 24px;
    text-align: center;
}

/* Gamification Overlay */
.gd-adv-gamification-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: gdAdvFadeIn 0.3s ease;
}

.gd-adv-gamification-content {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    max-width: 360px;
    text-align: center;
    position: relative;
}

.gd-adv-gam-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
}

.gd-adv-gamification-content h2 {
    margin: 0 0 15px;
    font-size: 22px;
}

/* Scratch Card */
.gd-adv-scratch-area {
    position: relative;
    width: 280px;
    height: 150px;
    margin: 15px auto;
}

.gd-adv-scratch-area canvas {
    position: absolute;
    top: 0; left: 0;
    cursor: crosshair;
    border-radius: 8px;
}

.gd-adv-scratch-prize {
    width: 280px;
    height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    border-radius: 8px;
}

.gd-adv-prize-text {
    font-size: 28px;
    font-weight: bold;
    color: #fff;
}

.gd-adv-prize-sub {
    font-size: 14px;
    color: rgba(255,255,255,0.9);
    margin-top: 5px;
}

/* Spin Wheel */
.gd-adv-spin-container {
    position: relative;
    margin: 15px auto;
    width: 300px;
    height: 300px;
}

.gd-adv-spin-pointer {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 24px;
    color: #333;
    z-index: 2;
}

.gd-adv-spin-btn {
    background: #ff6b6b;
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 25px;
    cursor: pointer;
    margin-top: 10px;
}

.gd-adv-spin-btn:hover {
    background: #ff5252;
}

.gd-adv-spin-result {
    margin-top: 15px;
}

/* CTA Button */
.gd-adv-gam-cta {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 30px;
    background: #00a32a;
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    font-size: 16px;
}

.gd-adv-gam-cta:hover {
    background: #008a22;
    color: #fff;
}

/* ─── Sticky Footer CTA ─── */
.gd-adv-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    padding: 12px 20px;
    transform: translateY(100%);
    transition: transform 0.35s ease;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.2);
}

.gd-adv-sticky-visible {
    transform: translateY(0);
}

.gd-adv-sticky-inner {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    text-align: center;
}

.gd-adv-sticky-text {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.3;
}

.gd-adv-sticky-btn {
    display: inline-block;
    padding: 10px 28px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: opacity 0.2s;
}

.gd-adv-sticky-btn:hover {
    opacity: 0.88;
}

.gd-adv-sticky-countdown {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    opacity: 0.92;
    width: 100%;
    justify-content: center;
}

.gd-adv-sticky-cd-timer {
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 1px;
}

@media (max-width: 600px) {
    .gd-adv-sticky-inner {
        gap: 8px;
    }
    .gd-adv-sticky-text {
        font-size: 13px;
    }
    .gd-adv-sticky-btn {
        padding: 8px 20px;
        font-size: 14px;
    }
}

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