/* 广告解锁容器 */
.ad-unlock-container {
    margin: 20px 0;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.ad-unlock-button {
    text-align: center;
    padding: 20px;
    background-color: #f8f9fa;
}

.btn-unlock-ad {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-unlock-ad:hover {
    background: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* 广告内容区域 */
.ad-container {
    padding: 20px;
    background: #fff;
}

.simulated-ad {
    border: 1px dashed #ccc;
    border-radius: 4px;
    padding: 15px;
    text-align: center;
}

.ad-header {
    color: #888;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.ad-content h3 {
    margin: 0 0 10px;
    color: #333;
}

.ad-content p {
    margin: 0 0 15px;
    color: #666;
}

.ad-image-placeholder {
    height: 150px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #777;
    font-style: italic;
}

/* 广告计时器 */
.ad-timer {
    padding: 15px;
    background: #f1f8ff;
    text-align: center;
}

.timer-progress {
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    margin-bottom: 10px;
    overflow: hidden;
}

.timer-progress:after {
    content: '';
    display: block;
    height: 100%;
    width: 0%;
    background: #4CAF50;
    border-radius: 4px;
    transition: width 1s linear;
}

.timer-text {
    font-size: 14px;
    color: #555;
}

/* 解锁结果 */
.unlock-result {
    padding: 20px;
    text-align: center;
    background: #f8fff0;
    border-top: 1px solid #eaeaea;
}

.download-link {
    display: inline-block;
    background: #2196F3;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    margin-top: 15px;
    font-weight: bold;
}

.download-link:hover {
    background: #0b7dda;
}

/* 响应式设计 */
@media (max-width: 600px) {
    .ad-unlock-container {
        margin: 10px -15px;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
}