.post-timer-container {
    margin: 30px 0;
    padding: 25px;
    border: 2px solid #e1f5fe;
    border-radius: 12px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.reward-header {
    margin-bottom: 20px;
}

.reward-header h3 {
    margin: 0 0 8px 0;
    font-size: 1.5em;
    color: #2c3e50;
}

.reward-header p {
    margin: 0;
    color: #7f8c8d;
    font-size: 1em;
}

.progress-section {
    margin: 20px 0;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.progress-label {
    font-weight: 600;
    color: #2c3e50;
}

.progress-count {
    font-weight: bold;
    color: #3498db;
    font-size: 1.1em;
}

.progress-bar {
    height: 8px;
    background: #ecf0f1;
    border-radius: 4px;
    overflow: hidden;
    margin: 15px 0;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3498db, #2980b9);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.progress-message {
    margin-top: 10px;
}

.message-text {
    font-size: 0.95em;
    color: #7f8c8d;
    padding: 8px 12px;
    border-radius: 6px;
    background: #f8f9fa;
    display: inline-block;
}

.message-text.almost-there {
    color: #e67e22;
    background: #fef9e7;
    font-weight: 600;
}

.message-text.requirement-met {
    color: #27ae60;
    background: #e8f8f1;
    font-weight: 600;
}

.timer-section {
    margin: 20px 0;
}

.timer-display {
    padding: 15px;
    background: white;
    border-radius: 8px;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.timer-label {
    font-weight: 600;
    margin-right: 8px;
    color: #2c3e50;
}

.timer-value {
    font-family: 'Courier New', monospace;
    font-weight: bold;
    font-size: 1.2em;
    color: #3498db;
}

.timer-value.time-running-out {
    color: #e74c3c;
    animation: pulse 1s infinite;
}

.code-reveal-section {
    margin: 20px 0;
}

.reveal-code-btn {
    padding: 15px 25px;
    background: #95a5a6;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 300px;
}

.reveal-code-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.reveal-code-btn:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

.reveal-code-btn.requirements-met {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}

.reveal-code-btn.requirements-met:hover {
    background: linear-gradient(135deg, #229954, #27ae60);
}

.btn-lock, .btn-unlock {
    margin-right: 8px;
}

.code-display {
    margin-top: 20px;
}

.code-success {
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 2px solid #27ae60;
}

.success-icon {
    font-size: 2em;
    margin-bottom: 10px;
}

.code-success h4 {
    margin: 10px 0;
    color: #2c3e50;
    font-size: 1.3em;
}

.code-success p {
    margin: 8px 0;
    color: #7f8c8d;
}

.code-container {
    margin: 15px 0;
    padding: 12px 20px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    border-radius: 8px;
    display: inline-block;
}

.unique-code {
    font-family: 'Courier New', monospace;
    font-weight: bold;
    font-size: 1.4em;
    color: white;
    letter-spacing: 2px;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .post-timer-container {
        padding: 20px;
        margin: 25px 0;
    }
    
    .progress-section {
        padding: 15px;
    }
    
    .reveal-code-btn {
        font-size: 0.95em;
        padding: 12px 20px;
    }
}