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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #000000;
    color: #FFD700;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
}

/* Header Styles */
.header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border: 2px solid #FFD700;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(255, 215, 0, 0.1);
}

.header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    color: #FFD700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.subtitle {
    font-size: 1.2rem;
    color: #FFA500;
    opacity: 0.9;
}

/* Input Section */
.input-section {
    background: #1a1a1a;
    padding: 30px;
    border: 2px solid #FFD700;
    border-radius: 15px;
    margin-bottom: 30px;
}

.url-input-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    color: #FFD700;
}

.input-wrapper {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.input-wrapper input {
    flex: 1;
    padding: 15px;
    border: 2px solid #333;
    border-radius: 8px;
    background: #000;
    color: #FFD700;
    font-size: 16px;
    transition: all 0.3s ease;
}

.input-wrapper input:focus {
    outline: none;
    border-color: #FFD700;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.input-wrapper input::placeholder {
    color: #666;
}

.check-button {
    padding: 15px 30px;
    background: #FFD700;
    color: #000;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.check-button:hover {
    background: #FFA500;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.check-button:disabled {
    background: #666;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Reset Button Styles */
.reset-button {
    padding: 15px 25px;
    background: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.reset-button:hover {
    background: #FFD700;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.reset-button:disabled {
    background: #666;
    color: #999;
    border-color: #666;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Options */
.options {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: #FFD700;
}

.checkbox-label input {
    accent-color: #FFD700;
}

/* Progress Section */
.progress-section {
    background: #1a1a1a;
    padding: 20px;
    border: 2px solid #333;
    border-radius: 15px;
    margin-bottom: 30px;
}

.progress-bar {
    width: 100%;
    height: 20px;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #333;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #FFD700, #FFA500);
    width: 0%;
    transition: width 0.3s ease;
}

.progress-text {
    text-align: center;
    margin-top: 10px;
    color: #FFA500;
    font-weight: bold;
}

/* Results Section */
.results-section {
    background: #1a1a1a;
    padding: 30px;
    border: 2px solid #FFD700;
    border-radius: 15px;
    margin-bottom: 30px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: #000;
    padding: 20px;
    border: 2px solid #333;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: #FFD700;
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #FFD700;
    margin-bottom: 5px;
}

.stat-label {
    color: #FFA500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Tabs */
.results-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 2px solid #333;
    padding-bottom: 10px;
}

.tab-button {
    padding: 12px 24px;
    background: #000;
    color: #FFD700;
    border: 2px solid #333;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-button.active,
.tab-button:hover {
    background: #FFD700;
    color: #000;
    border-color: #FFD700;
}

/* Results Container */
.results-container {
    min-height: 300px;
    max-height: 500px;
    overflow-y: auto;
}

.tab-content {
    display: none;
}

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

.link-item {
    background: #000;
    padding: 15px;
    margin-bottom: 10px;
    border: 1px solid #333;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.link-item:hover {
    border-color: #FFD700;
    transform: translateX(5px);
}

.link-item.broken {
    border-left: 5px solid #ff4444;
}

.link-item.working {
    border-left: 5px solid #00ff00;
}

.link-url {
    color: #FFD700;
    text-decoration: none;
    flex: 1;
    word-break: break-all;
}

.link-status {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
}

.status-broken {
    background: #ff4444;
    color: #000;
}

.status-working {
    background: #00ff00;
    color: #000;
}

.no-results {
    text-align: center;
    color: #666;
    font-style: italic;
    padding: 50px;
}

/* Export Section */
.export-section {
    text-align: center;
    margin-top: 20px;
}

.export-button {
    padding: 12px 24px;
    background: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.export-button:hover {
    background: #FFD700;
    color: #000;
}

/* Test Section */
.test-section {
    background: #1a1a1a;
    padding: 30px;
    border: 2px solid #333;
    border-radius: 15px;
    margin-bottom: 30px;
}

.test-section h3 {
    margin-bottom: 20px;
    color: #FFD700;
    text-align: center;
}

.test-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.test-button {
    padding: 12px 20px;
    background: #333;
    color: #FFD700;
    border: 2px solid #555;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.test-button:hover {
    background: #FFD700;
    color: #000;
    border-color: #FFD700;
}

/* Footer */
.footer {
    text-align: center;
    padding: 20px;
    color: #666;
    border-top: 1px solid #333;
    margin-top: 40px;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #000;
}

::-webkit-scrollbar-thumb {
    background: #FFD700;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #FFA500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .header h1 {
        font-size: 2rem;
    }
    
    .input-wrapper {
        flex-direction: column;
    }
    
    .check-button,
    .reset-button {
        width: 100%;
    }
    
    .stats {
        grid-template-columns: 1fr;
    }
    
    .test-buttons {
        flex-direction: column;
    }
    
    .link-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}
