/* ==========================================
   Shortener Inline Styles
   Timer/button section embedded in post content
   ========================================== */

/* Inline Shortener Section */
.shortener-inline {
    margin-top: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #1a1a3e 0%, #0f0f23 100%);
    border-radius: 16px;
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: #fff;
}

.si-divider {
    height: 3px;
    background: linear-gradient(90deg, transparent, #6366f1, transparent);
    margin-bottom: 25px;
    border-radius: 2px;
}

/* Header */
.si-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.si-step-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
}

/* Progress Dots */
.si-progress {
    display: flex;
    gap: 10px;
}

.si-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.si-dot.active {
    background: linear-gradient(135deg, #6366f1, #a855f7);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.5);
    animation: pulse-dot 1.5s infinite;
}

.si-dot.completed {
    background: #10b981;
}

@keyframes pulse-dot {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

/* Ad Containers */
.si-ad-container {
    position: relative;
    margin: 25px auto;
    text-align: center;
    max-width: 100%;
}

.si-ad-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.si-ad-slot {
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    overflow: hidden;
}

/* Timer Section */
.si-timer-section {
    text-align: center;
    padding: 30px 0;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 12px;
    margin: 25px 0;
}

.si-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
}

.si-subtitle {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.si-timer-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: conic-gradient(#6366f1 0deg, rgba(255, 255, 255, 0.1) 0deg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: background 0.3s linear;
}

.si-timer-inner {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #1a1a3e, #0f0f23);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.si-timer-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.si-timer-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.si-instruction {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin: 0;
    transition: color 0.3s ease;
}

/* Button Container */
.si-button-container {
    text-align: center;
    padding-top: 20px;
}

.si-continue-btn {
    display: inline-block;
    padding: 18px 50px;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #4b4b4b, #333);
    border: none;
    border-radius: 35px;
    cursor: not-allowed;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.si-continue-btn:not([disabled]) {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    cursor: pointer;
    opacity: 1;
    animation: unlock-glow 1s ease-out;
}

.si-continue-btn:not([disabled]):hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.5);
}

@keyframes unlock-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.6);
    }

    50% {
        box-shadow: 0 0 30px 15px rgba(99, 102, 241, 0.3);
    }

    100% {
        box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
    }
}

.si-hint {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    margin-top: 15px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .shortener-inline {
        padding: 20px 15px;
        margin-top: 30px;
    }

    .si-header {
        flex-direction: column;
        text-align: center;
    }

    .si-step-badge {
        font-size: 0.85rem;
        padding: 8px 16px;
    }

    .si-timer-circle {
        width: 100px;
        height: 100px;
    }

    .si-timer-inner {
        width: 85px;
        height: 85px;
    }

    .si-timer-number {
        font-size: 2rem;
    }

    .si-title {
        font-size: 1.2rem;
    }

    .si-continue-btn {
        font-size: 1rem;
        padding: 15px 35px;
        width: 100%;
        max-width: 300px;
    }

    .si-ad-slot {
        min-height: 150px;
    }
}