.thf-container {
    max-width: 800px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.thf-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 60px 30px;
    border-radius: 20px;
    text-align: center;
    color: #fff;
    margin-bottom: 30px;
}

.thf-title {
    font-size: 36px;
    margin-bottom: 15px;
    color: #fff;
}

.thf-subtitle {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
}

.thf-search-box {
    background: #fff;
    border-radius: 50px;
    padding: 8px;
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.thf-search-box input {
    flex: 1;
    border: none;
    padding: 15px 25px;
    font-size: 16px;
    outline: none;
    border-radius: 50px;
    background: transparent;
}

.thf-search-box button {
    background: #667eea;
    color: #fff;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.thf-search-box button:hover {
    background: #5a6fd6;
}

.thf-features {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.thf-feature {
    font-size: 14px;
    opacity: 0.9;
}

.thf-results {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.thf-results h3 {
    margin-bottom: 20px;
    color: #333;
}

#thf-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.thf-tag {
    display: inline-block;
    background: #667eea;
    color: #fff;
    padding: 10px 18px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.thf-tag:hover {
    background: #5a6fd6;
    transform: translateY(-2px);
}

.thf-tag.copied {
    background: #28a745;
}

.thf-copy-all-btn {
    background: #333;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
}

.thf-copy-all-btn:hover {
    background: #555;
}

.thf-loading {
    text-align: center;
    padding: 40px;
}

.thf-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: thf-spin 1s linear infinite;
    margin: 0 auto 15px;
}

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

@media (max-width: 600px) {
    .thf-hero {
        padding: 40px 20px;
    }
    .thf-title {
        font-size: 28px;
    }
    .thf-search-box {
        flex-direction: column;
        border-radius: 15px;
    }
    .thf-search-box input {
        border-radius: 10px;
    }
    .thf-search-box button {
        border-radius: 10px;
        margin-top: 10px;
    }
}
