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

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #f8f8f8 url('https://onemoredayontheat.com/wp-content/uploads/2023/02/goldback.png');
    background-size: cover;
    background-attachment: fixed;
    min-height: 100vh;
    padding: 40px 20px;
    color: #1a3a2e;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
}

header {
    text-align: center;
    background: linear-gradient(135deg, #1a3a2e 0%, #0d1f17 100%);
    color: #f5f5f5;
    margin-bottom: 40px;
    padding: 50px 30px;
    border-radius: 0;
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://onemoredayontheat.com/wp-content/uploads/2023/02/goldback.png');
    opacity: 0.05;
    z-index: 0;
}

header h1 {
    font-size: 3rem;
    margin-bottom: 8px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #d4af37;
    position: relative;
    z-index: 1;
}

header p {
    font-size: 1.1rem;
    color: #f5f5f5;
    font-weight: 400;
    position: relative;
    z-index: 1;
}

.alert {
    padding: 18px 28px;
    border-radius: 0;
    margin-bottom: 24px;
    font-weight: 600;
    border-left: 4px solid #d4af37;
}

.alert-error {
    background: rgba(255, 255, 255, 0.98);
    color: #8b0000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.alert-warning {
    background: rgba(255, 255, 255, 0.98);
    color: #1a3a2e;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.tabs {
    display: flex;
    gap: 0;
    margin-bottom: 32px;
    flex-wrap: wrap;
    background: #1a3a2e;
    padding: 0;
    border-radius: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.tab-btn {
    flex: 1;
    min-width: 140px;
    padding: 18px 28px;
    background: transparent;
    border: none;
    border-radius: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: #f5f5f5;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-right: 1px solid rgba(212, 175, 55, 0.2);
}

.tab-btn:last-child {
    border-right: none;
}

.tab-btn:hover {
    background: rgba(212, 175, 55, 0.1);
    color: #d4af37;
}

.tab-btn.active {
    background: #d4af37;
    color: #1a3a2e;
    font-weight: 700;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 0;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-top: 4px solid #d4af37;
}

.card h3 {
    color: #1a3a2e;
    margin-bottom: 24px;
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.card p {
    color: #4a5568;
    margin-bottom: 20px;
    line-height: 1.7;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    color: #1a3a2e;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.form-group input[type="url"],
.form-group input[type="number"],
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 0;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d4af37;
    background: white;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-group textarea {
    resize: vertical;
    font-family: inherit;
}

.form-group.checkbox {
    display: flex;
    align-items: center;
}

.form-group.checkbox label {
    margin: 0;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.form-group.checkbox input {
    margin-right: 10px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.btn {
    padding: 16px 32px;
    border: none;
    border-radius: 0;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.btn-primary {
    background: #d4af37;
    color: #1a3a2e;
    width: 100%;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    background: #c49d2e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    background: white;
    color: #1a3a2e;
    border: 2px solid #1a3a2e;
}

.btn-secondary:hover {
    background: #1a3a2e;
    color: white;
}

.btn-danger {
    background: #8b0000;
    color: white;
    box-shadow: 0 4px 12px rgba(139, 0, 0, 0.3);
}

.btn-danger:hover {
    background: #a00000;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 0, 0, 0.4);
}

.result-box {
    margin-top: 24px;
    padding: 28px;
    border-radius: 0;
    border: none;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-left: 4px solid #d4af37;
}

.result-box.success {
    background: rgba(255, 255, 255, 0.98);
    border-left: 4px solid #2d5f3f;
}

.result-box.error {
    background: rgba(255, 255, 255, 0.98);
    border-left: 4px solid #8b0000;
}

.result-box.loading {
    background: rgba(255, 255, 255, 0.98);
    border-left: 4px solid #d4af37;
}

.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #e2e8f0;
    border-top: 3px solid #d4af37;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.history-list,
.stats-display {
    margin-top: 20px;
}

.history-item {
    padding: 20px;
    border: none;
    border-radius: 0;
    margin-bottom: 16px;
    background: white;
    border-left: 4px solid #d4af37;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.history-item h4 {
    color: #1a3a2e;
    margin-bottom: 12px;
    font-weight: 700;
}

.history-item p {
    margin: 8px 0;
    font-size: 0.9rem;
    color: #4a5568;
    line-height: 1.6;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 0;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-test {
    background: #d4af37;
    color: #1a3a2e;
    border: 2px solid #1a3a2e;
}

.badge-real {
    background: #2d5f3f;
    color: white;
    border: 2px solid #2d5f3f;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 30px;
}

.stat-card {
    background: white;
    color: #1a3a2e;
    padding: 32px 24px;
    border-radius: 0;
    text-align: center;
    border-top: 4px solid #d4af37;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    border-top-color: #1a3a2e;
}

.stat-card h4 {
    font-size: 3rem;
    margin-bottom: 8px;
    font-weight: 700;
    color: #d4af37;
}

.stat-card p {
    color: #4a5568;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    margin: 10px 0;
}

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

@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }
    
    .tabs {
        flex-direction: column;
    }
    
    .tab-button {
        border-radius: 8px;
    }
    
    .card {
        padding: 20px;
    }
}
