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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    min-height: 100vh;
    padding: 20px;
    color: #ffffff;
}

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

/* Header */
.header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px 20px;
}

.logo {
    max-width: 600px;
    width: 100%;
    height: auto;
    margin-bottom: 10px;
    filter: drop-shadow(0 0 20px rgba(255, 140, 0, 0.3));
}

.subtitle {
    font-size: 1.1rem;
    color: #FF8C00;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Main Content */
.main-content {
    background: rgba(26, 26, 26, 0.8);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5),
                0 0 0 1px rgba(255, 140, 0, 0.2);
    backdrop-filter: blur(10px);
}

/* Input Section */
.input-section {
    margin-bottom: 30px;
}

.input-section label {
    display: block;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #ffffff;
}

textarea {
    width: 100%;
    padding: 16px;
    border: 2px solid rgba(255, 140, 0, 0.3);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    min-height: 120px;
    background: rgba(0, 0, 0, 0.5);
    color: #ffffff;
    transition: all 0.3s ease;
}

textarea:focus {
    outline: none;
    border-color: #FF8C00;
    box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.1),
                0 0 20px rgba(255, 140, 0, 0.2);
}

textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* Buttons */
.btn-primary {
    width: 100%;
    padding: 16px 32px;
    background: linear-gradient(135deg, #FF8C00 0%, #FF6B00 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.4);
    background: linear-gradient(135deg, #FFA500 0%, #FF8C00 100%);
}

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

.btn-secondary {
    padding: 12px 24px;
    background: rgba(0, 217, 255, 0.1);
    color: #00D9FF;
    border: 2px solid #00D9FF;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.btn-secondary:hover {
    background: rgba(0, 217, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 217, 255, 0.3);
}

/* Loading Indicator */
.loading-indicator {
    text-align: center;
    padding: 40px;
}

.spinner {
    width: 50px;
    height: 50px;
    margin: 0 auto 20px;
    border: 4px solid rgba(255, 140, 0, 0.2);
    border-top-color: #FF8C00;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-indicator p {
    color: #FF8C00;
    font-size: 1.1rem;
}

/* Results Section */
.results-section {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.results-section h2 {
    color: #FF8C00;
    font-size: 1.8rem;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(255, 140, 0, 0.3);
}

.troubleshooting-content {
    background: rgba(0, 0, 0, 0.3);
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid #FF8C00;
    line-height: 1.8;
}

.troubleshooting-content h3 {
    color: #00D9FF;
    margin-top: 25px;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.troubleshooting-content h3:first-child {
    margin-top: 0;
}

.troubleshooting-content ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.troubleshooting-content li {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.9);
}

.troubleshooting-content strong {
    color: #FF8C00;
    font-weight: 600;
}

.troubleshooting-content hr {
    border: none;
    border-top: 1px solid rgba(255, 140, 0, 0.2);
    margin: 20px 0;
}

/* Error Section */
.error-section {
    text-align: center;
    padding: 40px;
    background: rgba(255, 0, 0, 0.1);
    border-radius: 12px;
    border: 2px solid rgba(255, 0, 0, 0.3);
}

.error-section h2 {
    color: #ff4444;
    margin-bottom: 15px;
}

.error-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

/* Footer */
.footer {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .logo {
        max-width: 100%;
    }

    .main-content {
        padding: 25px;
    }

    .input-section label {
        font-size: 1.1rem;
    }

    textarea {
        font-size: 0.95rem;
        padding: 12px;
    }

    .btn-primary {
        font-size: 1rem;
        padding: 14px 24px;
    }

    .results-section h2 {
        font-size: 1.5rem;
    }

    .troubleshooting-content {
        padding: 20px;
    }

    .troubleshooting-content h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .subtitle {
        font-size: 0.85rem;
    }

    .main-content {
        padding: 20px;
    }

    .troubleshooting-content {
        padding: 15px;
        font-size: 0.95rem;
    }
}
