* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
    color: #333;
}

.card {
    background: white;
    max-width: 820px;
    margin: 0 auto;
    padding: 40px 20px;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.file-header {
    text-align: center;
    margin-bottom: 30px;
}

.file-header h2 {
    word-break: break-all;
    font-size: 24px;
    margin-bottom: 10px;
    color: #222;
}

.file-size {
    color: #666;
    font-size: 14px;
}

.ad-slot {
    background: #f8f9fa;
    height: 250px;
    margin: 25px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    border: 2px dashed #ddd;
    border-radius: 8px;
    font-size: 14px;
}

.timer-display {
    background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
    border: 2px solid #667eea;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    margin: 30px 0;
}

.timer-text {
    font-size: 18px;
    font-weight: 500;
    color: #333;
    margin-bottom: 15px;
}

.timer-number {
    font-size: 32px;
    font-weight: bold;
    color: #667eea;
    font-variant-numeric: tabular-nums;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: #e9ecef;
    border-radius: 3px;
    overflow: hidden;
    margin-top: 15px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transition: width 1s linear;
}

.btn {
    padding: 14px 28px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 300px;
    display: inline-block;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.btn-success {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.btn-success:hover {
    box-shadow: 0 10px 25px rgba(17, 153, 142, 0.4);
}

.btn-info {
    background: linear-gradient(135deg, #2193b0 0%, #6dd5ed 100%);
}

.btn-info:hover {
    box-shadow: 0 10px 25px rgba(33, 147, 176, 0.4);
}

.success-box {
    border: 2px solid #38ef7d;
    padding: 25px;
    border-radius: 12px;
    background: linear-gradient(135deg, #11998e15 0%, #38ef7d15 100%);
    text-align: center;
    margin-bottom: 30px;
}

.success-title {
    font-weight: bold;
    color: #11998e;
    margin-bottom: 15px;
    font-size: 18px;
}

.links-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 25px 0;
}

.link-option {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.link-option h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #222;
}

.link-option p {
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
}

.link-option .btn {
    max-width: 100%;
}

@media (max-width: 640px) {
    .links-container {
        grid-template-columns: 1fr;
    }

    .timer-number {
        font-size: 24px;
    }

    .card {
        padding: 25px 15px;
    }
}